Searched refs:accumField (Results 1 – 2 of 2) sorted by relevance
/frameworks/support/compat/src/main/java/androidx/core/util/ |
D | TimeUtils.java | 43 static private int accumField(int amt, int suffix, boolean always, int zeropad) { in accumField() method in TimeUtils 125 int myLen = accumField(days, 1, false, 0); in formatDurationLocked() 126 myLen += accumField(hours, 1, myLen > 0, 2); in formatDurationLocked() 127 myLen += accumField(minutes, 1, myLen > 0, 2); in formatDurationLocked() 128 myLen += accumField(seconds, 1, myLen > 0, 2); in formatDurationLocked() 129 myLen += accumField(millis, 2, true, myLen > 0 ? 3 : 0) + 1; in formatDurationLocked()
|
/frameworks/base/core/java/android/util/ |
D | TimeUtils.java | 101 static private int accumField(int amt, int suffix, boolean always, int zeropad) { in accumField() method in TimeUtils 208 int myLen = accumField(days, 1, false, 0); in formatDurationLocked() 209 myLen += accumField(hours, 1, myLen > 0, 2); in formatDurationLocked() 210 myLen += accumField(minutes, 1, myLen > 0, 2); in formatDurationLocked() 211 myLen += accumField(seconds, 1, myLen > 0, 2); in formatDurationLocked() 212 myLen += accumField(millis, 2, true, myLen > 0 ? 3 : 0) + 1; in formatDurationLocked()
|