Home
last modified time | relevance | path

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

12345

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DEvents.java63 return e.getActionMasked() == MotionEvent.ACTION_DOWN; in isActionDown()
70 return e.getActionMasked() == MotionEvent.ACTION_UP; in isActionUp()
171 return mEvent.getActionMasked() == MotionEvent.ACTION_DOWN; in isActionDown()
176 return mEvent.getActionMasked() == MotionEvent.ACTION_UP; in isActionUp()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityGestureDetector.java213 switch (event.getActionMasked()) { in onMotionEvent()
425 (event.getActionMasked() != MotionEvent.ACTION_POINTER_DOWN && in mapSecondPointerToFirstPointer()
426 event.getActionMasked() != MotionEvent.ACTION_POINTER_UP && in mapSecondPointerToFirstPointer()
427 event.getActionMasked() != MotionEvent.ACTION_MOVE)) { in mapSecondPointerToFirstPointer()
431 int action = event.getActionMasked(); in mapSecondPointerToFirstPointer()
DMotionEventInjector.java187 if (event.getActionMasked() == MotionEvent.ACTION_DOWN) { in sendMotionEventToNext()
190 if ((event.getActionMasked() == MotionEvent.ACTION_UP) in sendMotionEventToNext()
191 || (event.getActionMasked() == MotionEvent.ACTION_CANCEL)) { in sendMotionEventToNext()
DTouchExplorer.java289 if (event.getActionMasked() == MotionEvent.ACTION_CANCEL) { in onMotionEvent()
473 if (event.getActionMasked() == MotionEvent.ACTION_MOVE) { in onGestureCancelled()
500 switch (event.getActionMasked()) { in handleMotionEventStateTouchExploring()
661 switch (event.getActionMasked()) { in handleMotionEventStateDragging()
753 switch (event.getActionMasked()) { in handleMotionEventStateDelegating()
852 if (event != null && event.getActionMasked() != MotionEvent.ACTION_HOVER_EXIT) { in sendHoverExitAndTouchExplorationGestureEndIfNeeded()
869 if (event != null && event.getActionMasked() == MotionEvent.ACTION_HOVER_EXIT) { in sendTouchExplorationGestureStartAndHoverEnterIfNeeded()
1333 final int action = event.getActionMasked(); in onMotionEvent()
1491 final int action = event.getActionMasked(); in onMotionEvent()
DAccessibilityInputFilter.java245 if (!state.shouldProcessScroll() && event.getActionMasked() == MotionEvent.ACTION_SCROLL) { in processMotionEvent()
595 int action = event.getActionMasked(); in shouldProcessMotionEvent()
627 mTouchSequenceStarted = event.getActionMasked() == MotionEvent.ACTION_DOWN; in shouldProcessMotionEvent()
635 mHoverSequenceStarted = event.getActionMasked() == MotionEvent.ACTION_HOVER_ENTER; in shouldProcessMotionEvent()
DMagnificationGestureHandler.java208 switch (event.getActionMasked()) { in handleMotionEventStateDelegating()
363 if (event.getActionMasked() == MotionEvent.ACTION_UP) { in onMotionEvent()
458 final int action = event.getActionMasked(); in onMotionEvent()
572 final int action = event.getActionMasked(); in onMotionEvent()
/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()
151 switch (event.getActionMasked()) {
DPhoneStatusBarView.java127 if (event.getActionMasked() != MotionEvent.ACTION_MOVE) { in onTouchEvent()
129 event.getActionMasked(), (int) event.getX(), (int) event.getY(), in onTouchEvent()
DPanelView.java217 || (mMotionAborted && event.getActionMasked() != MotionEvent.ACTION_DOWN)) { in onTouchEvent()
246 if (event.getActionMasked() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
251 switch (event.getActionMasked()) { in onTouchEvent()
375 || event.getActionMasked() == MotionEvent.ACTION_CANCEL in endMotionEvent()
386 || event.getActionMasked() == MotionEvent.ACTION_CANCEL in endMotionEvent()
445 || (mMotionAborted && event.getActionMasked() != MotionEvent.ACTION_DOWN)) { in onInterceptTouchEvent()
466 switch (event.getActionMasked()) { in onInterceptTouchEvent()
/frameworks/base/docs/html/training/gestures/
Dmulti.jd113 {@link android.view.MotionEvent#getActionMasked getActionMasked()} (or better yet, the compatabilit…
114 {@link android.support.v4.view.MotionEventCompat#getActionMasked MotionEventCompat.getActionMasked(…
117 method, {@link android.support.v4.view.MotionEventCompat#getActionMasked getActionMasked()} is desi…
133 <pre>int action = MotionEventCompat.getActionMasked(event);
Dscale.jd95 <p>Notice that the snippet uses the {@link android.view.MotionEvent#getActionMasked getActionMasked
97 {@link android.support.v4.view.MotionEventCompat#getActionMasked MotionEventCompat.getActionMasked(…
101 method, {@link android.support.v4.view.MotionEventCompat#getActionMasked getActionMasked()}
113 final int action = MotionEventCompat.getActionMasked(ev);
/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()
DHumanInteractionClassifier.java140 int action = event.getActionMasked(); in onTouchEvent()
182 int action = event.getActionMasked(); in addTouchEvent()
DProximityClassifier.java51 int action = event.getActionMasked();
/frameworks/base/core/java/android/widget/
DForwardingListener.java165 final int actionMasked = srcEvent.getActionMasked(); in onTouchObserved()
270 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/qs/
DNonInterceptingScrollView.java33 int action = ev.getActionMasked(); in onTouchEvent()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DForwardingListener.java152 final int actionMasked = MotionEventCompat.getActionMasked(srcEvent); in onTouchObserved()
257 final int action = MotionEventCompat.getActionMasked(srcEvent); in onTouchForwarded()
DAbsActionBarView.java97 final int action = MotionEventCompat.getActionMasked(ev); in onTouchEvent()
121 final int action = MotionEventCompat.getActionMasked(ev); in onHoverEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DDragDownHelper.java75 switch (event.getActionMasked()) { in onInterceptTouchEvent()
108 switch (event.getActionMasked()) { in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java340 int action = event.getActionMasked(); in trackVelocity()
362 if (mVelocityTracker != null && (event.getActionMasked() == MotionEvent.ACTION_CANCEL in maybeRecycleVelocityTracker()
363 || event.getActionMasked() == MotionEvent.ACTION_UP)) { in maybeRecycleVelocityTracker()
397 final int action = ev.getActionMasked(); in onTouchEvent()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DLiftToActivateListener.java45 switch (event.getActionMasked()) { in onHover()
/frameworks/support/design/src/android/support/design/widget/
DHeaderBehavior.java67 switch (MotionEventCompat.getActionMasked(ev)) { in onInterceptTouchEvent()
125 switch (MotionEventCompat.getActionMasked(ev)) { in onTouchEvent()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DMouseUiController.java68 if (event.getActionMasked() != MotionEvent.ACTION_UP) { in injectMotionEvent()

12345