diff options
| author | 2024-06-11 15:31:40 +0000 | |
|---|---|---|
| committer | 2024-06-12 14:34:22 +0000 | |
| commit | 7cf348d281393d2b529da79ad2bd436ade6ec9ed (patch) | |
| tree | 31d614d0c7a31ad060a8bfc60d630311a7eea09d | |
| parent | e5bbc0b925673907016e5c62d22d271bd2b96de8 (diff) | |
Add new MotionEvent orientation flags to rust
Bug: 263310669
Bug: 346599999
Test: manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:cda32662d9784812d767c657a1e573b331fe77a0)
Merged-In: I902faf586ad498c0ba8111dd0f89a788ca353866
Change-Id: I902faf586ad498c0ba8111dd0f89a788ca353866
| -rw-r--r-- | libs/input/rust/input.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/input/rust/input.rs b/libs/input/rust/input.rs index 0574245fa6..564d94dbb4 100644 --- a/libs/input/rust/input.rs +++ b/libs/input/rust/input.rs @@ -207,6 +207,11 @@ bitflags! { const CANCELED = IInputConstants::INPUT_EVENT_FLAG_CANCELED as u32; /// FLAG_NO_FOCUS_CHANGE const NO_FOCUS_CHANGE = IInputConstants::MOTION_EVENT_FLAG_NO_FOCUS_CHANGE as u32; + /// PRIVATE_FLAG_SUPPORTS_ORIENTATION + const PRIVATE_SUPPORTS_ORIENTATION = IInputConstants::MOTION_EVENT_PRIVATE_FLAG_SUPPORTS_ORIENTATION as u32; + /// PRIVATE_FLAG_SUPPORTS_DIRECTIONAL_ORIENTATION + const PRIVATE_SUPPORTS_DIRECTIONAL_ORIENTATION = + IInputConstants::MOTION_EVENT_PRIVATE_FLAG_SUPPORTS_DIRECTIONAL_ORIENTATION as u32; /// FLAG_IS_ACCESSIBILITY_EVENT const IS_ACCESSIBILITY_EVENT = IInputConstants::INPUT_EVENT_FLAG_IS_ACCESSIBILITY_EVENT as u32; /// FLAG_TAINTED |