Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/util/
DTimeUtils.java75 private static int formatDurationLocked(long duration, int fieldLen) { in formatDurationLocked() argument
76 if (sFormatStr.length < fieldLen) { in formatDurationLocked()
77 sFormatStr = new char[fieldLen]; in formatDurationLocked()
84 fieldLen -= 1; in formatDurationLocked()
85 while (pos < fieldLen) { in formatDurationLocked()
119 if (fieldLen != 0) { in formatDurationLocked()
125 while (myLen < fieldLen) { in formatDurationLocked()
136 boolean zeropad = fieldLen != 0; in formatDurationLocked()
155 public static void formatDuration(long duration, PrintWriter pw, int fieldLen) { in formatDuration() argument
157 int len = formatDurationLocked(duration, fieldLen); in formatDuration()
/frameworks/base/core/java/android/util/
DTimeUtils.java290 private static int formatDurationLocked(long duration, int fieldLen) { in formatDurationLocked() argument
291 if (sFormatStr.length < fieldLen) { in formatDurationLocked()
292 sFormatStr = new char[fieldLen]; in formatDurationLocked()
299 fieldLen -= 1; in formatDurationLocked()
300 while (pos < fieldLen) { in formatDurationLocked()
338 if (fieldLen != 0) { in formatDurationLocked()
344 while (myLen < fieldLen) { in formatDurationLocked()
355 boolean zeropad = fieldLen != 0; in formatDurationLocked()
374 public static void formatDuration(long duration, PrintWriter pw, int fieldLen) { in formatDuration() argument
376 int len = formatDurationLocked(duration, fieldLen); in formatDuration()