Searched refs:text (Results 1 - 25 of 1044) 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
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 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;
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 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
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;
/frameworks/base/core/java/android/text/method/
H A DTransformationMethod2.java16 package android.text.method;
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 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/services/core/java/com/android/server/am/
H A DAppWaitingForDebuggerDialog.java39 StringBuilder text = new StringBuilder();
41 text.append("Application ");
42 text.append(mAppName);
43 text.append(" (process ");
44 text.append(app.processName);
45 text.append(")");
47 text.append("Process ");
48 text.append(app.processName);
51 text.append(" is waiting for the debugger to attach.");
53 setMessage(text
[all...]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiCollection.java20 * or targeting a sub elements by a child's text or description.
40 * a child UI element anywhere within its sub hierarchy that has content-description text.
45 * @param text String of the identifying child contents of of the <code>childPattern</code>
50 public UiObject getChildByDescription(UiSelector childPattern, String text) argument
52 Tracer.trace(childPattern, text);
53 if (text != null) {
58 if(nodeDesc != null && nodeDesc.contains(text)) {
61 UiObject item = row.getChild(new UiSelector().descriptionContains(text));
67 throw new UiObjectNotFoundException("for description= \"" + text + "\"");
97 * a child UI element anywhere within its sub hierarchy that has text attribut
108 getChildByText(UiSelector childPattern, String text) argument
[all...]

Completed in 3908 milliseconds

1234567891011>>