summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/anim
diff options
context:
space:
mode:
authorJonathan Miranda <jonmiranda@google.com>2017-06-06 20:36:24 +0000
committerJonathan Miranda <jonmiranda@google.com>2017-06-06 20:36:24 +0000
commit6d60532167910444e84f2a8da5ad69e858b08a0c (patch)
tree1d74101913dc560658298b0be424b8463d10d420 /src/com/android/launcher3/anim
parent9d7f2b9e0d2b40414951f3dba461c6cabc9c7cbf (diff)
downloadandroid_packages_apps_Trebuchet-6d60532167910444e84f2a8da5ad69e858b08a0c.tar.gz
android_packages_apps_Trebuchet-6d60532167910444e84f2a8da5ad69e858b08a0c.tar.bz2
android_packages_apps_Trebuchet-6d60532167910444e84f2a8da5ad69e858b08a0c.zip
Revert "Decrease jank in all apps physics."
This change created an issue where some items appear to not have springs when the device does not have that many apps. This reverts commit 9d7f2b9e0d2b40414951f3dba461c6cabc9c7cbf. Change-Id: I8e79cf3f86972fde8184debb6ab4d0f32283a8bd
Diffstat (limited to 'src/com/android/launcher3/anim')
-rw-r--r--src/com/android/launcher3/anim/SpringAnimationHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/anim/SpringAnimationHandler.java b/src/com/android/launcher3/anim/SpringAnimationHandler.java
index 92acfb87d..488657c36 100644
--- a/src/com/android/launcher3/anim/SpringAnimationHandler.java
+++ b/src/com/android/launcher3/anim/SpringAnimationHandler.java
@@ -178,7 +178,7 @@ public class SpringAnimationHandler {
return mDirection == Y_DIRECTION;
}
- public SpringAnimation createSpringAnimation(View view) {
+ private SpringAnimation createSpringAnimation(View view) {
DynamicAnimation.ViewProperty property = isVerticalDirection()
? DynamicAnimation.TRANSLATION_Y
: DynamicAnimation.TRANSLATION_X;