Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/widget/
DDatePickerCalendarDelegate.java239 mCurrentDate.setTimeInMillis(day.getTimeInMillis());
264 mCurrentDate.setTimeInMillis(mMinDate.getTimeInMillis());
266 mCurrentDate.setTimeInMillis(mMaxDate.getTimeInMillis());
432 mTempDate.setTimeInMillis(minDate); in setMinDate()
439 mCurrentDate.setTimeInMillis(minDate); in setMinDate()
442 mMinDate.setTimeInMillis(minDate); in setMinDate()
454 mTempDate.setTimeInMillis(maxDate); in setMaxDate()
461 mCurrentDate.setTimeInMillis(maxDate); in setMaxDate()
464 mMaxDate.setTimeInMillis(maxDate); in setMaxDate()
560 mMinDate.setTimeInMillis(ss.getMinDate()); in onRestoreInstanceState()
[all …]
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 …]
DDayPickerView.java307 mSelectedDay.setTimeInMillis(timeInMillis);
328 mTempCalendar.setTimeInMillis(timeInMillis);
341 mMinDate.setTimeInMillis(timeInMillis);
350 mMaxDate.setTimeInMillis(timeInMillis);
395 mTempCalendar.setTimeInMillis(timeInMillis);
DCalendarViewLegacyDelegate.java326 mTempDate.setTimeInMillis(System.currentTimeMillis()); in CalendarViewLegacyDelegate()
490 mTempDate.setTimeInMillis(minDate); in setMinDate()
494 mMinDate.setTimeInMillis(minDate); in setMinDate()
523 mTempDate.setTimeInMillis(maxDate); in setMaxDate()
527 mMaxDate.setTimeInMillis(maxDate); in setMaxDate()
585 mTempDate.setTimeInMillis(date); in setDate()
605 calendarDate.setTimeInMillis(date); in getBoundsForDate()
676 newCalendar.setTimeInMillis(currentTimeMillis); in getCalendarForLocale()
819 mFirstDayOfMonth.setTimeInMillis(date.getTimeInMillis()); in goTo()
1054 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()
DTextClock.java659 mTime.setTimeInMillis(System.currentTimeMillis()); in onTimeChanged()
/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/core/java/android/service/notification/
DScheduleCalendar.java116 mCalendar.setTimeInMillis(millis); in getTime()
179 mCalendar.setTimeInMillis(time); in getDayOfWeek()
193 mCalendar.setTimeInMillis(time); in addDays()
226 mCalendar.setTimeInMillis(resTime); in getClosestActualTime()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DScheduleCalendarTest.java81 expected.setTimeInMillis(cal.getTimeInMillis()); in testGetNextChangeTime_startToday()
86 actual.setTimeInMillis(actualMs); in testGetNextChangeTime_startToday()
107 expected.setTimeInMillis(cal.getTimeInMillis()); in testGetNextChangeTime_endToday()
113 actual.setTimeInMillis(actualMs); in testGetNextChangeTime_endToday()
134 expected.setTimeInMillis(cal.getTimeInMillis()); in testGetNextChangeTime_startTomorrow()
141 actual.setTimeInMillis(actualMs); in testGetNextChangeTime_startTomorrow()
162 expected.setTimeInMillis(cal.getTimeInMillis()); in testGetNextChangeTime_endTomorrow()
169 actual.setTimeInMillis(actualMs); in testGetNextChangeTime_endTomorrow()
198 expected.setTimeInMillis(tomorrow.getTimeInMillis()); in testGetNextChangeTime_startTomorrowInDaylight()
206 actual.setTimeInMillis(actualMs); in testGetNextChangeTime_startTomorrowInDaylight()
[all …]
DNotificationHistoryDatabaseTest.java107 cal.setTimeInMillis(10); in testPrune()
142 cal.setTimeInMillis(10); in testPrune_badFileName_noCrash()
/frameworks/base/services/usage/java/com/android/server/usage/
DUnixCalendar.java50 public void setTimeInMillis(long time) { in setTimeInMillis() method in UnixCalendar
DUsageStatsDatabase.java917 mCal.setTimeInMillis(currentTimeMillis); in prune()
922 mCal.setTimeInMillis(currentTimeMillis); in prune()
927 mCal.setTimeInMillis(currentTimeMillis); in prune()
932 mCal.setTimeInMillis(currentTimeMillis); in prune()
937 mCal.setTimeInMillis(currentTimeMillis); in prune()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DTime.java145 mCalendar.setTimeInMillis(millis); in set()
152 mCalendar.setTimeInMillis(other.mCalendar.getTimeInMillis()); in set()
170 mCalendar.setTimeInMillis(millis); in setJulianDay()
213 mCalendar.setTimeInMillis(msBefore); in switchTimezone()
/frameworks/base/core/java/android/text/format/
DDateUtilsBridge.java68 calendar.setTimeInMillis(timeInMillis); in createIcuCalendar()
191 now.setTimeInMillis(System.currentTimeMillis()); in isThisYear()
DDateUtils.java502 thenCal.setTimeInMillis(then); in formatSameDayTime()
505 nowCal.setTimeInMillis(now); in formatSameDayTime()
DTime.java765 calculator.setTimeInMillis(millis); in set()
1097 public void setTimeInMillis(long millis) { in setTimeInMillis() method in Time.TimeCalculator
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DImageClock.java61 mTime.setTimeInMillis(System.currentTimeMillis()); in onTimeChanged()
/frameworks/base/services/core/java/com/android/server/
DMountServiceIdler.java123 calendar.setTimeInMillis(System.currentTimeMillis()); in offsetFromTodayMidnight()
/frameworks/base/core/java/android/content/
DSyncStatusInfo.java506 c1.setTimeInMillis(time1); in areSameDates()
507 c2.setTimeInMillis(time2); in areSameDates()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeUi.java192 calendar.setTimeInMillis(timeInMillis); in roundToNextMinute()
/frameworks/base/media/java/android/media/
DMetadata.java519 cal.setTimeInMillis(timeSinceEpoch); in getDate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java302 mCalendar.setTimeInMillis(System.currentTimeMillis()); in updateClock()
498 mCalendar.setTimeInMillis(Long.parseLong(millis)); in dispatchDemoCommand()
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java288 noon.setTimeInMillis(timeMillis); in calculateTwilightState()
/frameworks/base/core/java/android/util/
DTimeUtils.java399 c.setTimeInMillis(millis); in logTimeOfDay()

12