diff options
author | Mario Bertschler <bmario@google.com> | 2017-07-24 14:41:23 -0700 |
---|---|---|
committer | Mario Bertschler <bmario@google.com> | 2017-07-26 14:33:22 -0700 |
commit | 254bd42729e404d13a779b73b2f5dd67fa21e7da (patch) | |
tree | 728b77a741c98c1b0170d656c9ebe9c8a62b894d /src/com/android/launcher3/allapps | |
parent | 8806475b8ee18b93ea832d1212daea6cdde8d0a5 (diff) | |
download | android_packages_apps_Trebuchet-254bd42729e404d13a779b73b2f5dd67fa21e7da.tar.gz android_packages_apps_Trebuchet-254bd42729e404d13a779b73b2f5dd67fa21e7da.tar.bz2 android_packages_apps_Trebuchet-254bd42729e404d13a779b73b2f5dd67fa21e7da.zip |
Merging ScrimView into GradientView
Less banding, less drawing for All Apps Transition.
Bug: 63873246
Change-Id: I6c7c856e2939a10db7e44b266c1d6d51334fd152
Diffstat (limited to 'src/com/android/launcher3/allapps')
-rw-r--r-- | src/com/android/launcher3/allapps/AllAppsTransitionController.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/com/android/launcher3/allapps/AllAppsTransitionController.java b/src/com/android/launcher3/allapps/AllAppsTransitionController.java index 0859e0658..44e0a0474 100644 --- a/src/com/android/launcher3/allapps/AllAppsTransitionController.java +++ b/src/com/android/launcher3/allapps/AllAppsTransitionController.java @@ -25,7 +25,6 @@ import com.android.launcher3.Workspace; import com.android.launcher3.anim.SpringAnimationHandler; import com.android.launcher3.config.FeatureFlags; import com.android.launcher3.graphics.GradientView; -import com.android.launcher3.graphics.ScrimView; import com.android.launcher3.userevent.nano.LauncherLogProto.Action; import com.android.launcher3.userevent.nano.LauncherLogProto.ContainerType; import com.android.launcher3.util.SystemUiController; @@ -100,7 +99,6 @@ public class AllAppsTransitionController implements TouchController, VerticalPul private boolean mIsTranslateWithoutWorkspace = false; private AnimatorSet mDiscoBounceAnimation; private GradientView mGradientView; - private ScrimView mScrimView; private SpringAnimationHandler mSpringAnimationHandler; @@ -302,13 +300,6 @@ public class AllAppsTransitionController implements TouchController, VerticalPul mGradientView.setVisibility(View.VISIBLE); } mGradientView.setProgress(progress); - - // scrim - if (mScrimView == null) { - mScrimView = (ScrimView) mLauncher.findViewById(R.id.scrim_bg); - mScrimView.setVisibility(View.VISIBLE); - } - mScrimView.setProgress(progress); } /** |