OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DateUtils
(Results
76 - 100
of
289
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/packages/apps/Settings/src/com/android/settings/datausage/
CycleAdapter.java
19
import android.text.format.
DateUtils
;
117
final long cycleStart = cycleEnd - (
DateUtils
.WEEK_IN_MILLIS * 4);
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
ReceiveUriActivity.java
19
import static android.text.format.
DateUtils
.SECOND_IN_MILLIS;
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
CSVFormatter.java
74
rowOutput.append(
DateUtils
.getKMLTimestamp(entry.getLocation()
/packages/apps/Calendar/src/com/android/calendar/agenda/
AgendaAdapter.java
25
import android.text.format.
DateUtils
;
203
flags =
DateUtils
.FORMAT_SHOW_TIME;
206
flags |=
DateUtils
.FORMAT_24HOUR;
209
whenString =
DateUtils
.formatDateRange(context, mFormatter, begin, end, flags, tzString)
/packages/apps/DeskClock/src/com/android/deskclock/
AnalogClock.java
30
import android.text.format.
DateUtils
;
277
final int flags =
DateUtils
.FORMAT_SHOW_TIME |
DateUtils
.FORMAT_24HOUR;
278
String contentDescription =
DateUtils
.formatDateTime(mContext,
/external/apache-http/src/org/apache/http/impl/cookie/
RFC2109Spec.java
76
DateUtils
.PATTERN_RFC1123,
77
DateUtils
.PATTERN_RFC1036,
78
DateUtils
.PATTERN_ASCTIME
/frameworks/base/core/java/android/widget/
Chronometer.java
23
import android.text.format.
DateUtils
;
265
String text =
DateUtils
.formatElapsedTime(mRecycle, seconds);
328
int duration = (int) (ms /
DateUtils
.SECOND_IN_MILLIS);
TimePickerSpinnerDelegate.java
23
import android.text.format.
DateUtils
;
408
int flags =
DateUtils
.FORMAT_SHOW_TIME;
410
flags |=
DateUtils
.FORMAT_24HOUR;
412
flags |=
DateUtils
.FORMAT_12HOUR;
416
String selectedDateUtterance =
DateUtils
.formatDateTime(mContext,
CalendarViewLegacyDelegate.java
31
import android.text.format.
DateUtils
;
701
mDayNamesShort[i - mFirstDayOfWeek] =
DateUtils
.getDayOfWeekString(calendarDay,
702
DateUtils
.LENGTH_SHORTEST);
703
mDayNamesLong[i - mFirstDayOfWeek] =
DateUtils
.getDayOfWeekString(calendarDay,
704
DateUtils
.LENGTH_LONG);
911
final int flags =
DateUtils
.FORMAT_SHOW_DATE |
DateUtils
.FORMAT_NO_MONTH_DAY
912
|
DateUtils
.FORMAT_SHOW_YEAR;
914
String newMonthName =
DateUtils
.formatDateRange(mContext, millis, millis, flags);
[
all
...]
DateTimeView.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
.YEAR_IN_MILLIS;
/frameworks/base/services/core/java/com/android/server/connectivity/
LingerMonitor.java
27
import android.text.format.
DateUtils
;
57
public static final long DEFAULT_NOTIFICATION_RATE_LIMIT_MILLIS =
DateUtils
.MINUTE_IN_MILLIS;
294
if (millisSinceFirst >
DateUtils
.DAY_IN_MILLIS) {
/packages/apps/Calendar/src/com/android/calendar/
CalendarUtils.java
28
import android.text.format.
DateUtils
;
160
* If the {@link
DateUtils
#FORMAT_UTC} flag is used it will pass in
167
* {@link
DateUtils
#formatDateRange(Context, Formatter, long, long, int, String) formatDateRange}
174
if ((flags &
DateUtils
.FORMAT_UTC) != 0) {
181
date =
DateUtils
.formatDateRange(context, mF, startMillis, endMillis, flags,
/packages/apps/DeskClock/src/com/android/deskclock/data/
Timer.java
26
import static android.text.format.
DateUtils
.HOUR_IN_MILLIS;
27
import static android.text.format.
DateUtils
.MINUTE_IN_MILLIS;
28
import static android.text.format.
DateUtils
.SECOND_IN_MILLIS;
/packages/apps/Email/provider_src/com/android/email/mail/internet/
AuthenticationCache.java
4
import android.text.format.
DateUtils
;
24
private static final long EXPIRATION_THRESHOLD = 5 *
DateUtils
.MINUTE_IN_MILLIS;
124
entry.mExpirationTime = result.mExpiresInSeconds *
DateUtils
.SECOND_IN_MILLIS +
OAuthAuthenticator.java
4
import android.text.format.
DateUtils
;
48
private static final long CONNECTION_TIMEOUT = 20 *
DateUtils
.SECOND_IN_MILLIS;
49
private static final long COMMAND_TIMEOUT = 30 *
DateUtils
.SECOND_IN_MILLIS;
/packages/apps/Settings/src/com/android/settings/
UsageStatsActivity.java
27
import android.text.format.
DateUtils
;
195
holder.lastTimeUsed.setText(
DateUtils
.formatSameDayTime(pkgStats.getLastTimeUsed(),
198
DateUtils
.formatElapsedTime(pkgStats.getTotalTimeInForeground() / 1000));
/packages/apps/Settings/src/com/android/settings/deletionhelper/
AutomaticStorageManagerSettings.java
27
import android.text.format.
DateUtils
;
105
DateUtils
.formatDateTime(activity, lastRunMillis,
DateUtils
.FORMAT_SHOW_DATE)));
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
DaydreamFragment.java
31
import android.text.format.
DateUtils
;
59
private static final int DEFAULT_DREAM_TIME_MS = (int) (30 *
DateUtils
.MINUTE_IN_MILLIS);
60
private static final int DEFAULT_SLEEP_TIME_MS = (int) (3 *
DateUtils
.HOUR_IN_MILLIS);
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadIdleService.java
36
import android.text.format.
DateUtils
;
91
.setPeriodic(12 *
DateUtils
.HOUR_IN_MILLIS)
117
final long modifiedBefore = System.currentTimeMillis() -
DateUtils
.WEEK_IN_MILLIS;
/packages/apps/Calendar/src/com/android/calendar/month/
MonthByWeekFragment.java
35
import android.text.format.
DateUtils
;
337
mDayLabels[i - Calendar.SUNDAY] =
DateUtils
.getDayOfWeekString(i,
338
DateUtils
.LENGTH_MEDIUM).toUpperCase();
476
long offset = useSelected ? 0 :
DateUtils
.WEEK_IN_MILLIS * mNumWeeks / 3;
480
ViewType.CURRENT,
DateUtils
.FORMAT_SHOW_DATE |
DateUtils
.FORMAT_NO_MONTH_DAY
481
|
DateUtils
.FORMAT_SHOW_YEAR, null, null);
/packages/apps/TV/src/com/android/tv/util/
Utils.java
42
import android.text.format.
DateUtils
;
280
* {@link
DateUtils
#FORMAT_NUMERIC_DATE} is used otherwise.
291
flag |=
DateUtils
.FORMAT_ABBREV_MONTH |
DateUtils
.FORMAT_SHOW_TIME
292
| ((useShortFormat) ?
DateUtils
.FORMAT_NUMERIC_DATE : 0);
294
flag |=
DateUtils
.FORMAT_SHOW_DATE;
303
// Extracting a day is needed because {@link
DateUtils
@formatDateRange}
305
return
DateUtils
.formatDateRange(context,
309
return
DateUtils
.formatDateRange(context, startUtcMillis, endUtcMillis, flag);
/packages/apps/Messaging/src/com/android/messaging/widget/
WidgetConversationService.java
28
import android.text.format.
DateUtils
;
367
DateUtils
.formatDateTime(
370
DateUtils
.FORMAT_SHOW_DATE |
371
DateUtils
.FORMAT_SHOW_TIME |
372
DateUtils
.FORMAT_NUMERIC_DATE |
373
DateUtils
.FORMAT_NO_YEAR));
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/
RSSFeedUpdateEntryTask.java
33
import org.apache.tools.ant.util.
DateUtils
;
330
return
DateUtils
.format(new Date(),
DateUtils
.ISO8601_DATETIME_PATTERN) + "Z"; //$NON-NLS-1$
/packages/apps/Calendar/src/com/android/calendar/event/
CreateEventDialogFragment.java
32
import android.text.format.
DateUtils
;
164
mDateInMillis +
DateUtils
.DAY_IN_MILLIS, 0, 0,
209
mModel.mEnd = mDateInMillis +
DateUtils
.DAY_IN_MILLIS;
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationItemViewModel.java
26
import android.text.format.
DateUtils
;
288
boolean isToday =
DateUtils
.isToday(conversation.dateMs);
289
String date =
DateUtils
.getRelativeTimeSpanString(context, conversation.dateMs)
Completed in 290 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>