Home
last modified time | relevance | path

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

/frameworks/base/native/android/
Dinput.cpp99 int32_t AMotionEvent_getAction(const AInputEvent* motion_event) { in AMotionEvent_getAction() argument
100 return static_cast<const MotionEvent*>(motion_event)->getAction(); in AMotionEvent_getAction()
103 int32_t AMotionEvent_getFlags(const AInputEvent* motion_event) { in AMotionEvent_getFlags() argument
104 return static_cast<const MotionEvent*>(motion_event)->getFlags(); in AMotionEvent_getFlags()
107 int32_t AMotionEvent_getMetaState(const AInputEvent* motion_event) { in AMotionEvent_getMetaState() argument
108 return static_cast<const MotionEvent*>(motion_event)->getMetaState(); in AMotionEvent_getMetaState()
111 int32_t AMotionEvent_getButtonState(const AInputEvent* motion_event) { in AMotionEvent_getButtonState() argument
112 return static_cast<const MotionEvent*>(motion_event)->getButtonState(); in AMotionEvent_getButtonState()
115 int32_t AMotionEvent_getEdgeFlags(const AInputEvent* motion_event) { in AMotionEvent_getEdgeFlags() argument
116 return reinterpret_cast<const MotionEvent*>(motion_event)->getEdgeFlags(); in AMotionEvent_getEdgeFlags()
[all …]
/frameworks/native/include/android/
Dinput.h1045 int32_t AMotionEvent_getAction(const AInputEvent* motion_event);
1048 int32_t AMotionEvent_getFlags(const AInputEvent* motion_event);
1054 int32_t AMotionEvent_getMetaState(const AInputEvent* motion_event);
1057 int32_t AMotionEvent_getButtonState(const AInputEvent* motion_event);
1064 int32_t AMotionEvent_getEdgeFlags(const AInputEvent* motion_event);
1070 int64_t AMotionEvent_getDownTime(const AInputEvent* motion_event);
1076 int64_t AMotionEvent_getEventTime(const AInputEvent* motion_event);
1084 float AMotionEvent_getXOffset(const AInputEvent* motion_event);
1092 float AMotionEvent_getYOffset(const AInputEvent* motion_event);
1099 float AMotionEvent_getXPrecision(const AInputEvent* motion_event);
[all …]