HomeSort by relevance Sort by last modified time
    Searched refs:DateUtils (Results 51 - 75 of 289) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/
RSSFeedCreateFeedTask.java 22 import org.apache.tools.ant.util.DateUtils;
122 return DateUtils.format(new Date(), DateUtils.ISO8601_DATETIME_PATTERN) + "Z"; //$NON-NLS-1$
  /frameworks/opt/timezonepicker/src/com/android/timezonepicker/
TimeZonePickerUtils.java 24 import android.text.format.DateUtils;
131 sb.append(p / DateUtils.HOUR_IN_MILLIS); // Hour
133 final int min = (p / (int) DateUtils.MINUTE_IN_MILLIS) % 60;
  /packages/apps/TV/src/com/android/tv/dialog/
RecentlyWatchedDialogFragment.java 27 import android.text.format.DateUtils;
91 CharSequence timeString = DateUtils.getRelativeTimeSpanString(time,
92 System.currentTimeMillis(), DateUtils.SECOND_IN_MILLIS);
  /packages/apps/Calendar/src/com/android/calendar/alerts/
AlarmScheduler.java 31 import android.text.format.DateUtils;
92 private static final long EVENT_LOOKAHEAD_WINDOW_MS = DateUtils.WEEK_IN_MILLIS;
93 private static final long MAX_ALARM_ELAPSED_MS = DateUtils.DAY_IN_MILLIS;
143 ContentUris.appendId(uriBuilder, localStartMin - DateUtils.DAY_IN_MILLIS);
144 ContentUris.appendId(uriBuilder, localStartMax + DateUtils.DAY_IN_MILLIS);
252 reminderMinutes * DateUtils.MINUTE_IN_MILLIS;
AlertUtils.java 31 import android.text.format.DateUtils;
163 int flags = DateUtils.FORMAT_ABBREV_ALL;
165 flags |= DateUtils.FORMAT_SHOW_TIME;
167 flags |= DateUtils.FORMAT_24HOUR;
170 flags |= DateUtils.FORMAT_UTC;
174 flags |= DateUtils.FORMAT_SHOW_DATE;
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DocumentsApplication.java 30 import android.text.format.DateUtils;
33 private static final long PROVIDER_ANR_TIMEOUT = 20 * DateUtils.SECOND_IN_MILLIS;
  /frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
RemoteBugreportUtils.java 28 import android.text.format.DateUtils;
50 static final long REMOTE_BUGREPORT_TIMEOUT_MILLIS = 10 * DateUtils.MINUTE_IN_MILLIS;
  /frameworks/base/core/java/android/widget/
AnalogClock.java 28 import android.text.format.DateUtils;
267 final int flags = DateUtils.FORMAT_SHOW_TIME | DateUtils.FORMAT_24HOUR;
268 String contentDescription = DateUtils.formatDateTime(mContext,
  /frameworks/base/services/core/java/com/android/server/connectivity/
MetricsLoggerService.java 30 import android.text.format.DateUtils;
68 private final long THROTTLING_TIME_INTERVAL_MILLIS = DateUtils.HOUR_IN_MILLIS;
175 DateUtils.formatElapsedTime(
207 DateUtils.formatElapsedTime(
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DataUsageController.java 31 import android.text.format.DateUtils;
44 import static android.text.format.DateUtils.FORMAT_ABBREV_MONTH;
45 import static android.text.format.DateUtils.FORMAT_SHOW_DATE;
162 start = now - DateUtils.WEEK_IN_MILLIS * 4;
249 return DateUtils.formatDateRange(mContext, PERIOD_FORMATTER, start, end, flags, null)
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DatePickerDialog.java 24 import android.text.format.DateUtils;
307 int flags = DateUtils.FORMAT_SHOW_DATE;
308 String dayString = DateUtils.formatDateTime(getActivity(), millis, flags);
348 int flags = DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_NO_YEAR;
349 String monthAndDayText = DateUtils.formatDateTime(getActivity(), millis, flags);
353 flags = DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_SHOW_YEAR;
354 String fullDateText = DateUtils.formatDateTime(getActivity(), millis, flags);
  /packages/apps/Calendar/tests/src/com/android/calendar/alerts/
AlertServiceTest.java 31 import android.text.format.DateUtils;
616 // Since AlertService.processQuery uses DateUtils.isToday instead of checking against
625 yesterday.set(System.currentTimeMillis() - DateUtils.DAY_IN_MILLIS);
627 tomorrow.set(System.currentTimeMillis() + DateUtils.DAY_IN_MILLIS);
641 allDayStart + DateUtils.HOUR_IN_MILLIS * 24, 0);
652 alarmMgr.expectAlarmTime(AlarmManager.RTC, currentTime + 15 * DateUtils.MINUTE_IN_MILLIS);
664 alarmMgr.expectAlarmTime(AlarmManager.RTC, currentTime + 30 * DateUtils.MINUTE_IN_MILLIS);
676 alarmMgr.expectAlarmTime(AlarmManager.RTC, currentTime + 20 * DateUtils.MINUTE_IN_MILLIS);
688 alarmMgr.expectAlarmTime(AlarmManager.RTC, currentTime + 1 * DateUtils.MINUTE_IN_MILLIS);
    [all...]
  /frameworks/base/core/tests/utiltests/src/com/android/internal/util/
FileRotatorTest.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.MINUTE_IN_MILLIS;
22 import static android.text.format.DateUtils.SECOND_IN_MILLIS;
23 import static android.text.format.DateUtils.WEEK_IN_MILLIS;
24 import static android.text.format.DateUtils.YEAR_IN_MILLIS;
  /packages/apps/Calendar/src/com/android/calendar/event/
EditEventView.java 42 import android.text.format.DateUtils;
736 mEndTime.normalize(true) + DateUtils.DAY_IN_MILLIS;
739 mModel.mEnd = mModel.mStart + DateUtils.DAY_IN_MILLIS;
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DocumentsClientTestCase.java 39 import android.text.format.DateUtils;
52 protected static final long TIMEOUT = 30 * DateUtils.SECOND_IN_MILLIS;
  /development/samples/training/threadsample/src/com/example/android/threadsample/
RSSPullService.java 145 org.apache.http.impl.cookie.DateUtils.formatDate(
147 org.apache.http.impl.cookie.DateUtils.PATTERN_RFC1123));
  /external/apache-http/src/org/apache/http/impl/cookie/
DateUtils.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/DateUtils.java $
57 public final class DateUtils {
210 private DateUtils() {
240 * {@link DateUtils}.
  /frameworks/base/services/usage/java/com/android/server/usage/
UserUsageStatsService.java 30 import android.text.format.DateUtils;
54 DateUtils.FORMAT_SHOW_DATE
55 | DateUtils.FORMAT_SHOW_TIME
56 | DateUtils.FORMAT_SHOW_YEAR
57 | DateUtils.FORMAT_NUMERIC_DATE;
486 return "\"" + DateUtils.formatDateTime(mContext, dateTime, sDateFormatFlags) + "\"";
493 return "\"" + DateUtils.formatElapsedTime(elapsedTime / 1000) + "\"";
501 pw.printPair("timeRange", "\"" + DateUtils.formatDateRange(mContext,
  /frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
UsageStatsActivity.java 25 import android.text.format.DateUtils;
136 holder.usageTime.setText(DateUtils.formatDuration(
  /frameworks/volley/src/main/java/com/android/volley/toolbox/
HttpHeaderParser.java 23 import org.apache.http.impl.cookie.DateUtils;
129 return DateUtils.parseDate(dateStr).getTime();
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppTransferAdapter.java 42 import android.text.format.DateUtils;
123 CharSequence str = DateUtils.isToday(time) ? DateFormat.getTimeFormat(mContext).format(
  /packages/apps/Calendar/src/com/android/calendar/
CalendarSettingsActivity.java 30 import android.text.format.DateUtils;
65 if (Utils.getTardis() + DateUtils.MINUTE_IN_MILLIS > System.currentTimeMillis()) {
  /packages/apps/Calendar/src/com/android/calendar/widget/
CalendarAppWidgetService.java 35 import android.text.format.DateUtils;
100 private static final long SEARCH_DURATION = MAX_DAYS * DateUtils.DAY_IN_MILLIS;
106 private static final long UPDATE_TIME_NO_EVENTS = DateUtils.HOUR_IN_MILLIS * 6;
405 long begin = now - DateUtils.DAY_IN_MILLIS;
406 long end = now + SEARCH_DURATION + DateUtils.DAY_IN_MILLIS;
615 if (delta > DateUtils.MINUTE_IN_MILLIS) {
616 delta /= DateUtils.MINUTE_IN_MILLIS;
620 delta /= DateUtils.SECOND_IN_MILLIS;
  /packages/apps/Email/provider_src/com/android/email/provider/
RefreshStatusMonitor.java 12 import android.text.format.DateUtils;
28 public static final long REMOVE_REFRESH_TIMEOUT_MS = DateUtils.MINUTE_IN_MILLIS;
  /packages/apps/Settings/src/com/android/settings/
BugreportPreference.java 26 import android.text.format.DateUtils;
109 }, BUGREPORT_DELAY_SECONDS * DateUtils.SECOND_IN_MILLIS);

Completed in 1766 milliseconds

1 23 4 5 6 7 8 91011>>