/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiCollection.java | 20 * or targeting a sub elements by a child's text or description. 43 * a child UI element anywhere within its sub hierarchy that has content-description text. 48 * @param text String of the identifying child contents of of the <code>childPattern</code> 53 public UiObject getChildByDescription(UiSelector childPattern, String text) argument 55 Tracer.trace(childPattern, text); 56 if (text != null) { 61 if(nodeDesc != null && nodeDesc.contains(text)) { 64 UiObject item = row.getChild(new UiSelector().descriptionContains(text)); 70 throw new UiObjectNotFoundException("for description= \"" + text + "\""); 100 * a child UI element anywhere within its sub hierarchy that has text attribut 111 getChildByText(UiSelector childPattern, String text) argument [all...] |
/frameworks/base/core/java/android/view/textservice/ |
H A D | TextInfo.java | 21 import android.text.ParcelableSpan; 22 import android.text.SpannableStringBuilder; 23 import android.text.TextUtils; 24 import android.text.style.SpellCheckSpan; 39 * @param text the text which will be input to TextService 41 public TextInfo(String text) { argument 42 this(text, 0, getStringLengthOrZero(text), DEFAULT_COOKIE, DEFAULT_SEQUENCE_NUMBER); 47 * @param text th 51 TextInfo(String text, int cookie, int sequenceNumber) argument 55 getStringLengthOrZero(final String text) argument [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardParserImpl_V40.java | 55 protected String maybeUnescapeText(final String text) { argument 56 return unescapeText(text); 59 public static String unescapeText(final String text) { argument 63 final int length = text.length(); 65 char ch = text.charAt(i); 67 final char next_ch = text.charAt(++i);
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
H A D | PaintTest.java | 25 String text = "abcdef"; 26 assertGetTextRunAdvances(text, 0, text.length(), 0, text.length(), false, true); 27 assertGetTextRunAdvances(text, 1, text.length() - 1, 0, text.length(), false, false); 31 final String text = 36 assertGetTextRunAdvances(text, 0, text [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/ |
H A D | InstanceAdapter.java | 31 public void setInstanceAttr0(TextView view, String text) { argument 32 view.setText(String.format(format, text, "foo", "bar", "baz")); 36 public void setInstanceAttr1(TextView view, String text, String text2) { argument 37 view.setText(String.format(format, text, text2, "foo", "bar")); 41 public void setInstanceAttr3(TextView view, String oldText, String text) { argument 42 view.setText(String.format(format, oldText, text, "foo", "bar")); 52 public static void setInstanceAttr6(DataBindingComponent component, TextView view, String text) { argument 53 view.setText(String.format("%s %s", text, component == null ? "null" : "component")); 57 public void setInstanceAttr7(DataBindingComponent component, TextView view, String text) { argument 58 view.setText(String.format(format, text, componen 62 setInstanceAttr8(TestComponent component, TextView view, String text, String text2) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | TextDirectionHeuristic.java | 17 package android.text; 20 * Interface for objects that use a heuristic for guessing at the paragraph direction by examining text.
|
H A D | AndroidCharacter.java | 17 package android.text; 73 * Replace the specified slice of <code>text</code> with the chars' 77 * @param text array of characters to apply mirror operation 82 public native static boolean mirror(char[] text, int start, int count); argument
|
H A D | Html.java | 17 package android.text; 36 import android.text.style.AbsoluteSizeSpan; 37 import android.text.style.AlignmentSpan; 38 import android.text.style.BackgroundColorSpan; 39 import android.text.style.BulletSpan; 40 import android.text.style.CharacterStyle; 41 import android.text.style.ForegroundColorSpan; 42 import android.text.style.ImageSpan; 43 import android.text.style.ParagraphStyle; 44 import android.text 252 toHtml(Spanned text) argument 266 toHtml(Spanned text, int option) argument 275 escapeHtml(CharSequence text) argument 281 withinHtml(StringBuilder out, Spanned text, int option) argument 290 encodeTextAlignmentByDiv(StringBuilder out, Spanned text, int option) argument 326 withinDiv(StringBuilder out, Spanned text, int start, int end, int option) argument 345 getTextDirection(Spanned text, int start, int end) argument 362 getTextStyles(Spanned text, int start, int end, boolean forceNoVerticalMargin, boolean includeTextAlign) argument 406 withinBlockquote(StringBuilder out, Spanned text, int start, int end, int option) argument 415 withinBlockquoteIndividual(StringBuilder out, Spanned text, int start, int end) argument 480 withinBlockquoteConsecutive(StringBuilder out, Spanned text, int start, int end) argument 517 withinParagraph(StringBuilder out, Spanned text, int start, int end) argument 643 withinStyle(StringBuilder out, CharSequence text, int start, int end) argument 949 appendNewlines(Editable text, int minNewline) argument 966 startBlockElement(Editable text, Attributes attributes, int margin) argument 989 endBlockElement(Editable text) argument 1002 handleBr(Editable text) argument 1006 startLi(Editable text, Attributes attributes) argument 1012 endLi(Editable text) argument 1018 startBlockquote(Editable text, Attributes attributes) argument 1023 endBlockquote(Editable text) argument 1028 startHeading(Editable text, Attributes attributes, int level) argument 1033 endHeading(Editable text) argument 1045 getLast(Spanned text, Class<T> kind) argument 1059 setSpanFromMark(Spannable text, Object mark, Object... spans) argument 1070 start(Editable text, Object mark) argument 1075 end(Editable text, Class kind, Object repl) argument 1083 startCssStyle(Editable text, Attributes attributes) argument 1112 endCssStyle(Editable text) argument 1129 startImg(Editable text, Attributes attributes, Html.ImageGetter img) argument 1150 startFont(Editable text, Attributes attributes) argument 1166 endFont(Editable text) argument 1179 startA(Editable text, Attributes attributes) argument 1184 endA(Editable text) argument [all...] |
/frameworks/base/core/java/android/text/style/ |
H A D | StrikethroughSpan.java | 17 package android.text.style; 20 import android.text.ParcelableSpan; 21 import android.text.TextPaint; 22 import android.text.TextUtils;
|
H A D | SubscriptSpan.java | 17 package android.text.style; 20 import android.text.ParcelableSpan; 21 import android.text.TextPaint; 22 import android.text.TextUtils;
|
H A D | SuperscriptSpan.java | 17 package android.text.style; 20 import android.text.ParcelableSpan; 21 import android.text.TextPaint; 22 import android.text.TextUtils;
|
H A D | UnderlineSpan.java | 17 package android.text.style; 20 import android.text.ParcelableSpan; 21 import android.text.TextPaint; 22 import android.text.TextUtils;
|
H A D | ClickableSpan.java | 17 package android.text.style; 19 import android.text.TextPaint; 23 * If an object of this type is attached to the text of a TextView 25 * text can be selected. If clicked, the {@link #onClick} method will 36 * Makes the text underlined and in the link color.
|
H A D | LineBackgroundSpan.java | 17 package android.text.style; 28 CharSequence text, int start, int end, 25 drawBackground(Canvas c, Paint p, int left, int right, int top, int baseline, int bottom, CharSequence text, int start, int end, int lnum) argument
|
H A D | MaskFilterSpan.java | 17 package android.text.style; 20 import android.text.TextPaint;
|
H A D | RasterizerSpan.java | 17 package android.text.style; 20 import android.text.TextPaint;
|
/frameworks/support/v4/java/android/support/v4/text/ |
H A D | TextDirectionHeuristicCompat.java | 17 package android.support.v4.text; 20 * Interface for objects that use a heuristic for guessing at the paragraph direction by examining text.
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | Item.java | 32 public String text; field in class:Item 36 public Item(int id, String text) { argument 37 this(id, text, null); 40 public Item(int id, String text, Bitmap icon) { argument 42 this.text = text; 48 text = in.readString(); 60 dest.writeString(text); 78 return text;
|
/frameworks/base/core/java/android/text/method/ |
H A D | DateKeyListener.java | 17 package android.text.method; 20 import android.text.InputType; 23 * For entering dates in a text field.
|
H A D | DateTimeKeyListener.java | 17 package android.text.method; 19 import android.text.InputType; 23 * For entering dates and times in the same text field.
|
H A D | TimeKeyListener.java | 17 package android.text.method; 20 import android.text.InputType; 23 * For entering times in a text field.
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/ |
H A D | MultiPageTextWithPadding.java | 22 * One TextView with a text covering several pages. Padding is added 30 String text = "This is a long text."; 31 String longText = "First text."; 33 longText = longText + " " + text; 35 longText = longText + " Last text.";
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | SpTexts.java | 40 public int add(final TextView text) { argument 41 if (text == null) return 0; 45 final float px = text.getTextSize(); 47 mTexts.put(text, sp); 48 text.addOnAttachStateChangeListener(new OnAttachStateChangeListener() { 55 setTextSizeH(text, sp); 66 private void setTextSizeH(TextView text, int sp) { argument 67 text.setTextSize(TypedValue.COMPLEX_UNIT_SP, sp);
|
/frameworks/base/tools/aapt2/compile/ |
H A D | Pseudolocalizer.h | 34 virtual std::u16string text(const StringPiece16& text) = 0; 35 virtual std::u16string placeholder(const StringPiece16& text) = 0; 50 std::u16string text(const StringPiece16& text);
|
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/view/ |
H A D | RichTextView.java | 21 import android.text.Annotation; 22 import android.text.SpannableString; 23 import android.text.Spanned; 24 import android.text.method.LinkMovementMethod; 25 import android.text.style.TextAppearanceSpan; 37 * {@link SpanHelper#replaceSpan(android.text.Spannable, Object, Object)} 56 * {@link android.text.style.TextAppearanceSpan} with @style/TextAppearance.FooBar</li> 59 public static CharSequence getRichText(Context context, CharSequence text) { argument 60 if (text instanceof Spanned) { 61 final SpannableString spannable = new SpannableString(text); 106 setText(CharSequence text, BufferType type) argument [all...] |