Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/
DZoneGetter.java130 int offsetMillis = tz.getOffset(now.getTime()); in getZonesList() local
132 createDisplayEntry(tz, gmtOffsetText, displayName, offsetMillis); in getZonesList()
139 TimeZone tz, CharSequence gmtOffsetText, CharSequence displayName, int offsetMillis) { in createDisplayEntry() argument
146 map.put(KEY_OFFSET, offsetMillis); in createDisplayEntry()
295 int offsetMillis = tz.getOffset(now.getTime()); in getGmtOffsetText() local
296 final boolean negative = offsetMillis < 0; in getGmtOffsetText()
299 offsetMillis = -offsetMillis; in getGmtOffsetText()
307 final int offsetHours = (int) (offsetMillis / DateUtils.HOUR_IN_MILLIS); in getGmtOffsetText()
308 final int offsetMinutes = (int) (offsetMillis / DateUtils.MINUTE_IN_MILLIS); in getGmtOffsetText()
/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.java974 long offsetMillis = gmtoff * 1000; in getJulianDay() local
975 long julianDay = (millis + offsetMillis) / DateUtils.DAY_IN_MILLIS; in getJulianDay()