Home
last modified time | relevance | path

Searched refs:getActionMasked (Results 1 – 25 of 104) sorted by relevance

12345

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/
DFalsingDataProviderTest.java69 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/
DClassifierData.java45 if (event.getActionMasked() == MotionEvent.ACTION_MOVE in update()
53 int action = event.getActionMasked(); in update()
77 int action = event.getActionMasked(); in cleanUp()
DPointerCountClassifier.java38 int action = event.getActionMasked(); in onTouchEvent()
DHumanInteractionClassifier.java142 int action = event.getActionMasked(); in onTouchEvent()
186 int action = event.getActionMasked(); in addTouchEvent()
DProximityClassifier.java51 int action = event.getActionMasked();
DAccelerationClassifier.java45 int action = event.getActionMasked(); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSScrollLayout.java97 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()
DNonInterceptingScrollView.java33 int action = ev.getActionMasked(); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java62 if (!mTouchingHeadsUpView && event.getActionMasked() != MotionEvent.ACTION_DOWN) { in onInterceptTouchEvent()
72 switch (event.getActionMasked()) { in onInterceptTouchEvent()
162 switch (event.getActionMasked()) { in onTouchEvent()
DPanelView.java264 || (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()
DStatusBarWindowView.java359 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/
DAccessibilityGestureDetector.java278 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()
DTouchExplorer.java295 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()
DAccessibilityInputFilter.java266 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()
DMagnificationGestureHandler.java397 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()
DMotionEventInjector.java119 && 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/
DTouchDelegate.java119 switch (event.getActionMasked()) { in onTouchEvent()
181 switch (event.getActionMasked()) { in onTouchExplorationHoverEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java336 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/
DForwardingListener.java166 final int actionMasked = srcEvent.getActionMasked(); in onTouchObserved()
271 final int action = srcEvent.getActionMasked(); in onTouchForwarded()
DDropDownListView.java121 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/
DPointerCountClassifier.java43 if (motionEvent.getActionMasked() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
DFalsingDataProvider.java64 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/
DLiftToActivateListener.java45 switch (event.getActionMasked()) { in onHover()
/frameworks/base/core/java/com/android/internal/widget/
DSwipeDismissLayout.java181 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/
DDragDownHelper.java77 switch (event.getActionMasked()) { in onInterceptTouchEvent()
110 switch (event.getActionMasked()) { in onTouchEvent()

12345