Home
last modified time | relevance | path

Searched refs:timeInMillis (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/widget/
DDayPickerView.java270 public void setDate(long timeInMillis) {
271 setDate(timeInMillis, false);
281 public void setDate(long timeInMillis, boolean animate) {
282 setDate(timeInMillis, animate, true);
293 private void setDate(long timeInMillis, boolean animate, boolean setSelected) {
296 if (timeInMillis < mMinDate.getTimeInMillis()) {
297 timeInMillis = mMinDate.getTimeInMillis();
299 } else if (timeInMillis > mMaxDate.getTimeInMillis()) {
300 timeInMillis = mMaxDate.getTimeInMillis();
304 getTempCalendarForTime(timeInMillis);
[all …]
/frameworks/base/services/core/java/com/android/server/pm/pkg/mutate/
DPackageStateWrite.java35 long timeInMillis); in setLastPackageUsageTime() argument
DPackageStateMutator.java209 public PackageStateWrite setLastPackageUsageTime(int reason, long timeInMillis) { in setLastPackageUsageTime() argument
211 mState.getTransientState().setLastPackageUsageTimeInMills(reason, timeInMillis); in setLastPackageUsageTime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeUi.java211 private long roundToNextMinute(long timeInMillis) { in roundToNextMinute() argument
213 calendar.setTimeInMillis(timeInMillis); in roundToNextMinute()
/frameworks/base/core/java/android/text/format/
DDateUtilsBridge.java66 long timeInMillis) { in createIcuCalendar() argument
68 calendar.setTimeInMillis(timeInMillis); in createIcuCalendar()
DTime.java231 long timeInMillis = calculator.toMillis(ignoreDst); in normalize() local
233 return timeInMillis; in normalize()
/frameworks/base/services/core/java/com/android/server/power/stats/
DAggregatedPowerStats.java279 private static String formatDateTime(long timeInMillis) { in formatDateTime() argument
282 return format.format(new Date(timeInMillis)); in formatDateTime()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsAggregatorTest.java180 private static String formatDateTime(long timeInMillis) { in formatDateTime() argument
183 return format.format(new Date(timeInMillis)); in formatDateTime()
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
DAnimatableClockView.kt183 time.timeInMillis = timeOverrideInMillis ?: System.currentTimeMillis() in <lambda>()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java292 public static TimeStamp fromMillis(long timeInMillis) { in fromMillis() argument
295 Instant.ofEpochMilli(timeInMillis).atZone(ts.mZoneId).toLocalDateTime(); in fromMillis()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DPersistAtomsStorage.java2620 private long normalizeDurationTo24H(long timeInMillis, long intervalMillis) { in normalizeDurationTo24H() argument
2622 return ((timeInMillis / 1000) * (DAY_IN_MILLIS / 1000) / interval) * 1000; in normalizeDurationTo24H()