Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/method/
DArrowKeyMovementMethod.java225 private static boolean isTouchSelecting(boolean isMouse, Spannable buffer) { in isTouchSelecting() argument
226 return isMouse ? Touch.isActivelySelecting(buffer) : isSelecting(buffer); in isTouchSelecting()
234 final boolean isMouse = event.isFromSource(InputDevice.SOURCE_MOUSE); in onTouchEvent()
243 if (widget.didTouchFocusSelect() && !isMouse) { in onTouchEvent()
251 if (isMouse || isTouchSelecting(isMouse, buffer)) { in onTouchEvent()
270 if (isMouse && Touch.isSelectionStarted(buffer)) { in onTouchEvent()
275 if (isTouchSelecting(isMouse, buffer) && handled) { in onTouchEvent()
304 if (isTouchSelecting(isMouse, buffer)) { in onTouchEvent()