| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
view.getRootView returns itself when unattached, which may not be a
ViewGroup instance. Therefore trying to cast to a ViewGroup will cause a
ClassCastException. This fix avoids the exception by ensuring that the
view is attached before trying to cast the root view.
Fixes: 277637573
Test: mp droid and verified touch gestures on dream work correctly by
swiping up the bouncer, and swiping down the notification shade.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:68cb239bb0e7129d0f415d7a3b77609ab1326a79)
Merged-In: Ic2d87278e5c60509c39062437b548ae76959b169
Change-Id: Ic2d87278e5c60509c39062437b548ae76959b169
|
| |
|
|
|
|
|
|
|
|
|
| |
This changelist makes sure the full screen size is considered
when accounting for the dream overlay. Previously, insets would
be subtracted from the overall dimensions.
Test: atest DreamOverlayTouchMonitorTest#testReportedDisplayBounds
Fixes: 267565290
Change-Id: I48c072491efc62c49385ae5f4684d99585a05895
Merged-In: I48c072491efc62c49385ae5f4684d99585a05895
|
| |
|
|
|
|
|
|
|
|
|
| |
This changelist introduces HideComplicationTouchHandler, which is
responsible for monitoring touches on the dream overlay and determining
when complications should be hidden. When a touch ends, the
DreamTouchHandler also handles restoring complication visibility.
Test: atest HideComplicationTouchHandler
Fixes: 214292772
Change-Id: Ib80ed9d6c351503ef5f9910b9870c4a5672b96d2
|
|
|
This changelist introduces TouchInsetManager to handle
touchable insets across different locations within the
same root view.
Bug: 214292772
Test: atest TouchInsetManagerTest
Change-Id: I9fa50d47440a130ffd8ed36fd9bc1e4f42ef303c
|