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

1234567891011>>

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/
H A Dpackage-info.java4 package android.filterpacks.text;
/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 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
121 moveUp(Spannable text, Layout layout) argument
162 moveDown(Spannable text, Layout layout) argument
204 moveLeft(Spannable text, Layout layout) argument
229 moveRight(Spannable text, Layout layout) argument
252 extendUp(Spannable text, Layout layout) argument
281 extendDown(Spannable text, Layout layout) argument
310 extendLeft(Spannable text, Layout layout) argument
326 extendRight(Spannable text, Layout layout) argument
338 extendToLeftEdge(Spannable text, Layout layout) argument
344 extendToRightEdge(Spannable text, Layout layout) argument
350 moveToLeftEdge(Spannable text, Layout layout) argument
356 moveToRightEdge(Spannable text, Layout layout) argument
371 moveToPreceding( Spannable text, PositionIterator iter, boolean extendSelection) argument
385 moveToFollowing( Spannable text, PositionIterator iter, boolean extendSelection) argument
398 findEdge(Spannable text, Layout layout, int dir) argument
[all...]
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 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 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/core/java/android/text/method/
H A DTransformationMethod2.java16 package 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 DMovementMethod.java17 package android.text.method;
22 import android.text.*;
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 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 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/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;
30 * An editable text view, extending {@link AutoCompleteTextView}, that
31 * can show completion suggestions for the substring of the text where
37 * <p>The following code snippet shows how to create a text view which suggests
78 * range of the text where the user is typing.
91 protected void performFiltering(CharSequence text, in argument
168 performFiltering(CharSequence text, int start, int end, int keyCode) argument
187 replaceText(CharSequence text) argument
217 findTokenStart(CharSequence text, int cursor) argument
223 findTokenEnd(CharSequence text, int cursor) argument
229 terminateToken(CharSequence text) argument
237 findTokenStart(CharSequence text, int cursor) argument
250 findTokenEnd(CharSequence text, int cursor) argument
265 terminateToken(CharSequence text) argument
[all...]

Completed in 294 milliseconds

1234567891011>>