/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | NonEditableTextGenerator.java | 55 final CharSequence charSequence = sequenceGenerator.buildLatinSequence(); in build() local 60 return createSpannable(charSequence); in build() 63 return createString(charSequence); in build() 67 private Spannable createSpannable(CharSequence charSequence) { in createSpannable() argument 69 new SpannableStringBuilder(charSequence) : new SpannableString(charSequence); in createSpannable() 82 private String createString(CharSequence charSequence) { in createString() argument 84 return charSequence.toString(); in createString() 90 return charSequence.toString() + "\uD83D\uDC68\uD83C\uDFFF"; in createString()
|
/frameworks/opt/car/setupwizard/library/utils/src/com/android/car/setupwizardlib/ |
D | InitialLockSetupHelper.java | 78 StringBuffer charSequence = new StringBuffer(); in byteArrayToCharSequence() local 80 charSequence.append((char) input[i]); in byteArrayToCharSequence() 82 return charSequence; in byteArrayToCharSequence()
|
/frameworks/base/core/java/android/text/method/ |
D | WordIterator.java | 62 public void setCharSequence(@NonNull CharSequence charSequence, int start, int end) { in setCharSequence() argument 63 if (0 <= start && end <= charSequence.length()) { in setCharSequence() 64 mCharSeq = charSequence; in setCharSequence() 66 mEnd = Math.min(charSequence.length(), end + WINDOW_WIDTH); in setCharSequence() 67 mIterator.setText(new CharSequenceCharacterIterator(charSequence, mStart, mEnd)); in setCharSequence()
|
/frameworks/base/core/java/android/view/textservice/ |
D | TextInfo.java | 68 public TextInfo(CharSequence charSequence, int start, int end, int cookie, int sequenceNumber) { in TextInfo() argument 69 if (TextUtils.isEmpty(charSequence)) { in TextInfo() 74 new SpannableStringBuilder(charSequence, start, end); in TextInfo()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | CharSequencesTest.java | 55 static String toString(CharSequence charSequence) { in toString() argument 56 return new StringBuilder().append(charSequence).toString(); in toString()
|
/frameworks/base/core/java/android/widget/ |
D | TextInputTimePickerView.java | 92 public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {} in TextInputTimePickerView() 95 public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {} in TextInputTimePickerView() 111 public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {} in TextInputTimePickerView() 114 public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {} in TextInputTimePickerView()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/ |
D | StringUtilTest.java | 103 final CharSequence charSequence = in testFormatElapsedTime_onlyContainsMinute_hasTtsSpan() local 105 assertThat(charSequence).isInstanceOf(SpannableStringBuilder.class); in testFormatElapsedTime_onlyContainsMinute_hasTtsSpan() 107 final SpannableStringBuilder expectedString = (SpannableStringBuilder) charSequence; in testFormatElapsedTime_onlyContainsMinute_hasTtsSpan()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ContrastColorUtil.java | 183 public CharSequence invertCharSequenceColors(CharSequence charSequence) { in invertCharSequenceColors() argument 184 if (charSequence instanceof Spanned) { in invertCharSequenceColors() 185 Spanned ss = (Spanned) charSequence; in invertCharSequenceColors() 214 return charSequence; in invertCharSequenceColors() 249 public static CharSequence clearColorSpans(CharSequence charSequence) { in clearColorSpans() argument 250 if (charSequence instanceof Spanned) { in clearColorSpans() 251 Spanned ss = (Spanned) charSequence; in clearColorSpans() 280 return charSequence; in clearColorSpans()
|
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
D | ReplacementDrawableSpan.java | 51 public void draw(Canvas canvas, CharSequence charSequence, int start, int end, float x, int top, in draw() argument
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/ |
D | MockWindow.java | 87 public void setTitle(CharSequence charSequence) { in setTitle() argument
|
/frameworks/base/core/java/com/android/internal/accessibility/ |
D | AccessibilityShortcutController.java | 494 public Toast makeToastFromText(Context context, CharSequence charSequence, int duration) { in makeToastFromText() argument 495 return Toast.makeText(context, charSequence, duration); in makeToastFromText()
|
/frameworks/base/core/java/android/text/ |
D | TextUtils.java | 2099 public static CharSequence trimNoCopySpans(@Nullable CharSequence charSequence) { in trimNoCopySpans() argument 2100 if (charSequence != null && charSequence instanceof Spanned) { in trimNoCopySpans() 2102 return new SpannableStringBuilder(charSequence); in trimNoCopySpans() 2104 return charSequence; in trimNoCopySpans()
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | ActionsSuggestionsHelperTest.java | 59 charSequence -> LOCALE_TAG;
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 2535 private static CharSequence removeTextSizeSpans(CharSequence charSequence) { in removeTextSizeSpans() argument 2536 if (charSequence instanceof Spanned) { in removeTextSizeSpans() 2537 Spanned ss = (Spanned) charSequence; in removeTextSizeSpans() 2564 return charSequence; in removeTextSizeSpans() 5616 private CharSequence ensureColorSpanContrast(CharSequence charSequence, int background, in ensureColorSpanContrast() argument 5618 if (charSequence instanceof Spanned) { in ensureColorSpanContrast() 5619 Spanned ss = (Spanned) charSequence; in ensureColorSpanContrast() 5626 boolean fullLength = (spanEnd - spanStart) == charSequence.length(); in ensureColorSpanContrast() 5674 return charSequence; in ensureColorSpanContrast() 5690 private CharSequence processLegacyText(CharSequence charSequence) { [all …]
|