/frameworks/base/core/tests/coretests/src/android/os/ |
FileUtilsTest.java | 19 import static android.text.format.DateUtils.DAY_IN_MILLIS; 20 import static android.text.format.DateUtils.HOUR_IN_MILLIS; 21 import static android.text.format.DateUtils.WEEK_IN_MILLIS;
|
/packages/apps/Calendar/src/com/android/calendar/ |
Utils.java | 48 import android.text.format.DateUtils; 301 * @param flags a bit mask of options See {@link DateUtils#formatDateRange(Context, Formatter, 556 int flags = DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_NO_MONTH_DAY 557 | DateUtils.FORMAT_SHOW_YEAR; [all...] |
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleDayPickerFragment.java | 30 import android.text.format.DateUtils; 251 mDayLabels[i - Calendar.SUNDAY] = DateUtils.getDayOfWeekString(i, 252 DateUtils.LENGTH_SHORTEST).toUpperCase();
|
/packages/apps/Email/provider_src/com/android/email/service/ |
EmailBroadcastProcessorService.java | 35 import android.text.format.DateUtils; 202 syncInterval * DateUtils.MINUTE_IN_MILLIS / DateUtils.SECOND_IN_MILLIS);
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/data/ |
PsipData.java | 21 import android.text.format.DateUtils; 568 return ConvertUtils.convertGPSTimeToUnixEpoch(mStartTime) * DateUtils.SECOND_IN_MILLIS; 573 mStartTime + mLengthInSecond) * DateUtils.SECOND_IN_MILLIS;
|
/frameworks/base/core/java/android/widget/ |
DatePickerCalendarDelegate.java | 32 import android.text.format.DateUtils; 335 final int flags = DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_SHOW_YEAR; 336 final String fullDateText = DateUtils.formatDateTime(mContext, millis, flags);
|
DatePickerSpinnerDelegate.java | 27 import android.text.format.DateUtils; 403 final int flags = DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_SHOW_YEAR; 404 String selectedDateUtterance = DateUtils.formatDateTime(mContext,
|
TimePickerClockDelegate.java | 27 import android.text.format.DateUtils; 529 int flags = DateUtils.FORMAT_SHOW_TIME; 531 flags |= DateUtils.FORMAT_24HOUR; 533 flags |= DateUtils.FORMAT_12HOUR; 539 final String selectedTime = DateUtils.formatDateTime(mContext,
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
ChartDataLoader.java | 24 import static android.text.format.DateUtils.HOUR_IN_MILLIS;
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
RadialPickerLayout.java | 26 import android.text.format.DateUtils; 761 int flags = DateUtils.FORMAT_SHOW_TIME; [all...] |
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaByDayAdapter.java | 23 import android.text.format.DateUtils; 225 int flags = DateUtils.FORMAT_SHOW_WEEKDAY; 235 flags = DateUtils.FORMAT_SHOW_DATE; 236 String dateViewText = DateUtils.formatDateRange(mContext, mFormatter, millis, millis,
|
/packages/apps/Settings/src/com/android/settings/applications/ |
AppOpsState.java | 29 import android.text.format.DateUtils; 414 return DateUtils.getRelativeTimeSpanString(getTime(), 416 DateUtils.MINUTE_IN_MILLIS, 417 DateUtils.FORMAT_ABBREV_RELATIVE);
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
DownloadsDeletionPreferenceGroup.java | 21 import android.text.format.DateUtils;
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
ContactHeaderWidget.java | 42 import android.text.format.DateUtils; 470 int flags = DateUtils.FORMAT_ABBREV_RELATIVE; 472 timestampDisplayValue = DateUtils.getRelativeTimeSpanString( 474 DateUtils.MINUTE_IN_MILLIS, flags);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadScanner.java | 19 import static android.text.format.DateUtils.MINUTE_IN_MILLIS;
|
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/ |
WriteExternalStorageTest.java | 40 import android.text.format.DateUtils; 330 SystemClock.sleep(15 * DateUtils.SECOND_IN_MILLIS);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
NetworkStatsCollectionTest.java | 24 import static android.text.format.DateUtils.HOUR_IN_MILLIS; 25 import static android.text.format.DateUtils.MINUTE_IN_MILLIS;
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
NotificationHelper.java | 20 import android.text.format.DateUtils; 213 .setContentInfo(DateUtils.formatElapsedTime(pos))
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
EditEventHelper.java | 32 import android.text.format.DateUtils; 610 return defaultStartMillis + 30 * DateUtils.MINUTE_IN_MILLIS; 621 return startTime + DateUtils.HOUR_IN_MILLIS; [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerSetupView.java | 24 import android.text.format.DateUtils; 200 return totalSeconds * DateUtils.SECOND_IN_MILLIS;
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
EmailConversationCursor.java | 27 import android.text.format.DateUtils; 62 private static final long AUTO_REFRESH_INTERVAL_MS = 5 * DateUtils.MINUTE_IN_MILLIS;
|
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartNetworkSeriesView.java | 36 import static android.text.format.DateUtils.DAY_IN_MILLIS; 37 import static android.text.format.DateUtils.WEEK_IN_MILLIS;
|
/frameworks/base/core/tests/coretests/src/android/net/ |
NetworkStatsHistoryTest.java | 29 import static android.text.format.DateUtils.DAY_IN_MILLIS; 30 import static android.text.format.DateUtils.HOUR_IN_MILLIS; 31 import static android.text.format.DateUtils.MINUTE_IN_MILLIS; 32 import static android.text.format.DateUtils.SECOND_IN_MILLIS; 33 import static android.text.format.DateUtils.WEEK_IN_MILLIS; 34 import static android.text.format.DateUtils.YEAR_IN_MILLIS;
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
Utils.java | 46 import android.text.format.DateUtils; 469 return nextAlarmTimeMillis - System.currentTimeMillis() <= DateUtils.DAY_IN_MILLIS; 588 final long hour = gmtOffset / DateUtils.HOUR_IN_MILLIS; 589 final long min = (Math.abs(gmtOffset) % DateUtils.HOUR_IN_MILLIS) / 590 DateUtils.MINUTE_IN_MILLIS; 680 final long dayMillis = aSunday + i * DateUtils.DAY_IN_MILLIS;
|
/packages/apps/Calendar/tests/src/com/android/calendar/event/ |
EditEventHelperTest.java | 34 import android.text.format.DateUtils; [all...] |