/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/ |
D | AccessibilityInputConsumer.java | 87 int pointerIndex = ev.getActionIndex(); in onMotionEvent() local 88 int pointerId = ev.getPointerId(pointerIndex); in onMotionEvent() 90 final int newPointerIdx = pointerIndex == 0 ? 1 : 0; in onMotionEvent() 92 mTotalY += (ev.getY(pointerIndex) - mDownY); in onMotionEvent() 101 int pointerIndex = ev.getActionIndex(); in onMotionEvent() local 103 .isInSwipeUpTouchRegion(ev, pointerIndex) in onMotionEvent() 107 mActivePointerId = ev.getPointerId(pointerIndex); in onMotionEvent() 108 mDownY = ev.getY(pointerIndex); in onMotionEvent() 117 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onMotionEvent() local 118 if (pointerIndex == -1) { in onMotionEvent() [all …]
|
D | OverscrollInputConsumer.java | 169 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onMotionEvent() local 170 if (pointerIndex == -1) { in onMotionEvent() 173 mLastPos.set(ev.getX(pointerIndex), ev.getY(pointerIndex)); in onMotionEvent()
|
D | AssistantInputConsumer.java | 161 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onMotionEvent() local 162 if (pointerIndex == -1) { in onMotionEvent() 165 mLastPos.set(ev.getX(pointerIndex), ev.getY(pointerIndex)); in onMotionEvent()
|
D | OtherActivityInputConsumer.java | 282 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onMotionEvent() local 283 if (pointerIndex == INVALID_POINTER_ID) { in onMotionEvent() 286 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 | 162 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local 163 if (pointerIndex == INVALID_POINTER_ID) { in onTouchEvent() 166 mDisplacement.set(ev.getX(pointerIndex) - mDownPos.x, in onTouchEvent() 167 ev.getY(pointerIndex) - mDownPos.y); in onTouchEvent() 179 mLastPos.set(ev.getX(pointerIndex), ev.getY(pointerIndex)); in onTouchEvent()
|
D | LandscapePagedViewHandler.java | 110 public float getPrimaryDirection(MotionEvent event, int pointerIndex) { in getPrimaryDirection() argument 111 return event.getY(pointerIndex); in getPrimaryDirection()
|
D | PortraitPagedViewHandler.java | 106 public float getPrimaryDirection(MotionEvent event, int pointerIndex) { in getPrimaryDirection() argument 107 return event.getX(pointerIndex); in getPrimaryDirection()
|
D | PagedOrientationHandler.java | 68 float getPrimaryDirection(MotionEvent event, int pointerIndex); in getPrimaryDirection() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PagedView.java | 1028 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in determineScrollingStart() local 1029 if (pointerIndex == -1) return; in determineScrollingStart() 1031 final float primaryDirection = mOrientationHandler.getPrimaryDirection(ev, pointerIndex); in determineScrollingStart() 1166 final int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local 1168 if (pointerIndex == -1) return true; in onTouchEvent() 1170 float dx = ev.getX(pointerIndex); in onTouchEvent() 1171 float dy = ev.getY(pointerIndex); in onTouchEvent() 1236 final int pointerIndex = ev.findPointerIndex(activePointerId); in onTouchEvent() local 1237 if (pointerIndex == -1) return true; in onTouchEvent() 1240 pointerIndex); in onTouchEvent() [all …]
|
D | Workspace.java | 1315 int pointerIndex = ev.getActionIndex(); in onWallpaperTap() local 1316 position[0] += (int) ev.getX(pointerIndex); in onWallpaperTap() 1317 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/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | RotationTouchHelper.java | 241 public boolean isInSwipeUpTouchRegion(MotionEvent event, int pointerIndex) { in isInSwipeUpTouchRegion() argument 242 return mOrientationTouchTransformer.touchInValidSwipeRegions(event.getX(pointerIndex), in isInSwipeUpTouchRegion() 243 event.getY(pointerIndex)); in isInSwipeUpTouchRegion()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | MotionPauseDetector.java | 120 public void addPosition(MotionEvent ev, int pointerIndex) { in addPosition() argument 124 float newVelocity = mVelocityProvider.addMotionEvent(ev, ev.getPointerId(pointerIndex)); in addPosition()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | LivePreviewFragment.java | 247 int pointerIndex = ev.getActionIndex(); in setupCurrentWallpaperPreview() local 250 (int) ev.getX(pointerIndex), (int) ev.getY(pointerIndex), 0, null); in setupCurrentWallpaperPreview()
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
D | LiveWallpaperPreview.java | 578 int pointerIndex = ev.getActionIndex(); in dispatchTouchEvent() local 581 (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()
|