Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DTimeUtils.java216 private static int formatDurationLocked(long duration, int fieldLen) { in formatDurationLocked() argument
217 if (sFormatStr.length < fieldLen) { in formatDurationLocked()
218 sFormatStr = new char[fieldLen]; in formatDurationLocked()
225 fieldLen -= 1; in formatDurationLocked()
226 while (pos < fieldLen) { in formatDurationLocked()
260 if (fieldLen != 0) { in formatDurationLocked()
266 while (myLen < fieldLen) { in formatDurationLocked()
277 boolean zeropad = fieldLen != 0; in formatDurationLocked()
296 public static void formatDuration(long duration, StringBuilder builder, int fieldLen) { in formatDuration() argument
298 int len = formatDurationLocked(duration, fieldLen); in formatDuration()
[all …]