Searched refs:text (Results 51 - 75 of 1350) sorted by relevance

1234567891011>>

/frameworks/base/graphics/java/android/graphics/
H A DPaint.java23 import android.text.GraphicsOperations;
24 import android.text.SpannableString;
25 import android.text.SpannedString;
26 import android.text.TextUtils;
37 * geometries, text and bitmaps.
139 * Paint flag that applies an underline decoration to drawn text.
146 * Paint flag that applies a strike-through decoration to drawn text.
153 * Paint flag that applies a synthetic bolding effect to drawn text.
155 * <p>Enabling this flag will cause text draw operations to apply a
164 * Paint flag that enables smooth linear scaling of text
1699 measureText(char[] text, int index, int count) argument
1731 measureText(String text, int start, int end) argument
1760 measureText(String text) argument
1775 measureText(CharSequence text, int start, int end) argument
1819 breakText(char[] text, int index, int count, float maxWidth, float[] measuredWidth) argument
1845 nBreakText(long nObject, long nTypeface, char[] text, int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) argument
1865 breakText(CharSequence text, int start, int end, boolean measureForwards, float maxWidth, float[] measuredWidth) argument
1914 breakText(String text, boolean measureForwards, float maxWidth, float[] measuredWidth) argument
1937 nBreakText(long nObject, long nTypeface, String text, boolean measureForwards, float maxWidth, int bidiFlags, float[] measuredWidth) argument
1951 getTextWidths(char[] text, int index, int count, float[] widths) argument
1991 getTextWidths(CharSequence text, int start, int end, float[] widths) argument
2035 getTextWidths(String text, int start, int end, float[] widths) argument
2074 getTextWidths(String text, float[] widths) argument
2132 getTextRunAdvances(CharSequence text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex) argument
2214 getTextRunAdvances(String text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex) argument
2278 getTextRunCursor(char[] text, int contextStart, int contextLength, int dir, int offset, int cursorOpt) argument
2318 getTextRunCursor(CharSequence text, int contextStart, int contextEnd, int dir, int offset, int cursorOpt) argument
2365 getTextRunCursor(String text, int contextStart, int contextEnd, int dir, int offset, int cursorOpt) argument
2391 getTextPath(char[] text, int index, int count, float x, float y, Path path) argument
2413 getTextPath(String text, int start, int end, float x, float y, Path path) argument
2432 getTextBounds(String text, int start, int end, Rect bounds) argument
2452 getTextBounds(char[] text, int index, int count, Rect bounds) argument
2519 getRunAdvance(char[] text, int start, int end, int contextStart, int contextEnd, boolean isRtl, int offset) argument
2549 getRunAdvance(CharSequence text, int start, int end, int contextStart, int contextEnd, boolean isRtl, int offset) argument
2599 getOffsetForAdvance(char[] text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float advance) argument
2626 getOffsetForAdvance(CharSequence text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float advance) argument
2680 nGetTextAdvances(long paintPtr, long typefacePtr, char[] text, int index, int count, int contextIndex, int contextCount, int bidiFlags, float[] advances, int advancesIndex) argument
2683 nGetTextAdvances(long paintPtr, long typefacePtr, String text, int start, int end, int contextStart, int contextEnd, int bidiFlags, float[] advances, int advancesIndex) argument
2687 nGetTextRunCursor(long paintPtr, char[] text, int contextStart, int contextLength, int dir, int offset, int cursorOpt) argument
2689 nGetTextRunCursor(long paintPtr, String text, int contextStart, int contextEnd, int dir, int offset, int cursorOpt) argument
2692 nGetTextPath(long paintPtr, long typefacePtr, int bidiFlags, char[] text, int index, int count, float x, float y, long path) argument
2694 nGetTextPath(long paintPtr, long typefacePtr, int bidiFlags, String text, int start, int end, float x, float y, long path) argument
2696 nGetStringBounds(long nativePaint, long typefacePtr, String text, int start, int end, int bidiFlags, Rect bounds) argument
2698 nGetCharArrayBounds(long nativePaint, long typefacePtr, char[] text, int index, int count, int bidiFlags, Rect bounds) argument
2715 nGetRunAdvance(long paintPtr, long typefacePtr, char[] text, int start, int end, int contextStart, int contextEnd, boolean isRtl, int offset) argument
2718 nGetOffsetForAdvance(long paintPtr, long typefacePtr, char[] text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float advance) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewActivityMouseTest.java104 final String text = "abc def ghi.";
106 onView(withId(R.id.textview)).perform(typeTextIntoFocusedView(text));
111 mouseClickOnTextAtIndex(text.indexOf("d"), MotionEvent.BUTTON_SECONDARY));
123 mouseDragOnText(text.indexOf("c"), text.indexOf("h")));
125 mouseClickOnTextAtIndex(text.indexOf("d"), MotionEvent.BUTTON_SECONDARY));
138 mouseClickOnTextAtIndex(text.indexOf("i"), MotionEvent.BUTTON_SECONDARY));
148 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(text.indexOf("i")));
155 final String text = "abc def ghi.";
157 onView(withId(R.id.textview)).perform(typeTextIntoFocusedView(text));
[all...]
H A DSuggestionsPopupWindowTest.java46 import android.text.Selection;
47 import android.text.Spannable;
48 import android.text.Spanned;
49 import android.text.TextPaint;
50 import android.text.style.SuggestionSpan;
51 import android.text.style.TextAppearanceSpan;
77 final Spannable text = (Spannable) textView.getText();
78 text.setSpan(span, start, end, Spanned.SPAN_INCLUSIVE_INCLUSIVE);
79 Selection.setSelection(text, (start + end) / 2);
86 final String text
[all...]
/frameworks/base/core/java/android/text/style/
H A DIconMarginSpan.java17 package android.text.style;
22 import android.text.Spanned;
23 import android.text.Layout;
43 CharSequence text, int start, int end,
45 int st = ((Spanned) text).getSpanStart(this);
54 public void chooseHeight(CharSequence text, int start, int end, argument
57 if (end == ((Spanned) text).getSpanEnd(this)) {
41 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
H A DSpellCheckSpan.java17 package android.text.style;
20 import android.text.ParcelableSpan;
21 import android.text.TextUtils;
25 * annotate portions of the text that are about to or currently being spell checked. They are
H A DAlignmentSpan.java17 package android.text.style;
20 import android.text.Layout;
21 import android.text.ParcelableSpan;
22 import android.text.TextUtils;
H A DBackgroundColorSpan.java17 package android.text.style;
20 import android.text.ParcelableSpan;
21 import android.text.TextPaint;
22 import android.text.TextUtils;
H A DForegroundColorSpan.java17 package android.text.style;
21 import android.text.ParcelableSpan;
22 import android.text.TextPaint;
23 import android.text.TextUtils;
H A DRelativeSizeSpan.java17 package android.text.style;
20 import android.text.ParcelableSpan;
21 import android.text.TextPaint;
22 import android.text.TextUtils;
H A DReplacementSpan.java17 package android.text.style;
24 import android.text.TextPaint;
31 * text, and the height is not set,
36 * @param text Current text.
42 public abstract int getSize(@NonNull Paint paint, CharSequence text, argument
50 * @param text Current text.
59 public abstract void draw(@NonNull Canvas canvas, CharSequence text, argument
H A DScaleXSpan.java17 package android.text.style;
20 import android.text.ParcelableSpan;
21 import android.text.TextPaint;
22 import android.text.TextUtils;
H A DSuggestionRangeSpan.java17 package android.text.style;
20 import android.text.ParcelableSpan;
21 import android.text.TextPaint;
22 import android.text.TextUtils;
H A DTabStopSpan.java17 package android.text.style;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DListRowHoverCardView.java18 import android.text.TextUtils;
50 * Returns the title text.
57 * Sets the title text.
59 public final void setTitle(CharSequence text) { argument
60 if (!TextUtils.isEmpty(text)) {
61 mTitleView.setText(text);
69 * Returns the description text.
76 * Sets the description text.
78 public final void setDescription(CharSequence text) { argument
79 if (!TextUtils.isEmpty(text)) {
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DSimplePathsActivity.java32 EditText text = new EditText(this);
33 layout.addView(text, new FrameLayout.LayoutParams(600, 350, Gravity.CENTER));
34 text.setText("This is an example of an EditText widget \n" +
36 //text.setSelection(0, text.getText().length());
/frameworks/ex/common/java/com/android/common/
H A DRfc822InputFilter.java19 import android.text.InputFilter;
20 import android.text.Spanned;
21 import android.text.SpannableStringBuilder;
/frameworks/base/core/java/android/text/
H A DParcelableSpan.java17 package android.text;
23 * A special kind of Parcelable for objects that will serve as text spans.
H A DTextWatcher.java17 package android.text;
21 * be called when the text is changed.
27 * are about to be replaced by new text with length <code>after</code>.
36 * have just replaced old text that had length <code>before</code>.
44 * <code>s</code>, the text has been changed.
/frameworks/base/core/java/android/widget/
H A DTextSwitcher.java30 * {@link #setText(CharSequence)} is called, TextSwitcher animates the current text
31 * out and animates the new text in.
71 * Sets the text of the next view and switches to the next view. This can
72 * be used to animate the old text out and animate the next text in.
74 * @param text the new text to display
76 public void setText(CharSequence text) { argument
78 t.setText(text);
83 * Sets the text o
88 setCurrentText(CharSequence text) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardIndicationTextView.java20 import android.text.TextUtils;
48 * Changes the text with an animation and makes sure a single indication is shown long enough.
50 * @param text The text to show.
52 public void switchIndication(CharSequence text) { argument
55 if (TextUtils.isEmpty(text)) {
59 setText(text);
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DConfirmationActivity.java9 public static final String EXTRA_TEXT = "text";
16 ((TextView)findViewById(R.id.text)).setText(getTextExtra(EXTRA_TEXT, "text"));
25 final String text = getIntent().getStringExtra(extra);
26 if (text == null) {
29 return text;
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
H A DCompilationResult.java37 public boolean resultContainsText(String text) { argument
38 return resultCode == 0 && output.indexOf(text) > 0;
41 public boolean errorContainsText(String text) { argument
42 return resultCode != 0 && error.indexOf(text) > 0;
/frameworks/support/v4/donut/android/support/v4/os/
H A DBuildCompat.java21 import android.text.TextUtils;
/frameworks/support/v4/ics/android/support/v4/view/
H A DPagerTitleStripIcs.java20 import android.text.method.SingleLineTransformationMethod;
27 public static void setSingleLineAllCaps(TextView text) { argument
28 text.setTransformationMethod(new SingleLineAllCapsTransform(text.getContext()));
/frameworks/support/v4/jellybean/android/support/v4/app/
H A DShareCompatJB.java19 import android.text.Html;

Completed in 4998 milliseconds

1234567891011>>