Home
last modified time | relevance | path

Searched refs:KeyEventAction (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/inputflinger/rust/
Dbounce_keys_filter.rs24 DeviceInfo::DeviceInfo, KeyEvent::KeyEvent, KeyEventAction::KeyEventAction,
72 KeyEventAction::DOWN => match self.key_event_map.get(&event.deviceId) { in notify_key()
89 KeyEventAction::UP => { in notify_key()
133 DeviceInfo::DeviceInfo, KeyEvent::KeyEvent, KeyEventAction::KeyEventAction,
145 action: KeyEventAction::DOWN,
161 let event = KeyEvent { action: KeyEventAction::DOWN, ..BASE_KEY_EVENT }; in test_is_notify_key_for_external_keyboard()
165 let event = KeyEvent { action: KeyEventAction::UP, ..BASE_KEY_EVENT }; in test_is_notify_key_for_external_keyboard()
170 let event = KeyEvent { action: KeyEventAction::DOWN, ..BASE_KEY_EVENT }; in test_is_notify_key_for_external_keyboard()
174 let event = KeyEvent { eventTime: 100, action: KeyEventAction::UP, ..BASE_KEY_EVENT }; in test_is_notify_key_for_external_keyboard()
178 let event = KeyEvent { eventTime: 200, action: KeyEventAction::DOWN, ..BASE_KEY_EVENT }; in test_is_notify_key_for_external_keyboard()
[all …]
Dslow_keys_filter.rs25 DeviceInfo::DeviceInfo, KeyEvent::KeyEvent, KeyEventAction::KeyEventAction,
117 if event.action == KeyEventAction::UP { in notify_key()
123 KeyEventAction::DOWN => { in notify_key()
143 KeyEventAction::UP => { in notify_key()
218 DeviceInfo::DeviceInfo, KeyEvent::KeyEvent, KeyEventAction::KeyEventAction,
233 action: KeyEventAction::DOWN,
254 let event = KeyEvent { action: KeyEventAction::DOWN, ..BASE_KEY_EVENT }; in test_is_notify_key_for_internal_keyboard_not_blocked()
272 KeyEvent { action: KeyEventAction::DOWN, source: Source::STYLUS, ..BASE_KEY_EVENT }; in test_is_notify_key_for_external_stylus_not_blocked()
290 action: KeyEventAction::DOWN, in test_notify_key_for_external_keyboard_when_key_pressed_for_threshold_time()
301 action: KeyEventAction::DOWN, in test_notify_key_for_external_keyboard_when_key_pressed_for_threshold_time()
[all …]
Dsticky_keys_filter.rs24 DeviceInfo::DeviceInfo, KeyEvent::KeyEvent, KeyEventAction::KeyEventAction,
76 let up = event.action == KeyEventAction::UP; in notify_key()
236 KeyEvent::KeyEvent, KeyEventAction::KeyEventAction,
252 action: KeyEventAction::DOWN,
259 static BASE_KEY_UP: KeyEvent = KeyEvent { action: KeyEventAction::UP, ..BASE_KEY_DOWN };
Dinput_filter.rs215 KeyEventAction::KeyEventAction,
329 action: KeyEventAction::DOWN, in create_key_event()
/frameworks/base/core/java/android/view/
DVerifiedKeyEvent.java50 public @interface KeyEventAction {}; annotation in VerifiedKeyEvent
58 @KeyEventAction
190 @KeyEventAction int action, in VerifiedKeyEvent()
200 KeyEventAction.class, null, mAction);
216 public @KeyEventAction int getAction() { in getAction()
366 KeyEventAction.class, null, mAction); in VerifiedKeyEvent()
/frameworks/native/services/inputflinger/aidl/com/android/server/inputflinger/
DKeyEvent.aidl20 import com.android.server.inputflinger.KeyEventAction;
36 KeyEventAction action;
DKeyEventAction.aidl20 enum KeyEventAction { enum
/frameworks/native/services/inputflinger/
DInputFilter.cpp25 using aidl::com::android::server::inputflinger::KeyEventAction;
37 event.action = static_cast<KeyEventAction>(args.action); in notifyKeyArgsToKeyEvent()