Add spring animation when stashing transient taskbar.
Bug: 273961611 Change-Id: I35a658a5e30a155094a48effdefc3895f45e0483 Flag: ENABLE_TRANSIENT_TASKBAR Test: stash transient taskbar
This commit is contained in:
1 parent
149246f077
commit
3344ec7004
11 files changed
+156
-4
No files matched your search
@@ -161,6 +161,13 @@ public class TaskbarDragLayerController implements TaskbarControllers.LoggableTa
|
||||
mTaskbarDragLayer.setBackgroundTranslationYForSwipe(transY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the translation of the background during the spring on stash animation.
|
||||
*/
|
||||
public void setTranslationYForStash(float transY) {
|
||||
mTaskbarDragLayer.setBackgroundTranslationYForStash(transY);
|
||||
}
|
||||
|
||||
private void updateBackgroundOffset() {
|
||||
mTaskbarDragLayer.setTaskbarBackgroundOffset(mBgOffset.value);
|
||||
|
||||
|
||||
Reference in new issue
Block a user