diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2018-04-26 13:51:18 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2018-04-30 15:37:39 -0700 |
commit | 36d090df67c03acfef370723bb90c92ca86547fe (patch) | |
tree | f0e14daf2ae85919010aa4b15a79d4aa6cf0c616 /src/com/android/launcher3/allapps/AllAppsContainerView.java | |
parent | 1ea6d9cb8ee4f0784fb441f8923ca3d7f3a1bf78 (diff) | |
download | android_packages_apps_Trebuchet-36d090df67c03acfef370723bb90c92ca86547fe.tar.gz android_packages_apps_Trebuchet-36d090df67c03acfef370723bb90c92ca86547fe.tar.bz2 android_packages_apps_Trebuchet-36d090df67c03acfef370723bb90c92ca86547fe.zip |
Adding a round rect background for the self in Overview
Bug: 78771910
Change-Id: I71460a284ed185e82d66fe65104402fb99d6b312
Diffstat (limited to 'src/com/android/launcher3/allapps/AllAppsContainerView.java')
-rw-r--r-- | src/com/android/launcher3/allapps/AllAppsContainerView.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/com/android/launcher3/allapps/AllAppsContainerView.java b/src/com/android/launcher3/allapps/AllAppsContainerView.java index ae41794ad..37405dbaf 100644 --- a/src/com/android/launcher3/allapps/AllAppsContainerView.java +++ b/src/com/android/launcher3/allapps/AllAppsContainerView.java @@ -15,8 +15,6 @@ */ package com.android.launcher3.allapps; -import static com.android.launcher3.anim.Interpolators.DEACCEL_2; - import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; @@ -48,7 +46,7 @@ import com.android.launcher3.ItemInfo; import com.android.launcher3.Launcher; import com.android.launcher3.R; import com.android.launcher3.config.FeatureFlags; -import com.android.launcher3.graphics.ColorScrim; +import com.android.launcher3.uioverrides.AllAppsScrim; import com.android.launcher3.keyboard.FocusedItemDecorator; import com.android.launcher3.userevent.nano.LauncherLogProto.Target; import com.android.launcher3.util.ItemInfoMatcher; @@ -112,8 +110,7 @@ public class AllAppsContainerView extends SpringRelativeLayout implements DragSo mAllAppsStore.addUpdateListener(this::onAppsUpdated); // Attach a scrim to be drawn behind all-apps and hotseat - new ColorScrim(this, Themes.getAttrColor(context, R.attr.allAppsScrimColor), DEACCEL_2) - .attach(); + new AllAppsScrim(this).attach(); addSpringView(R.id.all_apps_header); addSpringView(R.id.apps_list_view); |