Home
last modified time | relevance | path

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

12

/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.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()
DEditor.java2570 final Editable editable = (Editable) mTextView.getText(); in findEquivalentSuggestionSpan() local
2571 if (editable.getSpanStart(suggestionSpanInfo.mSuggestionSpan) >= 0) { in findEquivalentSuggestionSpan()
2577 final SuggestionSpan[] suggestionSpans = editable.getSpans(suggestionSpanInfo.mSpanStart, in findEquivalentSuggestionSpan()
2580 final int start = editable.getSpanStart(suggestionSpan); in findEquivalentSuggestionSpan()
2584 final int end = editable.getSpanEnd(suggestionSpan); in findEquivalentSuggestionSpan()
2602 final Editable editable = (Editable) mTextView.getText(); in replaceWithSuggestion() local
2603 final int spanStart = editable.getSpanStart(targetSuggestionSpan); in replaceWithSuggestion()
2604 final int spanEnd = editable.getSpanEnd(targetSuggestionSpan); in replaceWithSuggestion()
2610 final String originalText = TextUtils.substring(editable, spanStart, spanEnd); in replaceWithSuggestion()
2612 SuggestionSpan[] suggestionSpans = editable.getSpans(spanStart, spanEnd, in replaceWithSuggestion()
[all …]
DTextView.java839 boolean editable = getDefaultEditable(); in TextView()
870 editable = a.getBoolean(attr, editable); in TextView()
1319 } else if (editable) { in TextView()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java707 Editable editable = getText(); in shrink() local
709 int start = mTokenizer.findTokenStart(editable, end); in shrink()
725 commitChip(start, end, editable); in shrink()
1204 Editable editable = getText(); in handlePendingChips() local
1209 int tokenStart = editable.toString().indexOf(current); in handlePendingChips()
1215 if (tokenEnd < editable.length() - 2 in handlePendingChips()
1216 && editable.charAt(tokenEnd) == COMMIT_CHAR_COMMA) { in handlePendingChips()
1219 createReplacementChip(tokenStart, tokenEnd, editable, i < CHIP_LIMIT in handlePendingChips()
1284 Editable editable = getText(); in sanitizeEnd() local
1285 int length = editable.length(); in sanitizeEnd()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGuidedAction.java351 public B editable(boolean editable) { in editable() argument
352 if (!editable) { in editable()
369 public B descriptionEditable(boolean editable) { in descriptionEditable() argument
370 if (!editable) { in descriptionEditable()
387 public B hasEditableActivatorView(boolean editable) { in hasEditableActivatorView() argument
388 if (!editable) { in hasEditableActivatorView()
DSearchBar.java245 public void afterTextChanged(Editable editable) { in onFinishInflate()
/frameworks/support/v4/jellybean-mr2/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatJellybeanMr2.java55 public static void setEditable(Object info, boolean editable) { in setEditable() argument
56 ((AccessibilityNodeInfo) info).setEditable(editable); in setEditable()
/frameworks/base/docs/html/training/tv/playback/
Dguided-step.jd135 Add an editable text action by setting
136 {@link android.support.v17.leanback.widget.GuidedAction.Builder#editable editable(true)}. If
137 <code>editable</code> is true, when the action is selected the user can enter text using the
202 not date-picker or editable text actions. Also, a subaction cannot have its own
288 Don't use the date-picker action or other editable actions as button actions.
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompat.java611 public void setEditable(Object info, boolean editable); in setEditable() argument
1209 public void setEditable(Object info, boolean editable) { in setEditable() argument
1631 public void setEditable(Object info, boolean editable) { in setEditable() argument
1632 AccessibilityNodeInfoCompatJellybeanMr2.setEditable(info, editable); in setEditable()
3858 public void setEditable(boolean editable) { in setEditable() argument
3859 IMPL.setEditable(mInfo, editable); in setEditable()
/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/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/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/base/docs/html/design/downloads/
Dindex.jd65 <p>Stream cards and UI elements for some example apps in fully editable PSD format.
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java2803 public void afterTextChanged(Editable editable) { in afterTextChanged() argument
2808 PageRange[] ranges = PageRangeUtils.parsePageRanges(editable, pageCount); in afterTextChanged()
2841 public void afterTextChanged(Editable editable) { in afterTextChanged() argument
2844 if (editable.length() == 0) { in afterTextChanged()
2854 copies = Integer.parseInt(editable.toString()); in afterTextChanged()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java1864 public void setEditable(boolean editable) { in setEditable() argument
1865 setBooleanProperty(BOOLEAN_PROPERTY_EDITABLE, editable); in setEditable()
/frameworks/base/docs/html/training/testing/ui-testing/
Duiautomator-testing.jd379 : Sets the text in an editable field, after clearing the field's content.
383 method clears the existing text in an editable field.</li>
/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/topic/libraries/support-library/
Drevisions.jd1016 <li>Description fields are now editable:
1022 {@code true}, sets the action’s description to be editable.
1025 <li>{@code GuidedAction.getEditDescription()}: returns the editable
/frameworks/base/docs/html/training/articles/
Dperf-jni.jd296 you, there's no need to create another "editable" copy. If JNI is passing
/frameworks/support/v17/leanback/api/
D23.1.0.txt990 method public android.support.v17.leanback.widget.GuidedAction.Builder editable(boolean);
D23.1.1.txt990 method public android.support.v17.leanback.widget.GuidedAction.Builder editable(boolean);

12