Add double tap callback for divider bar
Add a callback in split layout to notify registered listener when users double tapped the divider bar. Use this callback to switch side stage position. Bug: 176061049 Test: atest SplitLayoutTests Test: manual check stage position changed when double tapped divider bar Change-Id: Id3929b01a194b8eb0838cc892156bbbe48dc8690
Showing
- libs/WindowManager/Shell/src/com/android/wm/shell/common/split/DividerView.java 15 additions, 0 deletions...ll/src/com/android/wm/shell/common/split/DividerView.java
- libs/WindowManager/Shell/src/com/android/wm/shell/common/split/SplitLayout.java 10 additions, 0 deletions...ll/src/com/android/wm/shell/common/split/SplitLayout.java
- libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java 6 additions, 0 deletions...rc/com/android/wm/shell/splitscreen/StageCoordinator.java
- libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/split/SplitLayoutTests.java 6 additions, 0 deletions...c/com/android/wm/shell/common/split/SplitLayoutTests.java
Please register or sign in to comment