Searched refs:sFormatStr (Results 1 – 2 of 2) sorted by relevance
/frameworks/support/compat/src/main/java/androidx/core/util/ |
D | TimeUtils.java | 41 private static char[] sFormatStr = new char[HUNDRED_DAY_FIELD_LEN+5]; field in TimeUtils 81 if (sFormatStr.length < fieldLen) { in formatDurationLocked() 82 sFormatStr = new char[fieldLen]; in formatDurationLocked() 85 char[] formatStr = sFormatStr; in formatDurationLocked() 156 builder.append(sFormatStr, 0, len); in formatDuration() 165 pw.print(new String(sFormatStr, 0, len)); in formatDuration()
|
/frameworks/base/core/java/android/util/ |
D | TimeUtils.java | 98 private static char[] sFormatStr = new char[HUNDRED_DAY_FIELD_LEN+10]; field in TimeUtils 164 if (sFormatStr.length < fieldLen) { in formatDurationLocked() 165 sFormatStr = new char[fieldLen]; in formatDurationLocked() 168 char[] formatStr = sFormatStr; in formatDurationLocked() 238 builder.append(sFormatStr, 0, len); in formatDuration() 246 builder.append(sFormatStr, 0, len); in formatDuration() 254 pw.print(new String(sFormatStr, 0, len)); in formatDuration() 262 return new String(sFormatStr, 0, len); in formatDuration()
|