Home
last modified time | relevance | path

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

/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.java114 protected FilterResults performFiltering(CharSequence charSequence) { in performFiltering() argument
118 private void publishEmptyResult(CharSequence charSequence) { in publishEmptyResult() argument
122 publishResults(charSequence, filterResults); in publishEmptyResult()
126 protected void publishResults(CharSequence charSequence, FilterResults filterResults) { in publishResults() argument
127 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/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/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/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DSearchView.java57 public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {
61 public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {
/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()