Searched refs:text (Results 1 - 25 of 1726) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/text/
H A DSpannableStringBuilderTest.java17 package android.text;
21 protected Spannable newSpannableWithText(String text) { argument
22 return new SpannableStringBuilder(text);
H A DSpannableStringTest.java17 package android.text;
21 protected Spannable newSpannableWithText(String text) { argument
22 return new SpannableString(text);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/
H A Dpackage-info.java4 package android.filterpacks.text;
/frameworks/base/core/java/android/text/
H A DFontConfig.aidl17 package android.text;
H A DFontVariationAxis.aidl17 package android.text;
H A DNoCopySpan.java17 package android.text;
H A DClipboardManager.java17 package android.text;
20 * @deprecated Old text-only interface to the clipboard. See
26 * Returns the text on the clipboard. It will eventually be possible
27 * to store types other than text too, in which case this will return
28 * null if the type cannot be coerced to text.
33 * Sets the contents of the clipboard to the specified text.
35 public abstract void setText(CharSequence text); argument
38 * Returns true if the clipboard contains text; false otherwise.
H A DSelection.java17 package android.text;
19 import java.text.BreakIterator;
37 public static final int getSelectionStart(CharSequence text) { argument
38 if (text instanceof Spanned)
39 return ((Spanned) text).getSpanStart(SELECTION_START);
48 public static final int getSelectionEnd(CharSequence text) { argument
49 if (text instanceof Spanned)
50 return ((Spanned) text).getSpanStart(SELECTION_END);
67 public static void setSelection(Spannable text, int start, int stop) { argument
68 // int len = text
86 setSelection(Spannable text, int index) argument
93 selectAll(Spannable text) argument
100 extendSelection(Spannable text, int index) argument
108 removeSelection(Spannable text) argument
122 moveUp(Spannable text, Layout layout) argument
168 moveDown(Spannable text, Layout layout) argument
213 moveLeft(Spannable text, Layout layout) argument
238 moveRight(Spannable text, Layout layout) argument
261 extendUp(Spannable text, Layout layout) argument
290 extendDown(Spannable text, Layout layout) argument
319 extendLeft(Spannable text, Layout layout) argument
335 extendRight(Spannable text, Layout layout) argument
347 extendToLeftEdge(Spannable text, Layout layout) argument
353 extendToRightEdge(Spannable text, Layout layout) argument
359 moveToLeftEdge(Spannable text, Layout layout) argument
365 moveToRightEdge(Spannable text, Layout layout) argument
380 moveToPreceding( Spannable text, PositionIterator iter, boolean extendSelection) argument
394 moveToFollowing( Spannable text, PositionIterator iter, boolean extendSelection) argument
407 findEdge(Spannable text, Layout layout, int dir) argument
[all...]
H A DSpanWatcher.java17 package android.text;
27 * has been attached to the specified range of the text.
29 public void onSpanAdded(Spannable text, Object what, int start, int end); argument
32 * has been detached from the specified range of the text.
34 public void onSpanRemoved(Spannable text, Object what, int start, int end); argument
38 * to the new range <code>nstart&hellip;nend</code> of the text.
40 public void onSpanChanged(Spannable text, Object what, int ostart, int oend, argument
H A DGetChars.java17 package android.text;
/frameworks/base/core/java/android/text/style/
H A DParagraphStyle.java17 package android.text.style;
20 * The classes that affect paragraph-level text formatting implement
H A DUpdateAppearance.java17 package android.text.style;
20 * The classes that affect character-level text in a way that modifies their
H A DUpdateLayout.java17 package android.text.style;
20 * The classes that affect character-level text formatting in a way that
21 * triggers a text layout update when one is added or removed must implement
H A DWrapTogetherSpan.java17 package android.text.style;
H A DSuggestionSpan.aidl17 package android.text.style;
H A DLineHeightSpan.java17 package android.text.style;
20 import android.text.TextPaint;
25 public void chooseHeight(CharSequence text, int start, int end, argument
30 public void chooseHeight(CharSequence text, int start, int end, argument
/frameworks/base/core/tests/coretests/src/android/text/method/
H A DWordIteratorTest.java17 package android.text.method;
27 import java.text.BreakIterator;
32 // TODO(Bug: 24062099): Add more tests for non-ascii text.
39 final String text = "text";
43 wordIterator.setCharSequence(text, 100, 100);
49 wordIterator.setCharSequence(text, -100, -100);
55 wordIterator.setCharSequence(text, 0, text.length());
56 wordIterator.setCharSequence(text,
[all...]
/frameworks/base/core/java/android/view/textclassifier/
H A DLinksInfo.java22 * Link information that can be applied to text. See: {@link #apply(CharSequence)}.
23 * Typical implementations of this interface will annotate spannable text with e.g
24 * {@link android.text.style.ClickableSpan}s or other annotations.
32 LinksInfo NO_OP = text -> false;
35 * Applies link annotations to the specified text.
37 * applied if the text has changed from what it was when the link spec was generated for it.
41 boolean apply(@NonNull CharSequence text); argument
/frameworks/base/core/java/android/text/method/
H A DTransformationMethod2.java16 package android.text.method;
H A DMovementMethod.java17 package android.text.method;
19 import android.text.Spannable;
25 * Provides cursor positioning, scrolling and text selection functionality in a {@link TextView}.
36 public void initialize(TextView widget, Spannable text); argument
37 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event); argument
38 public boolean onKeyUp(TextView widget, Spannable text, int keyCode, KeyEvent event); argument
45 public boolean onKeyOther(TextView view, Spannable text, KeyEvent event); argument
47 public void onTakeFocus(TextView widget, Spannable text, int direction); argument
48 public boolean onTrackballEvent(TextView widget, Spannable text, MotionEvent event); argument
49 public boolean onTouchEvent(TextView widget, Spannable text, MotionEven argument
50 onGenericMotionEvent(TextView widget, Spannable text, MotionEvent event) argument
[all...]
H A DKeyListener.java17 package android.text.method;
19 import android.text.Editable;
24 * Interface for converting text key events into edit operations on an
39 * Return the type of text that this key listener is manipulating,
40 * as per {@link android.text.InputType}. This is used to
44 * {@link android.text.InputType#TYPE_NULL}
63 public boolean onKeyDown(View view, Editable text, argument
71 public boolean onKeyUp(View view, Editable text, argument
79 public boolean onKeyOther(View view, Editable text, KeyEvent event); argument
82 * Remove the given shift states from the edited text
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DJapanesePhoneNumberFormatter.java19 import android.text.Editable;
157 public static void format(Editable text) { argument
162 int length = text.length();
164 && text.subSequence(0, 3).toString().equals("+81")) {
166 } else if (length < 1 || text.charAt(0) != '0') {
170 CharSequence saved = text.subSequence(0, length);
174 while (i < text.length()) {
175 if (text.charAt(i) == '-') {
176 text.delete(i, i + 1);
182 length = text
[all...]
/frameworks/base/tools/aapt/
H A Dpseudolocalize.h12 virtual String16 text(const String16& text) = 0;
13 virtual String16 placeholder(const String16& text) = 0;
19 String16 text(const String16& text) { return text; } argument
20 String16 placeholder(const String16& text) { return text; } argument
27 String16 text(const String16& text);
[all...]
/frameworks/base/core/java/android/widget/
H A DMultiAutoCompleteTextView.java20 import android.text.Editable;
21 import android.text.SpannableString;
22 import android.text.Spanned;
23 import android.text.TextUtils;
24 import android.text.method.QwertyKeyListener;
28 * An editable text view, extending {@link AutoCompleteTextView}, that
29 * can show completion suggestions for the substring of the text where
35 * <p>The following code snippet shows how to create a text view which suggests
81 * range of the text where the user is typing.
94 protected void performFiltering(CharSequence text, in argument
171 performFiltering(CharSequence text, int start, int end, int keyCode) argument
190 replaceText(CharSequence text) argument
213 findTokenStart(CharSequence text, int cursor) argument
219 findTokenEnd(CharSequence text, int cursor) argument
225 terminateToken(CharSequence text) argument
233 findTokenStart(CharSequence text, int cursor) argument
246 findTokenEnd(CharSequence text, int cursor) argument
261 terminateToken(CharSequence text) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
H A DLinkTextView.java19 import android.text.Spanned;
20 import android.text.method.LinkMovementMethod;
21 import android.text.style.ClickableSpan;
41 public void setText(CharSequence text, BufferType type) { argument
42 super.setText(text, type);
43 if (text instanceof Spanned) {
45 ((Spanned) text).getSpans(0, text.length(), ClickableSpan.class);

Completed in 4072 milliseconds

1234567891011>>