Searched refs:motion_event (Results 1 – 6 of 6) sorted by relevance
410 int32_t AMotionEvent_getAction(const AInputEvent* motion_event);413 int32_t AMotionEvent_getFlags(const AInputEvent* motion_event);417 int32_t AMotionEvent_getMetaState(const AInputEvent* motion_event);422 int32_t AMotionEvent_getEdgeFlags(const AInputEvent* motion_event);426 int64_t AMotionEvent_getDownTime(const AInputEvent* motion_event);430 int64_t AMotionEvent_getEventTime(const AInputEvent* motion_event);436 float AMotionEvent_getXOffset(const AInputEvent* motion_event) __NDK_FPABI__;442 float AMotionEvent_getYOffset(const AInputEvent* motion_event) __NDK_FPABI__;447 float AMotionEvent_getXPrecision(const AInputEvent* motion_event) __NDK_FPABI__;452 float AMotionEvent_getYPrecision(const AInputEvent* motion_event) __NDK_FPABI__;[all …]
518 int32_t AMotionEvent_getAction(const AInputEvent* motion_event);521 int32_t AMotionEvent_getFlags(const AInputEvent* motion_event);525 int32_t AMotionEvent_getMetaState(const AInputEvent* motion_event);530 int32_t AMotionEvent_getEdgeFlags(const AInputEvent* motion_event);534 int64_t AMotionEvent_getDownTime(const AInputEvent* motion_event);538 int64_t AMotionEvent_getEventTime(const AInputEvent* motion_event);544 float AMotionEvent_getXOffset(const AInputEvent* motion_event) __NDK_FPABI__;550 float AMotionEvent_getYOffset(const AInputEvent* motion_event) __NDK_FPABI__;555 float AMotionEvent_getXPrecision(const AInputEvent* motion_event) __NDK_FPABI__;560 float AMotionEvent_getYPrecision(const AInputEvent* motion_event) __NDK_FPABI__;[all …]
553 int32_t AMotionEvent_getAction(const AInputEvent* motion_event);556 int32_t AMotionEvent_getFlags(const AInputEvent* motion_event);560 int32_t AMotionEvent_getMetaState(const AInputEvent* motion_event);563 int32_t AMotionEvent_getButtonState(const AInputEvent* motion_event);568 int32_t AMotionEvent_getEdgeFlags(const AInputEvent* motion_event);572 int64_t AMotionEvent_getDownTime(const AInputEvent* motion_event);576 int64_t AMotionEvent_getEventTime(const AInputEvent* motion_event);582 float AMotionEvent_getXOffset(const AInputEvent* motion_event) __NDK_FPABI__;588 float AMotionEvent_getYOffset(const AInputEvent* motion_event) __NDK_FPABI__;593 float AMotionEvent_getXPrecision(const AInputEvent* motion_event) __NDK_FPABI__;[all …]
555 int32_t AMotionEvent_getAction(const AInputEvent* motion_event);558 int32_t AMotionEvent_getFlags(const AInputEvent* motion_event);562 int32_t AMotionEvent_getMetaState(const AInputEvent* motion_event);565 int32_t AMotionEvent_getButtonState(const AInputEvent* motion_event);570 int32_t AMotionEvent_getEdgeFlags(const AInputEvent* motion_event);574 int64_t AMotionEvent_getDownTime(const AInputEvent* motion_event);578 int64_t AMotionEvent_getEventTime(const AInputEvent* motion_event);584 float AMotionEvent_getXOffset(const AInputEvent* motion_event) __NDK_FPABI__;590 float AMotionEvent_getYOffset(const AInputEvent* motion_event) __NDK_FPABI__;595 float AMotionEvent_getXPrecision(const AInputEvent* motion_event) __NDK_FPABI__;[all …]
45 GESTURE_STATE TapDetector::Detect( const AInputEvent* motion_event ) in Detect() argument47 if( AMotionEvent_getPointerCount( motion_event ) > 1 ) in Detect()53 int32_t action = AMotionEvent_getAction( motion_event ); in Detect()58 down_pointer_id_ = AMotionEvent_getPointerId( motion_event, 0 ); in Detect()59 down_x_ = AMotionEvent_getX( motion_event, 0 ); in Detect()60 down_y_ = AMotionEvent_getY( motion_event, 0 ); in Detect()64 int64_t eventTime = AMotionEvent_getEventTime( motion_event ); in Detect()65 int64_t downTime = AMotionEvent_getDownTime( motion_event ); in Detect()68 if( down_pointer_id_ == AMotionEvent_getPointerId( motion_event, 0 ) ) in Detect()70 float x = AMotionEvent_getX( motion_event, 0 ) - down_x_; in Detect()[all …]
70 virtual GESTURE_STATE Detect( const AInputEvent* motion_event ) = 0;91 virtual GESTURE_STATE Detect( const AInputEvent* motion_event );114 virtual GESTURE_STATE Detect( const AInputEvent* motion_event );