diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2018-03-25 18:15:15 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2018-03-26 12:11:00 -0700 |
commit | a9f554681d13bcc88eacea73f715e1c608fdb527 (patch) | |
tree | 05e889d9071a7b2012578f6e2eb3d3d62a10c93f /src/com/android/launcher3/PagedView.java | |
parent | da2e584a90409d7e8bb038689615b8b8ecc5de30 (diff) | |
download | android_packages_apps_Trebuchet-a9f554681d13bcc88eacea73f715e1c608fdb527.tar.gz android_packages_apps_Trebuchet-a9f554681d13bcc88eacea73f715e1c608fdb527.tar.bz2 android_packages_apps_Trebuchet-a9f554681d13bcc88eacea73f715e1c608fdb527.zip |
Applying the alpha to individual tasks instead of the view
> Removing hotseat from overview in transposed layout
> Removing face scrim from recents view in transposed layout
> Removing focued background from pagesView as individual poges have focus states
Change-Id: I620527241bf7240009c4187f53f5a5cff0c3e2b1
Diffstat (limited to 'src/com/android/launcher3/PagedView.java')
-rw-r--r-- | src/com/android/launcher3/PagedView.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/launcher3/PagedView.java b/src/com/android/launcher3/PagedView.java index 9eff84b0e..a1ac122d8 100644 --- a/src/com/android/launcher3/PagedView.java +++ b/src/com/android/launcher3/PagedView.java @@ -188,6 +188,10 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou mMinFlingVelocity = (int) (MIN_FLING_VELOCITY * density); mMinSnapVelocity = (int) (MIN_SNAP_VELOCITY * density); setWillNotDraw(false); + + if (Utilities.ATLEAST_OREO) { + setDefaultFocusHighlightEnabled(false); + } } protected void setDefaultInterpolator(Interpolator interpolator) { |