Searched refs:text (Results 1 - 25 of 1350) 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 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.
55 * Convenience for replace(st, en, text, 0, text.length())
58 public Editable replace(int st, int en, CharSequence text); argument
61 * Convenience for replace(where, where, text, star
64 insert(int where, CharSequence text, int start, int end) argument
70 insert(int where, CharSequence text) argument
82 append(CharSequence text) argument
88 append(CharSequence text, int start, int end) argument
94 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
/frameworks/base/core/tests/coretests/src/android/text/method/
H A DWordIteratorTest.java17 package android.text.method;
21 import java.text.BreakIterator;
24 // TODO(Bug: 24062099): Add more tests for non-ascii text.
28 final String text = "text";
32 wordIterator.setCharSequence(text, 100, 100);
38 wordIterator.setCharSequence(text, -100, -100);
44 wordIterator.setCharSequence(text, 0, text.length());
45 wordIterator.setCharSequence(text,
[all...]
/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/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/opt/setupwizard/library/eclair-mr1/test/src/com/android/setupwizardlib/test/
H A DRichTextViewTest.java21 import android.text.Annotation;
22 import android.text.SpannableStringBuilder;
23 import android.text.Spanned;
24 import android.text.style.TextAppearanceSpan;
42 final CharSequence text = textView.getText();
43 assertTrue("Text should be spanned", text instanceof Spanned);
45 Object[] spans = ((Spanned) text).getSpans(0, text.length(), Annotation.class);
48 spans = ((Spanned) text).getSpans(0, 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...]

Completed in 390 milliseconds

1234567891011>>