Lines Matching refs:key_event
53 int32_t AKeyEvent_getAction(const AInputEvent* key_event) {
54 return static_cast<const KeyEvent*>(key_event)->getAction();
57 int32_t AKeyEvent_getFlags(const AInputEvent* key_event) {
58 return static_cast<const KeyEvent*>(key_event)->getFlags();
61 int32_t AKeyEvent_getKeyCode(const AInputEvent* key_event) {
62 return static_cast<const KeyEvent*>(key_event)->getKeyCode();
65 int32_t AKeyEvent_getScanCode(const AInputEvent* key_event) {
66 return static_cast<const KeyEvent*>(key_event)->getScanCode();
69 int32_t AKeyEvent_getMetaState(const AInputEvent* key_event) {
70 return static_cast<const KeyEvent*>(key_event)->getMetaState();
72 int32_t AKeyEvent_getRepeatCount(const AInputEvent* key_event) {
73 return static_cast<const KeyEvent*>(key_event)->getRepeatCount();
76 int64_t AKeyEvent_getDownTime(const AInputEvent* key_event) {
77 return static_cast<const KeyEvent*>(key_event)->getDownTime();
81 int64_t AKeyEvent_getEventTime(const AInputEvent* key_event) {
82 return static_cast<const KeyEvent*>(key_event)->getEventTime();