Searched refs:charSequence (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/android/text/method/ |
D | WordIterator.java | 58 public void setCharSequence(CharSequence charSequence, int start, int end) { in setCharSequence() argument 60 final int windowEnd = Math.min(charSequence.length(), end + WINDOW_WIDTH); in setCharSequence() 62 if (charSequence instanceof SpannableStringBuilder) { in setCharSequence() 63 mString = ((SpannableStringBuilder) charSequence).substring(mOffsetShift, windowEnd); in setCharSequence() 65 mString = charSequence.subSequence(mOffsetShift, windowEnd).toString(); 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/com/android/internal/util/ |
D | NotificationColorUtil.java | 180 public CharSequence invertCharSequenceColors(CharSequence charSequence) { in invertCharSequenceColors() argument 181 if (charSequence instanceof Spanned) { in invertCharSequenceColors() 182 Spanned ss = (Spanned) charSequence; in invertCharSequenceColors() 195 return charSequence; in invertCharSequenceColors()
|
/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/base/core/java/android/app/ |
D | Notification.java | 1837 private static CharSequence removeTextSizeSpans(CharSequence charSequence) { in removeTextSizeSpans() argument 1838 if (charSequence instanceof Spanned) { in removeTextSizeSpans() 1839 Spanned ss = (Spanned) charSequence; in removeTextSizeSpans() 1866 return charSequence; in removeTextSizeSpans() 3757 private CharSequence clearColorSpans(CharSequence charSequence) { in clearColorSpans() argument 3758 if (charSequence instanceof Spanned) { in clearColorSpans() 3759 Spanned ss = (Spanned) charSequence; in clearColorSpans() 3788 return charSequence; in clearColorSpans() 3801 private CharSequence ensureColorSpanContrast(CharSequence charSequence, int background, in ensureColorSpanContrast() argument 3803 if (charSequence instanceof Spanned) { in ensureColorSpanContrast() [all …]
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/util/ |
D | MockWindow.java | 69 public void setTitle(CharSequence charSequence) { in setTitle() argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | SearchBar.java | 230 public void beforeTextChanged(CharSequence charSequence, int i, int i2, int i3) { in onFinishInflate() 234 public void onTextChanged(CharSequence charSequence, int i, int i2, int i3) { in onFinishInflate()
|