Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/utils/
DZoneGetterTest.java92 final TimeZone timeZone = TimeZone.getTimeZone(TIME_ZONE_LA_ID); in getTimeZoneOffsetAndName_withTtsSpan() local
94 CharSequence timeZoneString = ZoneGetter.getTimeZoneOffsetAndName(context, timeZone, in getTimeZoneOffsetAndName_withTtsSpan()
104 final TimeZone timeZone = TimeZone.getTimeZone(timeZoneId); in testTimeZoneOffsetAndNameInner() local
106 CharSequence timeZoneString = ZoneGetter.getTimeZoneOffsetAndName(context, timeZone, in testTimeZoneOffsetAndNameInner()
/frameworks/base/core/java/android/widget/
DTextClock.java176 final String timeZone = intent.getStringExtra("time-zone");
177 createTime(timeZone);
276 private void createTime(String timeZone) { in createTime() argument
277 if (timeZone != null) { in createTime()
278 mTime = Calendar.getInstance(TimeZone.getTimeZone(timeZone)); in createTime()
486 public void setTimeZone(String timeZone) { in setTimeZone() argument
487 mTimeZone = timeZone; in setTimeZone()
489 createTime(timeZone); in setTimeZone()
DDateTimeView.java280 TimeZone timeZone = TimeZone.getDefault(); local
281 count = Math.max(Math.abs(dayDistance(timeZone, mTimeMillis, now)), 1);
288 mUpdateTimeMillis = computeNextMidnight(timeZone);
317 private long computeNextMidnight(TimeZone timeZone) { in computeNextMidnight() argument
319 c.setTimeZone(timeZone); in computeNextMidnight()
344 private static int dayDistance(TimeZone timeZone, long startTime, in dayDistance() argument
346 return getJulianDay(endTime, timeZone.getOffset(endTime) / 1000) in dayDistance()
347 - getJulianDay(startTime, timeZone.getOffset(startTime) / 1000); in dayDistance()
392 TimeZone timeZone = TimeZone.getDefault(); in onInitializeAccessibilityNodeInfoInternal() local
393 count = Math.max(Math.abs(dayDistance(timeZone, mTimeMillis, now)), 1); in onInitializeAccessibilityNodeInfoInternal()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DImageClock.java75 public void onTimeZoneChanged(TimeZone timeZone) { in onTimeZoneChanged() argument
76 mTimeZone = timeZone; in onTimeZoneChanged()
77 mTime.setTimeZone(timeZone); in onTimeZoneChanged()
DBubbleClockController.java192 public void onTimeZoneChanged(TimeZone timeZone) { in onTimeZoneChanged() argument
193 mAnalogClock.onTimeZoneChanged(timeZone); in onTimeZoneChanged()
DAnalogClockController.java192 public void onTimeZoneChanged(TimeZone timeZone) { in onTimeZoneChanged() argument
193 mAnalogClock.onTimeZoneChanged(timeZone); in onTimeZoneChanged()
DDefaultClockController.java172 public void onTimeZoneChanged(TimeZone timeZone) {} in onTimeZoneChanged() argument
/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.java511 final String timeZone = mParcel.readString(); in getDate() local
513 if (timeZone.length() == 0) { in getDate()
516 TimeZone tz = TimeZone.getTimeZone(timeZone); in getDate()
/frameworks/base/core/java/android/app/
DAlarmManager.java994 public void setTimeZone(String timeZone) { in setTimeZone() argument
995 if (TextUtils.isEmpty(timeZone)) { in setTimeZone()
1003 hasTimeZone = ZoneInfoDB.getInstance().hasTimeZone(timeZone); in setTimeZone()
1008 throw new IllegalArgumentException("Timezone: " + timeZone + " is not an Olson ID"); in setTimeZone()
1013 mService.setTimeZone(timeZone); in setTimeZone()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardStatusView.java87 public void onTimeZoneChanged(TimeZone timeZone) {
88 updateTimeZone(timeZone);
247 private void updateTimeZone(TimeZone timeZone) { in updateTimeZone() argument
248 mClockView.onTimeZoneChanged(timeZone); in updateTimeZone()
DKeyguardUpdateMonitorCallback.java58 public void onTimeZoneChanged(TimeZone timeZone) { } in onTimeZoneChanged() argument
DKeyguardClockSwitch.java374 public void onTimeZoneChanged(TimeZone timeZone) { in onTimeZoneChanged() argument
376 mClockPlugin.onTimeZoneChanged(timeZone); in onTimeZoneChanged()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DClockPlugin.java127 default void onTimeZoneChanged(TimeZone timeZone) {} in onTimeZoneChanged() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTimeZoneLookupHelperTest.java323 TimeZone timeZone = TimeZone.getTimeZone(lookupResult.zoneId); in assertOffsetResultZoneOffsets() local
324 GregorianCalendar calendar = new GregorianCalendar(timeZone); in assertOffsetResultZoneOffsets()
332 assertEquals(expectedDstAtTime > 0, timeZone.inDaylightTime(date)); in assertOffsetResultZoneOffsets()
/frameworks/base/core/java/android/view/textclassifier/
DActionsSuggestionsHelper.java91 String timeZone = message.getReferenceTime() == null in toNativeMessages() local
96 message.getText().toString(), referenceTime, timeZone, in toNativeMessages()
/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
/frameworks/base/core/java/android/text/format/
DDateUtils.java730 long endMillis, int flags, String timeZone) { in formatDateRange() argument
738 String range = DateIntervalFormat.formatDateRange(startMillis, endMillis, flags, timeZone); in formatDateRange()
/frameworks/base/rs/java/android/renderscript/
DScript.java465 public void setTimeZone(String timeZone) { in setTimeZone() argument
468 mRS.nScriptSetTimeZone(getID(mRS), timeZone.getBytes("UTF-8")); in setTimeZone()
/frameworks/rs/support/java/src/androidx/renderscript/
DScript.java227 public void setTimeZone(String timeZone) { in setTimeZone() argument
230 mRS.nScriptSetTimeZone(getID(mRS), timeZone.getBytes("UTF-8"), mUseIncSupp); in setTimeZone()
DRenderScript.java632 native void rsnScriptSetTimeZone(long con, long script, byte[] timeZone, boolean mUseInc); in rsnScriptSetTimeZone() argument
633 synchronized void nScriptSetTimeZone(long script, byte[] timeZone, boolean mUseInc) { in nScriptSetTimeZone() argument
639 rsnScriptSetTimeZone(curCon, script, timeZone, mUseInc); in nScriptSetTimeZone()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardSliceProvider.java163 public void onTimeZoneChanged(TimeZone timeZone) {

12