Searched refs:text (Results 151 - 175 of 703) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/notificationtests/src/android/app/
H A DNotificationStressTest.java79 private void sendNotification(int id, CharSequence text) { argument
81 Notification notification = new Notification(ICONS[mRandom.nextInt(ICONS.length)], text,
86 CharSequence title = text + " " + id;
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestBasic.java22 import android.text.Editable;
23 import android.text.Spannable;
24 import android.text.style.ForegroundColorSpan;
H A DBiDiTestView.java24 import android.text.TextPaint;
139 private int testString(Canvas canvas, String text, int x, int y, argument
156 canvas.drawText(text, x, y, paint);
158 int length = text.length();
160 float textWidthHB = paint.getTextRunAdvances(text, 0, length, 0, length, dir, advances, 0);
162 float textWidthICU = paint.getTextRunAdvances(text, 0, length, 0, length, dir, advances, 0,
165 logAdvances(text, textWidthHB, textWidthICU, advances);
199 private void logAdvances(String text, float textWidth, float textWidthICU, float[] advances) { argument
200 Log.v(TAG, "Advances for text: " + text
[all...]
/frameworks/base/tools/localize/
H A DValuesFile.cpp33 virtual int OnText(const SourcePos& pos, const string& text);
34 virtual int OnComment(const SourcePos& pos, const string& text);
75 ArrayHandler::OnText(const SourcePos& pos, const string& text) argument
81 ArrayHandler::OnComment(const SourcePos& pos, const string& text) argument
83 m_comment += text;
95 virtual int OnText(const SourcePos& pos, const string& text);
96 virtual int OnComment(const SourcePos& pos, const string& text);
133 ValuesHandler::OnText(const SourcePos& pos, const string& text) argument
139 ValuesHandler::OnComment(const SourcePos& pos, const string& text) argument
141 m_comment += text;
170 ParseString(const string& filename, const string& text, const Configuration& config, int version, const string& versionString) argument
[all...]
H A Dfile_utils.h19 int write_to_file(const string& filename, const string& text);
/frameworks/base/core/java/android/content/
H A DClipData.java24 import android.text.TextUtils;
50 * CharSequence of text, a single Intent object, or a Uri. See {@link Item}
65 * it contains is simple text or an Intent, there is little to be done: text
66 * can only be interpreted as text, and an Intent will typically be used for
87 * coerces the clip into text and uses that as the new note's contents.
101 * itself uses this to try to retrieve a URI clip as a stream of text:
110 * is to contain a simple text, Intent, or URI, this is easy: an {@link Item}
129 * text) into a stream of plain text dat
185 Item(CharSequence text) argument
213 Item(CharSequence text, Intent intent, Uri uri) argument
365 newPlainText(CharSequence label, CharSequence text) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DITextToSpeechService.aidl35 * @param text The text to synthesize.
39 int speak(in String callingApp, in String text, in int queueMode, in Bundle params);
46 * @param text The text to synthesize.
50 int synthesizeToFile(in String callingApp, in String text,
/frameworks/base/core/java/android/text/
H A DAnnotation.java17 package android.text;
24 * data that needs to be maintained for regions of text.
H A DSpannableString.java17 package android.text;
21 * This is the class for text whose content is immutable but to which
23 * For mutable text, see {@link SpannableStringBuilder}.
H A DTextPaint.java17 package android.text;
23 * data used during text measuring and drawing.
/frameworks/base/core/java/android/text/method/
H A DDigitsKeyListener.java17 package android.text.method;
19 import android.text.InputType;
20 import android.text.Spanned;
21 import android.text.SpannableStringBuilder;
26 * For digits-only text entry
144 * Find out if the existing text has '-' or '.' characters.
H A DWordIterator.java18 package android.text.method;
20 import android.text.Selection;
21 import android.text.SpannableStringBuilder;
23 import java.text.BreakIterator;
52 * @param locale The locale to be used when analysing the text.
H A DArrowKeyMovementMethod.java17 package android.text.method;
20 import android.text.Layout;
21 import android.text.Selection;
22 import android.text.Spannable;
303 public void initialize(TextView widget, Spannable text) { argument
304 Selection.setSelection(text, 0);
308 public void onTakeFocus(TextView view, Spannable text, int dir) { argument
312 Selection.setSelection(text, text.length());
315 Selection.setSelection(text, tex
[all...]
/frameworks/base/core/java/android/widget/
H A DSimpleAdapter.java161 String text = data == null ? "" : data.toString();
162 if (text == null) {
163 text = "";
168 bound = binder.setViewValue(v, data, text);
178 setViewText((TextView) v, text);
187 setViewText((TextView) v, text);
192 setViewImage((ImageView) v, text);
269 * Called by bindView() to set the text for a TextView but only if
273 * @param v TextView to receive text
274 * @param text th
276 setViewText(TextView v, String text) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DIInputContext.aidl44 void setComposingText(CharSequence text, int newCursorPosition);
48 void commitText(CharSequence text, int newCursorPosition);
/frameworks/base/libs/hwui/
H A DTextDropShadowCache.cpp83 void TextDropShadowCache::operator()(ShadowText& text, ShadowTexture*& texture) { argument
104 ShadowTexture* TextDropShadowCache::get(SkPaint* paint, const char* text, uint32_t len, argument
106 ShadowText entry(paint, radius, len, text);
110 FontRenderer::DropShadow shadow = mRenderer->renderDropShadow(paint, text, 0,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DHoloClock.java29 import android.text.Spannable;
30 import android.text.SpannableStringBuilder;
31 import android.text.format.DateFormat;
32 import android.text.style.CharacterStyle;
33 import android.text.style.ForegroundColorSpan;
34 import android.text.style.RelativeSizeSpan;
35 import android.text.style.RelativeSizeSpan;
36 import android.text.style.StyleSpan;
43 import java.text.SimpleDateFormat;
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
H A DSipPhoneFactory.java25 import java.text.ParseException;
/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.h118 ELFSectionProgBitsTy *text);
123 ELFSectionProgBitsTy *text);
128 ELFSectionProgBitsTy *text);
133 ELFSectionProgBitsTy *text);
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java152 * {@link #text} is the view revealed as the user slides the tab out.
174 private final TextView text; field in class:SlidingTab.Slider
197 text = new TextView(parent.getContext());
198 text.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,
200 text.setBackgroundResource(barId);
201 text.setTextAppearance(parent.getContext(), R.style.TextAppearance_SlidingTabNormal);
202 // hint.setSingleLine(); // Hmm.. this causes the text to disappear off-screen
214 parent.addView(text);
226 text.setBackgroundResource(barId);
230 text
[all...]

Completed in 314 milliseconds

1234567891011>>