Home
last modified time | relevance | path

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

12345

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/
DFalsingDataProviderTest.java67 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/
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()
DProximityClassifier.java51 int action = event.getActionMasked();
DHumanInteractionClassifier.java142 int action = event.getActionMasked(); in onTouchEvent()
186 int action = event.getActionMasked(); in addTouchEvent()
/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.java368 || 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/
DTouchExplorer.java243 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/
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/notification/
DNotificationPanelViewController.java290 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/
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.java288 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()
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/keyguard/
DLiftToActivateListener.java45 switch (event.getActionMasked()) { in onHover()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DFalsingDataProvider.java64 if (motionEvent.getActionMasked() == MotionEvent.ACTION_DOWN) { in onMotionEvent()
77 if (motionEvent.getActionMasked() == MotionEvent.ACTION_DOWN) { in onMotionEvent()
/frameworks/base/core/java/android/service/autofill/
DInlineSuggestionRoot.java57 switch (event.getActionMasked()) { in dispatchTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DDragDownHelper.java80 switch (event.getActionMasked()) { in onInterceptTouchEvent()
118 switch (event.getActionMasked()) { in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DClipboardView.java54 if (ev.getActionMasked() == MotionEvent.ACTION_DOWN && mCurrentClip != null) { in onTouchEvent()

12345