Home
last modified time | relevance | path

Searched refs:actionMasked (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/native/services/inputflinger/
DUnwantedInteractionBlocker.cpp129 const int32_t actionMasked = MotionEvent::getActionMasked(action); in resolveActionForPointer() local
130 if (actionMasked != AMOTION_EVENT_ACTION_POINTER_DOWN && in resolveActionForPointer()
131 actionMasked != AMOTION_EVENT_ACTION_POINTER_UP) { in resolveActionForPointer()
132 return actionMasked; in resolveActionForPointer()
137 return actionMasked; in resolveActionForPointer()
147 const int32_t actionMasked = MotionEvent::getActionMasked(args.action); in removePointerIds() local
148 const bool isPointerUpOrDownAction = actionMasked == AMOTION_EVENT_ACTION_POINTER_DOWN || in removePointerIds()
149 actionMasked == AMOTION_EVENT_ACTION_POINTER_UP; in removePointerIds()
176 actionMasked | (newActionIndex << AMOTION_EVENT_ACTION_POINTER_INDEX_SHIFT); in removePointerIds()
179 if (actionMasked == AMOTION_EVENT_ACTION_POINTER_DOWN) { in removePointerIds()
[all …]
DInputCommonConverter.cpp64 static common::Action getAction(int32_t actionMasked) { in getAction() argument
101 return static_cast<common::Action>(actionMasked); in getAction()
/frameworks/base/core/java/android/view/
DVerifiedMotionEvent.java180 @MotionEventAction int actionMasked, in VerifiedMotionEvent() argument
188 this.mActionMasked = actionMasked;
342 int actionMasked = in.readInt(); in VerifiedMotionEvent() local
350 this.mActionMasked = actionMasked; in VerifiedMotionEvent()
DInputEventConsistencyVerifier.java403 final int actionMasked = event.getActionMasked(); in onTouchEvent() local
405 if (actionMasked == MotionEvent.ACTION_POINTER_DOWN) { in onTouchEvent()
426 } else if (actionMasked == MotionEvent.ACTION_POINTER_UP) { in onTouchEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/
DMotionEventMatcher.java37 MotionEventMatcher(long downTime, long eventTime, int actionMasked, int x, int y) { in MotionEventMatcher() argument
40 mActionMasked = actionMasked; in MotionEventMatcher()
/frameworks/base/core/java/android/widget/
DDropDownListView.java177 final int actionMasked = event.getActionMasked(); in onForwardedEvent() local
178 switch (actionMasked) { in onForwardedEvent()
204 if (actionMasked == MotionEvent.ACTION_UP) { in onForwardedEvent()
DForwardingListener.java166 final int actionMasked = srcEvent.getActionMasked(); in onTouchObserved() local
167 switch (actionMasked) { in onTouchObserved()
DTimePickerClockDelegate.java1083 final int actionMasked = motionEvent.getActionMasked();
1084 if (actionMasked == MotionEvent.ACTION_DOWN) {
1104 if (actionMasked == MotionEvent.ACTION_UP
1105 || actionMasked == MotionEvent.ACTION_CANCEL) {
DFastScroller.java1448 final int actionMasked = ev.getActionMasked(); in onInterceptHoverEvent() local
1449 if ((actionMasked == MotionEvent.ACTION_HOVER_ENTER in onInterceptHoverEvent()
1450 || actionMasked == MotionEvent.ACTION_HOVER_MOVE) && mState == STATE_NONE in onInterceptHoverEvent()
/frameworks/base/core/tests/coretests/src/android/view/
DVerifiedMotionEventTest.kt53 assertEquals(ACTION_MASKED, event.actionMasked) in testConstructor()
184 assertEquals(event1.actionMasked, event2.actionMasked) in compareVerifiedMotionEvents()
/frameworks/base/core/jni/
Dandroid_view_VerifiedMotionEvent.cpp37 event.rawY, event.actionMasked, event.downTimeNanos, event.flags, in android_view_VerifiedMotionEvent()
/frameworks/base/core/java/com/android/internal/widget/
DDecorCaptionView.java182 final int actionMasked = e.getActionMasked(); in onTouch() local
183 switch (actionMasked) { in onTouch()
215 if (actionMasked == MotionEvent.ACTION_UP) { in onTouch()
/frameworks/native/services/inputflinger/dispatcher/
DInputState.cpp96 int32_t actionMasked = action & AMOTION_EVENT_ACTION_MASK; in trackMotion() local
97 switch (actionMasked) { in trackMotion()
108 entry.deviceId, entry.source, entry.displayId, actionMasked); in trackMotion()
165 entry.deviceId, entry.source, entry.displayId, actionMasked); in trackMotion()
DEntry.cpp47 const int actionMasked = entry.action & AMOTION_EVENT_ACTION_MASK; in verifiedMotionEventFromMotionEntry() local
52 actionMasked, in verifiedMotionEventFromMotionEntry()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DPulseExpansionHandler.kt163 when (event.actionMasked) { in <lambda>()
215 event.actionMasked == MotionEvent.ACTION_DOWN) { in <lambda>()
222 when (event.actionMasked) { in <lambda>()
DLockscreenShadeTransitionController.kt799 when (event.actionMasked) { in onInterceptTouchEvent()
836 when (event.actionMasked) { in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/
DSinglePointerTouchProcessor.kt54 return when (event.actionMasked) { in processTouch()
66 Failure("Unsupported MotionEvent." + MotionEvent.actionToString(event.actionMasked)) in processTouch()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DEventDispatcher.java236 private int computeInjectionAction(int actionMasked, int pointerIndex) { in computeInjectionAction() argument
237 switch (actionMasked) { in computeInjectionAction()
256 return actionMasked; in computeInjectionAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
DSwipeUpGestureHandler.kt54 when (ev.actionMasked) { in onInputEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/view/
DLongPressHandlingView.kt93 return when (actionMasked) { in toModel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DPulsingGestureListener.kt111 if (e.actionMasked == MotionEvent.ACTION_UP && in <lambda>()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DFrontBufferedLayer.kt99 val action = event.actionMasked in onTouchEvent()
/frameworks/native/libs/input/tests/
DVerifiedInputEvent_test.cpp101 ASSERT_EQ(event.getAction(), verified.actionMasked); in TEST()
DStructLayout_test.cpp190 sizeof(VerifiedMotionEvent::actionMasked) + sizeof(VerifiedMotionEvent::downTimeNanos) + in TestVerifiedEventSize()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPainting.kt244 when (event.actionMasked) { in onTouchEvent()

12