Home
last modified time | relevance | path

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

/frameworks/support/compat/java/android/support/v4/util/
DTimeUtils.java81 private static int formatDurationLocked(long duration, int fieldLen) { in formatDurationLocked() argument
82 if (sFormatStr.length < fieldLen) { in formatDurationLocked()
83 sFormatStr = new char[fieldLen]; in formatDurationLocked()
90 fieldLen -= 1; in formatDurationLocked()
91 while (pos < fieldLen) { in formatDurationLocked()
125 if (fieldLen != 0) { in formatDurationLocked()
131 while (myLen < fieldLen) { in formatDurationLocked()
142 boolean zeropad = fieldLen != 0; in formatDurationLocked()
163 public static void formatDuration(long duration, PrintWriter pw, int fieldLen) { in formatDuration() argument
165 int len = formatDurationLocked(duration, fieldLen); in formatDuration()
/frameworks/base/core/java/android/util/
DTimeUtils.java316 private static int formatDurationLocked(long duration, int fieldLen) { in formatDurationLocked() argument
317 if (sFormatStr.length < fieldLen) { in formatDurationLocked()
318 sFormatStr = new char[fieldLen]; in formatDurationLocked()
325 fieldLen -= 1; in formatDurationLocked()
326 while (pos < fieldLen) { in formatDurationLocked()
360 if (fieldLen != 0) { in formatDurationLocked()
366 while (myLen < fieldLen) { in formatDurationLocked()
377 boolean zeropad = fieldLen != 0; in formatDurationLocked()
396 public static void formatDuration(long duration, PrintWriter pw, int fieldLen) { in formatDuration() argument
398 int len = formatDurationLocked(duration, fieldLen); in formatDuration()