Home
last modified time | relevance | path

Searched refs:MotionAction (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/input/rust/
Dinput.rs102 pub enum MotionAction { enum
137 impl fmt::Display for MotionAction { implementation
140 MotionAction::Down => write!(f, "DOWN"), in fmt()
141 MotionAction::Up => write!(f, "UP"), in fmt()
142 MotionAction::Move => write!(f, "MOVE"), in fmt()
143 MotionAction::Cancel => write!(f, "CANCEL"), in fmt()
144 MotionAction::Outside => write!(f, "OUTSIDE"), in fmt()
145 MotionAction::PointerDown { action_index } => { in fmt()
148 MotionAction::PointerUp { action_index } => write!(f, "POINTER_UP({})", action_index), in fmt()
149 MotionAction::HoverMove => write!(f, "HOVER_MOVE"), in fmt()
[all …]
Dinput_verifier.rs20 use crate::input::{DeviceId, MotionAction, MotionFlags, Source, SourceClass};
26 action: MotionAction, in verify_event() argument
35 MotionAction::Down in verify_event()
36 | MotionAction::HoverEnter in verify_event()
37 | MotionAction::HoverExit in verify_event()
38 | MotionAction::HoverMove in verify_event()
39 | MotionAction::Up => { in verify_event()
48 MotionAction::Cancel => { in verify_event()
57 MotionAction::PointerDown { action_index } | MotionAction::PointerUp { action_index } => { in verify_event()
109 MotionAction::from(action).to_string(), in process_movement()
[all …]
Dlib.rs24 DeviceClass, DeviceId, InputDevice, ModifierState, MotionAction, MotionFlags, Source,