mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
Merge "Have responsive taskbar UI during swipe up gesture." into tm-qpr-dev
This commit is contained in:
@@ -175,6 +175,14 @@ public class TaskbarDragLayer extends BaseDragLayer<TaskbarActivityContext> {
|
||||
invalidate();
|
||||
}
|
||||
|
||||
/*
|
||||
* Sets the translation of the background during the swipe up gesture.
|
||||
*/
|
||||
protected void setBackgroundTranslationYForSwipe(float translationY) {
|
||||
mBackgroundRenderer.setTranslationYForSwipe(translationY);
|
||||
invalidate();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean dispatchTouchEvent(MotionEvent ev) {
|
||||
TestLogging.recordMotionEvent(TestProtocol.SEQUENCE_MAIN, "Touch event", ev);
|
||||
|
||||
Reference in New Issue
Block a user