Home
last modified time | relevance | path

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

12345

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/
DFalsingDataProviderTest.java71 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/
DMotionEventMatcher.java49 event.getActionMasked(), in MotionEventMatcher()
63 && (event.getActionMasked() == mActionMasked) in matchesSafely()
76 + event.getActionMasked() in matchesSafely()
/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();
/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.java40 int action = ev.getActionMasked(); in onTouchEvent()
63 int action = ev.getActionMasked(); in onInterceptTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationShadeWindowViewController.java206 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()
DHeadsUpTouchHelper.java62 if (!mTouchingHeadsUpView && event.getActionMasked() != MotionEvent.ACTION_DOWN) { in onInterceptTouchEvent()
72 switch (event.getActionMasked()) { in onInterceptTouchEvent()
165 switch (event.getActionMasked()) { in onTouchEvent()
DPanelViewController.java373 || 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/
DTouchExplorer.java252 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/
DTouchDelegate.java119 switch (event.getActionMasked()) { in onTouchEvent()
181 switch (event.getActionMasked()) { in onTouchExplorationHoverEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java346 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/
DOverlayPanelViewController.java200 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/
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/services/accessibility/java/com/android/server/accessibility/
DMotionEventInjector.java120 && 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()
DAccessibilityInputFilter.java296 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()
DFullScreenMagnificationGestureHandler.java405 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/
DFalsingDataProvider.java70 if (motionEvent.getActionMasked() == MotionEvent.ACTION_DOWN) { in onMotionEvent()
83 if (motionEvent.getActionMasked() == MotionEvent.ACTION_DOWN) { in onMotionEvent()
DPointerCountClassifier.java45 if (motionEvent.getActionMasked() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DLiftToActivateListener.java45 switch (event.getActionMasked()) { in onHover()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DDragDownHelper.java82 switch (event.getActionMasked()) { in onInterceptTouchEvent()
120 switch (event.getActionMasked()) { in onTouchEvent()
/frameworks/base/core/java/android/service/autofill/
DInlineSuggestionRoot.java57 switch (event.getActionMasked()) { in dispatchTouchEvent()

12345