/frameworks/base/core/tests/coretests/src/android/window/ |
D | BackTouchTrackerTest.kt | 48 var touchX = 10f in generatesProgress_leftEdge() variable 53 linearTracker.update(touchX, 0f, velocityX, velocityY) in generatesProgress_leftEdge() 54 linearTracker.assertProgress((touchX - INITIAL_X_LEFT_EDGE) / MAX_DISTANCE) in generatesProgress_leftEdge() 57 touchX += 100f in generatesProgress_leftEdge() 59 linearTracker.update(touchX, 0f, velocityX, velocityY) in generatesProgress_leftEdge() 60 linearTracker.assertProgress((touchX - INITIAL_X_LEFT_EDGE) / MAX_DISTANCE) in generatesProgress_leftEdge() 63 touchX -= 10f in generatesProgress_leftEdge() 65 linearTracker.update(touchX, 0f, velocityX, velocityY) in generatesProgress_leftEdge() 69 touchX -= 10f in generatesProgress_leftEdge() 70 linearTracker.update(touchX, 0f, velocityX, velocityY) in generatesProgress_leftEdge() [all …]
|
/frameworks/base/core/java/android/window/ |
D | BackTouchTracker.java | 61 public void update(float touchX, float touchY, float velocityX, float velocityY) { in update() argument 66 if ((touchX < mStartThresholdX && mSwipeEdge == BackEvent.EDGE_LEFT) in update() 67 || (touchX > mStartThresholdX && mSwipeEdge == BackEvent.EDGE_RIGHT)) { in update() 68 mStartThresholdX = touchX; in update() 74 mLatestTouchX = touchX; in update() 125 public void setGestureStartLocation(float touchX, float touchY, int swipeEdge) { in setGestureStartLocation() argument 126 mInitTouchX = touchX; in setGestureStartLocation() 128 mLatestTouchX = touchX; in setGestureStartLocation() 179 public float getProgress(float touchX) { in getProgress() argument 188 distance = touchX - startX; in getProgress() [all …]
|
D | BackEvent.java | 65 public BackEvent(float touchX, float touchY, float progress, @SwipeEdge int swipeEdge) { in BackEvent() argument 66 mTouchX = touchX; in BackEvent()
|
D | BackMotionEvent.java | 64 float touchX, in BackMotionEvent() argument 72 mTouchX = touchX; in BackMotionEvent()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DragDropController.java | 157 float touchX, float touchY, float thumbCenterX, float thumbCenterY, ClipData data) { in performDrag() argument 160 Integer.toHexString(flags) + " data=" + data + " touch(" + touchX + "," in performDrag() 166 touchSource, touchX, touchY, thumbCenterX, thumbCenterY, data); in performDrag() 228 mDragState.broadcastDragStartedLocked(touchX, touchY); in performDrag() 266 mDragState.broadcastDragStartedLocked(touchX, touchY); in performDrag() 287 mDragState.updateDragSurfaceLocked(true, touchX, touchY); in performDrag()
|
D | DragState.java | 487 void broadcastDragStartedLocked(final float touchX, final float touchY) { in broadcastDragStartedLocked() argument 489 mOriginalX = mCurrentX = touchX; in broadcastDragStartedLocked() 505 Slog.d(TAG_WM, "Broadcasting DRAG_STARTED at (" + touchX + ", " + touchY + ")"); in broadcastDragStartedLocked() 510 sendDragStartedLocked(w, touchX, touchY, containsAppExtras); in broadcastDragStartedLocked() 522 private void sendDragStartedLocked(WindowState newWin, float touchX, float touchY, in sendDragStartedLocked() argument 532 newWin.translateToWindowX(touchX), newWin.translateToWindowY(touchY), in sendDragStartedLocked()
|
D | Session.java | 374 int touchDeviceId, int touchPointerId, float touchX, float touchY, float thumbCenterX, in performDrag() argument 384 touchDeviceId, touchPointerId, touchX, touchY, thumbCenterX, thumbCenterY, in performDrag()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/ |
D | BackAnimation.java | 44 float touchX, in onBackMotion() argument
|
D | BackAnimationController.java | 313 float touchX, in onBackMotion() argument 321 /* touchX = */ touchX, in onBackMotion() 449 float touchX, in onMotionEvent() argument 458 activeTouchTracker.update(touchX, touchY, velocityX, velocityY); in onMotionEvent() 477 onGestureStarted(touchX, touchY, swipeEdge); in onMotionEvent() 491 private void onGestureStarted(float touchX, float touchY, @BackEvent.SwipeEdge int swipeEdge) { in onGestureStarted() argument 510 touchTracker.setGestureStartLocation(touchX, touchY, swipeEdge); in onGestureStarted()
|
D | CrossActivityBackAnimation.kt | 170 initialTouchPos.set(backMotionEvent.touchX, backMotionEvent.touchY) in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/back/ |
D | BackProgressAnimatorTest.java | 52 private BackMotionEvent backMotionEventFrom(float touchX, float progress) { in backMotionEventFrom() argument 54 /* touchX = */ touchX, in backMotionEventFrom()
|
D | CustomCrossActivityBackAnimationTest.kt | 217 private fun backMotionEventFrom(touchX: Float, progress: Float) = in backMotionEventFrom() 219 /* touchX = */ touchX, in backMotionEventFrom()
|
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/ |
D | UdfpsUtils.java | 188 private String onTouchOutsideOfSensorAreaImpl(String[] touchHints, float touchX, in onTouchOutsideOfSensorAreaImpl() argument 190 float xRelativeToSensor = touchX - sensorX; in onTouchOutsideOfSensorAreaImpl()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/footer/ui/view/ |
D | FooterView.java | 323 public boolean isOnEmptySpace(float touchX, float touchY) { in isOnEmptySpace() argument 324 return touchX < mContent.getX() in isOnEmptySpace() 325 || touchX > mContent.getX() + mContent.getWidth() in isOnEmptySpace()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 1233 int touchX = (int) me.getX() - mPaddingLeft; 1239 int keyIndex = getKeyIndices(touchX, touchY, null); 1268 mStartX = touchX; 1270 mLastCodeX = touchX; 1349 touchX = mLastCodeX; 1356 detectAndSendKey(mCurrentKey, touchX, touchY, eventTime); 1369 mLastX = touchX;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | HeadsUpTouchHelper.java | 193 ExpandableView getChildAtRawPosition(float touchX, float touchY);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 1831 private ExpandableView getChildAtPosition(float touchX, float touchY) { 1832 return getChildAtPosition(touchX, touchY, true /* requireMinHeight */, 1846 ExpandableView getChildAtPosition(float touchX, float touchY, boolean requireMinHeight, 1867 && touchY >= top && touchY <= bottom && touchX >= left && touchX <= right) { 1888 public ExpandableView getChildAtRawPosition(float touchX, float touchY) { 1890 return getChildAtPosition(touchX - mTempInt2[0], touchY - mTempInt2[1]); 4714 public boolean isBelowLastNotification(float touchX, float touchY) { in isBelowLastNotification() argument 4727 if (!belowChild && !mFooterView.isOnEmptySpace(touchX - mFooterView.getX(), in isBelowLastNotification() 6410 public ExpandableView getChildAtRawPosition(float touchX, float touchY) { 6411 return NotificationStackScrollLayout.this.getChildAtRawPosition(touchX, touchY); [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | QuickSettingsControllerImpl.java | 524 private boolean isSplitShadeAndTouchXOutsideQs(float touchX) { in isSplitShadeAndTouchXOutsideQs() argument 525 return mSplitShadeEnabled && touchX < mQsFrame.getX() in isSplitShadeAndTouchXOutsideQs() 526 || touchX > mQsFrame.getX() + mQsFrame.getWidth(); in isSplitShadeAndTouchXOutsideQs() 545 boolean shouldBackBypassQuickSettings(float touchX) { in shouldBackBypassQuickSettings() argument 546 return (touchX < mCachedGestureInsets.left) in shouldBackBypassQuickSettings() 547 || (touchX > mCachedWindowWidth - mCachedGestureInsets.right); in shouldBackBypassQuickSettings()
|
/frameworks/base/core/java/android/view/ |
D | IWindowSession.aidl | 192 int touchDeviceId, int touchPointerId, float touchX, float touchY, float thumbCenterX, in performDrag() argument
|
D | WindowlessWindowManager.java | 531 int touchPointerId, float touchX, float touchY, float thumbCenterX, float thumbCenterY, in performDrag() argument
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/ |
D | KeyguardSecurityContainerTest.java | 411 private BackEvent createBackEvent(float touchX, float progress) { in createBackEvent() argument
|