Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSpellChecker.java194 private void addSpellCheckSpan(Editable editable, int start, int end) { in addSpellCheckSpan() argument
197 editable.setSpan(spellCheckSpan, start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in addSpellCheckSpan()
263 Editable editable = (Editable) mTextView.getText(); in spellCheck()
264 final int selectionStart = Selection.getSelectionStart(editable); in spellCheck()
265 final int selectionEnd = Selection.getSelectionEnd(editable); in spellCheck()
274 final int start = editable.getSpanStart(spellCheckSpan); in spellCheck()
275 final int end = editable.getSpanEnd(spellCheckSpan); in spellCheck()
284 final boolean apostrophe = (selectionStart == end + 1 && editable.charAt(end) == '\''); in spellCheck()
295 final TextInfo textInfo = new TextInfo(editable, start, end, mCookie, mIds[i]); in spellCheck()
328 final Editable editable = (Editable) mTextView.getText(); in onGetSuggestionsInternal() local
[all …]
DMultiAutoCompleteTextView.java198 Editable editable = getText(); in replaceText() local
199 String original = TextUtils.substring(editable, start, end); in replaceText()
201 QwertyKeyListener.markAsReplaced(editable, start, end, original); in replaceText()
202 editable.replace(start, end, mTokenizer.terminateToken(text)); in replaceText()
DEditor.java1950 Editable editable = (Editable) mTextView.getText(); in onSpanAdded()
1951 int start = editable.getSpanStart(span); in onSpanAdded()
1952 int end = editable.getSpanEnd(span); in onSpanAdded()
1957 editable.removeSpan(span); in onSpanAdded()
2107 Editable editable = (Editable) mTextView.getText(); in getTextOffset() local
2108 return editable.getSpanEnd(mEasyEditSpan); in getTextOffset()
2681 Editable editable = (Editable) mTextView.getText(); in onItemClick() local
2685 final int spanUnionStart = editable.getSpanStart(mSuggestionRangeSpan); in onItemClick()
2686 int spanUnionEnd = editable.getSpanEnd(mSuggestionRangeSpan); in onItemClick()
2689 if (spanUnionEnd < editable.length() && in onItemClick()
[all …]
DTextView.java764 boolean editable = getDefaultEditable(); in TextView()
793 editable = a.getBoolean(attr, editable); in TextView()
1213 } else if (editable) { in TextView()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java546 Editable editable = getText(); in shrink() local
548 int start = mTokenizer.findTokenStart(editable, end); in shrink()
564 commitChip(start, end, editable); in shrink()
1048 Editable editable = getText(); in handlePendingChips() local
1053 int tokenStart = editable.toString().indexOf(current); in handlePendingChips()
1059 if (tokenEnd < editable.length() - 2 in handlePendingChips()
1060 && editable.charAt(tokenEnd) == COMMIT_CHAR_COMMA) { in handlePendingChips()
1063 createReplacementChip(tokenStart, tokenEnd, editable, i < CHIP_LIMIT in handlePendingChips()
1128 Editable editable = getText(); in sanitizeEnd() local
1129 int length = editable.length(); in sanitizeEnd()
[all …]
/frameworks/base/docs/html/training/keyboard-input/
Dcommands.jd20 <p>When the user gives focus to an editable text view such as an {@link android.widget.EditText}
Dvisibility.jd21 <p>When input focus moves into or out of an editable text field, Android shows
/frameworks/base/docs/html/guide/topics/ui/
Dcontrols.jd63 …<td>An editable text field. You can use the <code>AutoCompleteTextView</code> widget to create a t…
/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.java2229 public void afterTextChanged(Editable editable) { in afterTextChanged() argument
2232 String text = editable.toString(); in afterTextChanged()
2291 public void afterTextChanged(Editable editable) { in afterTextChanged() argument
2294 if (editable.length() == 0) { in afterTextChanged()
2302 copies = Integer.parseInt(editable.toString()); in afterTextChanged()
/frameworks/base/docs/html/tools/help/uiautomator/
DUiObject.jd146 <div class="jd-descrdiv">Clears the existing text contents in an editable field.</div>
783 …<div class="jd-descrdiv">Sets the text in an editable field, after clearing the field's content.</…
1487 <div class="jd-tagdata jd-tagdescr"><p>Clears the existing text contents in an editable field.
1489 …UiSelector.html">UiSelector</a></code> of this object must reference a UI element that is editable.
1500 Also, not all editable fields support the long-press functionality.</p></div>
3106 …<div class="jd-tagdata jd-tagdescr"><p>Sets the text in an editable field, after clearing the fiel…
3108 …r.html">UiSelector</a></code> selector of this object must reference a UI element that is editable.
3111 editable field to set focus. The method then clears the field's contents
DUiCollection.jd192 <div class="jd-descrdiv">Clears the existing text contents in an editable field.</div>
703 …<div class="jd-descrdiv">Sets the text in an editable field, after clearing the field's content.</…
DUiScrollable.jd829 <div class="jd-descrdiv">Clears the existing text contents in an editable field.</div>
1485 …<div class="jd-descrdiv">Sets the text in an editable field, after clearing the field's content.</…
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DSearchBar.java221 public void afterTextChanged(Editable editable) { in onFinishInflate()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java1783 public void setEditable(boolean editable) { in setEditable() argument
1784 setBooleanProperty(BOOLEAN_PROPERTY_EDITABLE, editable); in setEditable()
/frameworks/base/docs/html/design/downloads/
Dindex.jd124 <p>Stream cards and UI elements for some example apps in fully editable PSD format.
/frameworks/base/docs/html/training/activity-testing/
Dactivity-ui-testing.jd34 components (such as buttons, editable text fields, checkboxes, and pickers) to
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dmenu_design.jd273 "Copy all", and "Add to dictionary". If the text field is editable, it also
/frameworks/base/docs/html/distribute/essentials/quality/
Dcore.jd481 pending, such as changes to editable fields, game progress, menus,
/frameworks/base/docs/html/sdk/
DOLD_RELEASENOTES.jd410 … a custom java editor for R.java/Manifest.java, to make those files non-editable. This is to repla…
/frameworks/base/docs/html/training/articles/
Dperf-jni.jd296 you, there's no need to create another "editable" copy. If JNI is passing
/frameworks/base/api/
Dsystem-current.txt592 field public static final deprecated int editable = 16843115; // 0x101016b
Dcurrent.txt522 field public static final deprecated int editable = 16843115; // 0x101016b