Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/ui/
DPlainTextEditText.java51 int selectionEnd = getSelectionEnd(); in onTextContextMenuItem() local
71 selectionEnd = selectionStart; in onTextContextMenuItem()
79 setSelection(selectionStart, selectionEnd); in onTextContextMenuItem()
/packages/apps/Dialer/src/com/android/dialer/dialpad/
DDialpadFragment.java1485 int selectionEnd; in updateDialString() local
1492 selectionEnd = Math.max(anchor, point); in updateDialString()
1495 selectionStart = selectionEnd = mDigits.length(); in updateDialString()
1500 if (canAddDigit(digits, selectionStart, selectionEnd, newDigit)) { in updateDialString()
1501 digits.replace(selectionStart, selectionEnd, Character.toString(newDigit)); in updateDialString()
1503 if (selectionStart != selectionEnd) { in updateDialString()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogic.java1396 final int selectionEnd = mConnection.getExpectedSelectionEnd(); in performRecapitalization() local
1397 final int numCharsSelected = selectionEnd - selectionStart; in performRecapitalization()
1405 || !mRecapitalizeStatus.isSetAt(selectionStart, selectionEnd)) { in performRecapitalization()
1409 mRecapitalizeStatus.start(selectionStart, selectionEnd, selectedText.toString(), in performRecapitalization()
1417 mConnection.setSelection(selectionEnd, selectionEnd); in performRecapitalization()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java1017 int selectionEnd = mInnerSavedState.getInt(EXTRA_FOCUS_SELECTION_END); in onRestoreInstanceState() local
1022 if (selectionStart < length && selectionEnd < length) { in onRestoreInstanceState()
1023 focusEditText.setSelection(selectionStart, selectionEnd); in onRestoreInstanceState()