Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DTextClock.java167 final String timeZone = intent.getStringExtra("time-zone");
168 createTime(timeZone);
259 private void createTime(String timeZone) { in createTime() argument
260 if (timeZone != null) { in createTime()
261 mTime = Calendar.getInstance(TimeZone.getTimeZone(timeZone)); in createTime()
456 public void setTimeZone(String timeZone) { in setTimeZone() argument
457 mTimeZone = timeZone; in setTimeZone()
459 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/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/utils/
DZoneGetterTest.java78 final TimeZone timeZone = TimeZone.getTimeZone(TIME_ZONE_LA_ID); in getTimeZoneOffsetAndName_withTtsSpan() local
80 CharSequence timeZoneString = ZoneGetter.getTimeZoneOffsetAndName(context, timeZone, in getTimeZoneOffsetAndName_withTtsSpan()
90 final TimeZone timeZone = TimeZone.getTimeZone(timeZoneId); in testTimeZoneOffsetAndNameInner() local
92 CharSequence timeZoneString = ZoneGetter.getTimeZoneOffsetAndName(context, timeZone, in testTimeZoneOffsetAndNameInner()
/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/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/base/core/java/android/app/
DAlarmManager.java969 public void setTimeZone(String timeZone) { in setTimeZone() argument
970 if (TextUtils.isEmpty(timeZone)) { in setTimeZone()
978 hasTimeZone = ZoneInfoDB.getInstance().hasTimeZone(timeZone); in setTimeZone()
983 throw new IllegalArgumentException("Timezone: " + timeZone + " is not an Olson ID"); in setTimeZone()
988 mService.setTimeZone(timeZone); in setTimeZone()
/frameworks/rs/
DrsScript.cpp173 void rsi_ScriptSetTimeZone(Context * rsc, RsScript vs, const char * timeZone, size_t length) { in rsi_ScriptSetTimeZone() argument
182 strncpy(tz, timeZone, length); in rsi_ScriptSetTimeZone()
Drs.spec376 param const char * timeZone
DrsApiStubs.cpp634 extern "C" void rsScriptSetTimeZone (RsContext ctxWrapper, RsScript s, const char * timeZone, size_… in rsScriptSetTimeZone() argument
636 RS_DISPATCH(ctxWrapper, ScriptSetTimeZone, s, timeZone, timeZone_length); in rsScriptSetTimeZone()
DrsApiStubs.h110 extern "C" void rsScriptSetTimeZone (RsContext rsc, RsScript s, const char * timeZone, size_t timeZ…
/frameworks/base/core/java/android/text/format/
DDateUtils.java727 long endMillis, int flags, String timeZone) { in formatDateRange() argument
735 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/rs/support/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/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp1494 nScriptSetTimeZone(JNIEnv *_env, jobject _this, jlong con, jlong script, jbyteArray timeZone, jbool… in nScriptSetTimeZone() argument
1497 (void *)script, (const char *)timeZone); in nScriptSetTimeZone()
1499 jint length = _env->GetArrayLength(timeZone); in nScriptSetTimeZone()
1501 timeZone_ptr = (jbyte *) _env->GetPrimitiveArrayCritical(timeZone, (jboolean *)0); in nScriptSetTimeZone()
1509 _env->ReleasePrimitiveArrayCritical(timeZone, timeZone_ptr, 0); in nScriptSetTimeZone()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1948 nScriptSetTimeZone(JNIEnv *_env, jobject _this, jlong con, jlong script, jbyteArray timeZone) in nScriptSetTimeZone() argument
1954 jint length = _env->GetArrayLength(timeZone); in nScriptSetTimeZone()
1956 timeZone_ptr = (jbyte *) _env->GetPrimitiveArrayCritical(timeZone, (jboolean *)0); in nScriptSetTimeZone()
1965 _env->ReleasePrimitiveArrayCritical(timeZone, timeZone_ptr, 0); in nScriptSetTimeZone()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java3054 int timeZone = 0; in fixUnknownMcc() local
3057 timeZone = in fixUnknownMcc()
3063 timeZone = tzone.getRawOffset()/MS_PER_HOUR; in fixUnknownMcc()
3067 timeZone, (mZoneDst ? 1 : 0), isNitzTimeZone); in fixUnknownMcc()
/frameworks/opt/setupwizard/tools/docs/
Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/ ...
Dandroid-22.txt1291 field public static final int timeZone = 16843724; // 0x10103cc
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/base/api/
Dcurrent.txt1391 field public static final int timeZone = 16843724; // 0x10103cc
Dsystem-current.txt1518 field public static final int timeZone = 16843724; // 0x10103cc