Home
last modified time | relevance | path

Searched refs:eventY (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
DGesturePointerEventListener.kt235 val eventY = ev.y in <lambda>() constant
243 if (!mMouseHoveringAtTop && eventY == 0f) { in <lambda>()
246 } else if (mMouseHoveringAtTop && eventY > 0) { in <lambda>()
257 if (!mMouseHoveringAtBottom && eventY >= screenHeight - 1) { in <lambda>()
260 } else if (mMouseHoveringAtBottom && eventY < screenHeight - 1) { in <lambda>()
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java258 final float eventY = event.getY(); in onPointerEvent()
266 if (!mMouseHoveringAtTop && eventY == 0) { in onPointerEvent()
269 } else if (mMouseHoveringAtTop && eventY > 0) { in onPointerEvent()
280 if (!mMouseHoveringAtBottom && eventY >= screenHeight - 1) { in onPointerEvent()
283 } else if (mMouseHoveringAtBottom && eventY < screenHeight - 1) { in onPointerEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandler.java700 final float eventY = event.getY(); in onMotionEvent() local
702 mDisplayId, eventX, eventY)) { in onMotionEvent()
703 mFullScreenMagnificationController.setCenter(mDisplayId, eventX, eventY, in onMotionEvent()
775 final float eventY = event.getY(); in onMotionEvent() local
777 mDisplayId, eventX, eventY)) { in onMotionEvent()
778 mFullScreenMagnificationController.setCenter(mDisplayId, eventX, eventY, in onMotionEvent()
/frameworks/base/core/java/android/widget/
DNumberPicker.java985 int eventY = (int) event.getY(); in onTouchEvent() local
986 int deltaMoveY = (int) Math.abs(eventY - mLastDownEventY); in onTouchEvent()
993 int selectorIndexOffset = (eventY / mSelectorElementHeight) in onTouchEvent()
1085 final int eventY = (int) event.getY(); in dispatchHoverEvent() local
1087 if (eventY < mTopSelectionDividerTop) { in dispatchHoverEvent()
1089 } else if (eventY > mBottomSelectionDividerBottom) { in dispatchHoverEvent()
DEditor.java6903 final float eventY = event.getY(); 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()
7064 final float eventY = event.getY(); in updateWordBasedSelection() local
7068 currLine = mTextView.getLineAtCoordinate(eventY); in updateWordBasedSelection()
7070 float y = eventY; in updateWordBasedSelection()
7080 y = eventY - fingerOffset; in updateWordBasedSelection()