Home
last modified time | relevance | path

Searched refs:touchY (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/android/window/
DBackTouchTracker.java61 public void update(float touchX, float touchY, float velocityX, float velocityY) { in update() argument
75 mLatestTouchY = touchY; in update()
125 public void setGestureStartLocation(float touchX, float touchY, int swipeEdge) { in setGestureStartLocation() argument
127 mInitTouchY = touchY; in setGestureStartLocation()
129 mLatestTouchY = touchY; in setGestureStartLocation()
DBackEvent.java65 public BackEvent(float touchX, float touchY, float progress, @SwipeEdge int swipeEdge) { in BackEvent() argument
67 mTouchY = touchY; in BackEvent()
DBackMotionEvent.java65 float touchY, in BackMotionEvent() argument
73 mTouchY = touchY; in BackMotionEvent()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/back/
DOnBackAnimationCallbackExtension.kt48 initialY = backEvent.touchY in onBackStarted()
53 val progressY = (backEvent.touchY - initialY) / displayMetrics.heightPixels in onBackProgressed()
/frameworks/base/services/core/java/com/android/server/wm/
DDragDropController.java157 float touchX, float touchY, float thumbCenterX, float thumbCenterY, ClipData data) { in performDrag() argument
161 + touchY + ") thumb center(" + thumbCenterX + "," + thumbCenterY + ")"); 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()
DDragState.java487 void broadcastDragStartedLocked(final float touchX, final float touchY) { in broadcastDragStartedLocked() argument
490 mOriginalY = mCurrentY = touchY; 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()
DWindowManagerInternal.java371 int touchSource, float touchX, float touchY, float thumbCenterX, float thumbCenterY, in prePerformDrag() argument
DSession.java374 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/
DBackAnimation.java45 float touchY, in onBackMotion() argument
DBackAnimationController.java314 float touchY, in onBackMotion() argument
322 /* touchY = */ touchY, in onBackMotion()
450 float touchY, 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()
DCrossActivityBackAnimation.kt170 initialTouchPos.set(backMotionEvent.touchX, backMotionEvent.touchY) in <lambda>()
218 val yOffset = getYOffset(currentClosingRect, backEvent.touchY) in <lambda>()
234 private fun getYOffset(centeredRect: RectF, touchY: Float): Float { in <lambda>()
237 val rawYDelta = touchY - initialTouchPos.y in <lambda>()
DCrossTaskBackAnimation.java171 float touchY = event.getTouchY(); in updateGestureBackProgress() local
183 float rawYDelta = touchY - mInitialTouchPos.y; in updateGestureBackProgress()
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/
DUdfpsUtils.java189 float touchY, float sensorX, float sensorY, int rotation, boolean rotatedToPortrait) { in onTouchOutsideOfSensorAreaImpl() argument
193 float yRelativeToSensor = sensorY - touchY; in onTouchOutsideOfSensorAreaImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/footer/ui/view/
DFooterView.java323 public boolean isOnEmptySpace(float touchX, float touchY) { in isOnEmptySpace() argument
326 || touchY < mContent.getY() in isOnEmptySpace()
327 || touchY > mContent.getY() + mContent.getHeight(); in isOnEmptySpace()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java1234 int touchY = (int) me.getY() - mPaddingTop;
1235 if (touchY >= -mVerticalCorrection)
1236 touchY += mVerticalCorrection;
1239 int keyIndex = getKeyIndices(touchX, touchY, null);
1269 mStartY = touchY;
1271 mLastCodeY = touchY;
1350 touchY = mLastCodeY;
1356 detectAndSendKey(mCurrentKey, touchX, touchY, eventTime);
1370 mLastY = touchY;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java1831 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) {
1876 return row.getViewAtPosition(touchY - childTop);
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
4720 if (childTop > touchY) { in isBelowLastNotification()
4724 boolean belowChild = touchY > childTop + child.getActualHeight() in isBelowLastNotification()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java193 ExpandableView getChildAtRawPosition(float touchX, float touchY);
/frameworks/base/core/java/android/view/
DIWindowSession.aidl192 int touchDeviceId, int touchPointerId, float touchX, float touchY, float thumbCenterX, in performDrag() argument
DWindowlessWindowManager.java531 int touchPointerId, float touchX, float touchY, float thumbCenterX, float thumbCenterY, in performDrag() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DBackPanelController.kt723 private fun updateYStartPosition(touchY: Float) { in <lambda>()
724 var yPosition = touchY - params.fingerOffset in <lambda>()