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.java317 private static int formatDurationLocked(long duration, int fieldLen) { in formatDurationLocked() argument
318 if (sFormatStr.length < fieldLen) { in formatDurationLocked()
319 sFormatStr = new char[fieldLen]; in formatDurationLocked()
326 fieldLen -= 1; in formatDurationLocked()
327 while (pos < fieldLen) { in formatDurationLocked()
361 if (fieldLen != 0) { in formatDurationLocked()
367 while (myLen < fieldLen) { in formatDurationLocked()
378 boolean zeropad = fieldLen != 0; in formatDurationLocked()
397 public static void formatDuration(long duration, PrintWriter pw, int fieldLen) { in formatDuration() argument
399 int len = formatDurationLocked(duration, fieldLen); in formatDuration()