/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
D | CalendarUtilitiesTests.java | 162 TimeZone.setDefault(TimeZone.getTimeZone("America/Phoenix")); in testParseTimeZoneEndToEnd() 165 TimeZone.setDefault(TimeZone.getTimeZone("Pacific/Honolulu")); in testParseTimeZoneEndToEnd() 170 TimeZone azTime = TimeZone.getTimeZone("America/Phoenix"); in testParseTimeZoneEndToEnd() 171 TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles")); in testParseTimeZoneEndToEnd() 202 TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles")); in testRecurrenceUntilToEasUntil() 226 cal.setTimeZone(TimeZone.getTimeZone("GMT")); in testParseEmailDateTimeToMillis() 241 cal.setTimeZone(TimeZone.getTimeZone("GMT")); in testParseDateTimeToMillis() 637 TimeZone tz = TimeZone.getTimeZone("US/Central"); in testFindTransitionDate() 667 tz = TimeZone.getTimeZone("Africa/Kinshasa"); in testFindTransitionDate() 852 TimeZone tz = TimeZone.getTimeZone(tzs); in testTimeZoneToVTimezone() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
D | WorldClockAdapter.java | 124 return TimeZone.getTimeZone(homeTZ).getOffset(now.getTime()) in needHomeCity() 166 int gmOffset1 = TimeZone.getTimeZone(city1.mTimeZone).getOffset(now.getTime()); in sortList() 167 int gmOffset2 = TimeZone.getTimeZone(city2.mTimeZone).getOffset(now.getTime()); in sortList() 246 now.setTimeZone(TimeZone.getTimeZone(cityTZ)); in updateView()
|
D | CityGmtOffsetComparator.java | 28 int offset = TimeZone.getTimeZone(c1.mTimeZone).getOffset(currentTime); in compare() 29 int offset2 = TimeZone.getTimeZone(c2.mTimeZone).getOffset(currentTime); in compare()
|
D | CitiesActivity.java | 202 TimeZone timezone = TimeZone.getTimeZone(city.mTimeZone); 375 TimeZone.getTimeZone(c.mTimeZone), true)); in getView() 388 mCalendar.setTimeZone(TimeZone.getTimeZone(timeZone)); in getTimeCharSequence()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/ |
D | DateTime.java | 70 Calendar c = new GregorianCalendar(TimeZone.getTimeZone("GMT+0")); in convertToDate() 110 public int getTimeZone() { in getTimeZone() method in DateTime 115 …+ " " + getDay() + "; " + getHour() + " " + getMinute() + " " + getSecond() + " " + getTimeZone()); in print()
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetService.java | 314 String tz = Utils.getTimeZone(mContext, null); 493 String tz = Utils.getTimeZone(mContext, mTimezoneChanged); 530 Time time = new Time(Utils.getTimeZone(mContext, null)); 534 Time time2 = new Time(Utils.getTimeZone(mContext, null));
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarUtils.java | 177 tz = getTimeZone(context, null); in formatDateRange() 270 public String getTimeZone(Context context, Runnable callback) { in getTimeZone() method in CalendarUtils.TimeZoneUtils 317 getTimeZone(context, callback); in forceDBRequery()
|
D | SearchActivity.java | 100 Utils.getTimeZone(SearchActivity.this, mTimeChangesUpdater)); 259 icon, this, Utils.getTimeZone(SearchActivity.this, mTimeChangesUpdater)); in onCreateOptionsMenu() 328 mHandler, mTimeChangesUpdater, Utils.getTimeZone(this, mTimeChangesUpdater)); in onResume()
|
D | CalendarController.java | 93 mTime.switchTimezone(Utils.getTimeZone(mContext, this)); 375 info.startTime = new Time(Utils.getTimeZone(mContext, mUpdateTimezone)); in sendEventRelatedEventWithExtraWithTitleWithCalendarId() 378 info.selectedTime = new Time(Utils.getTimeZone(mContext, mUpdateTimezone)); in sendEventRelatedEventWithExtraWithTitleWithCalendarId() 383 info.endTime = new Time(Utils.getTimeZone(mContext, mUpdateTimezone)); in sendEventRelatedEventWithExtraWithTitleWithCalendarId()
|
D | AllInOneActivity.java | 248 mTimeZone = Utils.getTimeZone(AllInOneActivity.this, mHomeTimeUpdater); 259 mTimeZone = Utils.getTimeZone(AllInOneActivity.this, mHomeTimeUpdater); 350 mTimeZone = Utils.getTimeZone(this, mHomeTimeUpdater); in onCreate() 1026 mTimeZone = Utils.getTimeZone(this, mHomeTimeUpdater); in updateSecondaryTitleFields() 1068 TimeZone.getTimeZone(mTimeZone).getDisplayName( in updateSecondaryTitleFields()
|
D | Utils.java | 291 public static String getTimeZone(Context context, Runnable callback) { in getTimeZone() method in Utils 292 return mTZUtils.getTimeZone(context, callback); in getTimeZone() 1328 Time weekTime = new Time(getTimeZone(context, null)); in getWeekNumberFromTime() 1359 getTimeZone(context, null); in getDayOfWeekString() 1483 TimeZone tz = TimeZone.getTimeZone(localTimezone); in getDisplayedTimezone()
|
/packages/apps/Exchange/src/com/android/exchange/utility/ |
D | CalendarUtilities.java | 131 private static final TimeZone UTC_TIMEZONE = TimeZone.getTimeZone("UTC"); 162 static final TimeZone sGmtTimeZone = TimeZone.getTimeZone("GMT"); 836 timeZone = TimeZone.getTimeZone(zoneId); in tziStringToTimeZoneImpl() 858 timeZone = TimeZone.getTimeZone(zoneId); in tziStringToTimeZoneImpl() 898 TimeZone tz = TimeZone.getTimeZone(tzName); in tziStringToTimeZoneImpl() 903 timeZone = TimeZone.getTimeZone(zoneIds[0]); in tziStringToTimeZoneImpl() 906 timeZone = TimeZone.getTimeZone(zoneIds[0]); in tziStringToTimeZoneImpl()
|
/packages/apps/Settings/src/com/android/settings/ |
D | ZonePicker.java | 150 return TimeZone.getTimeZone((String)((Map<?, ?>)item).get(KEY_ID)); in obtainTimeZoneFromItem() 271 final TimeZone tz = TimeZone.getTimeZone(olsonId); in addTimeZone() 308 final TimeZone tz = TimeZone.getTimeZone(tzId); in onListItemClick()
|
D | DateTimeSettings.java | 160 mDummyDate.setTimeZone(now.getTimeZone()); in updateTimeAndDateDisplay() 167 mTimeZone.setSummary(getTimeZoneText(now.getTimeZone(), true)); in updateTimeAndDateDisplay()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventView.java | 895 mTimezone = Utils.getTimeZone(activity, null); in EditEventView() 1115 mTimezone = Utils.getTimeZone(mActivity, null); in setModel() 1607 TimeZone.setDefault(TimeZone.getTimeZone(mTimezone)); in setDate() 1631 TimeZone.setDefault(TimeZone.getTimeZone(mTimezone)); in setTime() 1786 String tz = Utils.getTimeZone(mActivity, null); in updateHomeTime() 1801 String tzDisplay = TimeZone.getTimeZone(tz).getDisplayName( in updateHomeTime() 1820 tzDisplay = TimeZone.getTimeZone(tz).getDisplayName( in updateHomeTime()
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaByDayAdapter.java | 67 mTimeZone = Utils.getTimeZone(mContext, this); 79 mTimeZone = Utils.getTimeZone(context, mTZUpdater); in AgendaByDayAdapter() 214 String tz = Utils.getTimeZone(mContext, mTZUpdater); in getView()
|
D | AgendaAdapter.java | 199 String tzString = Utils.getTimeZone(context, mTZUpdater); in bindView() 217 TimeZone tz = TimeZone.getTimeZone(tzString); in bindView()
|
D | AgendaListView.java | 58 mTimeZone = Utils.getTimeZone(mContext, this); 91 mTimeZone = Utils.getTimeZone(context, mTZUpdater); in initView()
|
D | AgendaFragment.java | 84 mTimeZone = Utils.getTimeZone(getActivity(), this); 113 mTimeZone = Utils.getTimeZone(activity, mTZUpdater); in onAttach()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | DateTimeActivity.java | 124 mDummyDate.setTimeZone(now.getTimeZone()); in setSampleDate() 473 TimeZone tz = now.getTimeZone(); in getCurrentTimeZoneName() 583 TimeZone tz = TimeZone.getTimeZone(id); in getTimeZones()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthListView.java | 60 Utils.getTimeZone(mListContext, mTimezoneUpdater); 83 mTempTime = new Time(Utils.getTimeZone(c,mTimezoneUpdater)); in init()
|
D | MonthByWeekAdapter.java | 106 mHomeTimeZone = Utils.getTimeZone(mContext, null); in init() 281 mHomeTimeZone = Utils.getTimeZone(mContext, null); in refresh()
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlertAdapter.java | 115 String tz = Utils.getTimeZone(context, null); in updateView() 133 sb.append(" ").append(TimeZone.getTimeZone(tz).getDisplayName( in updateView()
|
D | AlertUtils.java | 156 String tz = Utils.getTimeZone(context, null); 184 sb.append(" ").append(TimeZone.getTimeZone(tz).getDisplayName(
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | Utility.java | 224 final GregorianCalendar cal = new GregorianCalendar(TimeZone.getTimeZone("GMT")); in initialValue() 257 final GregorianCalendar cal = new GregorianCalendar(TimeZone.getTimeZone("GMT")); in parseDateTimeToCalendar() 282 final GregorianCalendar cal = new GregorianCalendar(TimeZone.getTimeZone("GMT")); in parseEmailDateTimeToMillis()
|