Home
last modified time | relevance | path

Searched refs:toMillis (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/java/android/widget/
DDateTimeView.java99 mTimeMillis = t.toMillis(false); in setTime()
119 long twelveHoursBefore = t.toMillis(false); in update()
121 long twelveHoursAfter = t.toMillis(false); in update()
124 long midnightBefore = t.toMillis(false); in update()
126 long midnightAfter = t.toMillis(false); in update()
DAnalogClock.java270 time.toMillis(false), flags); in updateContentDescription()
/frameworks/base/core/java/android/text/format/
DTime.java231 long timeInMillis = calculator.toMillis(ignoreDst); in normalize()
751 public long toMillis(boolean ignoreDst) { in toMillis() method in Time
753 return calculator.toMillis(ignoreDst); in toMillis()
952 long millis = time.toMillis(true); in isEpoch()
1075 public long toMillis(boolean ignoreDst) { in toMillis() method in Time.TimeCalculator
1202 toMillis(false /* use isDst */) / 1000 in toStringInternal()
1245 long am = aObject.toMillis(false /* use isDst */); in compare()
1246 long bm = bObject.toMillis(false /* use isDst */); in compare()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileDataControllerImpl.java134 start = policyTime.toMillis(false); in getDataUsageInfo()
135 end = addMonth(policyTime, 1).toMillis(false); in getDataUsageInfo()
137 start = addMonth(policyTime, -1).toMillis(false); in getDataUsageInfo()
138 end = policyTime.toMillis(false); in getDataUsageInfo()
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DRecurrenceProcessorTest.java109 long[] out = rp.expand(dtstart, recur, rangeStart.toMillis(false /* use isDst */), in verifyRecurrence()
110 rangeEnd.toMillis(false /* use isDst */)); in verifyRecurrence()
153 lastMillis = outCal.toMillis(true /* ignore isDst */); in verifyRecurrence()
158 expectedMillis = expectedLast.toMillis(true /* ignore isDst */); in verifyRecurrence()
2463 long rangeStartMillis = rangeStart.toMillis(false /* use isDst */); in performanceTextExpand()
2464 long rangeEndMillis = rangeEnd.toMillis(false /* use isDst */); in performanceTextExpand()
DRRuleTest.java118 long[] out = rp.expand(dtstart, recur, rangeStart.toMillis(false /* use isDst */), in runRecurrenceIteratorTest()
119 rangeEnd.toMillis(false /* use isDst */)); in runRecurrenceIteratorTest()
/frameworks/base/core/tests/coretests/src/android/text/format/
DTimeTest.java206 long millis = local.toMillis(true /* ignore isDst */); in testNormalize1()
251 long millis = local.toMillis(false /* use isDst */); in testNormalize1()
335 long r = t.toMillis(true /* ignore isDst */); in testMillis0()
338 r = t.toMillis(true /* ignore isDst */); in testMillis0()
346 long r = t.toMillis(true /* ignore isDst */); in testMillis1()
596 millis = time.toMillis(false); in disableTestSetJulianDay()
/frameworks/base/services/core/java/com/android/server/policy/
DBurnInProtectionHelper.java46 private static final long BURNIN_PROTECTION_WAKEUP_INTERVAL_MS = TimeUnit.MINUTES.toMillis(1);
47 private static final long BURNIN_PROTECTION_MINIMAL_INTERVAL_MS = TimeUnit.SECONDS.toMillis(10);
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java241 return cycle.toMillis(true); in computeLastCycleBoundary()
271 return cycle.toMillis(true); in computeNextCycleBoundary()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceSet.java173 dates[i] = time.toMillis(false /* use isDst */); in parseRecurrenceDates()
231 long millis = start.toMillis(false /* use isDst */); in populateContentValues()
489 long durationMillis = end.toMillis(false /* use isDst */) in computeDuration()
490 - start.toMillis(false /* use isDst */); in computeDuration()
DRecurrenceProcessor.java96 long untilTime = mIterator.toMillis(false /* use isDst */); in getLastOccurence()
132 dtstart.toMillis(false /* use isDst */) /* range start */, in getLastOccurence()
134 maxtime.toMillis(false /* use isDst */) : -1 /* range end */); in getLastOccurence()
706 dates[i++] = mIterator.toMillis(true /* ignore isDst */); in expand()
/frameworks/opt/telephony/src/java/android/telephony/
DSmsCbEtwsInfo.java166 return time.toMillis(true) - timezoneOffset * 15 * 60 * 1000; in getPrimaryNotificationTimestamp()
/frameworks/base/core/java/com/android/internal/http/
DHttpDateTime.java121 return time.toMillis(false /* use isDst */); in parse()
/frameworks/ex/common/java/com/android/common/
DLegacyHttpDateTime.java121 return time.toMillis(false /* use isDst */); in parse()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DMonthAdapter.java92 setTime(time.toMillis(false)); in setJulianDay()
/frameworks/base/media/java/android/media/
DMediaSync.java566 long pendingTimeMs = TimeUnit.MICROSECONDS.toMillis( in postRenderAudio()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DSmsMessage.java612 return time.toMillis(true) - (timezoneOffset * 15 * 60 * 1000); in getSCTimestampMillis()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DSmsMessage.java755 mScTimeMillis = mBearerData.msgCenterTimeStamp.toMillis(true); in parseSms()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java829 return result.toMillis(true); in parseTime()
/frameworks/base/docs/html/training/wearables/apps/
Dalways-on.jd313 private static final long AMBIENT_INTERVAL_MS = TimeUnit.SECONDS.toMillis(20);
/frameworks/base/api/
Dcurrent.txt32631 method public long toMillis(boolean);
52628 method public long toMillis(long);
Dsystem-current.txt34923 method public long toMillis(boolean);
55234 method public long toMillis(long);