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

1234567891011>>

/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestView.java24 import android.text.TextPaint;
145 private int testString(Canvas canvas, String text, int x, int y, argument
162 canvas.drawText(text, x, y, paint);
164 int length = text.length();
166 float textWidthHB = paint.getTextRunAdvances(text, 0, length, 0, length, dir, advances, 0);
168 float textWidthICU = paint.getTextRunAdvances(text, 0, length, 0, length, dir, advances, 0,
171 logAdvances(text, textWidthHB, textWidthICU, advances);
205 private void logAdvances(String text, float textWidth, float textWidthICU, float[] advances) { argument
206 Log.v(TAG, "Advances for text: " + text
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTextFadeActivity.java24 import android.text.TextUtils;
/frameworks/compile/libbcc/runtime/lib/i386/
H A Dashrdi3.S11 .text
47 .text
H A Dfloatdidf.S19 .text
H A Dfloatundidf.S31 .text
H A Dfloatundixf.S21 .text
/frameworks/compile/libbcc/runtime/lib/x86_64/
H A Dfloatundidf.S31 .text
/frameworks/compile/linkloader/include/
H A DELFObject.h124 ELFSectionProgBitsTy *text);
129 ELFSectionProgBitsTy *text);
134 ELFSectionProgBitsTy *text);
139 ELFSectionProgBitsTy *text);
/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/app/
H A DShareCompat.java29 import android.text.Html;
30 import android.text.Spanned;
82 String escapeHtml(CharSequence text); argument
90 public String escapeHtml(CharSequence text) { argument
92 withinStyle(out, text, 0, text.length());
96 private static void withinStyle(StringBuilder out, CharSequence text, argument
99 char c = text.charAt(i);
110 while (i + 1 < end && text.charAt(i + 1) == ' ') {
423 * Set the literal text dat
430 setText(CharSequence text) argument
[all...]
H A DFragmentTransaction.java229 public abstract FragmentTransaction setBreadCrumbTitle(CharSequence text); argument
244 public abstract FragmentTransaction setBreadCrumbShortTitle(CharSequence text); argument
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/
H A DStringLogger.java18 package android.filterpacks.text;
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java154 * {@link #text} is the view revealed as the user slides the tab out.
176 private final TextView text; field in class:SlidingTab.Slider
199 text = new TextView(parent.getContext());
200 text.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,
202 text.setBackgroundResource(barId);
203 text.setTextAppearance(parent.getContext(), R.style.TextAppearance_SlidingTabNormal);
204 // hint.setSingleLine(); // Hmm.. this causes the text to disappear off-screen
216 parent.addView(text);
228 text.setBackgroundResource(barId);
232 text
[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;
301 public void initialize(TextView widget, Spannable text) { argument
302 Selection.setSelection(text, 0);
306 public void onTakeFocus(TextView view, Spannable text, int dir) { argument
310 Selection.setSelection(text, text.length());
313 Selection.setSelection(text, tex
[all...]
/frameworks/base/core/tests/coretests/src/android/text/
H A DHtmlTest.java17 package android.text;
23 import android.text.style.ForegroundColorSpan;
24 import android.text.style.QuoteSpan;
25 import android.text.style.StrikethroughSpan;
26 import android.text.style.StyleSpan;
27 import android.text.style.SubscriptSpan;
28 import android.text.style.SuperscriptSpan;
29 import android.text.style.TextAppearanceSpan;
30 import android.text.style.TypefaceSpan;
31 import android.text
[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/app/
H A DFragmentTransaction.java215 public abstract FragmentTransaction setBreadCrumbTitle(CharSequence text); argument
230 public abstract FragmentTransaction setBreadCrumbShortTitle(CharSequence text); argument
/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
81 * Class for normal text. This class supports the following flags (only
118 * text that should have auto-correction applied to it.
123 * Flag for {@link #TYPE_CLASS_TEXT}: the text editor is performing
124 * 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;
206 // Use original text
[all...]
/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/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/telephony/src/java/com/android/internal/telephony/cat/
H A DValueParser.java120 String text = IccUtils.adnStringFieldToString(rawValue,
122 item = new Item(id, text);
207 * Retrieves text attribute information from the Text Attribute
296 * Retrieves text from the Text COMPREHENSION-TLV object, and decodes it
307 String text = null;
310 // In case the text length is 0, return a null string.
312 return text;
322 text = GsmAlphabet.gsm7BitPackedToString(rawValue,
325 text = GsmAlphabet.gsm8BitUnpackedToString(rawValue,
328 text
[all...]
/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/media/tests/EffectsTest/src/com/android/effectstest/
H A DEffectParameter.java47 String text = Integer.toString(value)+" "+mUnit;
48 mValueText.setText(text);
/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 392 milliseconds

1234567891011>>