OSDN Git Service

Avoids vibration over deadzone in navigationbar
authorMatthew Ng <ngmatthew@google.com>
Sat, 31 Mar 2018 00:15:39 +0000 (17:15 -0700)
committerMatthew Ng <ngmatthew@google.com>
Mon, 2 Apr 2018 18:48:21 +0000 (11:48 -0700)
commit603b3298ffa73714e2af955ce916b044f234d8b6
tree3bd11624386146c427bedb14d6bdc9882c60c51c
parent50228a647183c9315312f8f36ba849f8b1e6d3d0
Avoids vibration over deadzone in navigationbar

Removed the deadzone as a view and converted to a class that is attached
to NavigationBarView to determine if the incoming touch events should be
consumed by the deadzone.

Change-Id: I5bf6a9e48ba9fa2305ec98acfc537d14cb8cf725
Fixes: 77235132
Test: tap just above the home button in portrait
packages/SystemUI/res/layout-sw600dp/navigation_layout_rot90.xml
packages/SystemUI/res/layout/navigation_layout.xml
packages/SystemUI/res/layout/navigation_layout_rot90.xml
packages/SystemUI/res/values-land/config.xml
packages/SystemUI/res/values-sw600dp/config.xml
packages/SystemUI/res/values/config.xml
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickStepController.java
packages/SystemUI/src/com/android/systemui/statusbar/policy/DeadZone.java