mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Add getUserEventLogger to LauncherCallbacks
b/26494415 Change-Id: I8abaaf1269c12435a523e31bf769991018ea5c02
This commit is contained in:
@@ -148,6 +148,7 @@ public class LauncherStateTransitionAnimation {
|
||||
}
|
||||
@Override
|
||||
void onTransitionComplete() {
|
||||
mLauncher.getLogger().resetElapsedContainerMillis();
|
||||
if (startSearchAfterTransition) {
|
||||
toView.startAppsSearch();
|
||||
}
|
||||
@@ -167,7 +168,12 @@ public class LauncherStateTransitionAnimation {
|
||||
final View buttonView = mLauncher.getWidgetsButton();
|
||||
mCurrentAnimation = startAnimationToOverlay(fromWorkspaceState,
|
||||
Workspace.State.OVERVIEW_HIDDEN, buttonView, toView, animated,
|
||||
new PrivateTransitionCallbacks(FINAL_REVEAL_ALPHA_FOR_WIDGETS));
|
||||
new PrivateTransitionCallbacks(FINAL_REVEAL_ALPHA_FOR_WIDGETS){
|
||||
@Override
|
||||
void onTransitionComplete() {
|
||||
mLauncher.getLogger().resetElapsedContainerMillis();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -462,6 +468,10 @@ public class LauncherStateTransitionAnimation {
|
||||
}
|
||||
};
|
||||
}
|
||||
@Override
|
||||
void onTransitionComplete() {
|
||||
mLauncher.getLogger().resetElapsedContainerMillis();
|
||||
}
|
||||
};
|
||||
// Only animate the search bar if animating to spring loaded mode from all apps
|
||||
mCurrentAnimation = startAnimationToWorkspaceFromOverlay(fromWorkspaceState, toWorkspaceState,
|
||||
@@ -488,6 +498,10 @@ public class LauncherStateTransitionAnimation {
|
||||
}
|
||||
};
|
||||
}
|
||||
@Override
|
||||
void onTransitionComplete() {
|
||||
mLauncher.getLogger().resetElapsedContainerMillis();
|
||||
}
|
||||
};
|
||||
mCurrentAnimation = startAnimationToWorkspaceFromOverlay(
|
||||
fromWorkspaceState, toWorkspaceState,
|
||||
|
||||
Reference in New Issue
Block a user