Searched refs:pointerIndex (Results 1 – 10 of 10) sorted by relevance
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/touch/ |
D | TouchPointView.java | 75 int pointerIndex = event.findPointerIndex(pointerId); in onTouchEvent() local 77 finger.point = new Point((int)event.getX(pointerIndex), (int)event.getY(pointerIndex)); in onTouchEvent() 93 int pointerIndex = event.findPointerIndex(pointerId); in logTouchEvents() local 96 … Log.d(TAG, "TouchUp [x=" + event.getX(pointerIndex) + ", y=" + event.getY(pointerIndex) + in logTouchEvents() 97 " , pointerId=" + pointerId + ", pointerIndex=" + pointerIndex + ", duration=" + in logTouchEvents()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PagedView.java | 1269 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in determineScrollingStart() local 1270 if (pointerIndex == -1) return; in determineScrollingStart() 1273 final float x = ev.getX(pointerIndex); in determineScrollingStart() 1274 final float y = ev.getY(pointerIndex); in determineScrollingStart() 1482 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local 1484 if (pointerIndex == -1) return true; in onTouchEvent() 1486 final float x = ev.getX(pointerIndex); in onTouchEvent() 1589 final int pointerIndex = ev.findPointerIndex(activePointerId); in onTouchEvent() local 1590 final float x = ev.getX(pointerIndex); in onTouchEvent() 1778 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >> in onSecondaryPointerUp() local [all …]
|
D | Workspace.java | 1935 int pointerIndex = ev.getActionIndex(); in onWallpaperTap() local 1936 position[0] += (int) ev.getX(pointerIndex); in onWallpaperTap() 1937 position[1] += (int) ev.getY(pointerIndex); in onWallpaperTap()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | PagedView.java | 1098 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in determineScrollingStart() local 1099 if (pointerIndex == -1) { in determineScrollingStart() 1102 final float x = ev.getX(pointerIndex); in determineScrollingStart() 1103 final float y = ev.getY(pointerIndex); in determineScrollingStart() 1254 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local 1255 final float x = ev.getX(pointerIndex); in onTouchEvent() 1285 final int pointerIndex = ev.findPointerIndex(activePointerId); in onTouchEvent() local 1286 final float x = ev.getX(pointerIndex); in onTouchEvent() 1419 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >> in onSecondaryPointerUp() local 1421 final int pointerId = ev.getPointerId(pointerIndex); in onSecondaryPointerUp() [all …]
|
D | PagedViewWithDraggableItems.java | 133 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in determineDraggingStart() local 134 final float x = ev.getX(pointerIndex); in determineDraggingStart() 135 final float y = ev.getY(pointerIndex); in determineDraggingStart()
|
D | Workspace.java | 1446 int pointerIndex = ev.getActionIndex(); 1447 position[0] += (int) ev.getX(pointerIndex); 1448 position[1] += (int) ev.getY(pointerIndex);
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
D | FlingUpDownTouchHandler.java | 233 int pointerIndex = event.findPointerIndex(trackingPointer); in onTouch() local 234 if (pointerIndex < 0) { in onTouch() 235 pointerIndex = 0; in onTouch() 236 trackingPointer = event.getPointerId(pointerIndex); in onTouch() 238 final float pointerY = event.getY(pointerIndex); in onTouch()
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
D | LiveWallpaperPreview.java | 392 int pointerIndex = ev.getActionIndex(); in dispatchTouchEvent() local 395 (int) ev.getX(pointerIndex), (int) ev.getY(pointerIndex), 0, null); in dispatchTouchEvent()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | PointerTracker.java | 751 final int pointerIndex = me.findPointerIndex(mPointerId); in onMoveEvent() local 754 final int historicalX = (int)me.getHistoricalX(pointerIndex, h); in onMoveEvent() 755 final int historicalY = (int)me.getHistoricalY(pointerIndex, h); in onMoveEvent()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationContainer.java | 402 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in onInterceptTouchEvent() local 403 final float y = ev.getY(pointerIndex); in onInterceptTouchEvent()
|