Home
last modified time | relevance | path

Searched refs:timeZone (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/widget/
DTextClock.java164 final String timeZone = intent.getStringExtra("time-zone");
165 createTime(timeZone);
257 private void createTime(String timeZone) { in createTime() argument
258 if (timeZone != null) { in createTime()
259 mTime = Calendar.getInstance(TimeZone.getTimeZone(timeZone)); in createTime()
454 public void setTimeZone(String timeZone) { in setTimeZone() argument
455 mTimeZone = timeZone; in setTimeZone()
457 createTime(timeZone); in setTimeZone()
DDateTimeView.java257 TimeZone timeZone = TimeZone.getDefault(); local
258 count = Math.max(Math.abs(dayDistance(timeZone, mTimeMillis, now)), 1);
265 mUpdateTimeMillis = computeNextMidnight(timeZone);
294 private long computeNextMidnight(TimeZone timeZone) { in computeNextMidnight() argument
296 c.setTimeZone(libcore.icu.DateUtilsBridge.icuTimeZone(timeZone)); in computeNextMidnight()
321 private static int dayDistance(TimeZone timeZone, long startTime, in dayDistance() argument
323 return getJulianDay(endTime, timeZone.getOffset(endTime) / 1000) in dayDistance()
324 - getJulianDay(startTime, timeZone.getOffset(startTime) / 1000); in dayDistance()
369 TimeZone timeZone = TimeZone.getDefault(); in onInitializeAccessibilityNodeInfoInternal() local
370 count = Math.max(Math.abs(dayDistance(timeZone, mTimeMillis, now)), 1); in onInitializeAccessibilityNodeInfoInternal()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZonePickerDialog.java61 String timeZone = null; in onCreateView() local
65 timeZone = b.getString(BUNDLE_TIME_ZONE); in onCreateView()
72 mView = new TimeZonePickerView(getActivity(), null, timeZone, timeMillis, this, in onCreateView()
DTimeZoneResultAdapter.java65 TextView timeZone; field in TimeZoneResultAdapter.ViewHolder
71 vh.timeZone = (TextView) v.findViewById(R.id.time_zone); in setupViewHolder()
286 vh.timeZone.setText(tzi.mDisplayName); in getView()
DTimeZonePickerView.java56 String timeZone, long timeMillis, OnTimeZoneSetListener l, in TimeZonePickerView() argument
66 TimeZoneData tzd = new TimeZoneData(mContext, timeZone, timeMillis); in TimeZonePickerView()
/frameworks/base/core/java/android/app/
DAlarmManager.java958 public void setTimeZone(String timeZone) { in setTimeZone() argument
959 if (TextUtils.isEmpty(timeZone)) { in setTimeZone()
967 hasTimeZone = ZoneInfoDB.getInstance().hasTimeZone(timeZone); in setTimeZone()
972 throw new IllegalArgumentException("Timezone: " + timeZone + " is not an Olson ID"); in setTimeZone()
977 mService.setTimeZone(timeZone); in setTimeZone()
/frameworks/base/media/java/android/media/
DMetadata.java495 final String timeZone = mParcel.readString(); in getDate() local
497 if (timeZone.length() == 0) { in getDate()
500 TimeZone tz = TimeZone.getTimeZone(timeZone); in getDate()
/frameworks/rs/
DrsScript.cpp176 void rsi_ScriptSetTimeZone(Context * rsc, RsScript vs, const char * timeZone, size_t length) { in rsi_ScriptSetTimeZone() argument
185 strncpy(tz, timeZone, length); in rsi_ScriptSetTimeZone()
Drs.spec376 param const char * timeZone
/frameworks/base/core/java/android/text/format/
DDateUtils.java693 long endMillis, int flags, String timeZone) { in formatDateRange() argument
701 String range = DateIntervalFormat.formatDateRange(startMillis, endMillis, flags, timeZone); in formatDateRange()
/frameworks/base/rs/java/android/renderscript/
DScript.java466 public void setTimeZone(String timeZone) { in setTimeZone() argument
469 mRS.nScriptSetTimeZone(getID(mRS), timeZone.getBytes("UTF-8")); in setTimeZone()
DRenderScript.java735 native void rsnScriptSetTimeZone(long con, long script, byte[] timeZone); in rsnScriptSetTimeZone() argument
736 synchronized void nScriptSetTimeZone(long script, byte[] timeZone) { in nScriptSetTimeZone() argument
738 rsnScriptSetTimeZone(mContext, script, timeZone); in nScriptSetTimeZone()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScript.java227 public void setTimeZone(String timeZone) { in setTimeZone() argument
230 mRS.nScriptSetTimeZone(getID(mRS), timeZone.getBytes("UTF-8"), mUseIncSupp); in setTimeZone()
DRenderScript.java620 native void rsnScriptSetTimeZone(long con, long script, byte[] timeZone, boolean mUseInc); in rsnScriptSetTimeZone() argument
621 synchronized void nScriptSetTimeZone(long script, byte[] timeZone, boolean mUseInc) { in nScriptSetTimeZone() argument
627 rsnScriptSetTimeZone(curCon, script, timeZone, mUseInc); in nScriptSetTimeZone()
/frameworks/support/v8/renderscript/jni/
Dandroid_renderscript_RenderScript.cpp1481 nScriptSetTimeZone(JNIEnv *_env, jobject _this, jlong con, jlong script, jbyteArray timeZone, jbool… in nScriptSetTimeZone() argument
1484 (void *)script, (const char *)timeZone); in nScriptSetTimeZone()
1486 jint length = _env->GetArrayLength(timeZone); in nScriptSetTimeZone()
1488 timeZone_ptr = (jbyte *) _env->GetPrimitiveArrayCritical(timeZone, (jboolean *)0); in nScriptSetTimeZone()
1496 _env->ReleasePrimitiveArrayCritical(timeZone, timeZone_ptr, 0); in nScriptSetTimeZone()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1936 nScriptSetTimeZone(JNIEnv *_env, jobject _this, jlong con, jlong script, jbyteArray timeZone) in nScriptSetTimeZone() argument
1942 jint length = _env->GetArrayLength(timeZone); in nScriptSetTimeZone()
1944 timeZone_ptr = (jbyte *) _env->GetPrimitiveArrayCritical(timeZone, (jboolean *)0); in nScriptSetTimeZone()
1953 _env->ReleasePrimitiveArrayCritical(timeZone, timeZone_ptr, 0); in nScriptSetTimeZone()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java3253 int timeZone = 0; in fixUnknownMcc() local
3256 timeZone = in fixUnknownMcc()
3262 timeZone = tzone.getRawOffset()/MS_PER_HOUR; in fixUnknownMcc()
3266 timeZone, (mZoneDst ? 1 : 0), isNitzTimeZone); in fixUnknownMcc()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1291 field public static final int timeZone = 16843724; // 0x10103cc
/frameworks/base/api/
Dcurrent.txt1322 field public static final int timeZone = 16843724; // 0x10103cc
Dsystem-current.txt1433 field public static final int timeZone = 16843724; // 0x10103cc
Dtest-current.txt1322 field public static final int timeZone = 16843724; // 0x10103cc