/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/ |
D | FalsingDataProviderTest.java | 71 assertThat(motionEventList.get(0).getActionMasked(), is(MotionEvent.ACTION_DOWN)); in test_trackMotionEvents() 72 assertThat(motionEventList.get(1).getActionMasked(), is(MotionEvent.ACTION_MOVE)); in test_trackMotionEvents() 73 assertThat(motionEventList.get(2).getActionMasked(), is(MotionEvent.ACTION_UP)); in test_trackMotionEvents() 92 assertThat(motionEventList.get(0).getActionMasked(), is(MotionEvent.ACTION_DOWN)); in test_trackRecentMotionEvents() 93 assertThat(motionEventList.get(1).getActionMasked(), is(MotionEvent.ACTION_MOVE)); in test_trackRecentMotionEvents() 105 assertThat(motionEventList.get(0).getActionMasked(), is(MotionEvent.ACTION_MOVE)); in test_trackRecentMotionEvents() 106 assertThat(motionEventList.get(1).getActionMasked(), is(MotionEvent.ACTION_UP)); in test_trackRecentMotionEvents() 116 assertThat(firstRealMotionEvent.getActionMasked(), is(MotionEvent.ACTION_DOWN)); in test_trackRecentMotionEvents() 137 assertThat(motionEventList.get(0).getActionMasked(), is(MotionEvent.ACTION_MOVE)); in test_unpackMotionEvents() 138 assertThat(motionEventList.get(1).getActionMasked(), is(MotionEvent.ACTION_MOVE)); in test_unpackMotionEvents() [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 + event.getActionMasked() in matchesSafely()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | ClassifierData.java | 45 if (event.getActionMasked() == MotionEvent.ACTION_MOVE in update() 53 int action = event.getActionMasked(); in update() 77 int action = event.getActionMasked(); in cleanUp()
|
D | PointerCountClassifier.java | 38 int action = event.getActionMasked(); in onTouchEvent()
|
D | HumanInteractionClassifier.java | 142 int action = event.getActionMasked(); in onTouchEvent() 186 int action = event.getActionMasked(); in addTouchEvent()
|
D | ProximityClassifier.java | 51 int action = event.getActionMasked();
|
/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 | 40 int action = ev.getActionMasked(); in onTouchEvent() 63 int action = ev.getActionMasked(); in onInterceptTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationShadeWindowViewController.java | 206 boolean isDown = ev.getActionMasked() == MotionEvent.ACTION_DOWN; in setupExpandedStatusBar() 207 boolean isUp = ev.getActionMasked() == MotionEvent.ACTION_UP; in setupExpandedStatusBar() 208 boolean isCancel = ev.getActionMasked() == MotionEvent.ACTION_CANCEL; in setupExpandedStatusBar() 228 } else if (ev.getActionMasked() == MotionEvent.ACTION_UP in setupExpandedStatusBar() 229 || ev.getActionMasked() == MotionEvent.ACTION_CANCEL) { in setupExpandedStatusBar() 242 if (ev.getActionMasked() == MotionEvent.ACTION_POINTER_DOWN) { in setupExpandedStatusBar() 333 final int action = ev.getActionMasked(); in setupExpandedStatusBar()
|
D | HeadsUpTouchHelper.java | 62 if (!mTouchingHeadsUpView && event.getActionMasked() != MotionEvent.ACTION_DOWN) { in onInterceptTouchEvent() 72 switch (event.getActionMasked()) { in onInterceptTouchEvent() 165 switch (event.getActionMasked()) { in onTouchEvent()
|
D | PanelViewController.java | 373 || event.getActionMasked() == MotionEvent.ACTION_CANCEL || forceCancel) { in endMotionEvent() 383 if (event.getActionMasked() == MotionEvent.ACTION_CANCEL || forceCancel) { in endMotionEvent() 1104 && event.getActionMasked() != MotionEvent.ACTION_DOWN)) { in onInterceptTouchEvent() 1126 switch (event.getActionMasked()) { in onInterceptTouchEvent() 1193 && event.getActionMasked() != MotionEvent.ACTION_CANCEL) || (mMotionAborted in onTouch() 1194 && event.getActionMasked() != MotionEvent.ACTION_DOWN)) { in onTouch() 1232 if (event.getActionMasked() == MotionEvent.ACTION_DOWN) { in onTouch() 1237 switch (event.getActionMasked()) { in onTouch()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | TouchExplorer.java | 252 if (event.getActionMasked() == MotionEvent.ACTION_CANCEL) { in onMotionEvent() 377 endGestureDetection(event.getActionMasked() == MotionEvent.ACTION_UP); in onGestureCancelled() 381 if (event.getActionMasked() == MotionEvent.ACTION_MOVE) { in onGestureCancelled() 407 switch (event.getActionMasked()) { in handleMotionEventStateClear() 481 switch (event.getActionMasked()) { in handleMotionEventStateTouchInteracting() 508 switch (event.getActionMasked()) { in handleMotionEventStateTouchExploring() 761 switch (event.getActionMasked()) { in handleMotionEventStateDragging() 861 switch (event.getActionMasked()) { in handleMotionEventStateDelegating() 909 if (event != null && event.getActionMasked() != MotionEvent.ACTION_HOVER_EXIT) { in sendHoverExitAndTouchExplorationGestureEndIfNeeded() 931 if (event != null && event.getActionMasked() == MotionEvent.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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 346 finishExpanding(ev.getActionMasked() == MotionEvent.ACTION_CANCEL /* forceAbort */, in onInterceptTouchEvent() 358 int action = event.getActionMasked(); in trackVelocity() 380 if (mVelocityTracker != null && (event.getActionMasked() == MotionEvent.ACTION_CANCEL in maybeRecycleVelocityTracker() 381 || event.getActionMasked() == MotionEvent.ACTION_UP)) { in maybeRecycleVelocityTracker() 416 final int action = ev.getActionMasked(); in onTouchEvent() 507 finishExpanding(!isEnabled() || ev.getActionMasked() == MotionEvent.ACTION_CANCEL, in onTouchEvent()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/window/ |
D | OverlayPanelViewController.java | 200 return e.getActionMasked() == MotionEvent.ACTION_DOWN; in isOpeningAction() 204 return e.getActionMasked() == MotionEvent.ACTION_UP; in isOpeningAction() 216 return e.getActionMasked() == MotionEvent.ACTION_UP; in isClosingAction() 220 return e.getActionMasked() == MotionEvent.ACTION_DOWN; in isClosingAction()
|
/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/services/accessibility/java/com/android/server/accessibility/ |
D | MotionEventInjector.java | 120 && event.getActionMasked() == MotionEvent.ACTION_HOVER_MOVE) in onMotionEvent() 295 if (event.getActionMasked() == MotionEvent.ACTION_DOWN) { in sendMotionEventToNext() 298 if ((event.getActionMasked() == MotionEvent.ACTION_UP) in sendMotionEventToNext() 299 || (event.getActionMasked() == MotionEvent.ACTION_CANCEL)) { in sendMotionEventToNext()
|
D | AccessibilityInputFilter.java | 296 if (!state.shouldProcessScroll() && event.getActionMasked() == MotionEvent.ACTION_SCROLL) { in processMotionEvent() 653 int action = event.getActionMasked(); in shouldProcessMotionEvent() 685 mTouchSequenceStarted = event.getActionMasked() == MotionEvent.ACTION_DOWN; in shouldProcessMotionEvent() 693 mHoverSequenceStarted = event.getActionMasked() == MotionEvent.ACTION_HOVER_ENTER; in shouldProcessMotionEvent()
|
D | FullScreenMagnificationGestureHandler.java | 405 int action = event.getActionMasked(); in onMotionEvent() 520 final int action = event.getActionMasked(); in onMotionEvent() 586 switch (event.getActionMasked()) { in onMotionEvent() 677 switch (event.getActionMasked()) { in onMotionEvent() 873 if (event.getActionMasked() == ACTION_DOWN) { in cacheDelayedMotionEvent() 876 } else if (event.getActionMasked() == ACTION_UP) { in cacheDelayedMotionEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/ |
D | FalsingDataProvider.java | 70 if (motionEvent.getActionMasked() == MotionEvent.ACTION_DOWN) { in onMotionEvent() 83 if (motionEvent.getActionMasked() == MotionEvent.ACTION_DOWN) { in onMotionEvent()
|
D | PointerCountClassifier.java | 45 if (motionEvent.getActionMasked() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | LiftToActivateListener.java | 45 switch (event.getActionMasked()) { in onHover()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | DragDownHelper.java | 82 switch (event.getActionMasked()) { in onInterceptTouchEvent() 120 switch (event.getActionMasked()) { in onTouchEvent()
|
/frameworks/base/core/java/android/service/autofill/ |
D | InlineSuggestionRoot.java | 57 switch (event.getActionMasked()) { in dispatchTouchEvent()
|