Home
last modified time | relevance | path

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

12

/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()
DViewGroup.java2635 final int actionMasked = action & MotionEvent.ACTION_MASK; in dispatchTouchEvent() local
2638 if (actionMasked == MotionEvent.ACTION_DOWN) { in dispatchTouchEvent()
2648 if (actionMasked == MotionEvent.ACTION_DOWN in dispatchTouchEvent()
2671 || actionMasked == MotionEvent.ACTION_CANCEL; in dispatchTouchEvent()
2688 if (actionMasked == MotionEvent.ACTION_DOWN in dispatchTouchEvent()
2689 || (split && actionMasked == MotionEvent.ACTION_POINTER_DOWN) in dispatchTouchEvent()
2690 || actionMasked == MotionEvent.ACTION_HOVER_MOVE) { in dispatchTouchEvent()
2823 || actionMasked == MotionEvent.ACTION_UP in dispatchTouchEvent()
2824 || actionMasked == MotionEvent.ACTION_HOVER_MOVE) { in dispatchTouchEvent()
2826 } else if (split && actionMasked == MotionEvent.ACTION_POINTER_UP) { in dispatchTouchEvent()
/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.java737 final int actionMasked = ev.getActionMasked(); in onTouchEvent() local
739 if (actionMasked == MotionEvent.ACTION_DOWN) { in onTouchEvent()
744 switch (actionMasked) { in onTouchEvent()
DAbsListView.java3902 final int actionMasked = ev.getActionMasked(); in onTouchEvent() local
3903 if (actionMasked == MotionEvent.ACTION_DOWN) { in onTouchEvent()
3907 switch (actionMasked) { in onTouchEvent()
4544 final int actionMasked = ev.getActionMasked(); in onInterceptTouchEvent() local
4563 switch (actionMasked) { in onInterceptTouchEvent()
/frameworks/base/core/tests/coretests/src/android/view/
DVerifiedMotionEventTest.kt51 assertEquals(ACTION_MASKED, event.actionMasked) in testConstructor()
182 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/packages/SystemUI/src/com/android/systemui/statusbar/
DPulseExpansionHandler.kt147 when (event.actionMasked) { in startExpansion()
196 event.actionMasked == MotionEvent.ACTION_DOWN) { in onTouchEvent()
203 when (event.actionMasked) { in onTouchEvent()
DLockscreenShadeTransitionController.kt606 when (event.actionMasked) { in onInterceptTouchEvent()
643 when (event.actionMasked) { in onTouchEvent()
/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.cpp94 int32_t actionMasked = action & AMOTION_EVENT_ACTION_MASK; in trackMotion() local
95 switch (actionMasked) { in trackMotion()
106 entry.deviceId, entry.source, entry.displayId, actionMasked); in trackMotion()
163 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.cpp3267 int32_t actionMasked = dispatchEntry.resolvedAction & AMOTION_EVENT_ACTION_MASK; in getSignature() local
3268 if ((actionMasked == AMOTION_EVENT_ACTION_UP) || (actionMasked == AMOTION_EVENT_ACTION_DOWN)) { in getSignature()
3272 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.cpp101 ASSERT_EQ(event.getAction(), verified.actionMasked); in TEST()
DStructLayout_test.cpp155 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.cpp245 int32_t actionMasked = event->getActionMasked(); in addMovement() local
247 switch (actionMasked) { in addMovement()
/frameworks/native/include/input/
DInput.h942 int32_t actionMasked; member

12