Home
last modified time | relevance | path

Searched refs:setTimeInMillis (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/
DDatePicker.java92 mMinDate.setTimeInMillis(mTempDate.getTimeInMillis()); in DatePicker()
102 mMaxDate.setTimeInMillis(mTempDate.getTimeInMillis()); in DatePicker()
297 mTempDate.setTimeInMillis(mCurrentDate.getTimeInMillis()); in onColumnValueChanged()
323 mTempDate.setTimeInMillis(minDate); in setMinDate()
328 mMinDate.setTimeInMillis(minDate); in setMinDate()
330 mCurrentDate.setTimeInMillis(mMinDate.getTimeInMillis()); in setMinDate()
358 mTempDate.setTimeInMillis(maxDate); in setMaxDate()
363 mMaxDate.setTimeInMillis(maxDate); in setMaxDate()
365 mCurrentDate.setTimeInMillis(mMaxDate.getTimeInMillis()); in setMaxDate()
397 mCurrentDate.setTimeInMillis(mMinDate.getTimeInMillis()); in setDate()
[all …]
DPickerUtility.java94 newCalendar.setTimeInMillis(currentTimeMillis); in getCalendarForLocale()
/frameworks/base/core/java/android/widget/
DDatePickerSpinnerDelegate.java124 mTempDate.setTimeInMillis(mCurrentDate.getTimeInMillis()); in DatePickerSpinnerDelegate()
223 mCurrentDate.setTimeInMillis(System.currentTimeMillis()); in DatePickerSpinnerDelegate()
287 mTempDate.setTimeInMillis(minDate); in setMinDate()
293 mMinDate.setTimeInMillis(minDate); in setMinDate()
296 mCurrentDate.setTimeInMillis(mMinDate.getTimeInMillis()); in setMinDate()
305 minDate.setTimeInMillis(mCalendarView.getMinDate()); in getMinDate()
311 mTempDate.setTimeInMillis(maxDate); in setMaxDate()
317 mMaxDate.setTimeInMillis(maxDate); in setMaxDate()
320 mCurrentDate.setTimeInMillis(mMaxDate.getTimeInMillis()); in setMaxDate()
329 maxDate.setTimeInMillis(mCalendarView.getMaxDate()); in getMaxDate()
[all …]
DDatePickerCalendarDelegate.java238 mCurrentDate.setTimeInMillis(day.getTimeInMillis());
426 mTempDate.setTimeInMillis(minDate); in setMinDate()
433 mCurrentDate.setTimeInMillis(minDate); in setMinDate()
436 mMinDate.setTimeInMillis(minDate); in setMinDate()
448 mTempDate.setTimeInMillis(maxDate); in setMaxDate()
455 mCurrentDate.setTimeInMillis(maxDate); in setMaxDate()
458 mMaxDate.setTimeInMillis(maxDate); in setMaxDate()
554 mMinDate.setTimeInMillis(ss.getMinDate()); in onRestoreInstanceState()
555 mMaxDate.setTimeInMillis(ss.getMaxDate()); in onRestoreInstanceState()
DDayPickerView.java309 mSelectedDay.setTimeInMillis(timeInMillis);
330 mTempCalendar.setTimeInMillis(timeInMillis);
343 mMinDate.setTimeInMillis(timeInMillis);
352 mMaxDate.setTimeInMillis(timeInMillis);
397 mTempCalendar.setTimeInMillis(timeInMillis);
DCalendarViewLegacyDelegate.java328 mTempDate.setTimeInMillis(System.currentTimeMillis()); in CalendarViewLegacyDelegate()
492 mTempDate.setTimeInMillis(minDate); in setMinDate()
496 mMinDate.setTimeInMillis(minDate); in setMinDate()
525 mTempDate.setTimeInMillis(maxDate); in setMaxDate()
529 mMaxDate.setTimeInMillis(maxDate); in setMaxDate()
587 mTempDate.setTimeInMillis(date); in setDate()
607 calendarDate.setTimeInMillis(date); in getBoundsForDate()
678 newCalendar.setTimeInMillis(currentTimeMillis); in getCalendarForLocale()
821 mFirstDayOfMonth.setTimeInMillis(date.getTimeInMillis()); in goTo()
1056 mSelectedDate.setTimeInMillis(selectedDay.getTimeInMillis()); in setSelectedDay()
[all …]
DDigitalClock.java84 mCalendar.setTimeInMillis(System.currentTimeMillis()); in onAttachedToWindow()
DDayPickerPagerAdapter.java79 mMinDate.setTimeInMillis(min.getTimeInMillis()); in setRange()
80 mMaxDate.setTimeInMillis(max.getTimeInMillis()); in setRange()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DDateUtils.java41 c.setTimeInMillis(when); in getKMLTimestamp()
58 c.setTimeInMillis(System.currentTimeMillis()); in getCurrentTimestamp()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DScheduleCalendarTest.java80 expected.setTimeInMillis(cal.getTimeInMillis()); in testGetNextChangeTime_startToday()
85 actual.setTimeInMillis(actualMs); in testGetNextChangeTime_startToday()
106 expected.setTimeInMillis(cal.getTimeInMillis()); in testGetNextChangeTime_endToday()
112 actual.setTimeInMillis(actualMs); in testGetNextChangeTime_endToday()
133 expected.setTimeInMillis(cal.getTimeInMillis()); in testGetNextChangeTime_startTomorrow()
140 actual.setTimeInMillis(actualMs); in testGetNextChangeTime_startTomorrow()
161 expected.setTimeInMillis(cal.getTimeInMillis()); in testGetNextChangeTime_endTomorrow()
168 actual.setTimeInMillis(actualMs); in testGetNextChangeTime_endTomorrow()
/frameworks/base/core/java/android/service/notification/
DScheduleCalendar.java115 mCalendar.setTimeInMillis(millis); in getTime()
178 mCalendar.setTimeInMillis(time); in getDayOfWeek()
192 mCalendar.setTimeInMillis(time); in addDays()
/frameworks/base/services/usage/java/com/android/server/usage/
DUnixCalendar.java50 public void setTimeInMillis(long time) { in setTimeInMillis() method in UnixCalendar
DUsageStatsDatabase.java490 mCal.setTimeInMillis(currentTimeMillis); in prune()
495 mCal.setTimeInMillis(currentTimeMillis); in prune()
500 mCal.setTimeInMillis(currentTimeMillis); in prune()
505 mCal.setTimeInMillis(currentTimeMillis); in prune()
510 mCal.setTimeInMillis(currentTimeMillis); in prune()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/wizard/
DGuidedDatePickerTest.java173 currentActionCal.setTimeInMillis(pickerView.getDate()); in verticalScrollToFieldValue()
176 minCal.setTimeInMillis(pickerView.getMinDate()); in verticalScrollToFieldValue()
179 maxCal.setTimeInMillis(pickerView.getMaxDate()); in verticalScrollToFieldValue()
227 mCurrentDate.setTimeInMillis(mMaxDate.getTimeInMillis()); in addDate()
234 mCurrentDate.setTimeInMillis(mMinDate.getTimeInMillis()); in addDate()
614 currentActionCal.setTimeInMillis(dateAction.getDate()); in traverseMonths()
900 currentActionCal.setTimeInMillis(dateAction.getDate()); in scrollToMinAndMaxDates()
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/content/
DSimpleWakefulController.java60 calendar.setTimeInMillis(System.currentTimeMillis());
/frameworks/base/services/core/java/com/android/server/
DMountServiceIdler.java113 calendar.setTimeInMillis(System.currentTimeMillis()); in tomorrowMidnight()
/frameworks/base/core/java/android/content/
DSyncStatusInfo.java439 c1.setTimeInMillis(time1); in areSameDates()
440 c2.setTimeInMillis(time2); in areSameDates()
/frameworks/base/core/java/android/text/format/
DDateUtils.java481 thenCal.setTimeInMillis(then); in formatSameDayTime()
484 nowCal.setTimeInMillis(now); in formatSameDayTime()
DTime.java765 calculator.setTimeInMillis(millis); in set()
1086 public void setTimeInMillis(long millis) { in setTimeInMillis() method in Time.TimeCalculator
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeUi.java188 calendar.setTimeInMillis(timeInMillis); in roundToNextMinute()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java228 mCalendar.setTimeInMillis(System.currentTimeMillis()); in updateClock()
403 mCalendar.setTimeInMillis(Long.parseLong(millis)); in dispatchDemoCommand()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DMonthAdapter.java99 calendar.setTimeInMillis(timeInMillis); in setTime()
/frameworks/base/media/java/android/media/
DMetadata.java503 cal.setTimeInMillis(timeSinceEpoch); in getDate()
/frameworks/support/textclassifier/src/androidTest/java/androidx/textclassifier/
DTextClassificationTest.java146 referenceTime.setTimeInMillis(946684800000L); // 2000-01-01 00:00:00 in testParcelOptions()
/frameworks/base/core/java/android/util/
DTimeUtils.java303 c.setTimeInMillis(millis); in logTimeOfDay()

123