-
- Downloads
Create a drag controller for expanded bubble bar
Tracks touch events on BubbleBarHandleView. Moves the BubbleBarExpandedView around based on touch events. When finger is released, snaps back to the initial position. Bug: 283991264 Test: drag from the handle - observe that the view follows the finger - release touch, observe that the view snaps back Change-Id: I16bc97270195dbdb753ac30d091a93c63ce6628d
Showing
- libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/BubbleBarExpandedView.java 10 additions, 0 deletions...m/android/wm/shell/bubbles/bar/BubbleBarExpandedView.java
- libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/BubbleBarExpandedViewDragController.kt 100 additions, 0 deletions.../shell/bubbles/bar/BubbleBarExpandedViewDragController.kt
- libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/RelativeTouchListener.kt 17 additions, 5 deletions.../android/wm/shell/common/bubbles/RelativeTouchListener.kt
Please register or sign in to comment