Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DTouchTracker.java49 void update(float touchX, float touchY) { in update() argument
60 mLatestTouchY = touchY; in update()
70 void setGestureStartLocation(float touchX, float touchY, int swipeEdge) { in setGestureStartLocation() argument
72 mInitTouchY = touchY; in setGestureStartLocation()
DBackAnimationController.java284 float touchX, float touchY, int keyAction, @BackEvent.SwipeEdge int swipeEdge) { in onBackMotion() argument
285 mShellExecutor.execute(() -> onMotionEvent(touchX, touchY, keyAction, swipeEdge)); in onBackMotion()
364 public void onMotionEvent(float touchX, float touchY, int keyAction, in onMotionEvent() argument
370 mTouchTracker.update(touchX, touchY); in onMotionEvent()
380 onGestureStarted(touchX, touchY, swipeEdge); in onMotionEvent()
383 onMove(touchX, touchY, swipeEdge); in onMotionEvent()
394 private void onGestureStarted(float touchX, float touchY, @BackEvent.SwipeEdge int swipeEdge) { in onGestureStarted() argument
401 mTouchTracker.setGestureStartLocation(touchX, touchY, swipeEdge); in onGestureStarted()
480 private void onMove(float touchX, float touchY, @BackEvent.SwipeEdge int swipeEdge) { in onMove() argument
DBackAnimation.java41 void onBackMotion(float touchX, float touchY, int keyAction, in onBackMotion() argument
/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/core/java/android/window/
DBackEvent.java62 public BackEvent(float touchX, float touchY, float progress, @SwipeEdge int swipeEdge) { in BackEvent() argument
64 mTouchY = touchY; in BackEvent()
DBackMotionEvent.java53 public BackMotionEvent(float touchX, float touchY, float progress, in BackMotionEvent() argument
57 mTouchY = touchY; in BackMotionEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DDragDropController.java98 SurfaceControl surface, int touchSource, float touchX, float touchY, in performDrag() argument
107 touchSource, touchX, touchY, thumbCenterX, thumbCenterY, data); in performDrag()
169 mDragState.broadcastDragStartedLocked(touchX, touchY); in performDrag()
184 mDragState.updateDragSurfaceLocked(true, touchX, touchY); in performDrag()
190 mDragState.broadcastDragStartedLocked(touchX, touchY); in performDrag()
DDragState.java427 void broadcastDragStartedLocked(final float touchX, final float touchY) { in broadcastDragStartedLocked() argument
429 mOriginalY = mCurrentY = touchY; in broadcastDragStartedLocked()
444 Slog.d(TAG_WM, "broadcasting DRAG_STARTED at (" + touchX + ", " + touchY + ")"); in broadcastDragStartedLocked()
449 sendDragStartedLocked(w, touchX, touchY, containsAppExtras); in broadcastDragStartedLocked()
461 private void sendDragStartedLocked(WindowState newWin, float touchX, float touchY, in sendDragStartedLocked() argument
468 newWin.translateToWindowX(touchX), newWin.translateToWindowY(touchY), in sendDragStartedLocked()
DWindowManagerInternal.java318 int touchSource, float touchX, float touchY, float thumbCenterX, float thumbCenterY, in prePerformDrag() argument
DSession.java322 float touchX, float touchY, float thumbCenterX, float thumbCenterY, ClipData data) { in performDrag() argument
331 touchX, touchY, thumbCenterX, thumbCenterY, data); in performDrag()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DFooterView.java132 public boolean isOnEmptySpace(float touchX, float touchY) { in isOnEmptySpace() argument
135 || touchY < mContent.getY() in isOnEmptySpace()
136 || touchY > mContent.getY() + mContent.getHeight(); in isOnEmptySpace()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsControllerOverlay.kt338 touchY: Float, in <lambda>()
353 val theStr = onTouchOutsideOfSensorAreaImpl(touchX, touchY, sensorX, sensorY, rotation) in <lambda>()
370 touchY: Float, in <lambda>()
381 val yRelativeToSensor = sensorY - touchY in <lambda>()
/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/phone/
DHeadsUpTouchHelper.java180 ExpandableView getChildAtRawPosition(float touchX, float touchY);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java1747 private ExpandableView getChildAtPosition(float touchX, float touchY) {
1749 touchX, touchY, true /* requireMinHeight */, true /* ignoreDecors */);
1762 ExpandableView getChildAtPosition(float touchX, float touchY,
1783 && touchY >= top && touchY <= bottom && touchX >= left && touchX <= right) {
1792 return row.getViewAtPosition(touchY - childTop);
1804 public ExpandableView getChildAtRawPosition(float touchX, float touchY) {
1806 return getChildAtPosition(touchX - mTempInt2[0], touchY - mTempInt2[1]);
4815 public boolean isBelowLastNotification(float touchX, float touchY) { in isBelowLastNotification() argument
4821 if (childTop > touchY) { in isBelowLastNotification()
4825 boolean belowChild = touchY > childTop + child.getActualHeight() in isBelowLastNotification()
[all …]
/frameworks/base/core/java/android/view/
DIWindowSession.aidl179 float touchX, float touchY, float thumbCenterX, float thumbCenterY, in ClipData data); in performDrag() argument
DWindowlessWindowManager.java417 android.view.SurfaceControl surface, int touchSource, float touchX, float touchY, in performDrag() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DNavigationBarEdgePanel.java827 private void updatePosition(float touchY) { in updatePosition() argument
828 float position = touchY - mFingerOffset; in updatePosition()
DBackPanelController.kt645 private fun updateYStartPosition(touchY: Float) { in <lambda>()
646 var yPosition = touchY - params.fingerOffset in <lambda>()