Home
last modified time | relevance | path

Searched refs:charSequence (Results 1 – 14 of 14) sorted by relevance

/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
DCharSequenceReader.java33 private final CharSequence charSequence; field in CharSequenceReader
42 public CharSequenceReader(CharSequence charSequence) { in CharSequenceReader() argument
43 this.charSequence = (charSequence != null ? charSequence : ""); in CharSequenceReader()
79 if (idx >= charSequence.length()) { in read()
82 return charSequence.charAt(idx++); in read()
96 if (idx >= charSequence.length()) { in read()
137 if (idx >= charSequence.length()) { in skip()
140 int dest = (int)Math.min(charSequence.length(), (idx + n)); in skip()
153 return charSequence.toString(); in toString()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSpannableStringUtils.java150 public static CharSequence[] split(final CharSequence charSequence, final String regex, in split() argument
153 if (!(charSequence instanceof Spanned)) { in split()
155 return charSequence.toString().split(regex, preserveTrailingEmptySegments ? -1 : 0); in split()
160 final Matcher matcher = Pattern.compile(regex).matcher(charSequence); in split()
164 sequences.add(charSequence.subSequence(nextStart, matcher.start())); in split()
170 return new CharSequence[] { charSequence }; in split()
172 sequences.add(charSequence.subSequence(nextStart, charSequence.length())); in split()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DStringUtils.java232 public static int[] toCodePointArray(@Nonnull final CharSequence charSequence) { in toCodePointArray() argument
233 return toCodePointArray(charSequence, 0, charSequence.length()); in toCodePointArray()
247 public static int[] toCodePointArray(@Nonnull final CharSequence charSequence, in toCodePointArray() argument
249 final int length = charSequence.length(); in toCodePointArray()
254 new int[Character.codePointCount(charSequence, startIndex, endIndex)]; in toCodePointArray()
255 copyCodePointsAndReturnCodePointCount(codePoints, charSequence, startIndex, endIndex, in toCodePointArray()
279 @Nonnull final CharSequence charSequence, final int startIndex, final int endIndex, in copyCodePointsAndReturnCodePointCount() argument
283 index = Character.offsetByCodePoints(charSequence, index, 1)) { in copyCodePointsAndReturnCodePointCount()
284 final int codePoint = Character.codePointAt(charSequence, index); in copyCodePointsAndReturnCodePointCount()
619 public static int getTrailingSingleQuotesCount(@Nonnull final CharSequence charSequence) { in getTrailingSingleQuotesCount() argument
[all …]
/packages/apps/Dialer/java/com/android/dialer/widget/
DDialerToolbar.java58 public void setTitle(CharSequence charSequence) { in setTitle() argument
59 title.setText(charSequence); in setTitle()
68 public void setSubtitle(CharSequence charSequence) { in setSubtitle() argument
69 if (charSequence != null) { in setSubtitle()
70 subtitle.setText(charSequence); in setSubtitle()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/
DRegionSearchPickerTest.java115 protected FilterResults performFiltering(CharSequence charSequence) { in performFiltering() argument
119 private void publishEmptyResult(CharSequence charSequence) { in publishEmptyResult() argument
123 publishResults(charSequence, filterResults); in publishEmptyResult()
127 protected void publishResults(CharSequence charSequence, FilterResults filterResults) { in publishResults() argument
128 mFilter.publishResults(charSequence, filterResults); in publishResults()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DTextInfoCompatUtils.java42 public static TextInfo newInstance(CharSequence charSequence, int start, int end, int cookie, in newInstance() argument
46 charSequence, start, end, cookie, sequenceNumber); in newInstance()
48 return new TextInfo(charSequence.subSequence(start, end).toString(), cookie, in newInstance()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DMaterialSearchActionView.java198 public void beforeTextChanged(CharSequence charSequence, int i, int i2, int i3) { in beforeTextChanged() argument
203 public void onTextChanged(CharSequence charSequence, int i, int i2, int i3) { in onTextChanged() argument
204 mController.onQueryTextChanged(charSequence.toString()); in onTextChanged()
205 setupEndingButton(charSequence); in onTextChanged()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DCustomThemeNameFragment.java145 public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) { in bindCover()
150 public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) { in bindCover()
151 ((TextView)card.findViewById(R.id.theme_preview_card_header)).setText(charSequence); in bindCover()
/packages/apps/Car/Media/src/com/android/car/media/widgets/
DSearchBar.java86 public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) { in SearchBar()
90 public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) { in SearchBar()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DMessageComposerFragment.java78 public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {} in onCreateView()
81 public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {} in onCreateView()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DCreateCustomSmsDialogFragment.java109 public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {} in onCreateDialog()
112 public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {} in onCreateDialog()
/packages/services/BuiltInPrintService/src/com/android/bips/ui/
DAddManualPrinterDialog.java173 public void beforeTextChanged(CharSequence charSequence, int start, int count, int after) { in beforeTextChanged() argument
177 public void onTextChanged(CharSequence charSequence, int start, int before, int count) { in onTextChanged() argument
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DVisibilityPreferenceControllerTest.java281 for (CharSequence charSequence : charSequences) { in toStringList()
282 result.add(charSequence.toString()); in toStringList()
/packages/apps/UnifiedEmail/src/com/android/mail/text/
DFolderSpan.java74 public void draw(Canvas canvas, CharSequence charSequence, int start, int end, float x, int top, in draw() argument