Home
last modified time | relevance | path

Searched refs:mActivePointerId (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DAccessibilityInputConsumer.java55 private int mActivePointerId = -1; field in AccessibilityInputConsumer
92 if (pointerId == mActivePointerId) { in onMotionEvent()
97 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
109 mActivePointerId = ev.getPointerId(pointerIndex); in onMotionEvent()
119 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onMotionEvent()
DOtherActivityInputConsumer.java102 private int mActivePointerId = INVALID_POINTER_ID; field in OtherActivityInputConsumer
227 mActivePointerId = ev.getPointerId(0); in onMotionEvent()
253 if (ptrId == mActivePointerId) { in onMotionEvent()
259 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
264 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onMotionEvent()
432 float velocityXPxPerMs = mVelocityTracker.getXVelocity(mActivePointerId); in finishTouchTracking()
433 float velocityYPxPerMs = mVelocityTracker.getYVelocity(mActivePointerId); in finishTouchTracking()
DAssistantInputConsumer.java74 private int mActivePointerId = -1; field in AssistantInputConsumer
128 mActivePointerId = ev.getPointerId(0); in onMotionEvent()
143 if (ptrId == mActivePointerId) { in onMotionEvent()
149 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
161 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onMotionEvent()
DTaskbarUnstashInputConsumer.java79 private int mActivePointerId = INVALID_POINTER_ID; field in TaskbarUnstashInputConsumer
152 mActivePointerId = ev.getPointerId(0); in onMotionEvent()
169 if (ptrId == mActivePointerId) { in onMotionEvent()
175 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
179 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onMotionEvent()
247 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onMotionEvent()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DBaseSwipeDetector.java60 private int mActivePointerId = INVALID_POINTER_ID; field in BaseSwipeDetector
145 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
159 if (ptrId == mActivePointerId) { in onTouchEvent()
165 mActivePointerId = ev.getPointerId(newPointerIdx); in onTouchEvent()
169 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java76 private int mActivePointerId; field in GalleryThumbnailView
288 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); in onInterceptTouchEvent()
298 final int index = MotionEventCompat.findPointerIndex(ev, mActivePointerId); in onInterceptTouchEvent()
301 mActivePointerId + " - did StaggeredGridView receive an inconsistent " + in onInterceptTouchEvent()
329 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); in onTouchEvent()
334 final int index = MotionEventCompat.findPointerIndex(ev, mActivePointerId); in onTouchEvent()
337 mActivePointerId + " - did StaggeredGridView receive an inconsistent " + in onTouchEvent()
367 mActivePointerId); in onTouchEvent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboardView.java51 private int mActivePointerId; field in MoreKeysKeyboardView
160 mActivePointerId = pointerId; in onDownEvent()
166 if (mActivePointerId != pointerId) { in onMoveEvent()
179 if (mActivePointerId != pointerId) { in onUpEvent()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/
DResolverDrawerLayout.java130 private int mActivePointerId = MotionEvent.INVALID_POINTER_ID; field in ResolverDrawerLayout
360 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent()
415 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
424 int index = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
426 Log.e(TAG, "Bad pointer id " + mActivePointerId + ", resetting"); in onTouchEvent()
428 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
458 mActivePointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
486 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
540 if (pointerId == mActivePointerId) {
546 mActivePointerId = ev.getPointerId(newPointerIndex);
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java139 protected int mActivePointerId = INVALID_POINTER; field in PagedView
1078 if (mActivePointerId != INVALID_POINTER) { in onInterceptTouchEvent()
1099 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent()
1166 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in determineScrollingStart()
1291 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
1306 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
1374 final int activePointerId = mActivePointerId; in onTouchEvent()
1384 mActivePointerId); in onTouchEvent()
1514 mActivePointerId = INVALID_POINTER; in resetTouchState()
1578 if (pointerId == mActivePointerId) { in onSecondaryPointerUp()
[all …]