Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DTimeUtils.java209 private static int formatDurationLocked(long duration, int fieldLen) { in formatDurationLocked() argument
210 if (sFormatStr.length < fieldLen) { in formatDurationLocked()
211 sFormatStr = new char[fieldLen]; in formatDurationLocked()
218 fieldLen -= 1; in formatDurationLocked()
219 while (pos < fieldLen) { in formatDurationLocked()
253 if (fieldLen != 0) { in formatDurationLocked()
259 while (myLen < fieldLen) { in formatDurationLocked()
270 boolean zeropad = fieldLen != 0; in formatDurationLocked()
289 public static void formatDuration(long duration, StringBuilder builder, int fieldLen) { in formatDuration() argument
291 int len = formatDurationLocked(duration, fieldLen); in formatDuration()
[all …]