Searched refs:selectionStart (Results 1 – 8 of 8) 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/src/com/android/dialer/dialpad/ |
D | DialpadFragment.java | 1475 int selectionStart; in updateDialString() local 1482 selectionStart = Math.min(anchor, point); in updateDialString() 1485 if (selectionStart == -1) { in updateDialString() 1486 selectionStart = selectionEnd = mDigits.length(); in updateDialString() 1491 if (canAddDigit(digits, selectionStart, selectionEnd, newDigit)) { in updateDialString() 1492 digits.replace(selectionStart, selectionEnd, Character.toString(newDigit)); in updateDialString() 1494 if (selectionStart != selectionEnd) { in updateDialString() 1496 mDigits.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 | 242 et.selectionStart = 7; in testGetWordRangeAtCursor()
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
D | ComposeActivity.java | 1016 int selectionStart = mInnerSavedState.getInt(EXTRA_FOCUS_SELECTION_START); in onRestoreInstanceState() local 1022 if (selectionStart < length && selectionEnd < length) { in onRestoreInstanceState() 1023 focusEditText.setSelection(selectionStart, selectionEnd); in onRestoreInstanceState()
|
/packages/apps/Browser2/test/webexposed/ |
D | global-interface-listing-expected.txt | 1796 getter selectionStart 1852 setter selectionStart 2382 getter selectionStart 2412 setter selectionStart
|