Home
last modified time | relevance | path

Searched refs:DateFormat (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/android/widget/
DDateTimeView.java36 import java.text.DateFormat;
66 DateFormat mLastFormat;
145 DateFormat format; in update()
191 private DateFormat getTimeFormat() {
194 if (android.text.format.DateFormat.is24HourFormat(context)) {
203 private DateFormat getDateFormat() {
207 return DateFormat.getDateInstance(DateFormat.SHORT);
213 return DateFormat.getDateInstance(DateFormat.SHORT);
DDigitalClock.java25 import android.text.format.DateFormat;
88 setText(DateFormat.format(mFormat, mCalendar)); in onAttachedToWindow()
108 return android.text.format.DateFormat.is24HourFormat(getContext()); in get24HourMode()
DDatePicker.java26 import android.text.format.DateFormat;
108 private final java.text.DateFormat mDateFormat = new SimpleDateFormat(DATE_FORMAT);
495 char[] order = DateFormat.getDateFormatOrder(getContext()); in reorderSpinners()
499 case DateFormat.DATE: in reorderSpinners()
503 case DateFormat.MONTH: in reorderSpinners()
507 case DateFormat.YEAR: in reorderSpinners()
DCalendarView.java34 import android.text.format.DateFormat;
305 private final java.text.DateFormat mDateFormat = new SimpleDateFormat(DATE_FORMAT);
943 mMonthName.setText(DateFormat.format(FORMAT_MONTH_NAME, calendar)); in setMonthDisplayed()
/frameworks/base/core/java/android/text/format/
DDateFormat.java77 public class DateFormat { class
216 java.text.DateFormat natural = in is24HourFormat()
217 java.text.DateFormat.getTimeInstance( in is24HourFormat()
218 java.text.DateFormat.LONG, locale); in is24HourFormat()
249 public static final java.text.DateFormat getTimeFormat(Context context) { in getTimeFormat()
269 public static final java.text.DateFormat getDateFormat(Context context) { in getDateFormat()
285 public static java.text.DateFormat getDateFormatForSetting(Context context, in getDateFormatForSetting()
339 public static final java.text.DateFormat getLongDateFormat(Context context) { in getLongDateFormat()
340 return java.text.DateFormat.getDateInstance(java.text.DateFormat.LONG); in getLongDateFormat()
349 public static final java.text.DateFormat getMediumDateFormat(Context context) { in getMediumDateFormat()
[all …]
DDateUtils.java136 private static java.text.DateFormat sStatusTimeFormat;
654 sStatusTimeFormat = java.text.DateFormat.getTimeInstance(java.text.DateFormat.SHORT); in initFormatStringsLocked()
806 java.text.DateFormat f; in formatSameDayTime()
811 f = java.text.DateFormat.getTimeInstance(timeStyle); in formatSameDayTime()
813 f = java.text.DateFormat.getDateInstance(dateStyle); in formatSameDayTime()
1273 use24Hour = DateFormat.is24HourFormat(context); in formatDateRange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDateView.java23 import android.text.format.DateFormat;
92 CharSequence dow = DateFormat.format("EEEE", now); in updateClock()
93 CharSequence date = DateFormat.getLongDateFormat(context).format(now); in updateClock()
DClock.java30 import android.text.format.DateFormat;
131 boolean b24 = DateFormat.is24HourFormat(context); in getSmallTime()
/frameworks/base/core/tests/coretests/src/android/webkit/
DWebkitTest.java20 import android.text.format.DateFormat;
55 Log.i(LOGTAG, "time: " + DateFormat.format("yyyy/MM/dd kk:mm:ss", c).toString() + in testDateSorter()
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java32 import java.text.DateFormat;
40 DateFormat mDateFormat;
59 mDateFormat = DateFormat.getInstance(); in onCreate()
/frameworks/base/core/java/com/android/internal/widget/
DDigitalClock.java29 import android.text.format.DateFormat;
231 CharSequence newTime = DateFormat.format(mFormat, mCalendar); in updateTime()
238 mFormat = android.text.format.DateFormat.is24HourFormat(getContext()) in setDateFormat()
/frameworks/base/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java44 import java.text.DateFormat;
82 DateFormat formatter = DateFormat.getDateTimeInstance();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
DHoloClock.java31 import android.text.format.DateFormat;
158 int res = DateFormat.is24HourFormat(context) in getTimeText()
/frameworks/base/core/java/android/net/http/
DSslCertificate.java21 import android.text.format.DateFormat;
492 return DateFormat.getDateFormat(context).format(certificateDate); in formatCertificateDate()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DKeyguardStatusViewManager.java35 import android.text.format.DateFormat;
406 mDateView.setText(DateFormat.format(mDateFormatString, new Date())); in refreshDate()
/frameworks/base/services/java/com/android/server/
DDevicePolicyManagerService.java72 import java.text.DateFormat;
1135 + DateFormat.getDateTimeInstance(DateFormat.DEFAULT, DateFormat.DEFAULT) in setPasswordExpirationTimeout()
/frameworks/base/api/
Dcurrent.txt20355 public class DateFormat {
20356 ctor public DateFormat();
20360 method public static final java.text.DateFormat getDateFormat(android.content.Context);
20362 method public static final java.text.DateFormat getLongDateFormat(android.content.Context);
20363 method public static final java.text.DateFormat getMediumDateFormat(android.content.Context);
20364 method public static final java.text.DateFormat getTimeFormat(android.content.Context);
35439 public abstract class DateFormat extends java.text.Format {
35440 ctor protected DateFormat();
35446 method public static final java.text.DateFormat getDateInstance();
35447 method public static final java.text.DateFormat getDateInstance(int);
[all …]
D14.txt20355 public class DateFormat {
20356 ctor public DateFormat();
20360 method public static final java.text.DateFormat getDateFormat(android.content.Context);
20362 method public static final java.text.DateFormat getLongDateFormat(android.content.Context);
20363 method public static final java.text.DateFormat getMediumDateFormat(android.content.Context);
20364 method public static final java.text.DateFormat getTimeFormat(android.content.Context);
35439 public abstract class DateFormat extends java.text.Format {
35440 ctor protected DateFormat();
35446 method public static final java.text.DateFormat getDateInstance();
35447 method public static final java.text.DateFormat getDateInstance(int);
[all …]
/frameworks/base/
Dpreloaded-classes1568 java.text.DateFormat
/frameworks/base/docs/html/
Dsitemap.txt580 http://developer.android.com/reference/android/text/format/DateFormat.html
1659 http://developer.android.com/reference/java/text/DateFormat.html
2294 http://developer.android.com/reference/java/text/DateFormat.Field.html