/packages/apps/Settings/src/com/android/settings/ |
DateTimeSettingsSetupWizard.java | 120 final TimeZone tz = TimeZone.getDefault(); local 121 mSelectedTimeZone = tz; 123 mTimeZoneButton.setText(tz.getDisplayName()); 124 // mTimeZoneButton.setText(DateTimeSettings.getTimeZoneText(tz)); 240 final TimeZone tz = ZonePicker.obtainTimeZoneFromItem(parent.getItemAtPosition(position)); local 242 mSelectedTimeZone = tz; 243 final Calendar now = Calendar.getInstance(tz); 245 mTimeZoneButton.setText(tz.getDisplayName()); 247 // mTimeZoneButton.setText(DateTimeSettings.getTimeZoneText(tz)); 256 alarm.setTimeZone(tz.getID()) [all...] |
/external/e2fsprogs/debugfs/ |
util.c | 195 const char *tz; local 198 /* The diet libc doesn't respect the TZ environemnt variable */ 199 tz = getenv("TZ"); 200 if (!tz) 201 tz = ""; 202 do_gmt = !strcmp(tz, "GMT");
|
/external/icu4c/test/intltest/ |
windttst.cpp | 76 const TimeZone *tz = TimeZone::createDefault(); local 79 tz->getID(zoneID); 191 delete tz;
|
astrotst.cpp | 216 // TimeZone *tz = TimeZone::createTimeZone("America/Los_Angeles"); 267 // TimeZone tz = TimeZone.getTimeZone("America/Montreal"); 268 TimeZone *tz = new SimpleTimeZone(-18000000 + 3600000, "Montreal(FIXED)"); local 270 GregorianCalendar *cal = new GregorianCalendar(tz->clone(), Locale::getUS(), status); 271 GregorianCalendar *cal2 = new GregorianCalendar(tz->clone(), Locale::getUS(), status); 285 df_t->adoptTimeZone(tz->clone()); 286 df_d->adoptTimeZone(tz->clone()); 287 df_dt->adoptTimeZone(tz->clone()); 361 delete tz;
|
dtfmapts.cpp | 243 const TimeZone& tz = def->getTimeZone(); local 244 TimeZone *newTz = tz.clone();
|
dtfmtrtts.cpp | 147 TimeZone *tz = TimeZone::createDefault(); local 149 logln("Default TimeZone: " + tz->getID(temp)); 150 delete tz;
|
tzbdtest.cpp | 116 TimeZoneBoundaryTest::findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary, TimeZone* tz) 122 if (tz->inDaylightTime(d, status) != startsInDST) { 123 dataerrln("FAIL: " + tz->getID(str) + " inDaylightTime(" + dateToString(d) + ") != " + (startsInDST ? "true" : "false")); 127 if (tz->inDaylightTime(max, status) == startsInDST) { 128 dataerrln("FAIL: " + tz->getID(str) + " inDaylightTime(" + dateToString(max) + ") != " + (startsInDST ? "false" : "true")); 134 UBool isIn = tz->inDaylightTime(mid, status); 143 logln(tz->getID(str) + " Before: " + showDate(min)); 144 logln(tz->getID(str) + " After: " + showDate(max)); 337 TimeZone *tz; local 338 TimeZone::setDefault(*(tz = TimeZone::createTimeZone("PST"))) 425 SimpleTimeZone *tz; local [all...] |
/external/netperf/ |
netcpu_kstat.c | 271 struct timezone tz; local 291 gettimeofday (&time1, &tz); 293 gettimeofday (&time2, &tz);
|
netcpu_perfstat.c | 137 struct timezone tz; local 192 gettimeofday (&time1, &tz); 194 gettimeofday (&time2, &tz);
|
netcpu_pstat.c | 122 struct timezone tz; local 158 gettimeofday (&time1, &tz); 160 gettimeofday (&time2, &tz);
|
netcpu_looper.c | 507 struct timezone tz; 520 gettimeofday (&time1, &tz); 522 gettimeofday (&time2, &tz); 506 struct timezone tz; local
|
/frameworks/base/graphics/java/android/renderscript/ |
AllocationAdapter.java | 106 int tz = mAdaptedAllocation.mType.getZ(); local 109 if ((tx==1) && (ty == 1) && (tz == 1)) { 115 if (tz > 1) tz >>= 1; 120 mCurrentDimZ = tz;
|
/frameworks/base/telephony/java/com/android/internal/telephony/cat/ |
ResponseData.java | 240 String tz = SystemProperties.get("persist.sys.timezone", ""); local 241 if (TextUtils.isEmpty(tz)) { 244 TimeZone zone = TimeZone.getTimeZone(tz);
|
/hardware/ti/omap3/dspbridge/libbridge/ |
DSPNode.c | 418 struct timezone tz; local 466 struct timezone tz; local 652 struct timezone tz; local 760 struct timeval tz; local
|
/libcore/luni/src/main/native/ |
libcore_icu_TimeZones.cpp | 63 TimeZone* tz; member in struct:TimeZoneNames 141 row.tz = NULL; 148 row.tz = TimeZone::createTimeZone(id); 149 longFormat.setTimeZone(*row.tz); 150 shortFormat.setTimeZone(*row.tz); 154 row.tz->getOffset(date1, false, rawOffset, daylightOffset, status); 167 if (row.tz->useDaylightTime()) { 190 allShortFormat.setTimeZone(*row.tz); 192 if (row.tz->useDaylightTime()) { 219 delete row.tz; [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
CalendarTest.java | 46 TimeZone tz = java.util.TimeZone.getTimeZone("GMT+7"); local 47 cal.setTimeZone(tz);
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertAdapter.java | 113 String tz = Utils.getTimeZone(context, null); local 117 tz = Time.TIMEZONE_UTC; 125 Time time = new Time(tz); 130 if (!allDay && tz != Time.getCurrentTimezone()) { 131 sb.append(" ").append(TimeZone.getTimeZone(tz).getDisplayName(
|
/libcore/luni/src/main/java/java/util/ |
Date.java | 697 TimeZone tz = cal.getTimeZone(); local 711 result.append(tz.getDisplayName(tz.inDaylightTime(this), TimeZone.SHORT));
|
/bionic/libc/tools/zoneinfo/ |
ZoneCompactor.java | 110 TimeZone tz = ZoneInfo.make(s, data); local 111 int gmtOffset = tz.getRawOffset();
|
/development/samples/GlobalTime/src/com/android/globaltime/ |
Clock.java | 206 TimeZone tz = mCity.getTimeZone(); local 216 Calendar cal = Calendar.getInstance(tz); 223 float offset = tz.getRawOffset() / (float) MILLISECONDS_PER_HOUR; 224 float daylightOffset = tz.inDaylightTime(new Date(mTime)) ? 225 tz.getDSTSavings() / (float) MILLISECONDS_PER_HOUR : 0.0f;
|
/external/icu4c/i18n/ |
windtfmt.cpp | 153 const TimeZone &tz = cal.getTimeZone(); local 156 setTimeZoneInfo(&tzi, tz);
|
/external/qemu/android/utils/ |
timezone.c | 44 check_timezone_is_zoneinfo(const char* tz) 48 if (tz == NULL) 52 slash1 = strchr( tz, '/' ); 88 const char* tz = get_zoneinfo_timezone(); local 90 if (tz == NULL || !check_timezone_is_zoneinfo(tz)) 93 return bufprint(p, end, "%s", tz); 109 const char* tz = getenv("TZ"); local 113 if (tz == NULL) 295 const char* tz = getenv( "TZ" ); local [all...] |
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 544 TimeZone tz = inDate.getTimeZone(); local 552 return tz.getDisplayName(dst, TimeZone.SHORT);
|
/frameworks/base/core/java/android/util/ |
TimeUtils.java | 94 TimeZone tz = TimeZone.getTimeZone(maybe); local 96 if (tz.getOffset(when) == offset && 97 tz.inDaylightTime(d) == dst) { 98 best = tz;
|
/frameworks/base/libs/rs/ |
rsType.cpp | 90 uint32_t tz = mDimZ; local 95 mLODs[lod].mZ = tz; 97 offset += tx * rsMax(ty, 1u) * rsMax(tz, 1u) * mElement->getSizeBytes(); 100 if (tz > 1) tz >>= 1;
|