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.java403 int deleteTo; in deleteUntilWordBoundary() local
408 deleteTo = wordIterator.following(currentCursorOffset); in deleteUntilWordBoundary()
409 if (deleteTo == BreakIterator.DONE) { in deleteUntilWordBoundary()
410 deleteTo = content.length(); in deleteUntilWordBoundary()
413 deleteTo = currentCursorOffset; in deleteUntilWordBoundary()
414 wordIterator.setCharSequence(content, 0, deleteTo); in deleteUntilWordBoundary()
420 content.delete(deleteFrom, deleteTo); in deleteUntilWordBoundary()
/frameworks/base/core/java/android/widget/
DEditor.java7425 private static void modifyText(Editable text, int deleteFrom, int deleteTo, in modifyText() argument
7428 if (isValidRange(text, deleteFrom, deleteTo) in modifyText()
7429 && newTextInsertAt <= text.length() - (deleteTo - deleteFrom)) { in modifyText()
7430 if (deleteFrom != deleteTo) { in modifyText()
7431 text.delete(deleteFrom, deleteTo); in modifyText()