Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/widget/
DPointerIconTest.java210 void assertPointerIconForCalendarView(int pointerType, boolean isMouse) { in assertPointerIconForCalendarView() argument
225 MotionEvent event = createHoverEvent(isMouse, bounds.centerX(), bounds.centerY()); in assertPointerIconForCalendarView()
269 boolean isMouse) { in assertOnResolvePointerIconReturnNull() argument
274 MotionEvent event = createHoverEvent(isMouse, /* x */ 0, /* y */ 0); in assertOnResolvePointerIconReturnNull()
289 private MotionEvent createHoverEvent(boolean isMouse, int x, int y) { in createHoverEvent() argument
292 isMouse ? MotionEvent.TOOL_TYPE_MOUSE : MotionEvent.TOOL_TYPE_STYLUS; in createHoverEvent()
298 int source = isMouse ? InputDevice.SOURCE_MOUSE : InputDevice.SOURCE_STYLUS; in createHoverEvent()
/frameworks/base/core/java/android/widget/
DEditorTouchState.java134 final boolean isMouse = event.isFromSource(InputDevice.SOURCE_MOUSE); in update()
148 || (mMultiTapStatus == MultiTapStatus.DOUBLE_TAP && isMouse))) { in update()
DEditor.java6904 final boolean isMouse = event.isFromSource(InputDevice.SOURCE_MOUSE); in onTouchEvent()
6918 && (isMouse || isPositionOnText(eventX, eventY) in onTouchEvent()
6959 if (isMouse && !isDragAcceleratorActive()) { in onTouchEvent()
7060 final boolean isMouse = event.isFromSource(InputDevice.SOURCE_MOUSE); in updateWordBasedSelection()
7066 if (isMouse) { in updateWordBasedSelection()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DInputController.java605 public boolean isMouse() { in isMouse() method in InputController.InputDeviceDescriptor