Home
last modified time | relevance | path

Searched refs:offsetMillis (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/
DZoneGetter.java133 int offsetMillis = tz.getOffset(now.getTime()); in getZonesList() local
135 createDisplayEntry(tz, gmtOffsetText, displayName, offsetMillis); in getZonesList()
142 TimeZone tz, CharSequence gmtOffsetText, CharSequence displayName, int offsetMillis) { in createDisplayEntry() argument
149 map.put(KEY_OFFSET, offsetMillis); in createDisplayEntry()
307 int offsetMillis = tz.getOffset(now.getTime()); in getGmtOffsetText() local
308 final boolean negative = offsetMillis < 0; in getGmtOffsetText()
311 offsetMillis = -offsetMillis; in getGmtOffsetText()
319 final int offsetHours = (int) (offsetMillis / DateUtils.HOUR_IN_MILLIS); in getGmtOffsetText()
320 final int offsetMinutes = (int) (offsetMillis / DateUtils.MINUTE_IN_MILLIS); in getGmtOffsetText()
/frameworks/base/core/java/android/util/
DTimeUtils.java100 int offsetMillis, boolean isDst, long whenMillis, String countryIso) { in getIcuTimeZone() argument
112 whenMillis, bias, offsetMillis, isDst); in getIcuTimeZone()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneData.java294 int offsetMillis = tzi.getNowOffsetMillis(); in indexByOffsets() local
295 int index = OFFSET_ARRAY_OFFSET + (int) (offsetMillis / DateUtils.HOUR_IN_MILLIS); in indexByOffsets()
/frameworks/base/services/core/java/com/android/server/appop/
DHistoricalRegistry.java581 void offsetHistory(long offsetMillis) { in offsetHistory() argument
595 ops.offsetBeginAndEndTime(offsetMillis); in offsetHistory()
597 if (offsetMillis < 0) { in offsetHistory()
605 void offsetDiscreteHistory(long offsetMillis) { in offsetDiscreteHistory() argument
606 mDiscreteRegistry.offsetHistory(offsetMillis); in offsetDiscreteHistory()
625 private void resampleHistoryOnDiskInMemoryDMLocked(long offsetMillis) { in resampleHistoryOnDiskInMemoryDMLocked() argument
627 offsetHistory(offsetMillis); in resampleHistoryOnDiskInMemoryDMLocked()
DAppOpsService.java6705 public void offsetHistory(long offsetMillis) {
6709 mHistoricalRegistry.offsetHistory(offsetMillis);
6710 mHistoricalRegistry.offsetDiscreteHistory(offsetMillis);
/frameworks/base/core/java/android/text/format/
DTime.java980 long offsetMillis = gmtoffSeconds * 1000; in getJulianDay() local
981 long adjustedMillis = millis + offsetMillis; in getJulianDay()
/frameworks/base/core/java/android/app/
DAppOpsManager.java5329 public void offsetBeginAndEndTime(long offsetMillis) { in offsetBeginAndEndTime() argument
5330 mBeginTimeMillis += offsetMillis; in offsetBeginAndEndTime()
5331 mEndTimeMillis += offsetMillis; in offsetBeginAndEndTime()
9726 public void offsetHistory(long offsetMillis) { in offsetHistory() argument
9728 mService.offsetHistory(offsetMillis); in offsetHistory()