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

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/text/
H A DSpannableStringBuilderTest.java17 package android.text;
19 import android.text.Spannable;
20 import android.text.SpannableStringBuilder;
24 protected Spannable newSpannableWithText(String text) { argument
25 return new SpannableStringBuilder(text);
H A DSpannableStringTest.java17 package android.text;
19 import android.text.Spannable;
20 import android.text.SpannableString;
24 protected Spannable newSpannableWithText(String text) { argument
25 return new SpannableString(text);
H A DTextLayoutTest.java17 package android.text;
20 import android.text.DynamicLayout;
21 import android.text.Layout;
22 import android.text.StaticLayout;
23 import android.text.TextPaint;
/frameworks/base/core/java/android/text/
H A DIClipboard.aidl17 package android.text;
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 void setClipboardText(CharSequence text);
38 * Returns true if the clipboard contains text; false otherwise.
H A DNoCopySpan.java17 package android.text;
H A DParcelableSpan.java17 package android.text;
22 * A special kind of Parcelable for objects that will serve as text spans.
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 DSelection.java17 package android.text;
35 public static final int getSelectionStart(CharSequence text) { argument
36 if (text instanceof Spanned)
37 return ((Spanned) text).getSpanStart(SELECTION_START);
46 public static final int getSelectionEnd(CharSequence text) { argument
47 if (text instanceof Spanned)
48 return ((Spanned) text).getSpanStart(SELECTION_END);
65 public static void setSelection(Spannable text, int start, int stop) { argument
66 // int len = text.length();
70 int ostart = getSelectionStart(text);
84 setSelection(Spannable text, int index) argument
91 selectAll(Spannable text) argument
98 extendSelection(Spannable text, int index) argument
106 removeSelection(Spannable text) argument
119 moveUp(Spannable text, Layout layout) argument
160 moveDown(Spannable text, Layout layout) argument
202 moveLeft(Spannable text, Layout layout) argument
227 moveRight(Spannable text, Layout layout) argument
250 extendUp(Spannable text, Layout layout) argument
279 extendDown(Spannable text, Layout layout) argument
308 extendLeft(Spannable text, Layout layout) argument
324 extendRight(Spannable text, Layout layout) argument
336 extendToLeftEdge(Spannable text, Layout layout) argument
342 extendToRightEdge(Spannable text, Layout layout) argument
348 moveToLeftEdge(Spannable text, Layout layout) argument
354 moveToRightEdge(Spannable text, Layout layout) argument
360 findEdge(Spannable text, Layout layout, int dir) argument
[all...]
H A DGetChars.java17 package android.text;
H A DEditable.java17 package android.text;
20 * This is the interface for text whose content and markup
22 * to immutable text like Strings). If you make a {@link DynamicLayout}
23 * of an Editable, the layout will be reflowed as the text is changed.
29 * Replaces the specified range (<code>st&hellip;en</code>) of text in this
37 * <code>source</code> text.
51 * Convenience for replace(st, en, text, 0, text.length())
54 public Editable replace(int st, int en, CharSequence text); argument
57 * Convenience for replace(where, where, text, star
60 insert(int where, CharSequence text, int start, int end) argument
66 insert(int where, CharSequence text) argument
78 append(CharSequence text) argument
84 append(CharSequence text, int start, int end) argument
90 append(char text) argument
[all...]
/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 DStrikethroughSpan.java17 package android.text.style;
20 import android.text.ParcelableSpan;
21 import android.text.TextPaint;
22 import android.text.TextUtils;
H A DUnderlineSpan.java17 package android.text.style;
20 import android.text.ParcelableSpan;
21 import android.text.TextPaint;
22 import android.text.TextUtils;
H A DLineHeightSpan.java17 package android.text.style;
21 import android.text.Layout;
22 import android.text.TextPaint;
27 public void chooseHeight(CharSequence text, int start, int end, argument
32 public void chooseHeight(CharSequence text, int start, int end, argument
/frameworks/base/services/java/com/android/server/
H A DClipboardService.java19 import android.text.IClipboard;
34 public void setClipboardText(CharSequence text) { argument
36 if (text == null) {
37 text = "";
40 mClipboard = text;
/frameworks/base/telephony/java/android/telephony/
H A DJapanesePhoneNumberFormatter.java19 import android.text.Editable;
155 public static void format(Editable text) { argument
160 int length = text.length();
162 && text.subSequence(0, 3).toString().equals("+81")) {
164 } else if (length < 1 || text.charAt(0) != '0') {
168 CharSequence saved = text.subSequence(0, length);
172 while (i < text.length()) {
173 if (text.charAt(i) == '-') {
174 text.delete(i, i + 1);
180 length = text
[all...]
/frameworks/base/core/java/android/text/method/
H A DSingleLineTransformationMethod.java17 package android.text.method;
20 import android.text.Editable;
21 import android.text.GetChars;
22 import android.text.Spannable;
23 import android.text.Spanned;
24 import android.text.SpannedString;
25 import android.text.TextUtils;
H A DHideReturnsTransformationMethod.java17 package android.text.method;
20 import android.text.GetChars;
21 import android.text.Spanned;
22 import android.text.SpannedString;
23 import android.text.TextUtils;
H A DMovementMethod.java17 package android.text.method;
22 import android.text.*;
26 public void initialize(TextView widget, Spannable text); argument
27 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event); argument
28 public boolean onKeyUp(TextView widget, Spannable text, int keyCode, KeyEvent event); argument
35 public boolean onKeyOther(TextView view, Spannable text, KeyEvent event); argument
37 public void onTakeFocus(TextView widget, Spannable text, int direction); argument
38 public boolean onTrackballEvent(TextView widget, Spannable text, argument
40 public boolean onTouchEvent(TextView widget, Spannable text, argument
45 * of any text; fals
[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
33 * Return the type of text that this key listener is manipulating,
34 * as per {@link android.text.InputType}. This is used to
38 * {@link android.text.InputType#TYPE_NULL}
57 public boolean onKeyDown(View view, Editable text, argument
65 public boolean onKeyUp(View view, Editable text, argument
73 public boolean onKeyOther(View view, Editable text, KeyEvent event); argument
76 * Remove the given shift states from the edited text
[all...]
/frameworks/base/core/java/android/widget/
H A DMultiAutoCompleteTextView.java23 import android.text.Editable;
24 import android.text.Selection;
25 import android.text.Spanned;
26 import android.text.Spannable;
27 import android.text.SpannableString;
28 import android.text.TextUtils;
29 import android.text.method.QwertyKeyListener;
40 * An editable text view, extending {@link AutoCompleteTextView}, that
41 * can show completion suggestions for the substring of the text where
47 * <p>The following code snippet shows how to create a text vie
101 performFiltering(CharSequence text, int keyCode) argument
178 performFiltering(CharSequence text, int start, int end, int keyCode) argument
197 replaceText(CharSequence text) argument
215 findTokenStart(CharSequence text, int cursor) argument
221 findTokenEnd(CharSequence text, int cursor) argument
227 terminateToken(CharSequence text) argument
235 findTokenStart(CharSequence text, int cursor) argument
248 findTokenEnd(CharSequence text, int cursor) argument
263 terminateToken(CharSequence text) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/
H A DItem.java32 public String text; field in class:Item
36 public Item(int id, String text) { argument
38 this.text = text;
44 text = in.readString();
54 dest.writeString(text);
69 return text;

Completed in 224 milliseconds

1234567891011>>