/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
GregorianCalendarTest.java | 333 TimeZone tz = TimeZone.getTimeZone(ids[i]); local 334 gc.setTimeZone(tz);
|
/frameworks/base/media/java/android/media/ |
Metadata.java | 492 TimeZone tz = TimeZone.getTimeZone(timeZone); local 493 Calendar cal = Calendar.getInstance(tz);
|
/frameworks/opt/calendar/src/com/android/calendarcommon/ |
RecurrenceSet.java | 142 String tz = Time.TIMEZONE_UTC; local 145 tz = recurrence.substring(0, tzidx); 148 Time time = new Time(tz); 163 time.timezone = tz; 435 String tz = null; local 438 tz = dateStr.substring(0, tzidx); 441 if (!TextUtils.isEmpty(tz)) { 442 prop.addParameter(new ICalendar.Parameter("TZID", tz));
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon/ |
RecurrenceProcessorTest.java | 88 String tz = "America/Los_Angeles"; local 89 Time dtstart = new Time(tz); 90 Time rangeStart = new Time(tz); 91 Time rangeEnd = new Time(tz); 92 Time outCal = new Time(tz); 156 Time expectedLast = new Time(tz); 2454 String tz = "America\/Los_Angeles"; local 2500 String tz = "America\/Los_Angeles"; local [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
GeneralPreferences.java | 158 String tz = mHomeTZ.getValue(); local 164 mTimezones = (new TimezoneAdapter(activity, tz)).getAllTimezones(); 236 String tz; local 239 tz = mHomeTZ.getValue(); 241 tz = CalendarCache.TIMEZONE_TYPE_AUTO; 243 Utils.setTimeZone(getActivity(), tz); local 253 tz = (String) newValue; 255 mHomeTZ.setValue(tz); 257 Utils.setTimeZone(getActivity(), tz); local
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaByDayAdapter.java | 202 // home tz changes so check it here and update if needed. 203 String tz = Utils.getTimeZone(mContext, mTZUpdater); local 204 if (!TextUtils.equals(tz, mTmpTime.timezone)) { 205 mTimeZone = tz; 206 mTmpTime = new Time(tz);
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleDayPickerFragment.java | 166 String tz = Time.getCurrentTimezone(); local 171 mSelectedDay.switchTimezone(tz); 173 mFirstDayOfMonth.timezone = tz; 175 mFirstVisibleDay.timezone = tz; 177 mTempTime.timezone = tz;
|
/packages/apps/Settings/src/com/android/settings/ |
DateTimeSettings.java | 366 /* package */ static String getTimeZoneText(TimeZone tz) { 367 boolean daylight = tz.inDaylightTime(new Date()); 370 sb.append(formatOffset(tz.getRawOffset() + 371 (daylight ? tz.getDSTSavings() : 0))). 373 append(tz.getDisplayName(daylight, TimeZone.LONG));
|
/external/icu4c/i18n/ |
timezone.cpp | 219 U_DEBUG_TZ_MSG(("tz: compare to %s, %d .. [%d] .. %d\n", U_DEBUG_TZ_STR(u), start, mid, limit)); 488 uprv_tzset(); // Initialize tz... system data 771 U_DEBUG_TZ_MSG(("Failed to load tz for region %s: %s\n", country, u_errorName(ec))); 1072 SimpleTimeZone *tz = NULL; local [all...] |
smpdtfmt.cpp | 2047 const TimeZone & tz = cal.getTimeZone(); local 2865 TimeZone *tz = TimeZone::createTimeZone(tzid); local 2882 TimeZone *tz = TimeZone::createTimeZone(UnicodeString("Etc\/GMT")); local [all...] |
zstrfmt.cpp | 836 // A time zone ID without slash in the tz database is not 1421 const TimeZone &tz = cal.getTimeZone(); local [all...] |
/external/icu4c/test/intltest/ |
tzregts.cpp | 87 UDate TimeZoneRegressionTest::findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max) { 89 UBool startsInDST = tz.inDaylightTime(min, status); 91 if (tz.inDaylightTime(max, status) == startsInDST) { 98 if (tz.inDaylightTime(mid, status) == startsInDST) { 108 UDate TimeZoneRegressionTest::findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max) { 110 UBool startsInDST = tz.inDaylightTime(min, status); 113 if (tz.inDaylightTime(min, status) != startsInDST) { 209 TimeZone *tz = TimeZone::createTimeZone("PST"); local 211 int32_t offset1 = tz->getOffset(1, 213 int32_t offset2 = tz->getOffset(1 460 TimeZone *tz = TimeZone::createTimeZone("PST"); local 801 TimeZone *tz = TimeZone::createDefault(); local 879 TimeZone *tz = (TimeZone*)DATA_TZ[j]; local [all...] |
tzrulets.cpp | 622 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); local 626 verifyTransitions(*tz, lo, hi); 628 delete tz; 657 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); local 658 int32_t ruleCount = tz->countTransitionRules(status); 662 tz->getTimeZoneRules(initial, trsrules, ruleCount, status); 687 compareTransitionsAscending(*tz, *rbtz, start, until, FALSE); 689 compareTransitionsAscending(*tz, *rbtz, start + 1, until, TRUE); 691 compareTransitionsDescending(*tz, *rbtz, start, until, FALSE); 693 compareTransitionsDescending(*tz, *rbtz, start + 1, until, TRUE) 794 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); local 894 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); local 1130 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); local 2307 const TimeZone *tz = TimeZone::getGMT(); local [all...] |
calregts.cpp | 220 TimeZone* tz =TimeZone::createTimeZone("Asia/Riyadh87"); local 222 GregorianCalendar *cl = new GregorianCalendar(tz, status); 225 delete tz; 1690 TimeZone *tz = TimeZone::createTimeZone("PST"); local 2590 StringEnumeration *tz = TimeZone::createEnumeration(); local [all...] |
dtfmttst.cpp | 99 TimeZone *tz = new SimpleTimeZone(7,""); local 190 delete tz; 2955 TimeZone *tz = TimeZone::createTimeZone(info[1]); local 2980 TimeZone *tz = TimeZone::createTimeZone("Europe\/Paris"); local 3303 TimeZone *tz = TimeZone::createTimeZone("Asia\/Shanghai"); local [all...] |
/frameworks/base/opengl/java/android/opengl/ |
Matrix.java | 283 final float tz = -(far + near) * r_depth; local 289 m[mOffset +14] = tz;
|
/frameworks/base/opengl/libagl/ |
matrix.cpp | 873 const GLfloat tz = -(zFar + zNear) * r_depth; local 880 f[14] = tz;
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
EditEventFragment.java | 713 // user's current tz 714 String tz = Utils.getTimeZone(mContext, null); local 717 t.timezone = tz; 722 t.timezone = tz; [all...] |
EditEventHelper.java | 1026 String tz = cursor.getString(EVENT_INDEX_TIMEZONE); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/widget/ |
CalendarAppWidgetService.java | 303 String tz = Utils.getTimeZone(mContext, null); local 305 start = Utils.convertAlldayLocalToUTC(recycle, start, tz); 306 end = Utils.convertAlldayLocalToUTC(recycle, end, tz); 483 String tz = Utils.getTimeZone(mContext, mTimezoneChanged); local 484 mModel = buildAppWidgetModel(mContext, mCursor, tz); 490 long triggerTime = calculateUpdateTime(mModel, now, tz);
|
/development/samples/GlobalTime/src/com/android/globaltime/ |
GlobalTime.java | 1174 float tz = mGLView.getTranslateZ(); local [all...] |
/external/qemu/ |
trace.c | 406 struct timezone tz; local 407 gettimeofday(&tv, &tz); [all...] |
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 875 TimeZone tz = TimeZone.getTimeZone("GMT"); local [all...] |
/frameworks/base/services/java/com/android/server/ |
AlarmManagerService.java | 122 String tz = SystemProperties.get(TIMEZONE_PROPERTY); local 123 if (tz != null) { 124 setTimeZone(tz); 238 public void setTimeZone(String tz) { 243 if (TextUtils.isEmpty(tz)) return; 244 TimeZone zone = TimeZone.getTimeZone(tz); 755 // reset the TZ information at the beginning of each day [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarDatabaseHelper.java | 2569 String tz = cursor.getString(4); \/\/ Calendar timezone local [all...] |