/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
D | FalsingDataProviderTest.java | 87 assertThat(motionEventList.get(0).getActionMasked()).isEqualTo(MotionEvent.ACTION_DOWN); in test_trackMotionEvents_dropUpEvent() 88 assertThat(motionEventList.get(1).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_trackMotionEvents_dropUpEvent() 89 assertThat(motionEventList.get(2).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_trackMotionEvents_dropUpEvent() 109 assertThat(motionEventList.get(0).getActionMasked()).isEqualTo(MotionEvent.ACTION_DOWN); in test_trackMotionEvents_keepUpEvent() 110 assertThat(motionEventList.get(1).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_trackMotionEvents_keepUpEvent() 111 assertThat(motionEventList.get(2).getActionMasked()).isEqualTo(MotionEvent.ACTION_UP); in test_trackMotionEvents_keepUpEvent() 130 assertThat(motionEventList.get(0).getActionMasked()).isEqualTo(MotionEvent.ACTION_DOWN); in test_trackRecentMotionEvents() 131 assertThat(motionEventList.get(1).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_trackRecentMotionEvents() 143 assertThat(motionEventList.get(0).getActionMasked()).isEqualTo(MotionEvent.ACTION_MOVE); in test_trackRecentMotionEvents() 144 assertThat(motionEventList.get(1).getActionMasked()).isEqualTo(MotionEvent.ACTION_UP); in test_trackRecentMotionEvents() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/ |
D | MotionEventMatcher.java | 49 event.getActionMasked(), in MotionEventMatcher() 63 && (event.getActionMasked() == mActionMasked) in matchesSafely() 76 + MotionEvent.actionToString(event.getActionMasked()) in matchesSafely()
|
D | TouchEventGenerator.java | 158 if (originalEvent.getActionMasked() == ACTION_UP) { in movePointer() 162 if (originalEvent.getActionMasked() == ACTION_POINTER_UP) { in movePointer()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSScrollLayout.java | 97 if (ev.getActionMasked() == MotionEvent.ACTION_DOWN) { in shouldIntercept() 99 } else if (ev.getActionMasked() == MotionEvent.ACTION_MOVE) { in shouldIntercept() 108 } else if (ev.getActionMasked() == MotionEvent.ACTION_CANCEL in shouldIntercept() 109 || ev.getActionMasked() == MotionEvent.ACTION_UP) { in shouldIntercept()
|
D | NonInterceptingScrollView.java | 47 int action = ev.getActionMasked(); in onTouchEvent() 72 int action = ev.getActionMasked(); in onInterceptTouchEvent()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityInputFilter.java | 219 if (event.getActionMasked() == MotionEvent.ACTION_CANCEL in cancelMotion() 220 || event.getActionMasked() == MotionEvent.ACTION_HOVER_EXIT in cancelMotion() 221 || event.getActionMasked() == MotionEvent.ACTION_UP) { in cancelMotion() 225 if (event.getActionMasked() == MotionEvent.ACTION_HOVER_ENTER in cancelMotion() 226 || event.getActionMasked() == MotionEvent.ACTION_HOVER_MOVE) { in cancelMotion() 233 if (event.getActionMasked() == MotionEvent.ACTION_POINTER_UP) { in cancelMotion() 242 if (event.getActionMasked() == MotionEvent.ACTION_POINTER_UP) { in cancelMotion() 447 final int actionMasked = motion.getActionMasked(); in shouldProcessMultiDeviceEvent() 497 if (!state.shouldProcessScroll() && event.getActionMasked() == ACTION_SCROLL) { in processMotionEvent() 1034 int action = event.getActionMasked(); in shouldProcessMotionEvent() [all …]
|
D | MotionEventInjector.java | 130 && event.getActionMasked() == MotionEvent.ACTION_HOVER_MOVE) in onMotionEvent() 310 if (event.getActionMasked() == MotionEvent.ACTION_DOWN) { in sendMotionEventToNext() 313 if ((event.getActionMasked() == MotionEvent.ACTION_UP) in sendMotionEventToNext() 314 || (event.getActionMasked() == MotionEvent.ACTION_CANCEL)) { in sendMotionEventToNext()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | HeadsUpTouchHelper.java | 68 if (!mTouchingHeadsUpView && event.getActionMasked() != MotionEvent.ACTION_DOWN) { in onInterceptTouchEvent() 78 switch (event.getActionMasked()) { in onInterceptTouchEvent() 168 switch (event.getActionMasked()) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | NotificationShadeWindowViewController.java | 283 if (event.getActionMasked() == MotionEvent.ACTION_DOWN) { in handleExternalTouch() 318 boolean isDown = ev.getActionMasked() == MotionEvent.ACTION_DOWN; in setupExpandedStatusBar() 319 boolean isUp = ev.getActionMasked() == MotionEvent.ACTION_UP; in setupExpandedStatusBar() 320 boolean isCancel = ev.getActionMasked() == MotionEvent.ACTION_CANCEL; in setupExpandedStatusBar() 340 } else if (ev.getActionMasked() == MotionEvent.ACTION_UP in setupExpandedStatusBar() 341 || ev.getActionMasked() == MotionEvent.ACTION_CANCEL) { in setupExpandedStatusBar() 391 if (ev.getActionMasked() == MotionEvent.ACTION_POINTER_DOWN) { in setupExpandedStatusBar() 585 final int action = ev.getActionMasked(); in setupExpandedStatusBar()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | TouchState.java | 125 if (isClear() && event.getActionMasked() == MotionEvent.ACTION_DOWN) { in onReceivedMotionEvent() 146 final int action = event.getActionMasked(); in onInjectedMotionEvent() 441 final int action = event.getActionMasked(); in onMotionEvent() 528 if (event.getActionMasked() == MotionEvent.ACTION_DOWN) { in handleReceivedPointerDown()
|
D | TouchExplorer.java | 296 if (event.getActionMasked() == ACTION_CANCEL) { in onMotionEvent() 502 endGestureDetection(event.getActionMasked() == ACTION_UP); in onGestureCancelled() 506 if (event.getActionMasked() == ACTION_MOVE) { in onGestureCancelled() 541 switch (event.getActionMasked()) { in handleMotionEventStateClear() 625 switch (event.getActionMasked()) { in handleMotionEventStateTouchInteracting() 657 switch (event.getActionMasked()) { in handleMotionEventStateTouchExploring() 969 switch (event.getActionMasked()) { in handleMotionEventStateDragging() 1071 switch (event.getActionMasked()) { in handleMotionEventStateDelegating() 1119 if (event != null && event.getActionMasked() != ACTION_HOVER_EXIT) { in sendHoverExitAndTouchExplorationGestureEndIfNeeded() 1144 if (event != null && event.getActionMasked() == ACTION_HOVER_EXIT) { in sendTouchExplorationGestureStartAndHoverEnterIfNeeded() [all …]
|
/frameworks/base/core/java/android/view/ |
D | TouchDelegate.java | 119 switch (event.getActionMasked()) { in onTouchEvent() 181 switch (event.getActionMasked()) { in onTouchExplorationHoverEvent()
|
D | InputEventAssigner.java | 68 final int action = motionEvent.getActionMasked(); in processEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | FalsingDataProvider.java | 110 if (motionEvent.getActionMasked() == MotionEvent.ACTION_DOWN) { in onMotionEvent() 144 int action = mRecentMotionEvents.get(mRecentMotionEvents.size() - 1).getActionMasked(); in onMotionEventComplete() 316 boolean isCompletingGesture = event.getActionMasked() == MotionEvent.ACTION_UP in shouldDropEvent() 317 && lastEvent.getActionMasked() == MotionEvent.ACTION_MOVE; in shouldDropEvent()
|
D | PointerCountClassifier.java | 48 if (motionEvent.getActionMasked() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | WindowMagnificationGestureHandler.java | 341 int action = event.getActionMasked(); in onMotionEvent() 373 switch (event.getActionMasked()) { in onMotionEvent() 402 final int action = event.getActionMasked(); in onMotionEvent() 572 if (motionEvent != null && (motionEvent.getActionMasked() == ACTION_UP in changeToDelegateStateIfNeed() 573 || motionEvent.getActionMasked() == ACTION_CANCEL)) { in changeToDelegateStateIfNeed()
|
D | FullScreenMagnificationGestureHandler.java | 334 if (event.getActionMasked() == ACTION_DOWN) { in onMotionEventInternal() 530 int action = event.getActionMasked(); in onMotionEvent() 689 final int action = event.getActionMasked(); in onMotionEvent() 764 final int action = event.getActionMasked(); in onMotionEvent() 873 switch (event.getActionMasked()) { in onMotionEvent() 914 switch (event.getActionMasked()) { in onMotionEvent() 1094 if (event.getActionMasked() == ACTION_UP && mIsTwoFingerCountReached) { in isMultiFingerMultiTapTriggered() 1206 switch (event.getActionMasked()) { in onMotionEvent() 1424 if (event.getActionMasked() == ACTION_DOWN) { in cacheDelayedMotionEvent() 1427 } else if (event.getActionMasked() == ACTION_UP) { in cacheDelayedMotionEvent() [all …]
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | FuzzedInputStream.h | 102 if (MotionEvent::getActionMasked(action) == AMOTION_EVENT_ACTION_POINTER_UP) { in getFuzzedFlags() 111 switch (MotionEvent::getActionMasked(action)) { in getFuzzedPointerCount()
|
/frameworks/base/core/java/android/widget/ |
D | ForwardingListener.java | 166 final int actionMasked = srcEvent.getActionMasked(); in onTouchObserved() 271 final int action = srcEvent.getActionMasked(); in onTouchForwarded()
|
D | DropDownListView.java | 121 final int action = ev.getActionMasked(); in onHoverEvent() 177 final int actionMasked = event.getActionMasked(); in onForwardedEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 367 finishExpanding(ev.getActionMasked() == MotionEvent.ACTION_CANCEL /* forceAbort */, in onInterceptTouchEvent() 379 int action = event.getActionMasked(); in trackVelocity() 401 if (mVelocityTracker != null && (event.getActionMasked() == MotionEvent.ACTION_CANCEL in maybeRecycleVelocityTracker() 402 || event.getActionMasked() == MotionEvent.ACTION_UP)) { in maybeRecycleVelocityTracker() 437 final int action = ev.getActionMasked(); in onTouchEvent() 528 finishExpanding(!isEnabled() || ev.getActionMasked() == MotionEvent.ACTION_CANCEL, in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | DraggableConstraintLayout.java | 137 if (ev.getActionMasked() == MotionEvent.ACTION_DOWN) { in onInterceptTouchEvent() 235 if (event.getActionMasked() == MotionEvent.ACTION_DOWN) { in onTouch() 239 } else if (event.getActionMasked() == MotionEvent.ACTION_UP) { in onTouch()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | LiftToActivateListener.java | 46 switch (event.getActionMasked()) { in onHover()
|
D | KeyguardPinBasedInputViewController.java | 61 if (event.getActionMasked() == MotionEvent.ACTION_DOWN) { 98 if (event.getActionMasked() == MotionEvent.ACTION_DOWN) { in onViewAttached()
|
/frameworks/base/core/java/android/service/autofill/ |
D | InlineSuggestionRoot.java | 57 switch (event.getActionMasked()) { in dispatchTouchEvent()
|