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.java53 private int mActivePointerId = -1; field in AccessibilityInputConsumer
89 if (pointerId == mActivePointerId) { in onMotionEvent()
94 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
107 mActivePointerId = ev.getPointerId(pointerIndex); in onMotionEvent()
117 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onMotionEvent()
DTaskbarStashInputConsumer.java62 private int mActivePointerId = INVALID_POINTER_ID; field in TaskbarStashInputConsumer
113 mActivePointerId = ev.getPointerId(0); in onMotionEvent()
137 if (ptrId == mActivePointerId) { in onMotionEvent()
143 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
156 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onMotionEvent()
DOtherActivityInputConsumer.java115 private int mActivePointerId = INVALID_POINTER_ID; field in OtherActivityInputConsumer
222 mActivePointerId = ev.getPointerId(0); in onMotionEvent()
248 if (ptrId == mActivePointerId) { in onMotionEvent()
254 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
259 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onMotionEvent()
400 float velocityXPxPerMs = mVelocityTracker.getXVelocity(mActivePointerId); in finishTouchTracking()
401 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()
/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/modules/IntentResolver/java/src/com/android/intentresolver/widget/
DResolverDrawerLayout.java127 private int mActivePointerId = MotionEvent.INVALID_POINTER_ID; field in ResolverDrawerLayout
348 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent()
403 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
412 int index = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
414 Log.e(TAG, "Bad pointer id " + mActivePointerId + ", resetting"); in onTouchEvent()
416 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
446 mActivePointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
474 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); in onTouchEvent()
528 if (pointerId == mActivePointerId) {
534 mActivePointerId = ev.getPointerId(newPointerIndex);
[all …]
/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/apps/Launcher3/src/com/android/launcher3/
DPagedView.java138 protected int mActivePointerId = INVALID_POINTER; field in PagedView
1058 if (mActivePointerId != INVALID_POINTER) { in onInterceptTouchEvent()
1079 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent()
1146 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in determineScrollingStart()
1272 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
1287 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
1357 final int activePointerId = mActivePointerId; in onTouchEvent()
1367 mActivePointerId); in onTouchEvent()
1496 mActivePointerId = INVALID_POINTER; in resetTouchState()
1560 if (pointerId == mActivePointerId) { in onSecondaryPointerUp()
[all …]