Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/method/
DBaseKeyListener.java377 int currentCursorOffset = Selection.getSelectionStart(content); in deleteUntilWordBoundary() local
380 if (currentCursorOffset != Selection.getSelectionEnd(content)) { in deleteUntilWordBoundary()
385 if ((!isForwardDelete && currentCursorOffset == 0) || in deleteUntilWordBoundary()
386 (isForwardDelete && currentCursorOffset == content.length())) { in deleteUntilWordBoundary()
406 deleteFrom = currentCursorOffset; in deleteUntilWordBoundary()
408 deleteTo = wordIterator.following(currentCursorOffset); in deleteUntilWordBoundary()
413 deleteTo = currentCursorOffset; in deleteUntilWordBoundary()
415 deleteFrom = wordIterator.preceding(currentCursorOffset); in deleteUntilWordBoundary()