Home
last modified time | relevance | path

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

123456

/frameworks/support/samples/SupportAnimationDemos/src/com/example/android/support/animation/
DSpringActivity.java63 if (motionEvent.getActionMasked() == MotionEvent.ACTION_DOWN) { in onCreate()
83 if (motionEvent.getActionMasked() == MotionEvent.ACTION_MOVE) { in onCreate()
87 } else if (motionEvent.getActionMasked() == MotionEvent.ACTION_CANCEL in onCreate()
88 || motionEvent.getActionMasked() == MotionEvent.ACTION_UP) { in onCreate()
DMainActivity.java75 if (motionEvent.getActionMasked() == MotionEvent.ACTION_DOWN) { in onCreate()
96 } else if (motionEvent.getActionMasked() == MotionEvent.ACTION_MOVE) { in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java63 if (!mTouchingHeadsUpView && event.getActionMasked() != MotionEvent.ACTION_DOWN) { in onInterceptTouchEvent()
73 switch (event.getActionMasked()) { in onInterceptTouchEvent()
152 switch (event.getActionMasked()) {
DPhoneStatusBarView.java146 if (event.getActionMasked() != MotionEvent.ACTION_MOVE) { in onTouchEvent()
148 event.getActionMasked(), (int) event.getX(), (int) event.getY(), in onTouchEvent()
DPanelView.java243 || (mMotionAborted && event.getActionMasked() != MotionEvent.ACTION_DOWN)) { in onTouchEvent()
281 if (event.getActionMasked() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
286 switch (event.getActionMasked()) { in onTouchEvent()
430 || event.getActionMasked() == MotionEvent.ACTION_CANCEL in endMotionEvent()
441 || event.getActionMasked() == MotionEvent.ACTION_CANCEL in endMotionEvent()
516 || (mMotionAborted && event.getActionMasked() != MotionEvent.ACTION_DOWN)) { in onInterceptTouchEvent()
537 switch (event.getActionMasked()) { in onInterceptTouchEvent()
DStatusBarWindowView.java251 boolean isDown = ev.getActionMasked() == MotionEvent.ACTION_DOWN; in dispatchTouchEvent()
258 } else if (ev.getActionMasked() == MotionEvent.ACTION_UP in dispatchTouchEvent()
259 || ev.getActionMasked() == MotionEvent.ACTION_CANCEL) { in dispatchTouchEvent()
270 if (ev.getActionMasked() == MotionEvent.ACTION_POINTER_DOWN) { in dispatchTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DClassifierData.java39 int action = event.getActionMasked(); in update()
61 int action = event.getActionMasked(); in cleanUp()
DPointerCountClassifier.java38 int action = event.getActionMasked(); in onTouchEvent()
DProximityClassifier.java51 int action = event.getActionMasked();
DHumanInteractionClassifier.java141 int action = event.getActionMasked(); in onTouchEvent()
183 int action = event.getActionMasked(); in addTouchEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityGestureDetector.java263 switch (event.getActionMasked()) { in onMotionEvent()
604 (event.getActionMasked() != MotionEvent.ACTION_POINTER_DOWN && in mapSecondPointerToFirstPointer()
605 event.getActionMasked() != MotionEvent.ACTION_POINTER_UP && in mapSecondPointerToFirstPointer()
606 event.getActionMasked() != MotionEvent.ACTION_MOVE)) { in mapSecondPointerToFirstPointer()
610 int action = event.getActionMasked(); in mapSecondPointerToFirstPointer()
DAccessibilityInputFilter.java260 if (!state.shouldProcessScroll() && event.getActionMasked() == MotionEvent.ACTION_SCROLL) { in processMotionEvent()
620 int action = event.getActionMasked(); in shouldProcessMotionEvent()
652 mTouchSequenceStarted = event.getActionMasked() == MotionEvent.ACTION_DOWN; in shouldProcessMotionEvent()
660 mHoverSequenceStarted = event.getActionMasked() == MotionEvent.ACTION_HOVER_ENTER; in shouldProcessMotionEvent()
DTouchExplorer.java290 if (event.getActionMasked() == MotionEvent.ACTION_CANCEL) { in onMotionEvent()
481 if (event.getActionMasked() == MotionEvent.ACTION_MOVE) { in onGestureCancelled()
508 switch (event.getActionMasked()) { in handleMotionEventStateTouchExploring()
669 switch (event.getActionMasked()) { in handleMotionEventStateDragging()
761 switch (event.getActionMasked()) { in handleMotionEventStateDelegating()
860 if (event != null && event.getActionMasked() != MotionEvent.ACTION_HOVER_EXIT) { in sendHoverExitAndTouchExplorationGestureEndIfNeeded()
877 if (event != null && event.getActionMasked() == MotionEvent.ACTION_HOVER_EXIT) { in sendTouchExplorationGestureStartAndHoverEnterIfNeeded()
1346 final int action = event.getActionMasked(); in onMotionEvent()
1504 final int action = event.getActionMasked(); in onMotionEvent()
/frameworks/support/compat/java/android/support/v4/view/
DMotionEventCompat.java465 public static int getActionMasked(MotionEvent event) { in getActionMasked() method in MotionEventCompat
466 return event.getActionMasked(); in getActionMasked()
/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/packages/SystemUI/src/com/android/systemui/qs/
DNonInterceptingScrollView.java33 int action = ev.getActionMasked(); 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/keyguard/
DLiftToActivateListener.java45 switch (event.getActionMasked()) { in onHover()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DDragDownHelper.java75 switch (event.getActionMasked()) { in onInterceptTouchEvent()
108 switch (event.getActionMasked()) { in onTouchEvent()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DForwardingListener.java174 final int actionMasked = srcEvent.getActionMasked(); in onTouchObserved()
279 final int action = srcEvent.getActionMasked(); in onTouchForwarded()
DAbsActionBarView.java93 final int action = ev.getActionMasked(); in onTouchEvent()
117 final int action = ev.getActionMasked(); in onHoverEvent()
/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/core/tests/coretests/src/android/widget/espresso/
DMouseUiController.java68 if (event.getActionMasked() != MotionEvent.ACTION_UP) { in injectMotionEvent()
/frameworks/support/design/src/android/support/design/widget/
DHeaderBehavior.java66 switch (ev.getActionMasked()) { in onInterceptTouchEvent()
124 switch (ev.getActionMasked()) { in onTouchEvent()

123456