Home
last modified time | relevance | path

Searched refs:stringBuilder (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertReceiver.java429 SpannableStringBuilder stringBuilder = new SpannableStringBuilder(); in makeExpandingNotification() local
430 stringBuilder.append(summaryText); in makeExpandingNotification()
431 stringBuilder.append("\n\n"); in makeExpandingNotification()
432 stringBuilder.setSpan(new RelativeSizeSpan(0.5f), summaryText.length(), in makeExpandingNotification()
433 stringBuilder.length(), 0); in makeExpandingNotification()
434 stringBuilder.append(description); in makeExpandingNotification()
435 text = stringBuilder; in makeExpandingNotification()
515 SpannableStringBuilder stringBuilder = new SpannableStringBuilder(); in makeDigestNotification() local
516 stringBuilder.append(name); in makeDigestNotification()
517 stringBuilder.setSpan(primaryTextSpan, 0, stringBuilder.length(), 0); in makeDigestNotification()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DTextUtil.java66 public static void appendWithSeparator(final StringBuilder stringBuilder, final String text, in appendWithSeparator() argument
68 if (stringBuilder.length() > 0) { in appendWithSeparator()
69 stringBuilder.append(separator); in appendWithSeparator()
71 stringBuilder.append(text); in appendWithSeparator()
/packages/apps/InCallUI/src/com/android/incallui/
DLog.java120 StringBuilder stringBuilder = new StringBuilder(originalString.length()); in piiHandle() local
123 stringBuilder.append('*'); in piiHandle()
125 stringBuilder.append(c); in piiHandle()
128 return stringBuilder.toString(); in piiHandle()
/packages/apps/FMRadio/src/com/android/fmradio/
DFmRecorder.java132 StringBuilder stringBuilder = new StringBuilder(); in startRecording() local
133 stringBuilder.append(time).append(RECORDING_FILE_EXTENSION); in startRecording()
134 String name = stringBuilder.toString(); in startRecording()
377 StringBuilder stringBuilder = new StringBuilder() in addRecordingToDatabase() local
383 String artist = stringBuilder.toString(); in addRecordingToDatabase()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java147 final StringBuffer stringBuilder = new StringBuffer(); in testAddTooLongWord() local
149 stringBuilder.append('a'); in testAddTooLongWord()
151 final String validLongWord = stringBuilder.toString(); in testAddTooLongWord()
152 stringBuilder.append('a'); in testAddTooLongWord()
153 final String invalidLongWord = stringBuilder.toString(); in testAddTooLongWord()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DLayout.java575 StringBuilder stringBuilder = new StringBuilder() in toString() local
580 stringBuilder in toString()
585 stringBuilder in toString()
589 return stringBuilder.toString(); in toString()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java3157 private static void appendConversationInfoColumns(final StringBuilder stringBuilder) { in appendConversationInfoColumns() argument
3161 stringBuilder.append(',').append(MessageColumns.DISPLAY_NAME) in appendConversationInfoColumns()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java8965 StringBuilder stringBuilder = new StringBuilder(); in readToEnd() local
8973 stringBuilder.append((char)ch); in readToEnd()
8976 return stringBuilder.toString(); in readToEnd()