Home
last modified time | relevance | path

Searched refs:key_event (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/native/android/
Dinput.cpp50 int32_t AKeyEvent_getAction(const AInputEvent* key_event) { in AKeyEvent_getAction() argument
51 return static_cast<const KeyEvent*>(key_event)->getAction(); in AKeyEvent_getAction()
54 int32_t AKeyEvent_getFlags(const AInputEvent* key_event) { in AKeyEvent_getFlags() argument
55 return static_cast<const KeyEvent*>(key_event)->getFlags(); in AKeyEvent_getFlags()
58 int32_t AKeyEvent_getKeyCode(const AInputEvent* key_event) { in AKeyEvent_getKeyCode() argument
59 return static_cast<const KeyEvent*>(key_event)->getKeyCode(); in AKeyEvent_getKeyCode()
62 int32_t AKeyEvent_getScanCode(const AInputEvent* key_event) { in AKeyEvent_getScanCode() argument
63 return static_cast<const KeyEvent*>(key_event)->getScanCode(); in AKeyEvent_getScanCode()
66 int32_t AKeyEvent_getMetaState(const AInputEvent* key_event) { in AKeyEvent_getMetaState() argument
67 return static_cast<const KeyEvent*>(key_event)->getMetaState(); in AKeyEvent_getMetaState()
[all …]
/frameworks/native/include/android/
Dinput.h517 int32_t AKeyEvent_getAction(const AInputEvent* key_event);
520 int32_t AKeyEvent_getFlags(const AInputEvent* key_event);
524 int32_t AKeyEvent_getKeyCode(const AInputEvent* key_event);
528 int32_t AKeyEvent_getScanCode(const AInputEvent* key_event);
531 int32_t AKeyEvent_getMetaState(const AInputEvent* key_event);
537 int32_t AKeyEvent_getRepeatCount(const AInputEvent* key_event);
544 int64_t AKeyEvent_getDownTime(const AInputEvent* key_event);
548 int64_t AKeyEvent_getEventTime(const AInputEvent* key_event);