HomeSort by relevance Sort by last modified time
    Searched defs:tz (Results 51 - 75 of 121) sorted by null

1 23 4 5

  /frameworks/base/core/java/android/text/format/
DateFormat.java 544 TimeZone tz = inDate.getTimeZone(); local
552 return tz.getDisplayName(dst, TimeZone.SHORT);
  /frameworks/base/telephony/java/com/android/internal/telephony/
MccTable.java 107 String[] tz = TimeZones.forLocale(locale); local
108 if (tz.length == 0) return null;
109 return tz[0];
530 table.add(new MccEntry(640,"tz",2)); //Tanzania (United Republic of)
  /frameworks/rs/
rsType.cpp 90 uint32_t tz = mHal.state.dimZ; local
95 mHal.state.lodDimZ[lod] = tz;
97 offset += tx * rsMax(ty, 1u) * rsMax(tz, 1u) * mElement->getSizeBytes();
100 if (tz > 1) tz >>= 1;
  /libcore/luni/src/main/java/java/text/
SimpleDateFormat.java 742 TimeZone tz = calendar.getTimeZone(); local
746 buffer.append(tz.getDisplayName(daylight, style, formatData.locale));
751 String custom = TimeZones.getDisplayName(formatData.zoneStrings, tz.getID(), daylight, style);
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
OldTimeZoneTest.java 86 TimeZone tz = TimeZone.getTimeZone("GMT-6"); local
87 assertEquals("GMT-06:00", tz.getDisplayName());
88 tz = TimeZone.getTimeZone("America/Los_Angeles");
89 assertEquals("Pacific Standard Time", tz.getDisplayName());
93 TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles"); local
94 assertEquals("Pacific Standard Time", tz.getDisplayName(new Locale("US")));
97 assertEquals("heure normale du Pacifique", tz.getDisplayName(Locale.FRANCE));
102 TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles"); local
103 assertEquals("PST", tz.getDisplayName(false, 0));
104 assertEquals("Pacific Daylight Time", tz.getDisplayName(true, 1))
110 TimeZone tz = TimeZone.getTimeZone("America\/Los_Angeles"); local
126 TimeZone tz = TimeZone.getTimeZone("GMT-6"); local
148 TimeZone tz = TimeZone.getTimeZone("GMT-6"); local
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
DateTest.java 459 TimeZone tz = TimeZone.getDefault(); local
466 TimeZone.setDefault(tz);
487 TimeZone tz = TimeZone.getDefault(); local
497 TimeZone.setDefault(tz);
SimpleTimeZoneTest.java 39 assertEquals("Incorrect TZ constructed", "TEST", st.getID());
40 assertTrue("Incorrect TZ constructed: " + "returned wrong offset", st
42 assertTrue("Incorrect TZ constructed" + "using daylight savings", !st
56 assertTrue("Incorrect TZ constructed", st
59 assertTrue("Incorrect TZ constructed", !(st
62 assertEquals("Incorrect TZ constructed", "TEST", st.getID());
63 assertEquals("Incorrect TZ constructed", 1000, st.getRawOffset());
64 assertTrue("Incorrect TZ constructed", st.useDaylightTime());
113 assertTrue("Incorrect TZ constructed", st
116 assertTrue("Incorrect TZ constructed", !(s
262 TimeZone tz = TimeZone.getTimeZone("EST"); local
402 TimeZone tz = TimeZone.getTimeZone("EST"); local
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
CalendarUtils.java 172 String tz; local
174 tz = Time.TIMEZONE_UTC;
176 tz = getTimeZone(context, null);
181 tz).toString();
192 * to the device's time zone. null or empty tz will be ignored.
239 // Write the use home tz setting
245 // If using a home tz write it to the db
TimezoneAdapter.java 66 /** Whether the TZ observes daylight saving time */
78 TimeZone tz = TimeZone.getTimeZone(id); local
79 mUseDaylightTime = tz.useDaylightTime();
80 mOffset = tz.getOffset(TimezoneAdapter.this.mTime);
383 * @return double array of tz ids and tz names
  /packages/apps/Calendar/src/com/android/calendar/agenda/
AgendaAdapter.java 217 TimeZone tz = TimeZone.getTimeZone(tzString); local
218 if (tz == null || tz.getID().equals("GMT")) {
221 displayName = tz.getDisplayName(date.isDst != 0, TimeZone.SHORT);
  /packages/apps/Calendar/src/com/android/calendar/alerts/
AlertUtils.java 114 String tz = Utils.getTimeZone(context, null); local
115 Time time = new Time(tz);
138 if (!allDay && tz != Time.getCurrentTimezone()) {
139 // Assumes time was set to the current tz
142 sb.append(" ").append(TimeZone.getTimeZone(tz).getDisplayName(
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
EyePosition.java 128 float tz = t * z; local
130 float length = FloatMath.sqrt(tx * tx + ty * ty + tz * tz);
  /packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
GLMock.java 134 float tz = - (zFar + zNear) / (zFar - zNear); local
139 tx, ty, tz, 1
  /dalvik/tools/dmtracedump/
CreateTestTrace.c 366 struct timezone tz; local
368 gettimeofday(&tv, &tz);
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DateTest.java 459 TimeZone tz = TimeZone.getDefault(); local
467 TimeZone.setDefault(tz);
  /external/icu4c/i18n/
ucal.cpp 213 const TimeZone& tz = ((Calendar*)cal)->getTimeZone(); local
223 tz.getDisplayName(FALSE, TimeZone::LONG, Locale(locale), id);
227 tz.getDisplayName(FALSE, TimeZone::SHORT, Locale(locale), id);
231 tz.getDisplayName(TRUE, TimeZone::LONG, Locale(locale), id);
235 tz.getDisplayName(TRUE, TimeZone::SHORT, Locale(locale), id);
  /external/icu4c/test/intltest/
tzfmttst.cpp 128 TimeZone *tz = TimeZone::createTimeZone(*tzid); local
134 sdf->setTimeZone(*tz);
160 tz->getOffset(DATES[datidx], false, inRaw, inDst, status);
183 if (!((BasicTimeZone*)&outtz)->hasEquivalentTransitions((BasicTimeZone&)*tz, low, high, TRUE, status)) {
186 logln("Canonical round trip failed (as expected); tz=" + *tzid
191 errln("Canonical round trip failed; tz=" + *tzid
216 errln((UnicodeString)"Offset round trip failed; tz=" + *tzid
224 errln((UnicodeString)"Raw offset round trip failed; tz=" + *tzid
233 delete tz;
341 BasicTimeZone *tz = (BasicTimeZone*) TimeZone::createTimeZone(*tzid) local
    [all...]
  /external/icu4c/tools/tzcode/
icuzdump.cpp 115 void setTimeZone(TimeZone* tz) {
116 timezone = tz;
239 TimeZone* tz = NULL; local
244 tz = TimeZone::createTimeZone(*zid);
250 tz = TimeZone::createTimeZone((const UnicodeString&)zids[idx]);
253 tz = TimeZone::createDefault();
258 return tz;
375 TimeZone* tz = zit->next(); local
376 if (tz == NULL) {
379 dumper.setTimeZone(tz);
406 TimeZone* tz = zit->next(); local
    [all...]
  /external/wpa_supplicant_8/src/eap_server/
eap_server_pwd.c 1011 struct timezone tz; local
1017 (void) gettimeofday(&tp, &tz);
  /frameworks/base/core/java/android/util/
TimeUtils.java 72 for (TimeZone tz : getTimeZones(country)) {
77 if (tz.getID().equals(currentName)) {
89 if (tz.getOffset(when) == offset &&
90 tz.inDaylightTime(d) == dst) {
91 best = tz;
189 TimeZone tz = TimeZone.getTimeZone(zoneIdString); local
190 if (tz.getID().startsWith("GMT") == false) {
191 // tz.getID doesn't start not "GMT" so its valid
192 tzs.add(tz);
194 Log.d(TAG, "getTimeZone('" + country + "'): found tz.getID==
    [all...]
  /frameworks/native/opengl/libagl/
dxt.cpp 139 struct timezone tz; local
141 gettimeofday(&start_t, &tz);
183 gettimeofday(&end_t, &tz);
604 struct timezone tz; local
606 gettimeofday(&start_t, &tz);
628 gettimeofday(&end_t, &tz);
  /libcore/luni/src/main/java/java/util/
SimpleTimeZone.java 312 SimpleTimeZone tz = (SimpleTimeZone) object; local
313 return getID().equals(tz.getID())
314 && rawOffset == tz.rawOffset
315 && useDaylight == tz.useDaylight
316 && (!useDaylight || (startYear == tz.startYear
317 && startMonth == tz.startMonth
318 && startDay == tz.startDay && startMode == tz.startMode
319 && startDayOfWeek == tz.startDayOfWeek
320 && startTime == tz.startTime && endMonth == tz.endMont
503 SimpleTimeZone tz = (SimpleTimeZone) zone; local
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
OldDateFormatTest.java 128 TimeZone tz = format.getTimeZone(); local
130 // throw new Exception(tz.getClass().getName());
133 //assertFalse("Incorrect zone info", tz.getClass().getName().equals(
135 assertTrue("Incorrect time zone", tz.equals(format.getCalendar()
472 TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles"); local
473 format.setTimeZone(tz);
474 assertTrue("TimeZone is set incorrectly", tz.equals(format
  /packages/apps/Calendar/src/com/android/calendar/widget/
CalendarAppWidgetModel.java 278 String tz = Utils.getTimeZone(mContext, null); local
298 start = Utils.convertAlldayUtcToLocal(recycle, start, tz);
299 end = Utils.convertAlldayUtcToLocal(recycle, end, tz);
  /packages/apps/Settings/src/com/android/settings/
ZonePicker.java 55 public void onZoneSelected(TimeZone tz);
116 * @param tz TimeZone to be searched.
120 public static int getTimeZoneIndex(SimpleAdapter adapter, TimeZone tz) {
121 final String defaultId = tz.getID();
249 final TimeZone tz = TimeZone.getTimeZone(id); local
250 final int offset = tz.getOffset(date);
287 final TimeZone tz = TimeZone.getTimeZone(tzId); local
289 mListener.onZoneSelected(tz);

Completed in 899 milliseconds

1 23 4 5