/packages/apps/Messaging/src/com/android/messaging/util/ |
D | Dates.java | 36 public static final long MINUTE_IN_MILLIS = SECOND_IN_MILLIS * 60; field in Dates 37 public static final long HOUR_IN_MILLIS = MINUTE_IN_MILLIS * 60; 67 if (now - time < DateUtils.MINUTE_IN_MILLIS) { in getRelativeTimeSpanString() 77 return DateUtils.getRelativeTimeSpanString(time, now, DateUtils.MINUTE_IN_MILLIS, in getRelativeTimeSpanString() 132 if (!minPeriodToday && timeDiff < DateUtils.MINUTE_IN_MILLIS) { in getTimestamp() 155 final long count = (timeDiff / MINUTE_IN_MILLIS); in getLessThanAnHourOldTimeString() 248 count = duration / MINUTE_IN_MILLIS; in getShortRelativeTimeSpanString()
|
/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
D | PeriodicCallbackModel.java | 36 import static android.text.format.DateUtils.MINUTE_IN_MILLIS; 55 private static final long QUARTER_HOUR_IN_MILLIS = 15 * MINUTE_IN_MILLIS; 146 final long lastMinute = periodStart - (periodStart % MINUTE_IN_MILLIS); in getDelay() 147 final long nextMinute = lastMinute + MINUTE_IN_MILLIS; in getDelay()
|
D | PeriodicCallbackModel.kt | 160 private const val QUARTER_HOUR_IN_MILLIS = 15 * DateUtils.MINUTE_IN_MILLIS 180 val lastMinute = periodStart - periodStart % DateUtils.MINUTE_IN_MILLIS in getDelay() 181 val nextMinute = lastMinute + DateUtils.MINUTE_IN_MILLIS in getDelay()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | TimerTextController.java | 22 import static android.text.format.DateUtils.MINUTE_IN_MILLIS; 46 int minutes = (int) (remainder / MINUTE_IN_MILLIS); in setTimeString() 47 remainder = (int) (remainder % MINUTE_IN_MILLIS); in setTimeString()
|
D | StopwatchTextController.java | 25 import static android.text.format.DateUtils.MINUTE_IN_MILLIS; 53 final int minutes = (int) (remainder / MINUTE_IN_MILLIS); in setTimeString() 54 remainder = (int) (remainder % MINUTE_IN_MILLIS); in setTimeString()
|
D | AlarmUtils.kt | 70 if (variableDelta < DateUtils.MINUTE_IN_MILLIS) { in formatElapsedTimeUntilAlarm() 77 val remainder = variableDelta % DateUtils.MINUTE_IN_MILLIS in formatElapsedTimeUntilAlarm() 78 variableDelta += if (remainder == 0L) 0 else DateUtils.MINUTE_IN_MILLIS - remainder in formatElapsedTimeUntilAlarm()
|
D | AlarmUtils.java | 66 if (delta < DateUtils.MINUTE_IN_MILLIS) { in formatElapsedTimeUntilAlarm() 73 final long remainder = delta % DateUtils.MINUTE_IN_MILLIS; in formatElapsedTimeUntilAlarm() 74 delta += remainder == 0 ? 0 : (DateUtils.MINUTE_IN_MILLIS - remainder); in formatElapsedTimeUntilAlarm()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/util/ |
D | FormatUtils.java | 50 } else if (millis >= DateUtils.MINUTE_IN_MILLIS) { in formatDuration() 52 (int) ((millis + DateUtils.MINUTE_IN_MILLIS / 2) / DateUtils.MINUTE_IN_MILLIS); in formatDuration()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | Timer.java | 26 import static android.text.format.DateUtils.MINUTE_IN_MILLIS; 77 99 * HOUR_IN_MILLIS + 99 * MINUTE_IN_MILLIS + 99 * SECOND_IN_MILLIS; 367 return setRemainingTime(MINUTE_IN_MILLIS); in addMinute() 371 return setRemainingTime(mRemainingTime + MINUTE_IN_MILLIS); in addMinute()
|
D | Timer.kt | 21 import android.text.format.DateUtils.MINUTE_IN_MILLIS in <lambda>() 312 setRemainingTime(MINUTE_IN_MILLIS) in <lambda>() 315 setRemainingTime(lastRemainingTime + MINUTE_IN_MILLIS) in <lambda>() 338 val MAX_LENGTH: Long = 99 * HOUR_IN_MILLIS + 99 * MINUTE_IN_MILLIS + 99 * SECOND_IN_MILLIS in <lambda>()
|
D | TimerStringFormatter.java | 26 import static android.text.format.DateUtils.MINUTE_IN_MILLIS; 37 int roundedMinutes = (int) (remainingTime / MINUTE_IN_MILLIS % 60); in formatTimeRemaining()
|
D | TimerStringFormatter.kt | 21 import android.text.format.DateUtils.MINUTE_IN_MILLIS 39 var roundedMinutes = (remainingTime / MINUTE_IN_MILLIS % 60).toInt() in formatTimeRemaining()
|
D | TimerNotificationBuilder.kt | 31 import android.text.format.DateUtils.MINUTE_IN_MILLIS 197 if (timer.isRunning && remainingTime > MINUTE_IN_MILLIS) { in build() 203 val nextMinuteChange: Long = remainingTime % MINUTE_IN_MILLIS in build()
|
D | TimerNotificationBuilder.java | 52 import static android.text.format.DateUtils.MINUTE_IN_MILLIS; 197 if (timer.isRunning() && remainingTime > MINUTE_IN_MILLIS) { in build() 203 final long nextMinuteChange = remainingTime % MINUTE_IN_MILLIS; in build()
|
D | SettingsDAO.kt | 26 import android.text.format.DateUtils.MINUTE_IN_MILLIS 369 val minute: Long = absoluteGMTOffset / MINUTE_IN_MILLIS % 60
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | AbstractPublicApiTest.java | 21 import static android.text.format.DateUtils.MINUTE_IN_MILLIS; 147 if (timeout > MINUTE_IN_MILLIS) { in waitForStatus() 155 if (timeout > MINUTE_IN_MILLIS) { in waitForStatus()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryAppListPreferenceControllerTest.java | 154 mNormalBatterySipper.usageTimeMs = 2 * DateUtils.MINUTE_IN_MILLIS; in testSetUsageSummary_timeMoreThanOneMinute_normalApp_setScreenSummary() 166 mNormalBatterySipper.usageTimeMs = 2 * DateUtils.MINUTE_IN_MILLIS; in testSetUsageSummary_timeMoreThanOneMinute_hiddenApp_setUsedSummary() 177 mNormalBatterySipper.usageTimeMs = 2 * DateUtils.MINUTE_IN_MILLIS; in testSetUsageSummary_timeMoreThanOneMinute_notApp_setUsedSummary()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarSanityCheckerTest.java | 80 mInjectedRealtimeMillis += DateUtils.DAY_IN_MILLIS - (15 * DateUtils.MINUTE_IN_MILLIS); in testWithLastCheckTime() 94 mInjectedRealtimeMillis += DateUtils.DAY_IN_MILLIS - (15 * DateUtils.MINUTE_IN_MILLIS); in testWithLastCheckTime()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | LapsAdapter.java | 43 private static final long TEN_MINUTES = 10 * DateUtils.MINUTE_IN_MILLIS; 250 minutes = (int) (remainder / DateUtils.MINUTE_IN_MILLIS); in formatTime() 251 remainder = (int) (remainder % DateUtils.MINUTE_IN_MILLIS); in formatTime()
|
D | LapsAdapter.kt | 283 private val TEN_MINUTES: Long = 10 * DateUtils.MINUTE_IN_MILLIS 315 minutes = (remainder / DateUtils.MINUTE_IN_MILLIS).toInt() in formatTime() 316 remainder = (remainder % DateUtils.MINUTE_IN_MILLIS).toInt() in formatTime()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/tips/ |
D | HighUsageTipTest.java | 45 private static final long SCREEN_TIME = 30 * DateUtils.MINUTE_IN_MILLIS; 46 private static final long LAST_FULL_CHARGE_TIME = 20 * DateUtils.MINUTE_IN_MILLIS;
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarSanityChecker.java | 55 15 * DateUtils.MINUTE_IN_MILLIS; 60 private static final long WTF_INTERVAL_MS = 60 * DateUtils.MINUTE_IN_MILLIS;
|
D | CalendarAlarmManager.java | 111 (15 * DateUtils.MINUTE_IN_MILLIS); 315 String subQuerySuffix = " -(" + Reminders.MINUTES + "*" + +DateUtils.MINUTE_IN_MILLIS + ")" in scheduleNextAlarmLocked() 408 } else if (alarmTime > nextAlarmTime + DateUtils.MINUTE_IN_MILLIS) { in scheduleNextAlarmLocked()
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
D | CallLogDates.java | 60 DateUtils.MINUTE_IN_MILLIS, in newCallLogTimestampLabel() 68 timestampMillis, nowMillis, DateUtils.MINUTE_IN_MILLIS); in newCallLogTimestampLabel()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadScanner.java | 19 import static android.text.format.DateUtils.MINUTE_IN_MILLIS; 45 private static final long SCAN_TIMEOUT = MINUTE_IN_MILLIS;
|