[Predictive Back] Revert all apps scale when exiting from search

Bug: b/267522879
Test: manual, see before after videos in bug
Change-Id: I7b14739fee23a22920d71841fc1c3c12b34a3d0c
This commit is contained in:
Fengjiang Li
2023-02-01 15:30:30 -08:00
parent 537c380bcb
commit d080b98b76
3 changed files with 17 additions and 0 deletions

View File

@@ -301,6 +301,13 @@ public class AllAppsTransitionController
}
}
/** Animate all apps view to 1f scale. */
public void animateAllAppsToNoScale() {
mAllAppScale.animateToValue(1f)
.setDuration(REVERT_SWIPE_ALL_APPS_TO_HOME_ANIMATION_DURATION_MS)
.start();
}
/**
* Creates an animation which updates the vertical transition progress and updates all the
* dependent UI using various animation events