/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
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...] |
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
TimeZoneData.java | 141 final TimeZone tz = TimeZone.getTimeZone(tzId); local 142 if (tz == null) { 147 TimeZoneInfo tzInfo = new TimeZoneInfo(tz, null); 163 // checkForNameDups(tz, tzInfo.mCountry, false /* dls */, 165 // checkForNameDups(tz, tzInfo.mCountry, false /* dls */, 167 // if (tz.useDaylightTime()) { 168 // checkForNameDups(tz, tzInfo.mCountry, true /* dls */, 171 // checkForNameDups(tz, tzInfo.mCountry, true /* dls */, 183 for (TimeZoneInfo tz : mTimeZones) { 185 // Lookup map for id -> tz 338 final TimeZone tz = TimeZone.getTimeZone(newTzId); local 387 final TimeZone tz = TimeZone.getTimeZone(timeZoneId); local [all...] |
/frameworks/rs/driver/ |
rsdAllocation.cpp | 331 uint32_t tz = alloc->mHal.drvState.lod[0].dimZ; local 335 alloc->mHal.drvState.lod[lod].dimZ = tz; 339 o += alloc->mHal.drvState.lod[lod].stride * rsMax(ty, 1u) * rsMax(tz, 1u); 342 if (tz > 1) tz >>= 1; [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
GregorianCalendarTest.java | 344 TimeZone tz = TimeZone.getTimeZone(ids[i]); local 345 gc.setTimeZone(tz); [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
SimpleDateFormatTest.java | 162 TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles"); local 163 assertEquals("-0800", formatDate(Locale.ENGLISH, "Z", tz)); 164 assertEquals("-0800", formatDate(Locale.ENGLISH, "ZZ", tz)); 165 assertEquals("-0800", formatDate(Locale.ENGLISH, "ZZZ", tz)); 166 assertEquals("GMT-08:00", formatDate(Locale.ENGLISH, "ZZZZ", tz)); 167 assertEquals("-08:00", formatDate(Locale.ENGLISH, "ZZZZZ", tz)); 205 private String formatDate(Locale l, String fmt, TimeZone tz) { 207 dateFormat.setTimeZone(tz); 445 TimeZone tz = TimeZone.getTimeZone("UTC"); local 447 df.setTimeZone(tz); [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
CalendarTest.java | 48 TimeZone tz = java.util.TimeZone.getTimeZone("GMT+7"); local 49 cal.setTimeZone(tz);
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaByDayAdapter.java | 213 // home tz changes so check it here and update if needed. 214 String tz = Utils.getTimeZone(mContext, mTZUpdater); local 215 if (!TextUtils.equals(tz, mTmpTime.timezone)) { 216 mTimeZone = tz; 217 mTmpTime = new Time(tz);
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleDayPickerFragment.java | 165 String tz = Time.getCurrentTimezone(); local 170 mSelectedDay.switchTimezone(tz); 172 mFirstDayOfMonth.timezone = tz; 174 mFirstVisibleDay.timezone = tz; 176 mTempTime.timezone = tz;
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
UtilsTests.java | 154 private void setTimezone(String tz) { 155 timezoneUtils.setTimeZone(dbUtils.getContext(), tz); local
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_main_menu.c | 1368 struct timezone tz; local 1445 struct timezone tz; local [all...] |
/external/clang/test/Misc/ |
diag-template-diffing.cpp | 1012 T<z> tz; local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
OlsonTimeZone.java | 30 * A time zone based on the Olson tz database. Olson time zones change 96 * is corresponding to Link data in the tz database. 114 * in the tz database. 1287 OlsonTimeZone tz = (OlsonTimeZone)super.cloneAsThawed(); local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
TimeZoneFormat.java | 281 * look for the IANA tz database compatible zone abbreviations in addition 794 * @param tz the time zone. 800 public final String format(Style style, TimeZone tz, long date) { 801 return format(style, tz, date, null); 812 * @param tz the time zone. 820 public String format(Style style, TimeZone tz, long date, Output<TimeType> timeType) { [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
GlobalizationPreferencesTest.java | 697 TimeZone tz = gp.getTimeZone(); local 698 String tzid = tz.getID(); 706 tz = gp.getTimeZone(); 707 tzid = tz.getID(); 715 tz = gp.getTimeZone(); 716 tzid = tz.getID(); 722 tz.setID("Bad_ID"); 723 tz = gp.getTimeZone(); 724 tzid = tz.getID(); 734 tz = gp.getTimeZone() 1294 TimeZone tz = TimeZone.getTimeZone("America\/Sao_Paulo"); local [all...] |
/external/icu/icu4c/source/i18n/ |
tzfmt.cpp | 643 TimeZoneFormat::format(UTimeZoneFormatStyle style, const TimeZone& tz, UDate date, 653 formatGeneric(tz, UTZGNM_LOCATION, date, name); 656 formatGeneric(tz, UTZGNM_LONG, date, name); 659 formatGeneric(tz, UTZGNM_SHORT, date, name); 662 formatSpecific(tz, UTZNM_LONG_STANDARD, UTZNM_LONG_DAYLIGHT, date, name, timeType); 665 formatSpecific(tz, UTZNM_SHORT_STANDARD, UTZNM_SHORT_DAYLIGHT, date, name, timeType); 669 tz.getID(name); 674 const UChar* shortID = ZoneMeta::getShortID(tz); 684 formatExemplarLocation(tz, name); 696 tz.getOffset(date, FALSE, rawOffset, dstOffset, status) 776 const TimeZone* tz = dynamic_cast<const TimeZone*>(formatObj); local [all...] |
tzgnames.cpp | 276 UnicodeString& getDisplayName(const TimeZone& tz, UTimeZoneGenericNameType type, 308 UnicodeString& formatGenericNonLocationName(const TimeZone& tz, UTimeZoneGenericNameType type, 434 TimeZone *tz = TimeZone::createDefault(); local 435 const UChar *tzID = ZoneMeta::getCanonicalCLDRID(*tz); 439 delete tz; 463 TZGNCore::getDisplayName(const TimeZone& tz, UTimeZoneGenericNameType type, UDate date, UnicodeString& name) const { 468 const UChar* tzCanonicalID = ZoneMeta::getCanonicalCLDRID(tz); 476 formatGenericNonLocationName(tz, type, date, name); 478 const UChar* tzCanonicalID = ZoneMeta::getCanonicalCLDRID(tz); 614 TZGNCore::formatGenericNonLocationName(const TimeZone& tz, UTimeZoneGenericNameType type, UDate date, UnicodeString& name) const [all...] |
/external/icu/icu4c/source/test/intltest/ |
tzfmttst.cpp | 177 TimeZone *tz = TimeZone::createTimeZone(*tzid); local 183 sdf->setTimeZone(*tz); 209 tz->getOffset(DATES[datidx], false, inRaw, inDst, status); 232 logln((UnicodeString)"Canonical round trip failed (probably as expected); tz=" + *tzid 237 errln((UnicodeString)"Canonical round trip failed; tz=" + *tzid 246 errln((UnicodeString)"Zone ID round trip failued; tz=" + *tzid 263 if (!((BasicTimeZone*)&outtz)->hasEquivalentTransitions((BasicTimeZone&)*tz, low, high, TRUE, status)) { 266 logln((UnicodeString)"Canonical round trip failed (as expected); tz=" + *tzid 271 errln((UnicodeString)"Canonical round trip failed; tz=" + *tzid 312 errln((UnicodeString)"Offset round trip failed; tz=" + *tzi 500 BasicTimeZone *tz = (BasicTimeZone*) TimeZone::createTimeZone(*tzid); local 828 TimeZone* tz = tzfmt->parse(DATA[i].style, DATA[i].text, pos, DATA[i].parseOptions, &ttype); local 961 SimpleTimeZone* tz = new SimpleTimeZone(OFFSET[i], UnicodeString("Zone Offset:") + OFFSET[i] + "ms"); local [all...] |
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 805 TimeZone *tz = TimeZone::createDefault(); local 883 TimeZone *tz = (TimeZone*)DATA_TZ[j]; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
OlsonTimeZone.java | 29 * A time zone based on the Olson tz database. Olson time zones change 95 * is corresponding to Link data in the tz database. 113 * in the tz database. 1285 OlsonTimeZone tz = (OlsonTimeZone)super.cloneAsThawed(); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
TimeZoneFormat.java | 316 * look for the IANA tz database compatible zone abbreviations in addition 849 * @param tz the time zone. [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/ |
GlobalizationPreferencesTest.java | 693 TimeZone tz = gp.getTimeZone(); local 694 String tzid = tz.getID(); 702 tz = gp.getTimeZone(); 703 tzid = tz.getID(); 711 tz = gp.getTimeZone(); 712 tzid = tz.getID(); 718 tz.setID("Bad_ID"); 719 tz = gp.getTimeZone(); 720 tzid = tz.getID(); 730 tz = gp.getTimeZone() 1290 TimeZone tz = TimeZone.getTimeZone("America\/Sao_Paulo"); local [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_state.c | 1563 float_ui32_type tz = { v[MAT_TZ] * depthScale }; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_state.c | 1370 float_ui32_type tz = { v[MAT_TZ] * depthScale }; local [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
AndroidFacade.java | 999 TimeZone tz = TimeZone.getDefault(); local [all...] |
/frameworks/base/opengl/java/android/opengl/ |
Matrix.java | 290 final float tz = -(far + near) * r_depth; local 296 m[mOffset +14] = tz;
|