/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/ |
D | FalsingDataProviderTest.java | 67 assertThat(motionEventList.get(0).getActionMasked(), is(MotionEvent.ACTION_DOWN)); in test_trackMotionEvents() 68 assertThat(motionEventList.get(1).getActionMasked(), is(MotionEvent.ACTION_MOVE)); in test_trackMotionEvents() 69 assertThat(motionEventList.get(2).getActionMasked(), is(MotionEvent.ACTION_UP)); in test_trackMotionEvents() 88 assertThat(motionEventList.get(0).getActionMasked(), is(MotionEvent.ACTION_DOWN)); in test_trackRecentMotionEvents() 89 assertThat(motionEventList.get(1).getActionMasked(), is(MotionEvent.ACTION_MOVE)); in test_trackRecentMotionEvents() 101 assertThat(motionEventList.get(0).getActionMasked(), is(MotionEvent.ACTION_MOVE)); in test_trackRecentMotionEvents() 102 assertThat(motionEventList.get(1).getActionMasked(), is(MotionEvent.ACTION_UP)); in test_trackRecentMotionEvents() 112 assertThat(firstRealMotionEvent.getActionMasked(), is(MotionEvent.ACTION_DOWN)); in test_trackRecentMotionEvents() 133 assertThat(motionEventList.get(0).getActionMasked(), is(MotionEvent.ACTION_MOVE)); in test_unpackMotionEvents() 134 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 | ProximityClassifier.java | 51 int action = event.getActionMasked();
|
D | HumanInteractionClassifier.java | 142 int action = event.getActionMasked(); in onTouchEvent() 186 int action = event.getActionMasked(); in addTouchEvent()
|
/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 | 368 || event.getActionMasked() == MotionEvent.ACTION_CANCEL || forceCancel) { in endMotionEvent() 378 if (event.getActionMasked() == MotionEvent.ACTION_CANCEL || forceCancel) { in endMotionEvent() 1089 && event.getActionMasked() != MotionEvent.ACTION_DOWN)) { in onInterceptTouchEvent() 1111 switch (event.getActionMasked()) { in onInterceptTouchEvent() 1178 && event.getActionMasked() != MotionEvent.ACTION_CANCEL) || (mMotionAborted in onTouch() 1179 && event.getActionMasked() != MotionEvent.ACTION_DOWN)) { in onTouch() 1217 if (event.getActionMasked() == MotionEvent.ACTION_DOWN) { in onTouch() 1222 switch (event.getActionMasked()) { in onTouch()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | TouchExplorer.java | 243 if (event.getActionMasked() == MotionEvent.ACTION_CANCEL) { in onMotionEvent() 369 endGestureDetection(event.getActionMasked() == MotionEvent.ACTION_UP); in onGestureCancelled() 373 if (event.getActionMasked() == MotionEvent.ACTION_MOVE) { in onGestureCancelled() 399 switch (event.getActionMasked()) { in handleMotionEventStateClear() 473 switch (event.getActionMasked()) { in handleMotionEventStateTouchInteracting() 500 switch (event.getActionMasked()) { in handleMotionEventStateTouchExploring() 698 switch (event.getActionMasked()) { in handleMotionEventStateDragging() 798 switch (event.getActionMasked()) { in handleMotionEventStateDelegating() 846 if (event != null && event.getActionMasked() != MotionEvent.ACTION_HOVER_EXIT) { in sendHoverExitAndTouchExplorationGestureEndIfNeeded() 868 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/notification/ |
D | NotificationPanelViewController.java | 290 if (event.getActionMasked() == MotionEvent.ACTION_UP) { in setupNotificationPanel() 293 if (event.getActionMasked() == MotionEvent.ACTION_DOWN) { in setupNotificationPanel() 346 if (!handled && event.getActionMasked() == MotionEvent.ACTION_UP in setupNotificationPanel() 360 if (event.getActionMasked() == MotionEvent.ACTION_UP) { in setupNotificationPanel()
|
/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 | 288 if (!state.shouldProcessScroll() && event.getActionMasked() == MotionEvent.ACTION_SCROLL) { in processMotionEvent() 642 int action = event.getActionMasked(); in shouldProcessMotionEvent() 674 mTouchSequenceStarted = event.getActionMasked() == MotionEvent.ACTION_DOWN; in shouldProcessMotionEvent() 682 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/keyguard/ |
D | LiftToActivateListener.java | 45 switch (event.getActionMasked()) { in onHover()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/ |
D | FalsingDataProvider.java | 64 if (motionEvent.getActionMasked() == MotionEvent.ACTION_DOWN) { in onMotionEvent() 77 if (motionEvent.getActionMasked() == MotionEvent.ACTION_DOWN) { in onMotionEvent()
|
/frameworks/base/core/java/android/service/autofill/ |
D | InlineSuggestionRoot.java | 57 switch (event.getActionMasked()) { in dispatchTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | DragDownHelper.java | 80 switch (event.getActionMasked()) { in onInterceptTouchEvent() 118 switch (event.getActionMasked()) { in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | ClipboardView.java | 54 if (ev.getActionMasked() == MotionEvent.ACTION_DOWN && mCurrentClip != null) { in onTouchEvent()
|