Home
last modified time | relevance | path

Searched refs:SECONDS_PER_HOUR (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DStringUtil.java40 public static final int SECONDS_PER_HOUR = 60 * 60; field in StringUtil
70 if (seconds >= SECONDS_PER_HOUR) { in formatElapsedTime()
71 hours = seconds / SECONDS_PER_HOUR; in formatElapsedTime()
72 seconds -= hours * SECONDS_PER_HOUR; in formatElapsedTime()
141 } else if (seconds < 2 * SECONDS_PER_HOUR) { in formatRelativeTime()
147 value = (seconds + SECONDS_PER_HOUR / 2) in formatRelativeTime()
148 / SECONDS_PER_HOUR; in formatRelativeTime()
/frameworks/base/core/java/android/text/format/
DFormatter.java215 private static final int SECONDS_PER_HOUR = 60 * 60; field in Formatter
236 if (secondsLong >= SECONDS_PER_HOUR) { in formatShortElapsedTime()
237 hours = (int)(secondsLong / SECONDS_PER_HOUR); in formatShortElapsedTime()
238 secondsLong -= hours * SECONDS_PER_HOUR; in formatShortElapsedTime()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DEventIndexTest.java40 private static final long SECONDS_PER_HOUR = 60L * 60L; field in EventIndexTest
41 private static final long SECONDS_PER_DAY = SECONDS_PER_HOUR * 24L;
88 mInjector.moveTimeForwardSeconds(SECONDS_PER_HOUR * 3L); in testBitmapShift()
/frameworks/base/core/java/android/util/
DTimeUtils.java173 private static final int SECONDS_PER_HOUR = 60 * 60; field in TimeUtils
278 if (seconds >= SECONDS_PER_HOUR) { in formatDurationLocked()
279 hours = seconds / SECONDS_PER_HOUR; in formatDurationLocked()
280 seconds -= hours * SECONDS_PER_HOUR; in formatDurationLocked()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt59400 Landroid/text/format/Formatter;->SECONDS_PER_HOUR:I
61709 Landroid/util/TimeUtils;->SECONDS_PER_HOUR:I