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.java113 int currentCursorOffset = Selection.getSelectionStart(content); in deleteUntilWordBoundary() local
116 if (currentCursorOffset != Selection.getSelectionEnd(content)) { in deleteUntilWordBoundary()
121 if ((!isForwardDelete && currentCursorOffset == 0) || in deleteUntilWordBoundary()
122 (isForwardDelete && currentCursorOffset == content.length())) { in deleteUntilWordBoundary()
142 deleteFrom = currentCursorOffset; in deleteUntilWordBoundary()
144 deleteTo = wordIterator.following(currentCursorOffset); in deleteUntilWordBoundary()
149 deleteTo = currentCursorOffset; in deleteUntilWordBoundary()
151 deleteFrom = wordIterator.preceding(currentCursorOffset); in deleteUntilWordBoundary()