Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DStringUtil.java39 public static final int SECONDS_PER_MINUTE = 60; field in StringUtil
70 if (seconds >= SECONDS_PER_MINUTE) { in formatElapsedTime()
71 minutes = seconds / SECONDS_PER_MINUTE; in formatElapsedTime()
72 seconds -= minutes * SECONDS_PER_MINUTE; in formatElapsedTime()
129 if (withSeconds && seconds < 2 * SECONDS_PER_MINUTE) { in formatRelativeTime()
133 value = (seconds + SECONDS_PER_MINUTE / 2) in formatRelativeTime()
134 / SECONDS_PER_MINUTE; in formatRelativeTime()
/frameworks/base/core/java/android/text/format/
DFormatter.java213 private static final int SECONDS_PER_MINUTE = 60; field in Formatter
239 if (secondsLong >= SECONDS_PER_MINUTE) { in formatShortElapsedTime()
240 minutes = (int)(secondsLong / SECONDS_PER_MINUTE); in formatShortElapsedTime()
241 secondsLong -= minutes * SECONDS_PER_MINUTE; in formatShortElapsedTime()
/frameworks/base/core/java/android/util/
DTimeUtils.java143 private static final int SECONDS_PER_MINUTE = 60; field in TimeUtils
253 if (seconds >= SECONDS_PER_MINUTE) { in formatDurationLocked()
254 minutes = seconds / SECONDS_PER_MINUTE; in formatDurationLocked()
255 seconds -= minutes * SECONDS_PER_MINUTE; in formatDurationLocked()