Home
last modified time | relevance | path

Searched refs:editable (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/widget/
DSpellChecker.java196 private void addSpellCheckSpan(Editable editable, int start, int end) { in addSpellCheckSpan() argument
199 editable.setSpan(spellCheckSpan, start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in addSpellCheckSpan()
266 Editable editable = (Editable) mTextView.getText(); in spellCheck()
267 final int selectionStart = Selection.getSelectionStart(editable); in spellCheck()
268 final int selectionEnd = Selection.getSelectionEnd(editable); in spellCheck()
277 final int start = editable.getSpanStart(spellCheckSpan); in spellCheck()
278 final int end = editable.getSpanEnd(spellCheckSpan); in spellCheck()
287 mCurrentLocale, Character.codePointBefore(editable, end + 1))) { in spellCheck()
299 final TextInfo textInfo = new TextInfo(editable, start, end, mCookie, mIds[i]); in spellCheck()
332 final Editable editable = (Editable) mTextView.getText(); in onGetSuggestionsInternal() local
[all …]
DMultiAutoCompleteTextView.java196 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()
DTextInputTimePickerView.java98 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()
DEditor.java2846 final Editable editable = (Editable) mTextView.getText(); in findEquivalentSuggestionSpan() local
2847 if (editable.getSpanStart(suggestionSpanInfo.mSuggestionSpan) >= 0) { in findEquivalentSuggestionSpan()
2853 final SuggestionSpan[] suggestionSpans = editable.getSpans(suggestionSpanInfo.mSpanStart, in findEquivalentSuggestionSpan()
2856 final int start = editable.getSpanStart(suggestionSpan); in findEquivalentSuggestionSpan()
2860 final int end = editable.getSpanEnd(suggestionSpan); in findEquivalentSuggestionSpan()
2878 final Editable editable = (Editable) mTextView.getText(); in replaceWithSuggestion() local
2879 final int spanStart = editable.getSpanStart(targetSuggestionSpan); in replaceWithSuggestion()
2880 final int spanEnd = editable.getSpanEnd(targetSuggestionSpan); in replaceWithSuggestion()
2886 final String originalText = TextUtils.substring(editable, spanStart, spanEnd); in replaceWithSuggestion()
2888 SuggestionSpan[] suggestionSpans = editable.getSpans(spanStart, spanEnd, in replaceWithSuggestion()
[all …]
DTextView.java1037 boolean editable = getDefaultEditable();
1080 editable = a.getBoolean(attr, editable);
1503 } else if (editable) {
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java759 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/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DNumericalWatcher.java41 final public void afterTextChanged(Editable editable) { in afterTextChanged() argument
50 editable.clear(); in afterTextChanged()
51 editable.append(newValue + ""); in afterTextChanged()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifierImpl.java362 final boolean editable = hints.contains(HINT_TEXT_IS_EDITABLE); in getEntitiesForHints()
366 final boolean useDefault = editable == notEditable; in getEntitiesForHints()
369 } else if (editable) { in getEntitiesForHints()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java1082 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/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java2965 public void afterTextChanged(Editable editable) { in afterTextChanged() argument
2970 PageRange[] ranges = PageRangeUtils.parsePageRanges(editable, pageCount); in afterTextChanged()
3003 public void afterTextChanged(Editable editable) { in afterTextChanged() argument
3006 if (editable.length() == 0) { in afterTextChanged()
3016 copies = Integer.parseInt(editable.toString()); in afterTextChanged()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java2082 public void setEditable(boolean editable) { in setEditable() argument
2083 setBooleanProperty(BOOLEAN_PROPERTY_EDITABLE, editable); in setEditable()
/frameworks/base/core/proto/android/providers/settings/
Dglobal.proto1019 // be locked down (that is, be editable or removable only by the Device
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt522 field public static final deprecated int editable = 16843115; // 0x101016b
/frameworks/base/non-updatable-api/
Dcurrent.txt558 field @Deprecated public static final int editable = 16843115; // 0x101016b
/frameworks/base/api/
Dcurrent.txt558 field @Deprecated public static final int editable = 16843115; // 0x101016b
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt90176 Lcom/android/internal/R$attr;->editable:I