OSDN Git Service

Change all apps caret target bounding box
authorHyunyoung Song <hyunyoungs@google.com>
Wed, 7 Sep 2016 21:45:09 +0000 (14:45 -0700)
committerHyunyoung Song <hyunyoungs@google.com>
Wed, 7 Sep 2016 21:46:21 +0000 (21:46 +0000)
commitda1c17c492d7e253a08a47dd2d79637177c4401d
treea91f0c054f22271a1a168b95a18dbb3190bc07d7
parent551e5abfe1f308394519637b3a8fd749f3bca634
Change all apps caret target bounding box
b/30400751

1) This also fixes the issue of apps drawer sliding up when page is swiped
horizontally immediately above the hotseat area.

2) Disclaimer: this should be cp'ed to calgary.
Hence, I tried to keep the diff small. Ideally, CaretDrawable animation
handling should move to AllAppsHandleImageView via refactoring in
follow up CL.

Change-Id: I4d808ee2eeca53b40c0b4e4e0e364fef056e26c3
(cherry picked from commit 016eaeea99e163f0b5385cf660297e6c21ff21e5)
res/layout-port/launcher.xml
res/layout-sw720dp/launcher.xml
res/layout/page_indicator.xml [new file with mode: 0644]
res/values/dimens.xml
src/com/android/launcher3/DeviceProfile.java
src/com/android/launcher3/pageindicators/CaretDrawable.java
src/com/android/launcher3/pageindicators/PageIndicator.java
src/com/android/launcher3/pageindicators/PageIndicatorLineCaret.java