/packages/apps/Messaging/src/com/android/messaging/util/ |
D | Dates.java | 37 public static final long HOUR_IN_MILLIS = MINUTE_IN_MILLIS * 60; field in Dates 38 public static final long DAY_IN_MILLIS = HOUR_IN_MILLIS * 24; 134 } else if (!minPeriodToday && timeDiff < DateUtils.HOUR_IN_MILLIS) { in getTimestamp() 247 if (duration < HOUR_IN_MILLIS) { in getShortRelativeTimeSpanString() 251 count = duration / HOUR_IN_MILLIS; in getShortRelativeTimeSpanString()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | TimerTextController.java | 21 import static android.text.format.DateUtils.HOUR_IN_MILLIS; 43 int hours = (int) (remainingTime / HOUR_IN_MILLIS); in setTimeString() 44 int remainder = (int) (remainingTime % HOUR_IN_MILLIS); in setTimeString()
|
D | StopwatchTextController.java | 24 import static android.text.format.DateUtils.HOUR_IN_MILLIS; 50 final int hours = (int) (accumulatedTime / HOUR_IN_MILLIS); in setTimeString() 51 int remainder = (int) (accumulatedTime % HOUR_IN_MILLIS); in setTimeString()
|
D | ClockFragment.java | 493 final int hoursDifferent = (int) (offsetDelta / DateUtils.HOUR_IN_MILLIS); in bind() 495 final boolean displayMinutes = offsetDelta % DateUtils.HOUR_IN_MILLIS != 0; in bind()
|
D | Utils.java | 443 final long hour = gmtOffset / DateUtils.HOUR_IN_MILLIS; in getGMTHourOffset() 444 final long min = (Math.abs(gmtOffset) % DateUtils.HOUR_IN_MILLIS) / in getGMTHourOffset()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/util/ |
D | FormatUtils.java | 46 if (millis >= DateUtils.HOUR_IN_MILLIS) { in formatDuration() 48 (int) ((millis + DateUtils.HOUR_IN_MILLIS / 2) / DateUtils.HOUR_IN_MILLIS); in formatDuration()
|
/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
D | PeriodicCallbackModel.java | 35 import static android.text.format.DateUtils.HOUR_IN_MILLIS; 156 final long lastHour = periodStart - (periodStart % HOUR_IN_MILLIS); in getDelay() 157 final long nextHour = lastHour + HOUR_IN_MILLIS; in getDelay()
|
D | PeriodicCallbackModel.kt | 190 val lastHour = periodStart - periodStart % DateUtils.HOUR_IN_MILLIS in getDelay() 191 val nextHour = lastHour + DateUtils.HOUR_IN_MILLIS in getDelay()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | LapsAdapter.java | 44 private static final long HOUR = DateUtils.HOUR_IN_MILLIS; 247 hours = (int) (time / DateUtils.HOUR_IN_MILLIS); in formatTime() 248 int remainder = (int) (time % DateUtils.HOUR_IN_MILLIS); in formatTime()
|
D | LapsAdapter.kt | 284 private val HOUR: Long = DateUtils.HOUR_IN_MILLIS 313 hours = (time / DateUtils.HOUR_IN_MILLIS).toInt() in formatTime() 314 var remainder = (time % DateUtils.HOUR_IN_MILLIS).toInt() in formatTime()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | TimerStringFormatter.java | 25 import static android.text.format.DateUtils.HOUR_IN_MILLIS; 36 int roundedHours = (int) (remainingTime / HOUR_IN_MILLIS); in formatTimeRemaining()
|
D | TimerStringFormatter.kt | 20 import android.text.format.DateUtils.HOUR_IN_MILLIS 38 var roundedHours = (remainingTime / HOUR_IN_MILLIS).toInt() in formatTimeRemaining()
|
D | Timer.java | 25 import static android.text.format.DateUtils.HOUR_IN_MILLIS; 77 99 * HOUR_IN_MILLIS + 99 * MINUTE_IN_MILLIS + 99 * SECOND_IN_MILLIS;
|
D | Timer.kt | 20 import android.text.format.DateUtils.HOUR_IN_MILLIS in <lambda>() 338 val MAX_LENGTH: Long = 99 * HOUR_IN_MILLIS + 99 * MINUTE_IN_MILLIS + 99 * SECOND_IN_MILLIS in <lambda>()
|
D | SettingsDAO.kt | 25 import android.text.format.DateUtils.HOUR_IN_MILLIS 368 val hour: Long = absoluteGMTOffset / HOUR_IN_MILLIS
|
D | SettingsDAO.java | 39 import static android.text.format.DateUtils.HOUR_IN_MILLIS; 377 final long hour = absoluteGMTOffset / HOUR_IN_MILLIS; in TimeZoneDescriptor()
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | CellBroadcastHandlerTest.java | 97 System.currentTimeMillis() - DateUtils.HOUR_IN_MILLIS * 2, in query() 98 System.currentTimeMillis() - DateUtils.HOUR_IN_MILLIS * 2, in query()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/ |
D | BatteryTipDialogFragmentTest.java | 60 private static final long SCREEN_TIME_MS = DateUtils.HOUR_IN_MILLIS; 61 private static final long AVERAGE_TIME_MS = DateUtils.HOUR_IN_MILLIS;
|
D | AppInfoTest.java | 41 private static final long SCREEN_TIME_MS = DateUtils.HOUR_IN_MILLIS;
|
D | BatteryTipPolicyTest.java | 100 assertThat(batteryTipPolicy.highUsagePeriodMs).isEqualTo(2 * DateUtils.HOUR_IN_MILLIS); in testInit_defaultValues()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramGuide.java | 88 private static final long HOUR_IN_MILLIS = TimeUnit.HOURS.toMillis(1); field in ProgramGuide 89 private static final long HALF_HOUR_IN_MILLIS = HOUR_IN_MILLIS / 2; 218 mViewPortMillis = (gridWidth * HOUR_IN_MILLIS) / mWidthPerHour; in ProgramGuide() 1061 (int) (mWidthPerHour * mProgramManager.getShiftedTime() / HOUR_IN_MILLIS); in onTimeRangeUpdated()
|
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/ |
D | TimerSetupViewTest.java | 43 import static android.text.format.DateUtils.HOUR_IN_MILLIS; 268 hours * HOUR_IN_MILLIS + minutes * MINUTE_IN_MILLIS + seconds * SECOND_IN_MILLIS; in assertHasValue()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 1945 startMs + DateUtils.HOUR_IN_MILLIS, in testInstanceSearchQuery() 1957 startMs + DateUtils.HOUR_IN_MILLIS, in testInstanceSearchQuery() 1969 startMs + DateUtils.HOUR_IN_MILLIS, in testInstanceSearchQuery() 1981 startMs + DateUtils.HOUR_IN_MILLIS, in testInstanceSearchQuery() 1993 startMs + DateUtils.HOUR_IN_MILLIS, in testInstanceSearchQuery() 2005 startMs + DateUtils.HOUR_IN_MILLIS, in testInstanceSearchQuery() 2017 startMs + DateUtils.HOUR_IN_MILLIS, in testInstanceSearchQuery() 2029 startMs + DateUtils.HOUR_IN_MILLIS, in testInstanceSearchQuery() 2751 startMs - DateUtils.YEAR_IN_MILLIS, startMs + DateUtils.HOUR_IN_MILLIS, in testInstanceQuery() 2761 startMs - DateUtils.YEAR_IN_MILLIS, startMs + 2 * DateUtils.HOUR_IN_MILLIS, in testInstanceQuery()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/ |
D | SummaryDetectorTest.java | 39 private static final long AVERAGE_TIME_MS = DateUtils.HOUR_IN_MILLIS;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/tips/ |
D | SummaryTipTest.java | 40 private static final long AVERAGE_TIME_MS = DateUtils.HOUR_IN_MILLIS;
|