Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DAccessibilityInputConsumer.java55 private int mActivePointerId = -1; field in AccessibilityInputConsumer
93 if (pointerId == mActivePointerId) { in onMotionEvent()
98 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
110 mActivePointerId = ev.getPointerId(pointerIndex); in onMotionEvent()
120 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onMotionEvent()
DFallbackNoButtonInputConsumer.java90 private int mActivePointerId = -1; field in FallbackNoButtonInputConsumer
154 mActivePointerId = ev.getPointerId(0); in onMotionEvent()
172 if (ptrId == mActivePointerId) { in onMotionEvent()
178 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
183 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onMotionEvent()
260 float velocityX = mVelocityTracker.getXVelocity(mActivePointerId); in finishTouchTracking()
261 float velocityY = mVelocityTracker.getYVelocity(mActivePointerId); in finishTouchTracking()
DOtherActivityInputConsumer.java108 private int mActivePointerId = INVALID_POINTER_ID; field in OtherActivityInputConsumer
209 mActivePointerId = ev.getPointerId(0); in onMotionEvent()
235 if (ptrId == mActivePointerId) { in onMotionEvent()
241 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
246 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onMotionEvent()
375 float velocityX = mVelocityTracker.getXVelocity(mActivePointerId); in finishTouchTracking()
376 float velocityY = mVelocityTracker.getYVelocity(mActivePointerId); in finishTouchTracking()
DAssistantTouchConsumer.java75 private int mActivePointerId = -1; field in AssistantTouchConsumer
124 mActivePointerId = ev.getPointerId(0); in onMotionEvent()
139 if (ptrId == mActivePointerId) { in onMotionEvent()
145 mActivePointerId = ev.getPointerId(newPointerIdx); in onMotionEvent()
157 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onMotionEvent()
/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/apps/Launcher3/src/com/android/launcher3/
DPagedView.java124 protected int mActivePointerId = INVALID_POINTER; field in PagedView
870 if (mActivePointerId != INVALID_POINTER) { in onInterceptTouchEvent()
890 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent()
945 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in determineScrollingStart()
1119 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
1130 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
1156 final int activePointerId = mActivePointerId; in onTouchEvent()
1161 int velocityX = (int) velocityTracker.getXVelocity(mActivePointerId); in onTouchEvent()
1274 mActivePointerId = INVALID_POINTER; in resetTouchState()
1336 if (pointerId == mActivePointerId) { in onSecondaryPointerUp()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DSwipeDetector.java52 protected int mActivePointerId = INVALID_POINTER_ID; field in SwipeDetector
298 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
312 if (ptrId == mActivePointerId) { in onTouchEvent()
318 mActivePointerId = ev.getPointerId(newPointerIdx); in onTouchEvent()
322 int pointerIndex = ev.findPointerIndex(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/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationContainer.java127 private int mActivePointerId; field in ConversationContainer
398 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent()
402 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in onInterceptTouchEvent()