Searched refs:printField (Results 1 – 2 of 2) sorted by relevance
/frameworks/support/v4/java/android/support/v4/util/ |
D | TimeUtils.java | 51 static private int printField(char[] formatStr, int amt, char suffix, int pos, in printField() method in TimeUtils 137 pos = printField(formatStr, days, 'd', pos, false, 0); in formatDurationLocked() 138 pos = printField(formatStr, hours, 'h', pos, pos != start, zeropad ? 2 : 0); in formatDurationLocked() 139 pos = printField(formatStr, minutes, 'm', pos, pos != start, zeropad ? 2 : 0); in formatDurationLocked() 140 pos = printField(formatStr, seconds, 's', pos, pos != start, zeropad ? 2 : 0); in formatDurationLocked() 141 pos = printField(formatStr, millis, 'm', pos, true, (zeropad && pos != start) ? 3 : 0); in formatDurationLocked()
|
/frameworks/base/core/java/android/util/ |
D | TimeUtils.java | 266 static private int printField(char[] formatStr, int amt, char suffix, int pos, in printField() method in TimeUtils 356 pos = printField(formatStr, days, 'd', pos, false, 0); in formatDurationLocked() 357 pos = printField(formatStr, hours, 'h', pos, pos != start, zeropad ? 2 : 0); in formatDurationLocked() 358 pos = printField(formatStr, minutes, 'm', pos, pos != start, zeropad ? 2 : 0); in formatDurationLocked() 359 pos = printField(formatStr, seconds, 's', pos, pos != start, zeropad ? 2 : 0); in formatDurationLocked() 360 pos = printField(formatStr, millis, 'm', pos, true, (zeropad && pos != start) ? 3 : 0); in formatDurationLocked()
|