Home
last modified time | relevance | path

Searched refs:getGmtOffset (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DBaseTimeZoneInfoPicker.java129 name = String.valueOf(timeZoneInfo.getGmtOffset()); in createTitle()
152 CharSequence gmtOffset = mTimeZoneInfo.getGmtOffset(); in getSummary()
156 R.string.zone_info_offset_and_name, mTimeZoneInfo.getGmtOffset(), name); in getSummary()
DFixedOffsetPreferenceController.java41 return mTimeZoneInfo.getGmtOffset(); in getSummary()
45 R.string.zone_info_offset_and_name, mTimeZoneInfo.getGmtOffset(), standardName); in getSummary()
DTimeZoneInfoPreferenceController.java74 return item.getGmtOffset().toString(); in formatOffsetAndName()
77 R.string.zone_info_offset_and_name, item.getGmtOffset(), in formatOffsetAndName()
DRegionZonePreferenceController.java51 mTimeZoneInfo.getExemplarLocation(), mTimeZoneInfo.getGmtOffset()); in getSummary()
DTimeZoneInfo.java75 public CharSequence getGmtOffset() { in getGmtOffset() method in TimeZoneInfo
/packages/apps/Settings/tests/unit/src/com/android/settings/datetime/timezone/
DTimeZoneInfoTest.java42 assertThat(timeZoneInfo.getGmtOffset().toString()).isEqualTo("GMT-08:00"); in testFormat()
54 assertThat(timeZoneInfo.getGmtOffset().toString()).isEqualTo("GMT+11:00"); in getGmtOffset_zoneLordHowe_correctGmtOffset()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarInstancesHelper.java892 int startDay = Time.getJulianDay(begin, local.getGmtOffset()); in computeTimezoneDependentFields()
896 int endDay = Time.getJulianDay(end, local.getGmtOffset()); in computeTimezoneDependentFields()
DCalendarAlarmManager.java311 long localOffset = time.getGmtOffset() * 1000; in scheduleNextAlarmLocked()