Searched refs:charSequence (Results 1 – 7 of 7) 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/java/com/android/internal/util/ |
D | NotificationColorUtil.java | 159 public CharSequence invertCharSequenceColors(CharSequence charSequence) { in invertCharSequenceColors() argument 160 if (charSequence instanceof Spanned) { in invertCharSequenceColors() 161 Spanned ss = (Spanned) charSequence; in invertCharSequenceColors() 174 return charSequence; in invertCharSequenceColors()
|
/frameworks/base/core/tests/coretests/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/opt/chips/src/com/android/ex/chips/recipientchip/ |
D | ReplacementDrawableSpan.java | 50 public void draw(Canvas canvas, CharSequence charSequence, int start, int end, float x, int top, in draw() argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | SearchBar.java | 206 public void beforeTextChanged(CharSequence charSequence, int i, int i2, int i3) { in onFinishInflate() 210 public void onTextChanged(CharSequence charSequence, int i, int i2, int i3) { in onFinishInflate()
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 3046 private CharSequence processLegacyText(CharSequence charSequence) { in processLegacyText() argument 3048 return mColorUtil.invertCharSequenceColors(charSequence); in processLegacyText() 3050 return charSequence; in processLegacyText()
|