/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/ |
D | AccessibilityInputConsumer.java | 91 int pointerIndex = ev.getActionIndex(); in onMotionEvent() local 92 int pointerId = ev.getPointerId(pointerIndex); in onMotionEvent() 94 final int newPointerIdx = pointerIndex == 0 ? 1 : 0; in onMotionEvent() 96 mTotalY += (ev.getY(pointerIndex) - mDownY); in onMotionEvent() 105 int pointerIndex = ev.getActionIndex(); in onMotionEvent() local 106 if (mSwipeTouchRegion.contains(ev.getX(pointerIndex), ev.getY(pointerIndex)) in onMotionEvent() 110 mActivePointerId = ev.getPointerId(pointerIndex); in onMotionEvent() 111 mDownY = ev.getY(pointerIndex); in onMotionEvent() 120 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onMotionEvent() local 121 if (pointerIndex == -1) { in onMotionEvent() [all …]
|
D | AssistantTouchConsumer.java | 160 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onMotionEvent() local 161 if (pointerIndex == -1) { in onMotionEvent() 164 mLastPos.set(ev.getX(pointerIndex), ev.getY(pointerIndex)); in onMotionEvent()
|
D | OtherActivityInputConsumer.java | 236 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onMotionEvent() local 237 if (pointerIndex == INVALID_POINTER_ID) { in onMotionEvent() 240 mLastPos.set(ev.getX(pointerIndex), ev.getY(pointerIndex)); in onMotionEvent()
|
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/touch/ |
D | TouchPointView.java | 78 int pointerIndex = event.findPointerIndex(pointerId); in onTouchEvent() local 80 finger.point = new Point((int) event.getX(pointerIndex), in onTouchEvent() 81 (int) event.getY(pointerIndex)); in onTouchEvent() 97 int pointerIndex = event.findPointerIndex(pointerId); in logTouchEvents() local 100 Log.d(TAG, "TouchUp [x=" + event.getX(pointerIndex) + ", y=" + event.getY(pointerIndex) in logTouchEvents() 101 + " , pointerId=" + pointerId + ", pointerIndex=" + pointerIndex + ", duration=" in logTouchEvents()
|
/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/touch/ |
D | BaseSwipeDetector.java | 156 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local 157 if (pointerIndex == INVALID_POINTER_ID) { in onTouchEvent() 160 mDisplacement.set(ev.getX(pointerIndex) - mDownPos.x, in onTouchEvent() 161 ev.getY(pointerIndex) - mDownPos.y); in onTouchEvent() 173 mLastPos.set(ev.getX(pointerIndex), ev.getY(pointerIndex)); in onTouchEvent()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PagedView.java | 949 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in determineScrollingStart() local 950 if (pointerIndex == -1) return; in determineScrollingStart() 952 final float x = ev.getX(pointerIndex); in determineScrollingStart() 1138 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local 1140 if (pointerIndex == -1) return true; in onTouchEvent() 1142 final float x = ev.getX(pointerIndex); in onTouchEvent() 1165 final int pointerIndex = ev.findPointerIndex(activePointerId); in onTouchEvent() local 1166 final float x = ev.getX(pointerIndex); in onTouchEvent() 1352 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >> in onSecondaryPointerUp() local 1354 final int pointerId = ev.getPointerId(pointerIndex); in onSecondaryPointerUp() [all …]
|
D | Workspace.java | 1339 int pointerIndex = ev.getActionIndex(); in onWallpaperTap() local 1340 position[0] += (int) ev.getX(pointerIndex); in onWallpaperTap() 1341 position[1] += (int) ev.getY(pointerIndex); in onWallpaperTap()
|
/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 | 577 int pointerIndex = ev.getActionIndex(); in dispatchTouchEvent() local 580 (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()
|