Merge "Have responsive taskbar UI during swipe up gesture." into tm-qpr-dev

This commit is contained in:
Jon Miranda
2022-11-08 17:53:05 +00:00
committed by Android (Google) Code Review
12 changed files with 327 additions and 20 deletions

View File

@@ -150,6 +150,13 @@ public class TaskbarDragLayerController implements TaskbarControllers.LoggableTa
updateNavBarDarkIntensityMultiplier();
}
/**
* Sets the translation of the background during the swipe up gesture.
*/
public void setTranslationYForSwipe(float transY) {
mTaskbarDragLayer.setBackgroundTranslationYForSwipe(transY);
}
private void updateBackgroundOffset() {
mTaskbarDragLayer.setTaskbarBackgroundOffset(mBgOffset.value);