Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DVerifiedMotionEvent.java176 @MotionEventAction int actionMasked, in VerifiedMotionEvent() argument
184 this.mActionMasked = actionMasked;
345 int actionMasked = in.readInt(); in VerifiedMotionEvent() local
353 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()
DViewGroup.java2647 final int actionMasked = action & MotionEvent.ACTION_MASK; in dispatchTouchEvent() local
2650 if (actionMasked == MotionEvent.ACTION_DOWN) { in dispatchTouchEvent()
2660 if (actionMasked == MotionEvent.ACTION_DOWN in dispatchTouchEvent()
2683 || actionMasked == MotionEvent.ACTION_CANCEL; in dispatchTouchEvent()
2700 if (actionMasked == MotionEvent.ACTION_DOWN in dispatchTouchEvent()
2701 || (split && actionMasked == MotionEvent.ACTION_POINTER_DOWN) in dispatchTouchEvent()
2702 || actionMasked == MotionEvent.ACTION_HOVER_MOVE) { in dispatchTouchEvent()
2821 || actionMasked == MotionEvent.ACTION_UP in dispatchTouchEvent()
2822 || actionMasked == MotionEvent.ACTION_HOVER_MOVE) { in dispatchTouchEvent()
2824 } else if (split && actionMasked == MotionEvent.ACTION_POINTER_UP) { in dispatchTouchEvent()
DView.java14291 final int actionMasked = event.getActionMasked();
14292 if (actionMasked == MotionEvent.ACTION_DOWN) {
14321 if (actionMasked == MotionEvent.ACTION_UP ||
14322 actionMasked == MotionEvent.ACTION_CANCEL ||
14323 (actionMasked == MotionEvent.ACTION_DOWN && !result)) {
/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.java1082 final int actionMasked = motionEvent.getActionMasked();
1083 if (actionMasked == MotionEvent.ACTION_DOWN) {
1103 if (actionMasked == MotionEvent.ACTION_UP
1104 || 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()
DScrollView.java723 final int actionMasked = ev.getActionMasked(); in onTouchEvent() local
725 if (actionMasked == MotionEvent.ACTION_DOWN) { in onTouchEvent()
730 switch (actionMasked) { in onTouchEvent()
DAbsListView.java3850 final int actionMasked = ev.getActionMasked(); in onTouchEvent() local
3851 if (actionMasked == MotionEvent.ACTION_DOWN) { in onTouchEvent()
3855 switch (actionMasked) { in onTouchEvent()
4470 final int actionMasked = ev.getActionMasked(); in onInterceptTouchEvent() local
4489 switch (actionMasked) { in onInterceptTouchEvent()
/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.java185 final int actionMasked = e.getActionMasked(); in onTouch() local
186 switch (actionMasked) { in onTouch()
218 if (actionMasked == MotionEvent.ACTION_UP) { in onTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DPulseExpansionHandler.kt137 when (event.actionMasked) { in <lambda>()
185 event.actionMasked == MotionEvent.ACTION_DOWN) { in <lambda>()
192 when (event.actionMasked) { in <lambda>()
/frameworks/native/services/inputflinger/dispatcher/
DInputState.cpp92 int32_t actionMasked = action & AMOTION_EVENT_ACTION_MASK; in trackMotion() local
93 switch (actionMasked) { in trackMotion()
104 entry.deviceId, entry.source, entry.displayId, actionMasked); in trackMotion()
161 entry.deviceId, entry.source, entry.displayId, actionMasked); in trackMotion()
DEntry.cpp46 const int actionMasked = entry.action & AMOTION_EVENT_ACTION_MASK; in verifiedMotionEventFromMotionEntry() local
51 actionMasked, in verifiedMotionEventFromMotionEntry()
DInputDispatcher.cpp2618 int32_t actionMasked = dispatchEntry.resolvedAction & AMOTION_EVENT_ACTION_MASK; in getSignature() local
2619 if ((actionMasked == AMOTION_EVENT_ACTION_UP) || (actionMasked == AMOTION_EVENT_ACTION_DOWN)) { in getSignature()
2623 verifiedEvent.actionMasked = actionMasked; in getSignature()
/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/native/libs/input/tests/
DVerifiedInputEvent_test.cpp97 ASSERT_EQ(event.getAction(), verified.actionMasked); in TEST()
DStructLayout_test.cpp128 sizeof(VerifiedMotionEvent::actionMasked) + sizeof(VerifiedMotionEvent::downTimeNanos) + in TestVerifiedEventSize()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPainting.kt244 when (event.actionMasked) { in onTouchEvent()
/frameworks/native/services/inputflinger/
DInputClassifierConverter.cpp58 static common::V1_0::Action getAction(int32_t actionMasked) { in getAction() argument
85 return static_cast<common::V1_0::Action>(actionMasked); in getAction()
/frameworks/native/libs/input/
DVelocityTracker.cpp275 int32_t actionMasked = event->getActionMasked(); in addMovement() local
277 switch (actionMasked) { in addMovement()
/frameworks/native/include/input/
DInput.h815 int32_t actionMasked; member
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp1718 EXPECT_EQ(motionArgs.action & AMOTION_EVENT_ACTION_MASK, verifiedMotion.actionMasked); in TEST_F()