commit | 4465c512a04ebbc0136a021f0d5610ba18ca9ab4 | [log] [tgz] |
---|---|---|
author | Hyunyoung Song <hyunyoungs@google.com> | Wed Apr 14 06:31:49 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Apr 14 06:31:49 2021 +0000 |
tree | 107ed17fa6e98ad873451a35c4ea81b00fdc9681 | |
parent | 3a3b02fc8eb57e64a7d732e536988c424fd914ab [diff] | |
parent | 64afdab77c4c75ed9505774cbc0b473c94a49e10 [diff] |
Merge "Reduce the spring effect on All Apps" into sc-dev am: 64afdab77c Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14170491 Change-Id: Ida281f655ce0cd894db9bad0367ed9a87adf267d
diff --git a/src/com/android/launcher3/allapps/AllAppsContainerView.java b/src/com/android/launcher3/allapps/AllAppsContainerView.java index 406e785..41865ce 100644 --- a/src/com/android/launcher3/allapps/AllAppsContainerView.java +++ b/src/com/android/launcher3/allapps/AllAppsContainerView.java
@@ -75,9 +75,9 @@ 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;