Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DTimeUtils.java215 private static int formatDurationLocked(long duration, int fieldLen) { in formatDurationLocked() argument
216 if (sFormatStr.length < fieldLen) { in formatDurationLocked()
217 sFormatStr = new char[fieldLen]; in formatDurationLocked()
224 fieldLen -= 1; in formatDurationLocked()
225 while (pos < fieldLen) { in formatDurationLocked()
259 if (fieldLen != 0) { in formatDurationLocked()
265 while (myLen < fieldLen) { in formatDurationLocked()
276 boolean zeropad = fieldLen != 0; in formatDurationLocked()
295 public static void formatDuration(long duration, StringBuilder builder, int fieldLen) { in formatDuration() argument
297 int len = formatDurationLocked(duration, fieldLen); in formatDuration()
[all …]