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.java70 int offsetMillis, boolean isDst, long whenMillis, String countryIso) { in getIcuTimeZone() argument
82 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/core/java/android/text/format/
DTime.java973 long offsetMillis = gmtoff * 1000; in getJulianDay() local
974 long julianDay = (millis + offsetMillis) / DateUtils.DAY_IN_MILLIS; in getJulianDay()
/frameworks/base/services/core/java/com/android/server/appop/
DHistoricalRegistry.java488 void offsetHistory(long offsetMillis) { in offsetHistory() argument
501 ops.offsetBeginAndEndTime(offsetMillis); in offsetHistory()
503 if (offsetMillis < 0) { in offsetHistory()
528 private void resampleHistoryOnDiskInMemoryDMLocked(long offsetMillis) { in resampleHistoryOnDiskInMemoryDMLocked() argument
530 offsetHistory(offsetMillis); in resampleHistoryOnDiskInMemoryDMLocked()
DAppOpsService.java4481 public void offsetHistory(long offsetMillis) { in offsetHistory() argument
4485 mHistoricalRegistry.offsetHistory(offsetMillis); in offsetHistory()
/frameworks/base/core/java/android/app/
DAppOpsManager.java3102 public void offsetBeginAndEndTime(long offsetMillis) { in offsetBeginAndEndTime() argument
3103 mBeginTimeMillis += offsetMillis; in offsetBeginAndEndTime()
3104 mEndTimeMillis += offsetMillis; in offsetBeginAndEndTime()
5553 public void offsetHistory(long offsetMillis) { in offsetHistory() argument
5555 mService.offsetHistory(offsetMillis); in offsetHistory()