From 9e7faadba44cb7aba6afbbd8ca2089cd654e983f Mon Sep 17 00:00:00 2001 From: Hyunyoung Song Date: Tue, 13 Apr 2021 20:48:25 -0700 Subject: [PATCH] Reduce the spring effect on All Apps Bug: 185290838 Test: manual Change-Id: Ie48ae27071d113603451c4198e762f03feaaa0d6 --- src/com/android/launcher3/allapps/AllAppsContainerView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/android/launcher3/allapps/AllAppsContainerView.java b/src/com/android/launcher3/allapps/AllAppsContainerView.java index 406e785ad5..41865ce5e2 100644 --- a/src/com/android/launcher3/allapps/AllAppsContainerView.java +++ b/src/com/android/launcher3/allapps/AllAppsContainerView.java @@ -75,9 +75,9 @@ import com.android.launcher3.workprofile.PersonalWorkSlidingTabStrip.OnActivePag public class AllAppsContainerView extends SpringRelativeLayout implements DragSource, Insettable, OnDeviceProfileChangeListener, OnActivePageChangedListener { - private static final float FLING_VELOCITY_MULTIPLIER = 1000 * .8f; + private static final float FLING_VELOCITY_MULTIPLIER = 1000 * .2f; // Starts the springs after at least 55% of the animation has passed. - private static final float FLING_ANIMATION_THRESHOLD = 0.55f; + private static final float FLING_ANIMATION_THRESHOLD = 0.25f; protected final BaseDraggingActivity mLauncher; protected final AdapterHolder[] mAH;