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.java6916 private static void modifyText(Editable text, int deleteFrom, int deleteTo,
6919 if (isValidRange(text, deleteFrom, deleteTo)
6920 && newTextInsertAt <= text.length() - (deleteTo - deleteFrom)) {
6921 if (deleteFrom != deleteTo) {
6922 text.delete(deleteFrom, deleteTo);