Home
last modified time | relevance | path

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

/frameworks/support/compat/src/main/java/androidx/core/util/
DTimeUtils.java80 private static int formatDurationLocked(long duration, int fieldLen) { in formatDurationLocked() argument
81 if (sFormatStr.length < fieldLen) { in formatDurationLocked()
82 sFormatStr = new char[fieldLen]; in formatDurationLocked()
89 fieldLen -= 1; in formatDurationLocked()
90 while (pos < fieldLen) { in formatDurationLocked()
124 if (fieldLen != 0) { in formatDurationLocked()
130 while (myLen < fieldLen) { in formatDurationLocked()
141 boolean zeropad = fieldLen != 0; in formatDurationLocked()
162 public static void formatDuration(long duration, PrintWriter pw, int fieldLen) { in formatDuration() argument
164 int len = formatDurationLocked(duration, fieldLen); in formatDuration()
/frameworks/base/core/java/android/util/
DTimeUtils.java163 private static int formatDurationLocked(long duration, int fieldLen) { in formatDurationLocked() argument
164 if (sFormatStr.length < fieldLen) { in formatDurationLocked()
165 sFormatStr = new char[fieldLen]; in formatDurationLocked()
172 fieldLen -= 1; in formatDurationLocked()
173 while (pos < fieldLen) { in formatDurationLocked()
207 if (fieldLen != 0) { in formatDurationLocked()
213 while (myLen < fieldLen) { in formatDurationLocked()
224 boolean zeropad = fieldLen != 0; in formatDurationLocked()
243 public static void formatDuration(long duration, StringBuilder builder, int fieldLen) { in formatDuration() argument
245 int len = formatDurationLocked(duration, fieldLen); in formatDuration()
[all …]