/frameworks/base/core/java/android/text/ |
H A D | BoringLayout.java | 17 package android.text; 22 import android.text.style.ParagraphStyle; 26 * A BoringLayout is a very simple Layout implementation for text that 30 * the text meets the criteria. 31 * <p>This class is used by widgets to control text layout. You should not need 61 * Returns a BoringLayout for the specified text, potentially reusing 83 * Returns a BoringLayout for the specified text, potentially reusing 205 * full text, not the ellipsized form. 223 public static Metrics isBoring(CharSequence text, argument 225 return isBoring(text, pain 232 isBoring(CharSequence text, TextPaint paint, TextDirectionHeuristic textDir) argument 243 isBoring(CharSequence text, TextPaint paint, Metrics metrics) argument 253 isBoring(CharSequence text, TextPaint paint, TextDirectionHeuristic textDir, Metrics metrics) argument [all...] |
H A D | Annotation.java | 17 package android.text; 24 * data that needs to be maintained for regions of text.
|
H A D | SpannableString.java | 17 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 D | TextPaint.java | 17 package android.text; 23 * data used during text measuring and drawing.
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 22 import android.text.GraphicsOperations; 23 import android.text.SpannableString; 24 import android.text.SpannedString; 25 import android.text.TextUtils; 36 * Path, text, Bitmap), and a paint (to describe the colors and styles for the 1637 * Draw the text, with origin at (x,y), using the specified paint. The 1640 * @param text The text to be drawn 1641 * @param x The x-coordinate of the origin of the text being drawn 1642 * @param y The y-coordinate of the origin of the text bein 1645 drawText(@onNull char[] text, int index, int count, float x, float y, @NonNull Paint paint) argument 1664 drawText(@onNull String text, float x, float y, @NonNull Paint paint) argument 1680 drawText(@onNull String text, int start, int end, float x, float y, @NonNull Paint paint) argument 1702 drawText(@onNull CharSequence text, int start, int end, float x, float y, @NonNull Paint paint) argument 1743 drawTextRun(@onNull char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, boolean isRtl, @NonNull Paint paint) argument 1777 drawTextRun(@onNull CharSequence text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) argument 1824 drawPosText(@onNull char[] text, int index, int count, @NonNull float[] pos, @NonNull Paint paint) argument 1847 drawPosText(@onNull String text, @NonNull float[] pos, @NonNull Paint paint) argument 1864 drawTextOnPath(@onNull char[] text, int index, int count, @NonNull Path path, float hOffset, float vOffset, @NonNull Paint paint) argument 1887 drawTextOnPath(@onNull String text, @NonNull Path path, float hOffset, float vOffset, @NonNull Paint paint) argument 2080 native_drawText(long nativeCanvas, char[] text, int index, int count, float x, float y, int flags, long nativePaint, long nativeTypeface) argument 2084 native_drawText(long nativeCanvas, String text, int start, int end, float x, float y, int flags, long nativePaint, long nativeTypeface) argument 2089 native_drawTextRun(long nativeCanvas, String text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, long nativePaint, long nativeTypeface) argument 2093 native_drawTextRun(long nativeCanvas, char[] text, int start, int count, int contextStart, int contextCount, float x, float y, boolean isRtl, long nativePaint, long nativeTypeface) argument 2097 native_drawTextOnPath(long nativeCanvas, char[] text, int index, int count, long nativePath, float hOffset, float vOffset, int bidiFlags, long nativePaint, long nativeTypeface) argument 2103 native_drawTextOnPath(long nativeCanvas, String text, long nativePath, float hOffset, float vOffset, int flags, long nativePaint, long nativeTypeface) argument [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | DateFormat.java | 17 package android.text.format; 22 import android.text.SpannableStringBuilder; 23 import android.text.Spanned; 24 import android.text.SpannedString; 33 import java.text.SimpleDateFormat; 44 * appropriately-localized {@link java.text.DateFormat} instances, suitable 46 * of format strings, see {@link java.text.SimpleDateFormat}. 58 * <p>See {@link java.text.SimpleDateFormat} for more documentation 194 java.text.DateFormat natural = 195 java.text [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 50 import android.text.Editable; 51 import android.text.InputType; 52 import android.text.Layout; 53 import android.text.Spannable; 54 import android.text.SpannableString; 55 import android.text.SpannableStringBuilder; 56 import android.text.Spanned; 57 import android.text.TextPaint; 58 import android.text.TextUtils; 59 import android.text 434 append(CharSequence text, int start, int end) argument 589 ellipsizeText(CharSequence text, TextPaint paint, float maxWidth) argument 1251 isValid(String text) argument 1281 replaceText(CharSequence text) argument 1551 performFiltering(CharSequence text, int keyCode) argument 1572 isCompletedToken(CharSequence text) argument 1764 findText(Editable text, int offset) argument 2019 countTokens(Editable text) argument [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | BaseKeyListener.java | 17 package android.text.method; 21 import android.text.*; 22 import android.text.method.TextKeyListener.Capitalize; 28 * Provides a basic foundation for entering and editing text. 174 * the event's text into the content. 191 CharSequence text = event.getCharacters(); 192 if (text == null) { 196 content.replace(selectionStart, selectionEnd, text);
|
H A D | DigitsKeyListener.java | 17 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 157 * Find out if the existing text has a sign or decimal point characters.
|
H A D | PasswordTransformationMethod.java | 17 package android.text.method; 23 import android.text.Editable; 24 import android.text.GetChars; 25 import android.text.NoCopySpan; 26 import android.text.TextUtils; 27 import android.text.TextWatcher; 28 import android.text.Spanned; 29 import android.text.Spannable; 30 import android.text.style.UpdateLayout; 45 * be references to the old EditText in the text [all...] |
H A D | WordIterator.java | 18 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.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | Clock.java | 27 import android.text.Spannable; 28 import android.text.SpannableStringBuilder; 29 import android.text.format.DateFormat; 30 import android.text.style.CharacterStyle; 31 import android.text.style.RelativeSizeSpan; 38 import java.text.SimpleDateFormat;
|
/frameworks/base/tests/SerialChat/src/com/android/serialchat/ |
H A D | SerialChat.java | 108 String text = v.getText().toString(); 109 Log.d(TAG, "write: " + text); 110 byte[] bytes = text.getBytes(); 142 String text = new String(buffer, 0, ret); 143 Log.d(TAG, "chat: " + text); 144 m.obj = text;
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
H A D | LoginActivity.java | 82 CharSequence text = textView.getText(); 83 if (text.equals("Cancel")) { 85 } else if (text.equals("Submit")) { 93 } else if (text.equals("New User?")) { 95 } else if (text.equals("Okay")) { 101 } else if (text.equals("Reset")) {
|
/frameworks/base/core/java/android/text/style/ |
H A D | DynamicDrawableSpan.java | 17 package android.text.style; 34 * with the bottom of the surrounding text, i.e., at the same level as the 35 * lowest descender in the text. 41 * with the baseline of the surrounding text. 74 public int getSize(Paint paint, CharSequence text, argument 92 public void draw(Canvas canvas, CharSequence text, argument
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | StaticLayoutBidiTest.java | 17 package android.text; 87 private void expectNativeBidi(int dir, String text, argument 89 char[] chs = text.toCharArray();
|
/frameworks/base/core/tests/notificationtests/src/android/app/ |
H A D | NotificationStressTest.java | 79 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 D | BiDiTestBasic.java | 22 import android.text.Editable; 23 import android.text.Spannable; 24 import android.text.style.ForegroundColorSpan;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ClipOutlineActivity.java | 40 final TextView text = new TextView(this); 41 text.setText(buildText()); 42 group.addView(text);
|
H A D | ClipRegionActivity.java | 37 final TextView text = new TextView(this); 38 text.setText(buildText()); 39 group.addView(text);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 447 // The populateSkPaint call may have changed fake bold / text skew 514 static jfloat measureText_CIII(JNIEnv* env, jobject jpaint, jcharArray text, jint index, jint count, argument 517 NPE_CHECK_RETURN_ZERO(env, text); 519 size_t textLength = env->GetArrayLength(text); 529 const jchar* textArray = env->GetCharArrayElements(text, NULL); 536 env->ReleaseCharArrayElements(text, const_cast<jchar*>(textArray), JNI_ABORT); 540 static jfloat measureText_StringIII(JNIEnv* env, jobject jpaint, jstring text, jint start, jint end, argument 543 NPE_CHECK_RETURN_ZERO(env, text); 545 size_t textLength = env->GetStringLength(text); 555 const jchar* textArray = env->GetStringChars(text, NUL 568 measureText_StringI(JNIEnv* env, jobject jpaint, jstring text, jint bidiFlags) argument 590 dotextwidths(JNIEnv* env, Paint* paint, TypefaceImpl* typeface, const jchar text[], int count, jfloatArray widths, jint bidiFlags) argument 618 getTextWidths___CIII_F(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint bidiFlags, jfloatArray widths) argument 629 getTextWidths__StringIII_F(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint bidiFlags, jfloatArray widths) argument 639 doTextRunAdvances(JNIEnv *env, Paint *paint, TypefaceImpl* typeface, const jchar *text, jint start, jint count, jint contextCount, jboolean isRtl, jfloatArray advances, jint advancesIndex) argument 676 getTextRunAdvances___CIIIIZ_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jboolean isRtl, jfloatArray advances, jint advancesIndex) argument 689 getTextRunAdvances__StringIIIIZ_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint contextStart, jint contextEnd, jboolean isRtl, jfloatArray advances, jint advancesIndex) argument 703 doTextRunCursor(JNIEnv *env, Paint* paint, const jchar *text, jint start, jint count, jint flags, jint offset, jint opt) argument 710 getTextRunCursor___C(JNIEnv* env, jobject clazz, jlong paintHandle, jcharArray text, jint contextStart, jint contextCount, jint dir, jint offset, jint cursorOpt) argument 720 getTextRunCursor__String(JNIEnv* env, jobject clazz, jlong paintHandle, jstring text, jint contextStart, jint contextEnd, jint dir, jint offset, jint cursorOpt) argument 761 getTextPath(JNIEnv* env, Paint* paint, TypefaceImpl* typeface, const jchar* text, jint count, jint bidiFlags, jfloat x, jfloat y, SkPath* path) argument 780 getTextPath___C(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jint bidiFlags, jcharArray text, jint index, jint count, jfloat x, jfloat y, jlong pathHandle) argument 791 getTextPath__String(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jint bidiFlags, jstring text, jint start, jint end, jfloat x, jfloat y, jlong pathHandle) argument 819 breakText(JNIEnv* env, const Paint& paint, TypefaceImpl* typeface, const jchar text[], int count, float maxWidth, jint bidiFlags, jfloatArray jmeasured, Paint::TextBufferDirection textBufferDirection) argument 874 const jchar* text = env->GetCharArrayElements(jtext, NULL); local 894 const jchar* text = env->GetStringChars(jtext, NULL); local 900 doTextBounds(JNIEnv* env, const jchar* text, int count, jobject bounds, const Paint& paint, TypefaceImpl* typeface, jint bidiFlags) argument 917 getStringBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint bidiFlags, jobject bounds) argument 926 getCharArrayBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint bidiFlags, jobject bounds) argument [all...] |
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextSRTSource.cpp | 70 AString text; local 71 status_t err = getText(options, &text, startTimeUs, endTimeUs); 77 extractAndAppendLocalDescriptions(*startTimeUs, text, parcel); 215 AString *text, int64_t *startTimeUs, int64_t *endTimeUs) { 219 text->clear(); 264 text->append(str, info.textLen); 270 int64_t timeUs, const AString &text, Parcel *parcel) { 271 const void *data = text.c_str(); 272 size_t size = text.size(); 213 getText( const MediaSource::ReadOptions *options, AString *text, int64_t *startTimeUs, int64_t *endTimeUs) argument 269 extractAndAppendLocalDescriptions( int64_t timeUs, const AString &text, Parcel *parcel) argument
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | ExtractEditText.java | 27 * extracted text in a full-screen input method. 72 * Implement just to keep track of when we are setting text from the 75 @Override public void setExtractedText(ExtractedText text) { argument 78 super.setExtractedText(text); 85 * Report to the underlying text editor about selection changes. 108 // Cut and paste will change the text, which stops selection mode. 124 * Return true if the edit text is currently showing a scroll bar. 183 protected void replaceText_internal(int start, int end, CharSequence text) { argument 186 mIME.onExtractedReplaceText(start, end, text);
|
/frameworks/base/core/java/android/widget/ |
H A D | SimpleAdapter.java | 161 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 D | IInputContext.aidl | 44 void setComposingText(CharSequence text, int newCursorPosition); 48 void commitText(CharSequence text, int newCursorPosition);
|