/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
H A D | TabStops.java | 17 package android.text;
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/format/ |
H A D | DateFormat_Delegate.java | 17 package android.text.format;
|
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
H A D | BaseRecipientChip.java | 38 * Get the text displayed in the chip. 43 * Get the text value this chip represents. 73 * Set the text in the edittextview originally associated with this chip 76 void setOriginalText(String text); argument 79 * Set the text in the edittextview originally associated with this chip
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/span/ |
H A D | SpanHelper.java | 19 import android.text.Spannable; 22 * Contains helper methods for dealing with text spans, e.g. the ones in {@code android.text.style}.
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | TextMessage.java | 25 public String text = null; field in class:TextMessage 38 text = in.readString(); 55 dest.writeString(text); 78 return "title=" + title + " text=" + text + " icon=" + icon +
|
/frameworks/support/tests/java/android/support/v4/text/ |
H A D | IcuCompatTest.java | 17 package android.support.v4.text;
|
/frameworks/base/core/java/android/text/method/ |
H A D | NumberKeyListener.java | 17 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 D | LinkMovementMethod.java | 17 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. 234 public void initialize(TextView widget, Spannable text) { argument 235 Selection.removeSelection(text); 236 text 240 onTakeFocus(TextView view, Spannable text, int dir) argument [all...] |
H A D | BaseMovementMethod.java | 17 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 D | BulletSpan.java | 17 package android.text.style; 24 import android.text.Layout; 25 import android.text.ParcelableSpan; 26 import android.text.Spanned; 27 import android.text.TextUtils; 92 CharSequence text, int start, int end, 94 if (((Spanned) text).getSpanStart(this) == start) { 90 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/java/com/android/internal/widget/ |
H A D | ImageFloatingTextView.java | 21 import android.text.BoringLayout; 22 import android.text.Layout; 23 import android.text.StaticLayout; 24 import android.text.TextUtils; 64 CharSequence text = getText() == null ? "" : getText(); 65 StaticLayout.Builder builder = StaticLayout.Builder.obtain(text, 0, text.length(),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | DateView.java | 24 import android.icu.text.DateFormat; 25 import android.icu.text.DisplayContext; 31 import java.text.SimpleDateFormat; 111 final String text = mDateFormat.format(mCurrentTime); 112 if (!text.equals(mLastText)) { 113 setText(text); 114 mLastText = text;
|
/frameworks/base/tools/aapt2/util/ |
H A D | StringPiece_test.cpp | 63 StringPiece text("I am a leaf on the wind."); 69 StringPiece longNeedle("This string is longer than the text."); 71 EXPECT_TRUE(text.contains(startNeedle)); 72 EXPECT_TRUE(text.contains(endNeedle)); 73 EXPECT_TRUE(text.contains(middleNeedle)); 74 EXPECT_TRUE(text.contains(emptyNeedle)); 75 EXPECT_FALSE(text.contains(missingNeedle)); 76 EXPECT_FALSE(text.contains(longNeedle)); 84 StringPiece16 longNeedle16(u"This string is longer than the text.");
|
/frameworks/base/core/java/android/preference/ |
H A D | EditTextPreference.java | 25 import android.text.TextUtils; 47 * The edit text shown in the dialog. 84 * Saves the text to the {@link SharedPreferences}. 86 * @param text The text to save 88 public void setText(String text) { argument 90 final boolean changed = !TextUtils.equals(mText, text); 92 mText = text; 94 persistString(text); 103 * Gets the text fro 211 String text; field in class:EditTextPreference.SavedState [all...] |
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.cpp | 63 void TestUtils::layoutTextUnscaled(const SkPaint& paint, const char* text, argument 70 while (*text != '\0') { 71 SkUnichar unichar = SkUTF8_NextUnichar(&text); 96 void TestUtils::drawUtf8ToCanvas(Canvas* canvas, const char* text, argument 98 auto utf16 = asciiToUtf16(text); 99 canvas->drawText(utf16.get(), 0, strlen(text), strlen(text), x, y, 0, paint, nullptr); 102 void TestUtils::drawUtf8ToCanvas(Canvas* canvas, const char* text, argument 104 auto utf16 = asciiToUtf16(text); 105 canvas->drawTextOnPath(utf16.get(), strlen(text), [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ListItemFactory.java | 151 * @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/text/ |
H A D | TextUtils.java | 17 package android.text; 26 import android.text.style.AbsoluteSizeSpan; 27 import android.text.style.AlignmentSpan; 28 import android.text.style.BackgroundColorSpan; 29 import android.text.style.BulletSpan; 30 import android.text.style.CharacterStyle; 31 import android.text.style.EasyEditSpan; 32 import android.text.style.ForegroundColorSpan; 33 import android.text.style.LeadingMarginSpan; 34 import android.text 334 split(String text, String expression) argument 351 split(String text, Pattern pattern) argument 930 getOffsetBefore(CharSequence text, int offset) argument 965 getOffsetAfter(CharSequence text, int offset) argument 1066 ellipsize(CharSequence text, TextPaint p, float avail, TruncateAt where) argument 1084 ellipsize(CharSequence text, TextPaint paint, float avail, TruncateAt where, boolean preserveLength, EllipsizeCallback callback) argument 1107 ellipsize(CharSequence text, TextPaint paint, float avail, TruncateAt where, boolean preserveLength, EllipsizeCallback callback, TextDirectionHeuristic textDir, String ellipsis) argument 1204 commaEllipsize(CharSequence text, TextPaint p, float avail, String oneMore, String more) argument 1215 commaEllipsize(CharSequence text, TextPaint p, float avail, String oneMore, String more, TextDirectionHeuristic textDir) argument 1280 setPara(MeasuredText mt, TextPaint paint, CharSequence text, int start, int end, TextDirectionHeuristic textDir) argument 1319 doesNotNeedBidi(char[] text, int start, int len) argument 1392 concat(CharSequence... text) argument [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | StreamingTextView.java | 23 import android.text.SpannableStringBuilder; 24 import android.text.Spanned; 25 import android.text.SpannedString; 26 import android.text.style.ForegroundColorSpan; 27 import android.text.style.ReplacementSpan; 42 * Shows the recognized text as a continuous stream of words. 105 * Resets the text view. 116 * Updates the recognized text. 147 // Copy the text and spans to a SpannedString, since editable text 189 addDottySpans(SpannableStringBuilder displayText, String text, int textStart) argument 199 addColorSpan(SpannableStringBuilder displayText, int color, String text, int textStart) argument 244 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument 279 getSize(Paint paint, CharSequence text, int start, int end, Paint.FontMetricsInt fontMetricsInt) argument [all...] |
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputConnectionWrapper.java | 133 public boolean setComposingText(CharSequence text, int newCursorPosition) { argument 134 return mTarget.setComposingText(text, newCursorPosition); 157 public boolean commitText(CharSequence text, int newCursorPosition) { argument 158 return mTarget.commitText(text, newCursorPosition); 165 public boolean commitCompletion(CompletionInfo text) { argument 166 return mTarget.commitCompletion(text);
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
H A D | LoginActivityFromResources.java | 68 CharSequence text = textView.getText(); 69 if (text.equals("Cancel")) { 71 } else if (text.equals("Submit")) { 79 } else if (text.equals("New User?")) { 81 } else if (text.equals("Okay")) { 87 } else if (text.equals("Reset")) {
|
/frameworks/base/tools/aapt/tests/ |
H A D | Pseudolocales_test.cpp | 31 String16 result = pseudo.start() + pseudo.text(String16(String8(input))) + pseudo.end(); 40 pseudo.text(String16(String8(in1))) + \ 41 pseudo.text(String16(String8(in2))) + \ 42 pseudo.text(String16(String8(in3))) + \ 213 String16 result = pseudo.text(String16(String8("Hello, "))); 215 result.append(pseudo.text(String16(String8("world!"))));
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
H A D | KeyListenerTestCase.java | 17 package android.text.method; 21 import android.text.format.DateUtils;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | ActionListTransformState.java | 19 import android.text.Layout; 20 import android.text.TextUtils;
|
H A D | HybridGroupManager.java | 21 import android.text.BidiFormatter; 22 import android.text.Spannable; 23 import android.text.SpannableStringBuilder; 24 import android.text.TextUtils; 25 import android.text.style.TextAppearanceSpan; 110 String text = mContext.getResources().getString( 112 if (!text.equals(reusableView.getText())) { 113 reusableView.setText(text);
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
H A D | TestAppWidgetConfigure.java | 44 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);
|