Searched refs:text (Results 101 - 125 of 703) sorted by relevance

1234567891011>>

/frameworks/base/tests/BrowserTestPlugin/jni/event/
H A DEventPlugin.h39 void printToDiv(const char* text, int length);
/frameworks/base/tools/localize/
H A DPerforce.cpp104 string text; local
114 err = RunCommand(cmd.str(), &text, printOnFailure);
116 const char* str = text.c_str();
157 string text; local
159 err = RunCommand("p4 changes -m 1 \\#have", &text, printOnFailure);
165 int count = sscanf(text.c_str(), "Change %lld on", &n);
179 string text; local
189 return Perforce::RunCommand(cmd.str(), &text, printOnFailure);
214 string text; local
218 err = RunCommand(cmd, &text, printOnFailur
[all...]
/frameworks/compile/libbcc/runtime/lib/x86_64/
H A Dfloatundixf.S18 .text
46 .text
/frameworks/compile/libbcc/runtime/www/
H A Dmenu.css28 text-align: center;
34 text-align: center;
/frameworks/base/core/java/android/text/method/
H A DNumberKeyListener.java17 package android.text.method;
21 import android.text.Editable;
22 import android.text.InputFilter;
23 import android.text.Selection;
24 import android.text.Spannable;
25 import android.text.SpannableStringBuilder;
26 import android.text.Spanned;
29 * For numeric text entry
H A DMetaKeyKeyListener.java17 package android.text.method;
19 import android.text.Editable;
20 import android.text.NoCopySpan;
21 import android.text.Spannable;
22 import android.text.Spanned;
29 * meta keys such as SHIFT, ALT and SYM as well as the pseudo-meta state of selecting text.
42 * as spans in an {@link Editable} text buffer. The spans only describe the current
43 * meta key state of the text editor; they do not carry any positional information.</li>
52 * of the modifier is stored in the {@link Editable} text buffer or in a
141 public static void resetMetaState(Spannable text) { argument
156 getMetaState(CharSequence text) argument
171 getMetaState(CharSequence text, int meta) argument
190 getActive(CharSequence text, Object meta, int on, int lock) argument
223 isMetaTracker(CharSequence text, Object what) argument
232 isSelectingMetaTracker(CharSequence text, Object what) argument
[all...]
H A DLinkMovementMethod.java17 package android.text.method;
19 import android.text.Layout;
20 import android.text.NoCopySpan;
21 import android.text.Selection;
22 import android.text.Spannable;
23 import android.text.style.ClickableSpan;
30 * A movement method that traverses links in the text buffer and scrolls if necessary.
229 public void initialize(TextView widget, Spannable text) { argument
230 Selection.removeSelection(text);
231 text
235 onTakeFocus(TextView view, Spannable text, int dir) argument
[all...]
H A DBaseMovementMethod.java17 package android.text.method;
19 import android.text.Layout;
20 import android.text.Spannable;
36 public void initialize(TextView widget, Spannable text) { argument
40 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event) { argument
41 final int movementMetaState = getMovementMetaState(text, event);
42 boolean handled = handleMovementKey(widget, text, keyCode, movementMetaState, event);
44 MetaKeyKeyListener.adjustMetaAfterKeypress(text);
45 MetaKeyKeyListener.resetLockedMeta(text);
51 public boolean onKeyOther(TextView widget, Spannable text, KeyEven argument
74 onKeyUp(TextView widget, Spannable text, int keyCode, KeyEvent event) argument
79 onTakeFocus(TextView widget, Spannable text, int direction) argument
83 onTouchEvent(TextView widget, Spannable text, MotionEvent event) argument
88 onTrackballEvent(TextView widget, Spannable text, MotionEvent event) argument
93 onGenericMotionEvent(TextView widget, Spannable text, MotionEvent event) argument
[all...]
/frameworks/base/core/java/android/text/style/
H A DBulletSpan.java17 package android.text.style;
24 import android.text.Layout;
25 import android.text.ParcelableSpan;
26 import android.text.Spanned;
27 import android.text.TextUtils;
82 CharSequence text, int start, int end,
84 if (((Spanned) text).getSpanStart(this) == start) {
80 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout l) argument
/frameworks/base/core/jni/android/graphics/
H A DTextLayout.h66 * Draws a unidirectional run of text.
80 static void drawText(SkPaint* paint, const jchar* text, jsize len,
83 static void getTextPath(SkPaint* paint, const jchar* text, jsize len,
86 static void drawTextOnPath(SkPaint* paint, const jchar* text, jsize len,
90 static bool prepareText(SkPaint* paint, const jchar* text, jsize len, jint bidiFlags,
98 static bool needsLayout(const jchar* text, jint len, jint bidiFlags);
101 static jint layoutLine(const jchar* text, jint len, jint flags, int &dir, jchar* buffer,
103 static void handleText(SkPaint* paint, const jchar* text, jsize len,
H A DPaint.cpp337 static jfloat measureText_CII(JNIEnv* env, jobject jpaint, jcharArray text, int index, int count) { argument
339 NPE_CHECK_RETURN_ZERO(env, text);
341 size_t textLength = env->GetArrayLength(text);
351 const jchar* textArray = env->GetCharArrayElements(text, NULL);
361 env->ReleaseCharArrayElements(text, const_cast<jchar*>(textArray), JNI_ABORT);
365 static jfloat measureText_StringII(JNIEnv* env, jobject jpaint, jstring text, int start, int end) { argument
367 NPE_CHECK_RETURN_ZERO(env, text);
369 size_t textLength = env->GetStringLength(text);
379 const jchar* textArray = env->GetStringChars(text, NULL);
390 env->ReleaseStringChars(text, textArra
394 measureText_String(JNIEnv* env, jobject jpaint, jstring text) argument
417 dotextwidths(JNIEnv* env, SkPaint* paint, const jchar text[], int count, jfloatArray widths) argument
451 getTextWidths___CII_F(JNIEnv* env, jobject clazz, SkPaint* paint, jcharArray text, int index, int count, jfloatArray widths) argument
459 getTextWidths__StringII_F(JNIEnv* env, jobject clazz, SkPaint* paint, jstring text, int start, int end, jfloatArray widths) argument
467 doTextGlyphs(JNIEnv* env, SkPaint* paint, const jchar* text, jint start, jint count, jint contextCount, jint flags, jcharArray glyphs) argument
497 getTextGlyphs__StringIIIII_C(JNIEnv* env, jobject clazz, SkPaint* paint, jstring text, jint start, jint end, jint contextStart, jint contextEnd, jint flags, jcharArray glyphs) argument
507 doTextRunAdvances(JNIEnv *env, SkPaint *paint, const jchar *text, jint start, jint count, jint contextCount, jint flags, jfloatArray advances, jint advancesIndex) argument
539 doTextRunAdvancesICU(JNIEnv *env, SkPaint *paint, const jchar *text, jint start, jint count, jint contextCount, jint flags, jfloatArray advances, jint advancesIndex) argument
572 getTextRunAdvances___CIIIII_FII(JNIEnv* env, jobject clazz, SkPaint* paint, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jint flags, jfloatArray advances, jint advancesIndex, jint reserved) argument
585 getTextRunAdvances__StringIIIII_FII(JNIEnv* env, jobject clazz, SkPaint* paint, jstring text, jint start, jint end, jint contextStart, jint contextEnd, jint flags, jfloatArray advances, jint advancesIndex, jint reserved) argument
598 doTextRunCursor(JNIEnv *env, SkPaint* paint, const jchar *text, jint start, jint count, jint flags, jint offset, jint opt) argument
685 getTextRunCursor___C(JNIEnv* env, jobject clazz, SkPaint* paint, jcharArray text, jint contextStart, jint contextCount, jint flags, jint offset, jint cursorOpt) argument
694 getTextRunCursor__String(JNIEnv* env, jobject clazz, SkPaint* paint, jstring text, jint contextStart, jint contextEnd, jint flags, jint offset, jint cursorOpt) argument
703 getTextPath(JNIEnv* env, SkPaint* paint, const jchar* text, jint count, jint bidiFlags, jfloat x, jfloat y, SkPath *path) argument
708 getTextPath___C(JNIEnv* env, jobject clazz, SkPaint* paint, jint bidiFlags, jcharArray text, int index, int count, jfloat x, jfloat y, SkPath* path) argument
715 getTextPath__String(JNIEnv* env, jobject clazz, SkPaint* paint, jint bidiFlags, jstring text, int start, int end, jfloat x, jfloat y, SkPath* path) argument
738 breakText(JNIEnv* env, const SkPaint& paint, const jchar text[], int count, float maxWidth, jfloatArray jmeasured, SkPaint::TextBufferDirection tbd) argument
776 const jchar* text = env->GetCharArrayElements(jtext, NULL); local
795 const jchar* text = env->GetStringChars(jtext, NULL); local
802 doTextBounds(JNIEnv* env, const jchar* text, int count, jobject bounds, const SkPaint& paint) argument
813 getStringBounds(JNIEnv* env, jobject, const SkPaint* paint, jstring text, int start, int end, jobject bounds) argument
821 getCharArrayBounds(JNIEnv* env, jobject, const SkPaint* paint, jcharArray text, int index, int count, jobject bounds) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DListItemFactory.java151 * @param text The text of the button
155 public static View button(int position, Context context, String text, int desiredHeight) { argument
158 result.setText(text);
172 * @param text The text of the button
176 public static View convertButton(View convertView, String text, int position) { argument
178 ((Button) convertView).setText(text);
187 * Create a text view ready to be a list item.
191 * @param text Th
195 text(int position, Context context, String text, int desiredHeight) argument
216 convertText(View convertView, String text, int position) argument
236 doubleText(int position, Context context, String text, int desiredHeight) argument
279 convertDoubleText(View convertView, String text, int position) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DEditTextPreference.java25 import android.text.TextUtils;
47 * The edit text shown in the dialog.
79 * Saves the text to the {@link SharedPreferences}.
81 * @param text The text to save
83 public void setText(String text) { argument
86 mText = text;
88 persistString(text);
97 * Gets the text from the {@link SharedPreferences}.
187 myState.text
205 String text; field in class:EditTextPreference.SavedState
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DClock.java28 import android.text.Spannable;
29 import android.text.SpannableStringBuilder;
30 import android.text.format.DateFormat;
31 import android.text.style.CharacterStyle;
32 import android.text.style.ForegroundColorSpan;
33 import android.text.style.RelativeSizeSpan;
34 import android.text.style.RelativeSizeSpan;
35 import android.text.style.StyleSpan;
40 import java.text.SimpleDateFormat;
/frameworks/base/core/java/android/text/
H A DTextUtils.java17 package android.text;
22 import android.text.style.AbsoluteSizeSpan;
23 import android.text.style.AlignmentSpan;
24 import android.text.style.BackgroundColorSpan;
25 import android.text.style.BulletSpan;
26 import android.text.style.CharacterStyle;
27 import android.text.style.EasyEditSpan;
28 import android.text.style.ForegroundColorSpan;
29 import android.text.style.LeadingMarginSpan;
30 import android.text
322 split(String text, String expression) argument
339 split(String text, Pattern pattern) argument
886 getOffsetBefore(CharSequence text, int offset) argument
921 getOffsetAfter(CharSequence text, int offset) argument
1022 ellipsize(CharSequence text, TextPaint p, float avail, TruncateAt where) argument
1040 ellipsize(CharSequence text, TextPaint paint, float avail, TruncateAt where, boolean preserveLength, EllipsizeCallback callback) argument
1063 ellipsize(CharSequence text, TextPaint paint, float avail, TruncateAt where, boolean preserveLength, EllipsizeCallback callback, TextDirectionHeuristic textDir, String ellipsis) argument
1160 commaEllipsize(CharSequence text, TextPaint p, float avail, String oneMore, String more) argument
1171 commaEllipsize(CharSequence text, TextPaint p, float avail, String oneMore, String more, TextDirectionHeuristic textDir) argument
1236 setPara(MeasuredText mt, TextPaint paint, CharSequence text, int start, int end, TextDirectionHeuristic textDir) argument
1275 doesNotNeedBidi(char[] text, int start, int len) argument
1348 concat(CharSequence... text) argument
[all...]
H A DSpannedString.java17 package android.text;
21 * This is the class for text whose content and markup are immutable.
22 * For mutable markup, see {@link SpannableString}; for mutable text,
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java19 import android.text.GraphicsOperations;
20 import android.text.SpannableString;
21 import android.text.SpannedString;
22 import android.text.TextUtils;
30 * Path, text, Bitmap), and a paint (to describe the colors and styles for the
1340 * Draw the text, with origin at (x,y), using the specified paint. The
1343 * @param text The text to be drawn
1344 * @param x The x-coordinate of the origin of the text being drawn
1345 * @param y The y-coordinate of the origin of the text bein
1348 drawText(char[] text, int index, int count, float x, float y, Paint paint) argument
1367 drawText(String text, float x, float y, Paint paint) argument
1383 drawText(String text, int start, int end, float x, float y, Paint paint) argument
1405 drawText(CharSequence text, int start, int end, float x, float y, Paint paint) argument
1444 drawTextRun(char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, int dir, Paint paint) argument
1482 drawTextRun(CharSequence text, int start, int end, int contextStart, int contextEnd, float x, float y, int dir, Paint paint) argument
1527 drawPosText(char[] text, int index, int count, float[] pos, Paint paint) argument
1544 drawPosText(String text, float[] pos, Paint paint) argument
1564 drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, float vOffset, Paint paint) argument
1587 drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint) argument
1745 native_drawText(int nativeCanvas, char[] text, int index, int count, float x, float y, int flags, int paint) argument
1748 native_drawText(int nativeCanvas, String text, int start, int end, float x, float y, int flags, int paint) argument
1752 native_drawTextRun(int nativeCanvas, String text, int start, int end, int contextStart, int contextEnd, float x, float y, int flags, int paint) argument
1756 native_drawTextRun(int nativeCanvas, char[] text, int start, int count, int contextStart, int contextCount, float x, float y, int flags, int paint) argument
1760 native_drawPosText(int nativeCanvas, char[] text, int index, int count, float[] pos, int paint) argument
1764 native_drawPosText(int nativeCanvas, String text, float[] pos, int paint) argument
1767 native_drawTextOnPath(int nativeCanvas, char[] text, int index, int count, int path, float hOffset, float vOffset, int bidiFlags, int paint) argument
1773 native_drawTextOnPath(int nativeCanvas, String text, int path, float hOffset, float vOffset, int flags, int paint) argument
[all...]
/frameworks/base/core/java/android/text/format/
H A DDateFormat.java17 package android.text.format;
21 import android.text.SpannableStringBuilder;
22 import android.text.Spanned;
23 import android.text.SpannedString;
32 import java.text.SimpleDateFormat;
82 the output text then use two in a row.
216 java.text.DateFormat natural =
217 java.text.DateFormat.getTimeInstance(
218 java.text.DateFormat.LONG, locale);
244 * Returns a {@link java.text
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DSynthesisRequest.java23 * <li>The text to synthesize</li>
32 * Any additional parameters sent to the text to speech service are passed in
45 public SynthesisRequest(String text, Bundle params) { argument
46 mText = text;
52 * Gets the text which should be synthesized.
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
H A DTestAppWidgetConfigure.java44 String text = ((EditText)findViewById(R.id.edit_text)).getText().toString();
45 Log.d(TAG, "text is '" + text + '\'');
48 prefs.putString(TestAppWidgetProvider.PREF_PREFIX_KEY, text);
/frameworks/compile/libbcc/runtime/lib/arm/
H A Dswitch16.S25 .text
H A Dswitch32.S25 .text
/frameworks/compile/libbcc/runtime/lib/i386/
H A Dmuldi3.S10 .text
/frameworks/base/core/java/android/app/
H A DAlertDialog.java54 * without text editors, so that it will be placed on top of the current
217 * @param text The text to display in positive button.
220 public void setButton(int whichButton, CharSequence text, Message msg) { argument
221 mAlert.setButton(whichButton, text, null, msg);
231 * @param text The text to display in positive button.
234 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { argument
235 mAlert.setButton(whichButton, text, listener, null);
243 public void setButton(CharSequence text, Messag argument
252 setButton2(CharSequence text, Message msg) argument
261 setButton3(CharSequence text, Message msg) argument
275 setButton(CharSequence text, final OnClickListener listener) argument
288 setButton2(CharSequence text, final OnClickListener listener) argument
301 setButton3(CharSequence text, final OnClickListener listener) argument
499 setPositiveButton(CharSequence text, final OnClickListener listener) argument
525 setNegativeButton(CharSequence text, final OnClickListener listener) argument
551 setNeutralButton(CharSequence text, final OnClickListener listener) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditText.java27 * extracted text in a full-screen input method.
68 * Implement just to keep track of when we are setting text from the
71 @Override public void setExtractedText(ExtractedText text) { argument
74 super.setExtractedText(text);
81 * Report to the underlying text editor about selection changes.
117 * Return true if the edit text is currently showing a scroll bar.
176 protected void replaceText_internal(int start, int end, CharSequence text) { argument
179 mIME.onExtractedReplaceText(start, end, text);

Completed in 371 milliseconds

1234567891011>>