/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/ |
D | FalsingDataProviderTest.java | 69 assertThat(motionEventList.get(0).getActionMasked(), is(MotionEvent.ACTION_DOWN)); in test_trackMotionEvents() 70 assertThat(motionEventList.get(1).getActionMasked(), is(MotionEvent.ACTION_MOVE)); in test_trackMotionEvents() 71 assertThat(motionEventList.get(2).getActionMasked(), is(MotionEvent.ACTION_UP)); in test_trackMotionEvents() 90 assertThat(motionEventList.get(0).getActionMasked(), is(MotionEvent.ACTION_DOWN)); in test_trackRecentMotionEvents() 91 assertThat(motionEventList.get(1).getActionMasked(), is(MotionEvent.ACTION_MOVE)); in test_trackRecentMotionEvents() 103 assertThat(motionEventList.get(0).getActionMasked(), is(MotionEvent.ACTION_MOVE)); in test_trackRecentMotionEvents() 104 assertThat(motionEventList.get(1).getActionMasked(), is(MotionEvent.ACTION_UP)); in test_trackRecentMotionEvents() 114 assertThat(firstRealMotionEvent.getActionMasked(), is(MotionEvent.ACTION_DOWN)); in test_trackRecentMotionEvents() 135 assertThat(motionEventList.get(0).getActionMasked(), is(MotionEvent.ACTION_MOVE)); in test_unpackMotionEvents() 136 assertThat(motionEventList.get(1).getActionMasked(), is(MotionEvent.ACTION_MOVE)); in test_unpackMotionEvents() [all …]
|
/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();
|
D | AccelerationClassifier.java | 45 int action = event.getActionMasked(); in onTouchEvent()
|
/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 | 33 int action = ev.getActionMasked(); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | HeadsUpTouchHelper.java | 62 if (!mTouchingHeadsUpView && event.getActionMasked() != MotionEvent.ACTION_DOWN) { in onInterceptTouchEvent() 72 switch (event.getActionMasked()) { in onInterceptTouchEvent() 162 switch (event.getActionMasked()) { in onTouchEvent()
|
D | PanelView.java | 264 || (mTouchDisabled && event.getActionMasked() != MotionEvent.ACTION_CANCEL) in onTouchEvent() 265 || (mMotionAborted && event.getActionMasked() != MotionEvent.ACTION_DOWN)) { in onTouchEvent() 303 if (event.getActionMasked() == MotionEvent.ACTION_DOWN) { in onTouchEvent() 308 switch (event.getActionMasked()) { in onTouchEvent() 469 || event.getActionMasked() == MotionEvent.ACTION_CANCEL in endMotionEvent() 477 || event.getActionMasked() == MotionEvent.ACTION_CANCEL in endMotionEvent() 547 || (mMotionAborted && event.getActionMasked() != MotionEvent.ACTION_DOWN)) { in onInterceptTouchEvent() 568 switch (event.getActionMasked()) { in onInterceptTouchEvent()
|
D | StatusBarWindowView.java | 359 boolean isDown = ev.getActionMasked() == MotionEvent.ACTION_DOWN; in dispatchTouchEvent() 360 boolean isUp = ev.getActionMasked() == MotionEvent.ACTION_UP; in dispatchTouchEvent() 361 boolean isCancel = ev.getActionMasked() == MotionEvent.ACTION_CANCEL; in dispatchTouchEvent() 379 } else if (ev.getActionMasked() == MotionEvent.ACTION_UP in dispatchTouchEvent() 380 || ev.getActionMasked() == MotionEvent.ACTION_CANCEL) { in dispatchTouchEvent() 392 if (ev.getActionMasked() == MotionEvent.ACTION_POINTER_DOWN) { in dispatchTouchEvent()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityGestureDetector.java | 278 switch (rawEvent.getActionMasked()) { in onMotionEvent() 619 (event.getActionMasked() != MotionEvent.ACTION_POINTER_DOWN && in mapSecondPointerToFirstPointer() 620 event.getActionMasked() != MotionEvent.ACTION_POINTER_UP && in mapSecondPointerToFirstPointer() 621 event.getActionMasked() != MotionEvent.ACTION_MOVE)) { in mapSecondPointerToFirstPointer() 625 int action = event.getActionMasked(); in mapSecondPointerToFirstPointer()
|
D | TouchExplorer.java | 295 if (event.getActionMasked() == MotionEvent.ACTION_CANCEL) { in onMotionEvent() 475 endGestureDetection(event.getActionMasked() == MotionEvent.ACTION_UP); in onGestureCancelled() 479 if (event.getActionMasked() == MotionEvent.ACTION_MOVE) { in onGestureCancelled() 506 switch (event.getActionMasked()) { in handleMotionEventStateTouchExploring() 675 switch (event.getActionMasked()) { in handleMotionEventStateDragging() 777 switch (event.getActionMasked()) { in handleMotionEventStateDelegating() 880 if (event != null && event.getActionMasked() != MotionEvent.ACTION_HOVER_EXIT) { in sendHoverExitAndTouchExplorationGestureEndIfNeeded() 897 if (event != null && event.getActionMasked() == MotionEvent.ACTION_HOVER_EXIT) { in sendTouchExplorationGestureStartAndHoverEnterIfNeeded() 1373 final int action = event.getActionMasked(); in onMotionEvent() 1531 final int action = event.getActionMasked(); in onMotionEvent()
|
D | AccessibilityInputFilter.java | 266 if (!state.shouldProcessScroll() && event.getActionMasked() == MotionEvent.ACTION_SCROLL) { in processMotionEvent() 612 int action = event.getActionMasked(); in shouldProcessMotionEvent() 644 mTouchSequenceStarted = event.getActionMasked() == MotionEvent.ACTION_DOWN; in shouldProcessMotionEvent() 652 mHoverSequenceStarted = event.getActionMasked() == MotionEvent.ACTION_HOVER_ENTER; in shouldProcessMotionEvent()
|
D | MagnificationGestureHandler.java | 397 int action = event.getActionMasked(); in onMotionEvent() 514 final int action = event.getActionMasked(); in onMotionEvent() 580 switch (event.getActionMasked()) { in onMotionEvent() 662 switch (event.getActionMasked()) { in onMotionEvent() 819 if (event.getActionMasked() == ACTION_DOWN) { in cacheDelayedMotionEvent() 822 } else if (event.getActionMasked() == ACTION_UP) { in cacheDelayedMotionEvent()
|
D | MotionEventInjector.java | 119 && event.getActionMasked() == MotionEvent.ACTION_HOVER_MOVE) in onMotionEvent() 293 if (event.getActionMasked() == MotionEvent.ACTION_DOWN) { in sendMotionEventToNext() 296 if ((event.getActionMasked() == MotionEvent.ACTION_UP) in sendMotionEventToNext() 297 || (event.getActionMasked() == MotionEvent.ACTION_CANCEL)) { in sendMotionEventToNext()
|
/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 | 336 finishExpanding(ev.getActionMasked() == MotionEvent.ACTION_CANCEL /* forceAbort */, in onInterceptTouchEvent() 348 int action = event.getActionMasked(); in trackVelocity() 370 if (mVelocityTracker != null && (event.getActionMasked() == MotionEvent.ACTION_CANCEL in maybeRecycleVelocityTracker() 371 || event.getActionMasked() == MotionEvent.ACTION_UP)) { in maybeRecycleVelocityTracker() 406 final int action = ev.getActionMasked(); in onTouchEvent() 497 finishExpanding(!isEnabled() || ev.getActionMasked() == MotionEvent.ACTION_CANCEL, in onTouchEvent()
|
/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/classifier/brightline/ |
D | PointerCountClassifier.java | 43 if (motionEvent.getActionMasked() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
|
D | FalsingDataProvider.java | 64 if (motionEvent.getActionMasked() == MotionEvent.ACTION_DOWN) { in onMotionEvent() 77 if (motionEvent.getActionMasked() == MotionEvent.ACTION_DOWN) { in onMotionEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | LiftToActivateListener.java | 45 switch (event.getActionMasked()) { in onHover()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SwipeDismissLayout.java | 181 switch (ev.getActionMasked()) { in onInterceptTouchEvent() 250 switch (ev.getActionMasked()) { in onTouchEvent() 420 if (ev.getActionMasked() == MotionEvent.ACTION_DOWN) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | DragDownHelper.java | 77 switch (event.getActionMasked()) { in onInterceptTouchEvent() 110 switch (event.getActionMasked()) { in onTouchEvent()
|