Home
last modified time | relevance | path

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

123

/frameworks/native/services/inputflinger/
DUnwantedInteractionBlocker.cpp149 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/
DFuzzedInputStream.h27 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/
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/tests/MultiDeviceInput/src/test/multideviceinput/
DDrawingView.kt164 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/
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()
/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/native/services/inputflinger/dispatcher/
DInputState.cpp110 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()
DEntry.cpp49 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/
DBubbleBarExpandedViewDragController.kt66 if (event.actionMasked == MotionEvent.ACTION_DOWN) { in <lambda>()
72 if (event.actionMasked == MotionEvent.ACTION_MOVE && magnetConsumed) { in <lambda>()
/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/scene/ui/viewmodel/
DSceneContainerViewModel.kt102 event.actionMasked == MotionEvent.ACTION_UP || in <lambda>()
103 event.actionMasked == MotionEvent.ACTION_CANCEL in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DGlanceableHubContainerController.kt385 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()
DPulsingGestureListener.kt108 if (e.actionMasked == MotionEvent.ACTION_UP && in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DPulseExpansionHandler.kt152 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/
DSinglePointerTouchProcessor.kt60 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/
DKeyguardSettingsButtonOnTouchListener.kt33 when (motionEvent.actionMasked) { in onTouch()
DKeyguardQuickAffordanceOnTouchListener.kt48 return when (event.actionMasked) { in onTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/
DSwipeGestureListener.kt37 when (ev.actionMasked) { in onMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
DSwipeUpGestureHandler.kt57 when (ev.actionMasked) { in onInputEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DEventDispatcher.java255 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/
DSeekbarHapticPlugin.kt108 when (event?.actionMasked) { in stop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/view/
DLongPressHandlingView.kt113 return when (actionMasked) { in toModel()

123