Home
last modified time | relevance | path

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

/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.java3869 final int actionMasked = ev.getActionMasked(); in onTouchEvent() local
3870 if (actionMasked == MotionEvent.ACTION_DOWN) { in onTouchEvent()
3874 switch (actionMasked) { in onTouchEvent()
4489 final int actionMasked = ev.getActionMasked(); in onInterceptTouchEvent() local
4508 switch (actionMasked) { in onInterceptTouchEvent()
/frameworks/native/services/inputflinger/dispatcher/
DInputState.cpp90 int32_t actionMasked = action & AMOTION_EVENT_ACTION_MASK; in trackMotion() local
91 switch (actionMasked) { in trackMotion()
102 entry->deviceId, entry->source, entry->displayId, actionMasked); in trackMotion()
156 entry->deviceId, entry->source, entry->displayId, actionMasked); in trackMotion()
/frameworks/base/core/java/com/android/internal/widget/
DDecorCaptionView.java191 final int actionMasked = e.getActionMasked(); in onTouch() local
192 switch (actionMasked) { in onTouch()
224 if (actionMasked == MotionEvent.ACTION_UP) { in onTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DPulseExpansionHandler.kt141 when (event.actionMasked) { in <lambda>()
189 when (event.actionMasked) { in <lambda>()
/frameworks/base/core/java/android/view/
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.java2592 final int actionMasked = action & MotionEvent.ACTION_MASK; in dispatchTouchEvent() local
2595 if (actionMasked == MotionEvent.ACTION_DOWN) { in dispatchTouchEvent()
2605 if (actionMasked == MotionEvent.ACTION_DOWN in dispatchTouchEvent()
2628 || actionMasked == MotionEvent.ACTION_CANCEL; in dispatchTouchEvent()
2644 if (actionMasked == MotionEvent.ACTION_DOWN in dispatchTouchEvent()
2645 || (split && actionMasked == MotionEvent.ACTION_POINTER_DOWN) in dispatchTouchEvent()
2646 || actionMasked == MotionEvent.ACTION_HOVER_MOVE) { in dispatchTouchEvent()
2777 || actionMasked == MotionEvent.ACTION_UP in dispatchTouchEvent()
2778 || actionMasked == MotionEvent.ACTION_HOVER_MOVE) { in dispatchTouchEvent()
2780 } else if (split && actionMasked == MotionEvent.ACTION_POINTER_UP) { in dispatchTouchEvent()
DView.java13939 final int actionMasked = event.getActionMasked(); in dispatchTouchEvent() local
13940 if (actionMasked == MotionEvent.ACTION_DOWN) { in dispatchTouchEvent()
13969 if (actionMasked == MotionEvent.ACTION_UP || in dispatchTouchEvent()
13970 actionMasked == MotionEvent.ACTION_CANCEL || in dispatchTouchEvent()
13971 (actionMasked == MotionEvent.ACTION_DOWN && !result)) { in dispatchTouchEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DTouchExplorer.java1044 private int computeInjectionAction(int actionMasked, int pointerIndex) { in computeInjectionAction() argument
1045 switch (actionMasked) { in computeInjectionAction()
1068 return actionMasked; in computeInjectionAction()
/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/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java769 MotionEventMatcher(long downTime, long eventTime, int actionMasked, int x, int y) { in MotionEventMatcher() argument
772 mActionMasked = actionMasked; in MotionEventMatcher()