/frameworks/base/core/java/android/widget/ |
D | SpellChecker.java | 197 private void addSpellCheckSpan(Editable editable, int start, int end) { in addSpellCheckSpan() argument 200 editable.setSpan(spellCheckSpan, start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in addSpellCheckSpan() 289 Editable editable = (Editable) mTextView.getText(); in spellCheck() 290 final int selectionStart = Selection.getSelectionStart(editable); in spellCheck() 291 final int selectionEnd = Selection.getSelectionEnd(editable); in spellCheck() 306 final int start = editable.getSpanStart(spellCheckSpan); in spellCheck() 307 final int end = editable.getSpanEnd(spellCheckSpan); in spellCheck() 318 mCurrentLocale, Character.codePointBefore(editable, end + 1))) { in spellCheck() 330 && isSeparator(Character.codePointBefore(editable, selectionStart)); in spellCheck() 334 final TextInfo textInfo = new TextInfo(editable, start, end, mCookie, mIds[i]); in spellCheck() [all …]
|
D | TextViewOnReceiveContentListener.java | 92 final Editable editable = (Editable) ((TextView) view).getText(); in onReceiveContent() local 105 replaceSelection(editable, itemText); in onReceiveContent() 108 editable.insert(Selection.getSelectionEnd(editable), "\n"); in onReceiveContent() 109 editable.insert(Selection.getSelectionEnd(editable), itemText); in onReceiveContent() 116 private static void replaceSelection(@NonNull Editable editable, in replaceSelection() argument 118 final int selStart = Selection.getSelectionStart(editable); in replaceSelection() 119 final int selEnd = Selection.getSelectionEnd(editable); in replaceSelection() 122 Selection.setSelection(editable, end); in replaceSelection() 123 editable.replace(start, end, replacement); in replaceSelection() 141 final Editable editable = (Editable) view.getText(); in onReceiveForAutofill() local [all …]
|
D | MultiAutoCompleteTextView.java | 196 Editable editable = getText(); in replaceText() local 197 String original = TextUtils.substring(editable, start, end); in replaceText() 199 QwertyKeyListener.markAsReplaced(editable, start, end, original); in replaceText() 200 editable.replace(start, end, mTokenizer.terminateToken(text)); in replaceText()
|
D | TextInputTimePickerView.java | 98 public void afterTextChanged(Editable editable) { in TextInputTimePickerView() 99 if (parseAndSetHourInternal(editable.toString()) && editable.length() > 1) { in TextInputTimePickerView() 117 public void afterTextChanged(Editable editable) { in TextInputTimePickerView() 118 parseAndSetMinuteInternal(editable.toString()); in TextInputTimePickerView()
|
D | Editor.java | 3354 final Editable editable = (Editable) mTextView.getText(); in findEquivalentSuggestionSpan() local 3355 if (editable.getSpanStart(suggestionSpanInfo.mSuggestionSpan) >= 0) { in findEquivalentSuggestionSpan() 3361 final SuggestionSpan[] suggestionSpans = editable.getSpans(suggestionSpanInfo.mSpanStart, in findEquivalentSuggestionSpan() 3364 final int start = editable.getSpanStart(suggestionSpan); in findEquivalentSuggestionSpan() 3368 final int end = editable.getSpanEnd(suggestionSpan); in findEquivalentSuggestionSpan() 3386 final Editable editable = (Editable) mTextView.getText(); in replaceWithSuggestion() local 3387 final int spanStart = editable.getSpanStart(targetSuggestionSpan); in replaceWithSuggestion() 3388 final int spanEnd = editable.getSpanEnd(targetSuggestionSpan); in replaceWithSuggestion() 3394 final String originalText = TextUtils.substring(editable, spanStart, spanEnd); in replaceWithSuggestion() 3396 SuggestionSpan[] suggestionSpans = editable.getSpans(spanStart, spanEnd, in replaceWithSuggestion() [all …]
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 759 Editable editable = getText(); in shrink() local 761 int start = mTokenizer.findTokenStart(editable, end); in shrink() 777 commitChip(start, end, editable); in shrink() 1358 Editable editable = getText(); in handlePendingChips() local 1363 int tokenStart = editable.toString().indexOf(current); in handlePendingChips() 1369 if (tokenEnd < editable.length() - 2 in handlePendingChips() 1370 && editable.charAt(tokenEnd) == COMMIT_CHAR_COMMA) { in handlePendingChips() 1373 createReplacementChip(tokenStart, tokenEnd, editable, i < CHIP_LIMIT in handlePendingChips() 1438 Editable editable = getText(); in sanitizeEnd() local 1439 int length = editable.length(); in sanitizeEnd() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardMessageAreaController.java | 67 public void afterTextChanged(Editable editable) { 68 CharSequence msg = editable;
|
/frameworks/proto_logging/stats/enums/stats/textclassifier/ |
D | textclassifier_enums.proto | 83 // Custom editable text widget.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
D | ClipboardOverlayView.java | 221 void setEditAccessibilityAction(boolean editable) { in setEditAccessibilityAction() argument 222 if (editable) { in setEditAccessibilityAction()
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 1082 Editable editable = (Editable) txt; in clearStyles() local 1083 Object[] styles = editable.getSpans(0, len, Object.class); in clearStyles() 1089 int start = editable.getSpanStart(style); in clearStyles() 1090 int end = editable.getSpanEnd(style); in clearStyles() 1091 editable.replace(start, end, ""); in clearStyles() 1093 editable.removeSpan(style); in clearStyles()
|
/frameworks/layoutlib/validator/resources/ |
D | strings.properties | 48 …c = This editable <tt>TextView</tt> has an <tt>android:contentDescription</tt>. A screen reader ma… 49 result_message_not_editable_textview = This item is not an editable <tt>TextView</tt>.
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PrintActivity.java | 2967 public void afterTextChanged(Editable editable) { in afterTextChanged() argument 2972 PageRange[] ranges = PageRangeUtils.parsePageRanges(editable, pageCount); in afterTextChanged() 3005 public void afterTextChanged(Editable editable) { in afterTextChanged() argument 3008 if (editable.length() == 0) { in afterTextChanged() 3018 copies = Integer.parseInt(editable.toString()); in afterTextChanged()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityNodeInfo.java | 2728 public void setEditable(boolean editable) { in setEditable() argument 2729 setBooleanProperty(BOOLEAN_PROPERTY_EDITABLE, editable); in setEditable()
|
/frameworks/base/core/proto/android/providers/settings/ |
D | global.proto | 1055 // be locked down (that is, be editable or removable only by the Device
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 522 field public static final deprecated int editable = 16843115; // 0x101016b
|
/frameworks/base/core/api/ |
D | current.txt | 757 field @Deprecated public static final int editable = 16843115; // 0x101016b
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 75104 Lcom/android/internal/R$attr;->editable:I
|