/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
H A D | ObexTime.java | 70 TimeZone tz = TimeZone.getTimeZone("UTC"); 71 tz.setRawOffset(offset); 73 cal.setTimeZone(tz);
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
H A D | CalendarInteractionUtils.java | 105 * @param tz The time zone to convert this time to. 107 private static long convertAlldayUtcToLocal(Time recycle, long utcTime, String tz) { argument 113 recycle.timezone = tz; 117 public static long convertAlldayLocalToUTC(Time recycle, long localTime, String tz) { argument 121 recycle.timezone = tz; 179 String tz; 181 tz = Time.TIMEZONE_UTC; 183 tz = Time.getCurrentTimezone(); 189 tz).toString();
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
H A D | ShadowZoneGetter.java | 43 TimeZone tz, CharSequence gmtOffsetText, CharSequence displayName, int offsetMillis) { 45 map.put(ZoneGetter.KEY_ID, tz.getID()); 42 createDisplayEntry( TimeZone tz, CharSequence gmtOffsetText, CharSequence displayName, int offsetMillis) argument
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
H A D | AlertAdapter.java | 115 String tz = Utils.getTimeZone(context, null); 119 tz = Time.TIMEZONE_UTC; 127 Time time = new Time(tz); 132 if (!allDay && tz != Time.getCurrentTimezone()) { 133 sb.append(" ").append(TimeZone.getTimeZone(tz).getDisplayName(
|
H A D | AlertUtils.java | 156 String tz = Utils.getTimeZone(context, null); 157 Time time = new Time(tz); 180 if (!allDay && tz != Time.getCurrentTimezone()) { 181 // Assumes time was set to the current tz 184 sb.append(" ").append(TimeZone.getTimeZone(tz).getDisplayName(
|
H A D | AlertService.java | 760 String tz = null; 762 tz = TimeZone.getDefault().getID(); 764 tz); 773 oldInfo.startMillis, tz); 819 } else if (allDay && tz != null && DateUtils.isToday(beginTimeAdjustedForAllDay)) {
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
H A D | CityDAO.java | 147 final TimeZone tz = TimeZone.getTimeZone(tzId); 149 if ("GMT".equals(tz.getID())) { 164 return new City(id, index, indexString, name, phoneticName, tz);
|
H A D | City.java | 57 City(String id, int index, String indexString, String name, String phoneticName, TimeZone tz) { argument 63 mTimeZone = tz; 107 "City {id=%s, index=%d, indexString=%s, name=%s, phonetic=%s, tz=%s}",
|
H A D | SettingsDAO.java | 372 final TimeZone tz = TimeZone.getTimeZone(id); 373 mOffset = tz.getOffset(currentTime);
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | CalendarUtils.java | 173 String tz; 175 tz = Time.TIMEZONE_UTC; 177 tz = getTimeZone(context, null); 182 tz).toString(); 193 * to the device's time zone. null or empty tz will be ignored. 240 // Write the use home tz setting 246 // If using a home tz write it to the db
|
H A D | GeneralPreferences.java | 195 // in the shared_pref if home time zone is disabled. So if home tz is 305 String tz; 309 tz = mTimeZoneId; 311 tz = CalendarCache.TIMEZONE_TYPE_AUTO; 313 Utils.setTimeZone(activity, tz);
|
H A D | DayFragment.java | 65 String tz = Utils.getTimeZone(getActivity(), mTZUpdater); 66 mSelectedDay.timezone = tz;
|
H A D | Utils.java | 267 * tz will be ignored. 735 * @param tz The time zone to convert this time to. 737 public static long convertAlldayUtcToLocal(Time recycle, long utcTime, String tz) { argument 743 recycle.timezone = tz; 747 public static long convertAlldayLocalToUTC(Time recycle, long localTime, String tz) { argument 751 recycle.timezone = tz; 762 * @param tz The time zone to convert this time to. 764 public static long getNextMidnight(Time recycle, long theTime, String tz) { argument 768 recycle.timezone = tz; 1483 TimeZone tz [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | AnalogClock.java | 44 final String tz = intent.getStringExtra("time-zone"); 45 mTime = Calendar.getInstance(TimeZone.getTimeZone(tz));
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
H A D | AgendaAdapter.java | 217 TimeZone tz = TimeZone.getTimeZone(tzString); 218 if (tz == null || tz.getID().equals("GMT")) { 221 displayName = tz.getDisplayName(date.isDst != 0, TimeZone.SHORT);
|
H A D | AgendaByDayAdapter.java | 213 // home tz changes so check it here and update if needed. 214 String tz = Utils.getTimeZone(mContext, mTZUpdater); 215 if (!TextUtils.equals(tz, mTmpTime.timezone)) { 216 mTimeZone = tz; 217 mTmpTime = new Time(tz);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | EyePosition.java | 128 float tz = t * z; 130 float length = (float) Math.sqrt(tx * tx + ty * ty + tz * tz);
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
H A D | SimpleDayPickerFragment.java | 165 String tz = Time.getCurrentTimezone(); 170 mSelectedDay.switchTimezone(tz); 172 mFirstDayOfMonth.timezone = tz; 174 mFirstVisibleDay.timezone = tz; 176 mTempTime.timezone = tz;
|
H A D | SimpleWeekView.java | 210 * @param tz The time zone this view should reference times in 212 public void setWeekParams(HashMap<String, Integer> params, String tz) { argument 217 mTimeZone = tz; 247 Time time = new Time(tz); 277 Time today = new Time(tz);
|
H A D | MonthByWeekFragment.java | 119 String tz = Utils.getTimeZone(mContext, mTZUpdater); 120 mSelectedDay.timezone = tz; 122 mTempTime.timezone = tz; 123 mFirstDayOfMonth.timezone = tz; 125 mFirstVisibleDay.timezone = tz;
|
H A D | MonthWeekEventsView.java | 490 public void setWeekParams(HashMap<String, Integer> params, String tz) { argument 491 super.setWeekParams(params, tz); 497 updateToday(tz); 519 * @param tz 521 public boolean updateToday(String tz) { argument 522 mToday.timezone = tz;
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
H A D | CalendarAppWidgetService.java | 314 String tz = Utils.getTimeZone(mContext, null); 316 start = Utils.convertAlldayLocalToUTC(recycle, start, tz); 317 end = Utils.convertAlldayLocalToUTC(recycle, end, tz); 493 String tz = Utils.getTimeZone(mContext, mTimezoneChanged); 498 mModel = buildAppWidgetModel(mContext, matrixCursor, tz); 513 long triggerTime = calculateUpdateTime(mModel, now, tz);
|
H A D | CalendarAppWidgetModel.java | 278 String tz = Utils.getTimeZone(mContext, null); 298 start = Utils.convertAlldayUtcToLocal(recycle, start, tz); 299 end = Utils.convertAlldayUtcToLocal(recycle, end, tz);
|
/packages/apps/Settings/src/com/android/settings/datetime/ |
H A D | ZonePicker.java | 126 * @param tz TimeZone to be searched. 130 public static int getTimeZoneIndex(SimpleAdapter adapter, TimeZone tz) { argument 131 final String defaultId = tz.getID();
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | EditEventView.java | 264 // Update tz in case the start time switched from/to DLS 369 // Update tz in case the start time switched from/to DLS 1304 String tz = mTimezone; 1307 tz = Time.TIMEZONE_UTC; 1318 .formatDateRange(mActivity, mF, startMillis, endMillis, flags, tz).toString(); 1786 String tz = Utils.getTimeZone(mActivity, null); 1787 if (!mAllDayCheckBox.isChecked() && !TextUtils.equals(tz, mTimezone) 1801 String tzDisplay = TimeZone.getTimeZone(tz).getDisplayName( 1807 .formatDateRange(mActivity, mF, millisStart, millisStart, flags, tz)) 1816 mActivity, mF, millisStart, millisStart, flags, tz) [all...] |