Home
last modified time | relevance | path

Searched refs:eventX (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
DGesturePointerEventListener.kt234 val eventX = ev.x in <lambda>() constant
236 if (!mMouseHoveringAtLeft && eventX == 0f) { in <lambda>()
239 } else if (mMouseHoveringAtLeft && eventX > 0) { in <lambda>()
250 if (!mMouseHoveringAtRight && eventX >= screenWidth - 1) { in <lambda>()
253 } else if (mMouseHoveringAtRight && eventX < screenWidth - 1) { in <lambda>()
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java257 final float eventX = event.getX(); in onPointerEvent()
259 if (!mMouseHoveringAtLeft && eventX == 0) { in onPointerEvent()
262 } else if (mMouseHoveringAtLeft && eventX > 0) { in onPointerEvent()
273 if (!mMouseHoveringAtRight && eventX >= screenWidth - 1) { in onPointerEvent()
276 } else if (mMouseHoveringAtRight && eventX < screenWidth - 1) { in onPointerEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandler.java699 final float eventX = event.getX(); in onMotionEvent() local
702 mDisplayId, eventX, eventY)) { in onMotionEvent()
703 mFullScreenMagnificationController.setCenter(mDisplayId, eventX, eventY, in onMotionEvent()
774 final float eventX = event.getX(); in onMotionEvent() local
777 mDisplayId, eventX, eventY)) { in onMotionEvent()
778 mFullScreenMagnificationController.setCenter(mDisplayId, eventX, eventY, in onMotionEvent()
/frameworks/base/core/java/android/widget/
DEditor.java6902 final float eventX = event.getX(); in onTouchEvent() local
6913 eventX, eventY); in onTouchEvent()
6918 && (isMouse || isPositionOnText(eventX, eventY) in onTouchEvent()
6952 eventX, eventY, viewConfig.getScaledDoubleTapTouchSlop()); in onTouchEvent()
6960 final int offset = mTextView.getOffsetForPosition(eventX, eventY); in onTouchEvent()
7063 final float eventX = event.getX(); in updateWordBasedSelection() local
7096 int offset = mTextView.getOffsetAtCoordinate(currLine, eventX); in updateWordBasedSelection()