summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherTransitionable.java
diff options
context:
space:
mode:
authorTony Wickham <twickham@google.com>2016-04-05 18:36:36 -0700
committerTony Wickham <twickham@google.com>2016-05-12 16:44:22 -0700
commitf898b970cc9130d629d4bc969222aaa96a8a013a (patch)
tree1e349031ffe6102fd7cfe69adae5c8fb8bf186b0 /src/com/android/launcher3/LauncherTransitionable.java
parent8f7ead3e94d0550beb85b83a8c1d5e78a9abd69f (diff)
downloadandroid_packages_apps_Trebuchet-f898b970cc9130d629d4bc969222aaa96a8a013a.tar.gz
android_packages_apps_Trebuchet-f898b970cc9130d629d4bc969222aaa96a8a013a.tar.bz2
android_packages_apps_Trebuchet-f898b970cc9130d629d4bc969222aaa96a8a013a.zip
Call onLauncherTransitionPrepare() and End() from pinch.
This makes the pinch transition more consistent with other transitions. One immediate benefit of this is that it updates adjacent overview panels during pinch, regardless of whether they are completely visible. Previously the adjacent panels' alphas weren't always reset to 0. Specifically, if you made a small pinch from workspace, which canceled and went back to workspace, adjacent pages retained a slightly visible panel. Bug: 27676309 Change-Id: I7e79fddec31cd649e0811e4524b9a9a501c627f9
Diffstat (limited to 'src/com/android/launcher3/LauncherTransitionable.java')
-rw-r--r--src/com/android/launcher3/LauncherTransitionable.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/LauncherTransitionable.java b/src/com/android/launcher3/LauncherTransitionable.java
index 49af6928a..b97aaec7d 100644
--- a/src/com/android/launcher3/LauncherTransitionable.java
+++ b/src/com/android/launcher3/LauncherTransitionable.java
@@ -20,7 +20,7 @@ package com.android.launcher3;
* An interface to get callbacks during a launcher transition.
*/
public interface LauncherTransitionable {
- void onLauncherTransitionPrepare(Launcher l, boolean animated, boolean toWorkspace);
+ void onLauncherTransitionPrepare(Launcher l, boolean animated, boolean multiplePagesVisible);
void onLauncherTransitionStart(Launcher l, boolean animated, boolean toWorkspace);
void onLauncherTransitionStep(Launcher l, float t);
void onLauncherTransitionEnd(Launcher l, boolean animated, boolean toWorkspace);