diff options
author | Adam Cohen <adamcohen@google.com> | 2013-10-17 16:21:35 -0700 |
---|---|---|
committer | Adam Cohen <adamcohen@google.com> | 2013-10-23 14:11:45 -0700 |
commit | ad4e15cae4b628677fc249628a9ff661e67add78 (patch) | |
tree | 9179f4adb0f19d0d4d02162cdbce0a7143cbb697 /src/com/android/launcher3/SmoothPagedView.java | |
parent | 39789cba2ba6dab39cf8ca4c6cc9406440d7de2e (diff) | |
download | android_packages_apps_Trebuchet-ad4e15cae4b628677fc249628a9ff661e67add78.tar.gz android_packages_apps_Trebuchet-ad4e15cae4b628677fc249628a9ff661e67add78.tar.bz2 android_packages_apps_Trebuchet-ad4e15cae4b628677fc249628a9ff661e67add78.zip |
Cleaning some page animations
-> Fix jump when last page gets delted (issue 10908427)
-> Fade out empty screen
-> If the final page is empty, and that is the current page when
spring loaded mode ends, animate back to the previous page
and then fade out the final page. Examples: cancel widget
or shortcut drop on the final page, scroll to final page and
drop an icon into a the hotseat, etc.
Change-Id: I13438fb0af6555b6f0b511b7aff51b3972431438
Diffstat (limited to 'src/com/android/launcher3/SmoothPagedView.java')
-rw-r--r-- | src/com/android/launcher3/SmoothPagedView.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/com/android/launcher3/SmoothPagedView.java b/src/com/android/launcher3/SmoothPagedView.java index a45dbbf6e..64dcb34ca 100644 --- a/src/com/android/launcher3/SmoothPagedView.java +++ b/src/com/android/launcher3/SmoothPagedView.java @@ -52,8 +52,6 @@ public abstract class SmoothPagedView extends PagedView { } public float getInterpolation(float t) { - // _o(t) = t * t * ((tension + 1) * t + tension) - // o(t) = _o(t - 1) + 1 t -= 1.0f; return t * t * ((mTension + 1) * t + mTension) + 1.0f; } |