OSDN Git Service

Double tap to expand PiP.
authorWinson Chung <winsonc@google.com>
Wed, 16 Aug 2017 17:38:15 +0000 (10:38 -0700)
committerWinson Chung <winsonc@google.com>
Tue, 5 Sep 2017 17:39:37 +0000 (10:39 -0700)
commitbca03117fe4e4f912f10eb8b3bb03ad4a5d6e09c
tree29261cc987111844b76230c3801cc470aed4b236
parent32b477db1568d4449ed384a81eae439a4c8d3c17
Double tap to expand PiP.

- Also fix issue with dismiss scrim not clearing when quickly swiping in
  the dismiss area and back, due to an incorrect check (menu state NONE
  != menu is not visible).

Bug: 62078042
Test: com.android.systemui.pip.phone.PipTouchStateTest
Test: Double tap PiP to expand it

Change-Id: I96d9ba169feadf0ea8315152fb3a5b2cfb69a2f0
packages/SystemUI/src/com/android/systemui/pip/phone/PipMenuActivity.java
packages/SystemUI/src/com/android/systemui/pip/phone/PipMenuActivityController.java
packages/SystemUI/src/com/android/systemui/pip/phone/PipTouchHandler.java
packages/SystemUI/src/com/android/systemui/pip/phone/PipTouchState.java
packages/SystemUI/tests/src/com/android/systemui/pip/phone/PipTouchStateTest.java [new file with mode: 0644]