Home
last modified time | relevance | path

Searched refs:mStringBuilder (Results 1 – 7 of 7) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DCappedStringBuilder.java25 private final StringBuilder mStringBuilder = new StringBuilder(); field in CappedStringBuilder
33 mStringBuilder.setLength(0); in clear()
37 return mStringBuilder.length(); in length()
42 return mStringBuilder.toString(); in toString()
46 if (canAppend(mStringBuilder.length() + 1)) { in append()
47 mStringBuilder.append(ch); in append()
53 if (canAppend(mStringBuilder.length() + s.length())) { in append()
54 mStringBuilder.append(s); in append()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DLogcatLog.java148 private final StringBuilder mStringBuilder; field in LogcatLog.RealLogMessage
159 mStringBuilder = new StringBuilder(); in RealLogMessage()
162 mStringBuilder.append(prefix).append(" "); in RealLogMessage()
177 mStringBuilder.append(value); in c()
187 mStringBuilder.append(value); in c()
197 mStringBuilder.append(value); in c()
207 mStringBuilder.append(value); in c()
216 mStringBuilder.append(mFormat, mNextFormatCharPos, mFormat.length()); in flush()
218 Log.println(mLogLevel, mTag, mStringBuilder.toString()); in flush()
223 return mStringBuilder.toString(); in toString()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameLookupBuilder.java37 private StringBuilder mStringBuilder = new StringBuilder(); field in NameLookupBuilder
181 mStringBuilder.setLength(0); in appendKoreanNameConsonantsLookup()
214 mStringBuilder.appendCodePoint(character); in appendKoreanNameConsonantsLookup()
221 builder.appendName(mStringBuilder.toString()); in appendKoreanNameConsonantsLookup()
268 mStringBuilder.setLength(0); in insertNameVariant()
272 mStringBuilder.append('.'); in insertNameVariant()
274 mStringBuilder.append(mNames[i]); in insertNameVariant()
277 insertNameLookup(rawContactId, dataId, lookupType, mStringBuilder.toString()); in insertNameVariant()
288 mStringBuilder.setLength(0); in insertCollationKey()
291 mStringBuilder.append(mNames[i]); in insertCollationKey()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DCalendarViewAdapter.java74 private final StringBuilder mStringBuilder; field in CalendarViewAdapter
97 mStringBuilder = new StringBuilder(50); in CalendarViewAdapter()
98 mFormatter = new Formatter(mStringBuilder, Locale.getDefault()); in CalendarViewAdapter()
304 mStringBuilder.setLength(0); in buildDayOfWeek()
332 mStringBuilder.setLength(0); in buildFullDate()
339 mStringBuilder.setLength(0); in buildMonthYearDate()
351 mStringBuilder.setLength(0); in buildMonthDayDate()
358 mStringBuilder.setLength(0); in buildMonthDate()
398 mStringBuilder.setLength(0); in buildWeekDate()
DDayView.java192 protected static StringBuilder mStringBuilder = new StringBuilder(50); field in DayView
194 protected static Formatter mFormatter = new Formatter(mStringBuilder, Locale.getDefault());
1462 mStringBuilder.setLength(0); in sendAccessibilityEventAsNeeded()
1471 mStringBuilder.setLength(0); in sendAccessibilityEventAsNeeded()
/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java1306 private final StringBuilder mStringBuilder = new StringBuilder(); field in ContactPhotoManagerImpl.LoaderThread
1491 mStringBuilder.setLength(0); in loadThumbnails()
1492 mStringBuilder.append(Photo._ID + " IN("); in loadThumbnails()
1495 mStringBuilder.append(','); in loadThumbnails()
1497 mStringBuilder.append('?'); in loadThumbnails()
1499 mStringBuilder.append(')'); in loadThumbnails()
1506 mStringBuilder.toString(), in loadThumbnails()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthWeekEventsView.java121 protected static StringBuilder mStringBuilder = new StringBuilder(50); field in MonthWeekEventsView
123 protected static Formatter mFormatter = new Formatter(mStringBuilder, Locale.getDefault());
937 mStringBuilder.setLength(0); in drawEvent()