Searched refs:DateFormat (Results 1 – 20 of 20) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | DateTimeView.java | 36 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);
|
D | DigitalClock.java | 25 import android.text.format.DateFormat; 88 setText(DateFormat.format(mFormat, mCalendar)); in onAttachedToWindow() 108 return android.text.format.DateFormat.is24HourFormat(getContext()); in get24HourMode()
|
D | DatePicker.java | 26 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()
|
D | CalendarView.java | 34 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/ |
D | DateFormat.java | 77 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 …]
|
D | DateUtils.java | 136 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/ |
D | DateView.java | 23 import android.text.format.DateFormat; 92 CharSequence dow = DateFormat.format("EEEE", now); in updateClock() 93 CharSequence date = DateFormat.getLongDateFormat(context).format(now); in updateClock()
|
D | Clock.java | 30 import android.text.format.DateFormat; 131 boolean b24 = DateFormat.is24HourFormat(context); in getSmallTime()
|
/frameworks/base/core/tests/coretests/src/android/webkit/ |
D | WebkitTest.java | 20 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/ |
D | BatteryWaster.java | 32 import java.text.DateFormat; 40 DateFormat mDateFormat; 59 mDateFormat = DateFormat.getInstance(); in onCreate()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DigitalClock.java | 29 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/ |
D | BackupTestActivity.java | 44 import java.text.DateFormat; 82 DateFormat formatter = DateFormat.getDateTimeInstance();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
D | HoloClock.java | 31 import android.text.format.DateFormat; 158 int res = DateFormat.is24HourFormat(context) in getTimeText()
|
/frameworks/base/core/java/android/net/http/ |
D | SslCertificate.java | 21 import android.text.format.DateFormat; 492 return DateFormat.getDateFormat(context).format(certificateDate); in formatCertificateDate()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | KeyguardStatusViewManager.java | 35 import android.text.format.DateFormat; 406 mDateView.setText(DateFormat.format(mDateFormatString, new Date())); in refreshDate()
|
/frameworks/base/services/java/com/android/server/ |
D | DevicePolicyManagerService.java | 72 import java.text.DateFormat; 1135 + DateFormat.getDateTimeInstance(DateFormat.DEFAULT, DateFormat.DEFAULT) in setPasswordExpirationTimeout()
|
/frameworks/base/api/ |
D | current.txt | 20355 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 …]
|
D | 14.txt | 20355 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/ |
D | preloaded-classes | 1568 java.text.DateFormat
|
/frameworks/base/docs/html/ |
D | sitemap.txt | 580 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
|