diff options
| author | 2024-07-11 15:47:29 +0200 | |
|---|---|---|
| committer | 2024-07-12 16:19:55 +0200 | |
| commit | 9c4966a4d79da95a3bb932958b811d12b0aa5d0f (patch) | |
| tree | 04ce12dafb1b608dd8bc33693795527aba109f32 /api/api.go | |
| parent | fe0ec045a1fa0e17906d6f2b2b6b0739b2c99a65 (diff) | |
Support RTL layouts in STL
This CL adds support for RTL layouts by introducing
SwipeDirection.{Start,End} and Edge.{Start.End}. These are resolved
using the current LayoutDirection when building the user actions map.
I decided to introduce a Resolved subclass in UserAction, SwipeDirection
and SwipeSource so that resolving a user action before using it is
enforced by the compiler.
Bug: 320786721
Test: atest SwipeToSceneTest
Flag: com.android.systemui.scene_container
Change-Id: I028ee755b9be67594a9abdc3127307ba789a07e4
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions