diff options
| author | 2025-02-06 21:46:44 +0000 | |
|---|---|---|
| committer | 2025-02-07 13:56:18 -0800 | |
| commit | 0ca7e7db3f6583fd718f8925a983e7be9db3f830 (patch) | |
| tree | 25297926c8e032c208aeb467826f7b46661d6359 /libs/androidfw/FileStream.cpp | |
| parent | b1c163f29dcf8d00f69215e0b6d1bc4152ef7163 (diff) | |
[Dual Shade] Introduce SceneContainerSwipeDetector for detecting swipes.
This replaces the `SplitEdgeDetector` by a more general swipe detector
for scene container, which detects swipes on the left and right halves
of the screen in addition to the edges.
This also changes the invocation gesture of the Dual Shade to not only
be swipes on the top edge of the screen, but anywhere on the screen
besides the left, right, and bottom edges.
BONUS: Removes the redundant "topEdgeSplitFraction" references and
resulting dependency on ShadeInteractor, so the swipe detector no longer
needs to be injected.
Fix: 394154602
Test: Tested manually by swiping down from both the top edge and center
of the screen (both left and right sides) and verifying the shade opens
and closes as expected. Also tested by swiping down when an app is open
and verified that only swipes on the top edge expand the shade.
Test: Updated unit tests.
Flag: com.android.systemui.scene_container
Change-Id: I599bd970176c900dc44bdd1ae13d07f87a7b18bf
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions