Home
last modified time | relevance | path

Searched refs:accumField (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/v4/java/android/support/v4/util/
DTimeUtils.java38 static private int accumField(int amt, int suffix, boolean always, int zeropad) { in accumField() method in TimeUtils
120 int myLen = accumField(days, 1, false, 0); in formatDurationLocked()
121 myLen += accumField(hours, 1, myLen > 0, 2); in formatDurationLocked()
122 myLen += accumField(minutes, 1, myLen > 0, 2); in formatDurationLocked()
123 myLen += accumField(seconds, 1, myLen > 0, 2); in formatDurationLocked()
124 myLen += accumField(millis, 2, true, myLen > 0 ? 3 : 0) + 1; in formatDurationLocked()
/frameworks/base/core/java/android/util/
DTimeUtils.java255 static private int accumField(int amt, int suffix, boolean always, int zeropad) { in accumField() method in TimeUtils
362 int myLen = accumField(days, 1, false, 0); in formatDurationLocked()
363 myLen += accumField(hours, 1, myLen > 0, 2); in formatDurationLocked()
364 myLen += accumField(minutes, 1, myLen > 0, 2); in formatDurationLocked()
365 myLen += accumField(seconds, 1, myLen > 0, 2); in formatDurationLocked()
366 myLen += accumField(millis, 2, true, myLen > 0 ? 3 : 0) + 1; in formatDurationLocked()