/frameworks/native/services/inputflinger/ |
D | UnwantedInteractionBlocker.cpp | 149 const int32_t actionMasked = MotionEvent::getActionMasked(action); in resolveActionForPointer() local 150 if (actionMasked != AMOTION_EVENT_ACTION_POINTER_DOWN && in resolveActionForPointer() 151 actionMasked != AMOTION_EVENT_ACTION_POINTER_UP) { in resolveActionForPointer() 152 return actionMasked; in resolveActionForPointer() 157 return actionMasked; in resolveActionForPointer() 167 const int32_t actionMasked = MotionEvent::getActionMasked(args.action); in removePointerIds() local 168 const bool isPointerUpOrDownAction = actionMasked == AMOTION_EVENT_ACTION_POINTER_DOWN || in removePointerIds() 169 actionMasked == AMOTION_EVENT_ACTION_POINTER_UP; in removePointerIds() 196 actionMasked | (newActionIndex << AMOTION_EVENT_ACTION_POINTER_INDEX_SHIFT); in removePointerIds() 199 if (actionMasked == AMOTION_EVENT_ACTION_POINTER_DOWN) { in removePointerIds() [all …]
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | FuzzedInputStream.h | 27 int actionMasked = fdp.PickValueInArray<int>({ in getFuzzedMotionAction() local 38 switch (actionMasked) { in getFuzzedMotionAction() 43 actionMasked | (index << AMOTION_EVENT_ACTION_POINTER_INDEX_SHIFT); in getFuzzedMotionAction() 47 return actionMasked; in getFuzzedMotionAction()
|
/frameworks/base/core/java/android/view/ |
D | VerifiedMotionEvent.java | 180 @MotionEventAction int actionMasked, in VerifiedMotionEvent() argument 188 this.mActionMasked = actionMasked; 342 int actionMasked = in.readInt(); in VerifiedMotionEvent() local 350 this.mActionMasked = actionMasked; in VerifiedMotionEvent()
|
D | InputEventConsistencyVerifier.java | 403 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/tests/MultiDeviceInput/src/test/multideviceinput/ |
D | DrawingView.kt | 164 if (event.actionMasked == ACTION_DOWN) { in processTouchEvent() 167 } else if (event.actionMasked == ACTION_UP || event.actionMasked == ACTION_CANCEL) { in processTouchEvent() 182 if (event.actionMasked != ACTION_HOVER_EXIT) { in processHoverEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/ |
D | MotionEventMatcher.java | 37 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/ |
D | DropDownListView.java | 177 final int actionMasked = event.getActionMasked(); in onForwardedEvent() local 178 switch (actionMasked) { in onForwardedEvent() 204 if (actionMasked == MotionEvent.ACTION_UP) { in onForwardedEvent()
|
D | ForwardingListener.java | 166 final int actionMasked = srcEvent.getActionMasked(); in onTouchObserved() local 167 switch (actionMasked) { in onTouchObserved()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | VerifiedMotionEventTest.kt | 53 assertEquals(ACTION_MASKED, event.actionMasked) in testConstructor() 184 assertEquals(event1.actionMasked, event2.actionMasked) in compareVerifiedMotionEvents()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputState.cpp | 110 int32_t actionMasked = entry.action & AMOTION_EVENT_ACTION_MASK; in trackMotion() local 111 switch (actionMasked) { in trackMotion() 315 const int32_t actionMasked = MotionEvent::getActionMasked(motionEntry.action); in shouldCancelPreviousStream() local 323 if (actionMasked == AMOTION_EVENT_ACTION_DOWN && lastMemento.hovering) { in shouldCancelPreviousStream() 354 actionMasked == AMOTION_EVENT_ACTION_DOWN) { in shouldCancelPreviousStream() 366 if (actionMasked == AMOTION_EVENT_ACTION_DOWN || in shouldCancelPreviousStream() 367 actionMasked == AMOTION_EVENT_ACTION_HOVER_ENTER) { in shouldCancelPreviousStream()
|
D | Entry.cpp | 49 const int actionMasked = entry.action & AMOTION_EVENT_ACTION_MASK; in verifiedMotionEventFromMotionEntry() local 54 actionMasked, in verifiedMotionEventFromMotionEntry()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/ |
D | BubbleBarExpandedViewDragController.kt | 66 if (event.actionMasked == MotionEvent.ACTION_DOWN) { in <lambda>() 72 if (event.actionMasked == MotionEvent.ACTION_MOVE && magnetConsumed) { in <lambda>()
|
/frameworks/base/core/jni/ |
D | android_view_VerifiedMotionEvent.cpp | 37 event.rawY, event.actionMasked, event.downTimeNanos, event.flags, in android_view_VerifiedMotionEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/ui/viewmodel/ |
D | SceneContainerViewModel.kt | 102 event.actionMasked == MotionEvent.ACTION_UP || in <lambda>() 103 event.actionMasked == MotionEvent.ACTION_CANCEL in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | GlanceableHubContainerController.kt | 385 val isDown = ev.actionMasked == MotionEvent.ACTION_DOWN in handleTouchEventOnCommunalView() 386 val isUp = ev.actionMasked == MotionEvent.ACTION_UP in handleTouchEventOnCommunalView() 387 val isCancel = ev.actionMasked == MotionEvent.ACTION_CANCEL in handleTouchEventOnCommunalView()
|
D | PulsingGestureListener.kt | 108 if (e.actionMasked == MotionEvent.ACTION_UP && in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | PulseExpansionHandler.kt | 152 when (event.actionMasked) { in <lambda>() 203 event.actionMasked == MotionEvent.ACTION_DOWN) { in <lambda>() 210 when (event.actionMasked) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/ |
D | SinglePointerTouchProcessor.kt | 60 return when (event.actionMasked) { in processTouch() 72 Failure("Unsupported MotionEvent." + MotionEvent.actionToString(event.actionMasked)) in processTouch()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/ |
D | KeyguardSettingsButtonOnTouchListener.kt | 33 when (motionEvent.actionMasked) { in onTouch()
|
D | KeyguardQuickAffordanceOnTouchListener.kt | 48 return when (event.actionMasked) { in onTouch()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/ |
D | SwipeGestureListener.kt | 37 when (ev.actionMasked) { in onMotionEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/ |
D | SwipeUpGestureHandler.kt | 57 when (ev.actionMasked) { in onInputEvent()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | EventDispatcher.java | 255 private int computeInjectionAction(int actionMasked, int pointerIndex) { in computeInjectionAction() argument 256 switch (actionMasked) { in computeInjectionAction() 275 return actionMasked; in computeInjectionAction()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/haptics/slider/ |
D | SeekbarHapticPlugin.kt | 108 when (event?.actionMasked) { in stop()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/view/ |
D | LongPressHandlingView.kt | 113 return when (actionMasked) { in toModel()
|