Searched refs:selectionStart (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | PlainTextEditText.java | 50 int selectionStart = getSelectionStart(); in onTextContextMenuItem() local 57 final int startIndex = selectionStart - 1; in onTextContextMenuItem() 58 final int pasteStringLength = selectionStart - selectionStartPrePaste; in onTextContextMenuItem() 68 sb.replace(selectionStartPrePaste, selectionStart, url); in onTextContextMenuItem() 70 selectionStart = selectionStartPrePaste + url.length(); in onTextContextMenuItem() 71 selectionEnd = selectionStart; in onTextContextMenuItem() 79 setSelection(selectionStart, selectionEnd); in onTextContextMenuItem()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | CursorAnchorInfoUtils.java | 121 final int selectionStart = textView.getSelectionStart(); in extractFromTextViewInternal() local 122 builder.setSelectionRange(selectionStart, textView.getSelectionEnd()); in extractFromTextViewInternal() 234 if (0 <= selectionStart) { in extractFromTextViewInternal() 235 final int offset = selectionStart; in extractFromTextViewInternal()
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
D | DialpadFragment.java | 1447 int selectionStart; in updateDialString() local 1454 selectionStart = Math.min(anchor, point); in updateDialString() 1457 if (selectionStart == -1) { in updateDialString() 1458 selectionStart = selectionEnd = this.digits.length(); in updateDialString() 1463 if (canAddDigit(digits, selectionStart, selectionEnd, newDigit)) { in updateDialString() 1464 digits.replace(selectionStart, selectionEnd, Character.toString(newDigit)); in updateDialString() 1466 if (selectionStart != selectionEnd) { in updateDialString() 1468 this.digits.setSelection(selectionStart + 1); in updateDialString()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | RichInputConnection.java | 179 if (et.selectionStart != mExpectedSelStart in checkConsistencyForDebug() 182 + "\nActual selection start = " + et.selectionStart in checkConsistencyForDebug() 188 Log.e(TAG, "Exp <> Actual : " + mExpectedSelStart + " <> " + et.selectionStart); in checkConsistencyForDebug()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/ |
D | InputLogic.java | 1395 final int selectionStart = mConnection.getExpectedSelectionStart(); 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()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | RichInputConnectionAndTextRangeTests.java | 253 et.selectionStart = 7; in testGetWordRangeAtCursor()
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
D | ComposeActivity.java | 1036 int selectionStart = mInnerSavedState.getInt(EXTRA_FOCUS_SELECTION_START); in onRestoreInstanceState() local 1042 if (selectionStart < length && selectionEnd < length) { in onRestoreInstanceState() 1043 focusEditText.setSelection(selectionStart, selectionEnd); in onRestoreInstanceState()
|