Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/method/
DBaseKeyListener.java139 int deleteTo; in deleteUntilWordBoundary() local
144 deleteTo = wordIterator.following(currentCursorOffset); in deleteUntilWordBoundary()
145 if (deleteTo == BreakIterator.DONE) { in deleteUntilWordBoundary()
146 deleteTo = content.length(); in deleteUntilWordBoundary()
149 deleteTo = currentCursorOffset; in deleteUntilWordBoundary()
150 wordIterator.setCharSequence(content, 0, deleteTo); in deleteUntilWordBoundary()
156 content.delete(deleteFrom, deleteTo); in deleteUntilWordBoundary()
/frameworks/base/core/java/android/widget/
DEditor.java5497 private static void modifyText(Editable text, int deleteFrom, int deleteTo,
5500 if (isValidRange(text, deleteFrom, deleteTo) &&
5501 newTextInsertAt <= text.length() - (deleteTo - deleteFrom)) {
5502 if (deleteFrom != deleteTo) {
5503 text.delete(deleteFrom, deleteTo);