mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Align widget picker bottom swipe transition with predictive back.
Bug: 325930715 Test: widget picker tests Flag: NA Change-Id: I15319f0a264503ff34dd4cc0dc36a40531379e2b
This commit is contained in:
@@ -207,10 +207,10 @@ public class TaskbarAllAppsSlideInView extends AbstractSlideInView<TaskbarOverla
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onScaleProgressChanged() {
|
||||
super.onScaleProgressChanged();
|
||||
mAppsView.setClipChildren(!mIsBackProgressing);
|
||||
mAppsView.getAppsRecyclerViewContainer().setClipChildren(!mIsBackProgressing);
|
||||
protected void onUserSwipeToDismissProgressChanged() {
|
||||
super.onUserSwipeToDismissProgressChanged();
|
||||
mAppsView.setClipChildren(!mIsDismissInProgress);
|
||||
mAppsView.getAppsRecyclerViewContainer().setClipChildren(!mIsDismissInProgress);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -264,7 +264,7 @@ public class TaskbarAllAppsSlideInView extends AbstractSlideInView<TaskbarOverla
|
||||
if (mAllAppsCallbacks.handleSearchBackInvoked()) {
|
||||
// We need to scale back taskbar all apps if we navigate back within search inside all
|
||||
// apps
|
||||
animateSlideInViewToNoScale();
|
||||
animateSwipeToDismissProgressToStart();
|
||||
} else {
|
||||
super.onBackInvoked();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user