Searched refs:text (Results 176 - 200 of 1044) sorted by relevance

1234567891011>>

/frameworks/base/core/java/com/android/internal/widget/
H A DAccountItemView.java21 import android.text.TextUtils;
94 private void setText(TextView view, String text) { argument
95 if (TextUtils.isEmpty(text)) {
98 view.setText(text);
H A DSlidingTab.java160 * {@link #text} is the view revealed as the user slides the tab out.
182 private final TextView text; field in class:SlidingTab.Slider
205 text = new TextView(parent.getContext());
206 text.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,
208 text.setBackgroundResource(barId);
209 text.setTextAppearance(parent.getContext(), R.style.TextAppearance_SlidingTabNormal);
210 // hint.setSingleLine(); // Hmm.. this causes the text to disappear off-screen
222 parent.addView(text);
234 text.setBackgroundResource(barId);
238 text
[all...]
/frameworks/base/core/tests/coretests/src/android/text/format/
H A DDateFormatTest.java17 package android.text.format;
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DFastXmlSerializerTest.java39 out.text("");
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/
H A DStringLogger.java18 package android.filterpacks.text;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTextFadeActivity.java24 import android.text.TextUtils;
/frameworks/compile/mclinker/lib/LD/
H A DBranchIslandFactory.cpp43 /* FIXME: Currently only support relaxing .text section! */
44 LDSection* text = pModule.getSection(".text"); local
45 if (text != NULL && text->hasSectionData()) {
46 SectionData& sd = *text->getSectionData();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhoneFactory.java25 import java.text.ParseException;
/frameworks/support/v4/java/android/support/v4/text/
H A DTextUtilsCompat.java17 package android.support.v4.text;
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java35 import android.text.GraphicsOperations;
36 import android.text.SpannableString;
37 import android.text.SpannedString;
38 import android.text.TextUtils;
873 public void drawText(char[] text, int index, int count, float x, float y, Paint paint) { argument
874 if ((index | count | (index + count) | (text.length - index - count)) < 0) {
878 nDrawText(mRenderer, text, index, count, x, y,
882 private static native void nDrawText(long renderer, char[] text, int index, int count, argument
886 public void drawText(CharSequence text, int start, int end, float x, float y, Paint paint) { argument
887 if ((start | end | (end - start) | (text
906 drawText(String text, int start, int end, float x, float y, Paint paint) argument
915 nDrawText(long renderer, String text, int start, int end, float x, float y, int bidiFlags, long paint, long typeface) argument
919 drawText(String text, float x, float y, Paint paint) argument
925 drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, float vOffset, Paint paint) argument
935 nDrawTextOnPath(long renderer, char[] text, int index, int count, long path, float hOffset, float vOffset, int bidiFlags, long nativePaint, long typeface) argument
940 drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint) argument
947 nDrawTextOnPath(long renderer, String text, int start, int end, long path, float hOffset, float vOffset, int bidiFlags, long nativePaint, long typeface) argument
952 drawTextRun(char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, boolean isRtl, Paint paint) argument
962 nDrawTextRun(long renderer, char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, boolean isRtl, long nativePaint, long nativeTypeface) argument
966 drawTextRun(CharSequence text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, Paint paint) argument
990 nDrawTextRun(long renderer, String text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, long nativePaint, long nativeTypeface) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java27 import android.text.TextUtils;
599 /*package*/ static float native_measureText(Paint thisPaint, char[] text, int index, argument
607 RectF bounds = delegate.measureText(text, index, count, null, 0, bidiFlags);
612 /*package*/ static float native_measureText(Paint thisPaint, String text, int start, int end, argument
614 return native_measureText(thisPaint, text.toCharArray(), start, end - start, bidiFlags);
618 /*package*/ static float native_measureText(Paint thisPaint, String text, int bidiFlags) { argument
619 return native_measureText(thisPaint, text.toCharArray(), 0, text.length(), bidiFlags);
623 /*package*/ static int native_breakText(long nativePaint, long nativeTypeface, char[] text, argument
646 RectF bounds = delegate.measureText(text, star
665 native_breakText(long nativePaint, long nativeTypeface, String text, boolean measureForwards, float maxWidth, int bidiFlags, float[] measuredWidth) argument
954 native_getTextWidths(long native_object, long native_typeface, char[] text, int index, int count, int bidiFlags, float[] widths) argument
978 native_getTextWidths(long native_object, long native_typeface, String text, int start, int end, int bidiFlags, float[] widths) argument
985 native_getTextGlyphs(long native_object, String text, int start, int end, int contextStart, int contextEnd, int flags, char[] glyphs) argument
992 native_getTextRunAdvances(long native_object, long native_typeface, char[] text, int index, int count, int contextIndex, int contextCount, boolean isRtl, float[] advances, int advancesIndex) argument
1015 native_getTextRunAdvances(long native_object, long native_typeface, String text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex) argument
1028 native_getTextRunCursor(Paint thisPaint, long native_object, char[] text, int contextStart, int contextLength, int flags, int offset, int cursorOpt) argument
1037 native_getTextRunCursor(Paint thisPaint, long native_object, String text, int contextStart, int contextEnd, int flags, int offset, int cursorOpt) argument
1046 native_getTextPath(long native_object, long native_typeface, int bidiFlags, char[] text, int index, int count, float x, float y, long path) argument
1054 native_getTextPath(long native_object, long native_typeface, int bidiFlags, String text, int start, int end, float x, float y, long path) argument
1062 nativeGetStringBounds(long nativePaint, long native_typeface, String text, int start, int end, int bidiFlags, Rect bounds) argument
1069 nativeGetCharArrayBounds(long nativePaint, long native_typeface, char[] text, int index, int count, int bidiFlags, Rect bounds) argument
1199 measureText(char[] text, int index, int count, float[] advances, int advancesIndex, int bidiFlags) argument
1205 measureText(char[] text, int index, int count, float[] advances, int advancesIndex, boolean isRtl) argument
[all...]
/frameworks/base/core/java/android/text/method/
H A DArrowKeyMovementMethod.java17 package android.text.method;
20 import android.text.Layout;
21 import android.text.Selection;
22 import android.text.Spannable;
260 // Cursor can be active at any location in the text while mouse pointer can start
262 // text selection will start from mouse pointer location.
317 public void initialize(TextView widget, Spannable text) { argument
318 Selection.setSelection(text, 0);
322 public void onTakeFocus(TextView view, Spannable text, int dir) { argument
326 Selection.setSelection(text, tex
[all...]
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextSRTSource.h54 // The offset of the text in the original file.
69 AString *text, int64_t *startTimeUs, int64_t *endTimeUs);
71 int64_t timeUs, const AString &text, Parcel *parcel);
/frameworks/base/core/java/android/text/
H A DInputType.java17 package android.text;
19 import android.text.TextUtils;
22 * Bit definitions for an integer defining the basic content type of text
46 * of text being given. Currently supported classes are:
70 * is not rich, it can not process and show things like candidate text nor
71 * retrieve the current text, so the input method will need to run in a
84 * Class for normal text. This class supports the following flags (only
127 * text that should have auto-correction applied to it. Without this flag,
140 * Flag for {@link #TYPE_CLASS_TEXT}: the text editor (which means
141 * the application) is performing auto-completion of the text bein
[all...]
H A DMeasuredText.java17 package android.text;
21 import android.text.style.MetricAffectingSpan;
22 import android.text.style.ReplacementSpan;
90 * Analyzes text for bidirectional runs. Allocates working buffers.
92 void setPara(CharSequence text, int start, int end, TextDirectionHeuristic textDir) { argument
93 mText = text;
106 TextUtils.getChars(text, start, end, mChars, 0);
108 if (text instanceof Spanned) {
109 Spanned spanned = (Spanned) text;
205 // Use original text
[all...]
/frameworks/base/core/java/android/widget/
H A DSpellChecker.java20 import android.text.Editable;
21 import android.text.Selection;
22 import android.text.Spanned;
23 import android.text.TextUtils;
24 import android.text.method.WordIterator;
25 import android.text.style.SpellCheckSpan;
26 import android.text.style.SuggestionSpan;
39 import java.text.BreakIterator;
85 // Parsers on chunk of text, cutting text int
[all...]
H A DChronometer.java24 import android.text.format.DateUtils;
231 String text = DateUtils.formatElapsedTime(mRecycle, seconds);
240 mFormatterArgs[0] = text;
243 text = mFormatBuilder.toString();
251 setText(text);
/frameworks/base/core/tests/coretests/src/android/text/util/
H A DLinkifyTest.java17 package android.text.util;
21 import android.text.method.LinkMovementMethod;
/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewWordLimitsTest.java21 import android.text.InputType;
22 import android.text.Selection;
23 import android.text.Spannable;
24 import android.text.SpannableString;
69 * @param text Text to select a word from
79 private void verifyWordLimits(String text, int pos, int correctStart, int correctEnd) argument
81 mTv.setText(text, TextView.BufferType.SPANNABLE);
91 private void verifySelectCurrentWord(Spannable text, int selectionStart, int selectionEnd, int correctStart, argument
93 mTv.setText(text, TextView.BufferType.SPANNABLE);
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEffectParameter.java47 String text = Integer.toString(value)+" "+mUnit;
48 mValueText.setText(text);
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
H A DCertPinInstallReceiverTest.java217 String text = "blahblah";
218 runTestWithoutSig(TEST_CERT, text, getNextVersion(), getHashOfCurrentContent());
219 assertEquals(text, runTest(TEST_CERT, "bcdef", getNextVersion(), getCurrentHash(text), ""));
230 String text = "blahblahblahblah";
232 runTestWithoutSig(TEST_CERT, text, version, getHashOfCurrentContent());
233 assertEquals(text, runTestWithoutSig(TEST_CERT, "defgh", version, getCurrentHash(text)));
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
H A DVisibleRecipientChip.java83 public void setOriginalText(final String text) { argument
84 mDelegate.setOriginalText(text);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DValueParser.java122 String text = IccUtils.adnStringFieldToString(rawValue,
124 item = new Item(id, text);
209 * Retrieves text attribute information from the Text Attribute
312 * Retrieves text from the Text COMPREHENSION-TLV object, and decodes it
323 String text = null;
326 // In case the text length is 0, return a null string.
328 return text;
338 text = GsmAlphabet.gsm7BitPackedToString(rawValue,
341 text = GsmAlphabet.gsm8BitUnpackedToString(rawValue,
344 text
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DCompatTextView.java23 import android.support.v7.internal.text.AllCapsTransformationMethod;
24 import android.text.method.TransformationMethod;
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTitleStrip.java23 import android.text.TextUtils.TruncateAt;
83 void setSingleLineAllCaps(TextView text); argument
87 public void setSingleLineAllCaps(TextView text) { argument
88 text.setSingleLine();
93 public void setSingleLineAllCaps(TextView text) { argument
94 PagerTitleStripIcs.setSingleLineAllCaps(text);
107 private static void setSingleLineAllCaps(TextView text) { argument
108 IMPL.setSingleLineAllCaps(text);
214 * Set the default text size to a given unit and value.
217 * <p>Example: to set the text siz
[all...]

Completed in 2948 milliseconds

1234567891011>>