Searched refs:date (Results 1 - 25 of 46) sorted by relevance

12

/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DDatePickerController.java17 package com.android.datetimepicker.date;
19 import com.android.datetimepicker.date.DatePickerDialog.OnDateChangedListener;
20 import com.android.datetimepicker.date.MonthAdapter.CalendarDay;
25 * Controller class to communicate among the various components of the date picker dialog.
H A DSimpleMonthAdapter.java17 package com.android.datetimepicker.date;
H A DSimpleDayPickerView.java17 package com.android.datetimepicker.date;
H A DAccessibleDateAnimator.java17 package com.android.datetimepicker.date;
37 * Announce the currently-selected date when launched.
42 // Clear the event's current text so that only the current date will be spoken.
H A DSimpleMonthView.java17 package com.android.datetimepicker.date;
H A DMonthAdapter.java17 package com.android.datetimepicker.date;
27 import com.android.datetimepicker.date.MonthView.OnDayClickListener;
48 * A convenience class to represent a specific date.
75 public void set(CalendarDay date) { argument
76 year = date.year;
77 month = date.month;
78 day = date.day;
H A DDayPickerView.java17 package com.android.datetimepicker.date;
35 import com.android.datetimepicker.date.DatePickerDialog.OnDateChangedListener;
36 import com.android.datetimepicker.date.MonthAdapter.CalendarDay;
271 protected void setMonthDisplayed(CalendarDay date) { argument
272 mCurrentMonthDisplayed = date.month;
374 * Attempts to return the date that has accessibility focus.
376 * @return The date that has accessibility focus, or {@code null} if no date
399 * Attempts to restore accessibility focus to a given date. No-op if
402 * @param day The date tha
[all...]
H A DYearPickerView.java17 package com.android.datetimepicker.date;
32 import com.android.datetimepicker.date.DatePickerDialog.OnDateChangedListener;
H A DTextViewWithCircularIndicator.java17 package com.android.datetimepicker.date;
/frameworks/base/include/androidfw/
H A DZipUtils.h67 const long date = when >> 16; local
68 timespec->tm_year = ((date >> 9) & 0x7F) + 80; // Zip is years since 1980
69 timespec->tm_mon = (date >> 5) & 0x0F;
70 timespec->tm_mday = date & 0x1F;
/frameworks/base/core/java/android/widget/
H A DCalendarView.java40 * of dates supported by this calendar is configurable. A user can select a date
41 * by taping on it and can scroll and fling the calendar to a desired date.
67 * The callback used to indicate the user changes the date.
163 * @param color The focused month date color.
174 * @return The focused month date color.
185 * @param color A not focused month date color.
196 * @return A not focused month date color.
250 * the end of the selected date.
262 * the end of the selected date.
274 * the end of the selected date
476 setDate(long date) argument
494 setDate(long date, boolean animate, boolean center) argument
560 setDate(long date) argument
561 setDate(long date, boolean animate, boolean center) argument
610 parseDate(String date, Calendar outDate) argument
[all...]
H A DCalendarViewMaterialDelegate.java53 throw new IllegalArgumentException("max date cannot be before min date");
223 public void setDate(long date) { argument
224 mDayPickerView.setDate(date, true, false);
228 public void setDate(long date, boolean animate, boolean center) { argument
229 mDayPickerView.setDate(date, animate, center);
H A DCalendarViewLegacyDelegate.java250 * The start date of the range supported by this picker.
255 * The end date of the range supported by this picker.
278 throw new IllegalArgumentException("Max date cannot be before min date.");
328 // go to today or whichever is close to today min or max date
498 // make sure the current date is not earlier than
499 // the new min date since the latter is used for
502 Calendar date = mAdapter.mSelectedDate;
503 if (date.before(mMinDate)) {
506 // reinitialize the adapter since its range depends on min date
582 setDate(long date) argument
587 setDate(long date, boolean animate, boolean center) argument
772 goTo(Calendar date, boolean animate, boolean setSelected, boolean forceScroll) argument
924 getWeeksSinceMinDate(Calendar date) argument
[all...]
H A DSimpleMonthView.java526 Calendar date = Calendar.getInstance();
527 date.set(mYear, mMonth, day);
528 mOnDayClickListener.onDayClick(this, date);
536 * @return The date that has accessibility focus, or {@code null} if no date
541 Calendar date = null;
543 date = Calendar.getInstance();
544 date.set(mYear, mMonth, day);
546 return date;
558 * Attempts to restore accessibility focus to the specified date
[all...]
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DRecurrenceProcessorTest.java40 for (long date : dates) {
41 time.set(date);
167 throw new RuntimeException("expected last occurrence date does not match."
578 // BUG 1658567: UNTIL=date
2480 for (long date : dates) {
2481 // Use the date so that this loop is not optimized away.
2482 if (date == -1) {
2483 Log.e(TAG, "unexpected date");
2501 Time date = new Time(tz);
2502 date
[all...]
/frameworks/base/core/java/com/android/internal/http/
H A DHttpDateTime.java26 * Helper for parsing an HTTP date.
31 * Regular expression for parsing HTTP-date.
66 * The compiled version of the HTTP-date regular expressions.
88 int date = 1;
95 date = getDate(rfcMatcher.group(1));
103 date = getDate(ansicMatcher.group(2));
115 date = 1;
119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date,
/frameworks/opt/telephony/src/java/android/provider/
H A DTelephony.java161 * The date the message was received.
164 public static final String DATE = "date";
167 * The date the message was sent.
322 public static final String DEFAULT_SORT_ORDER = "date DESC";
332 * @param date the timestamp for the message
340 Long date, boolean read, boolean deliveryReport) {
342 resolver, uri, address, body, subject, date, read, deliveryReport, -1L);
353 * @param date the timestamp for the message
362 Long date, boolean read, boolean deliveryReport) {
364 date, rea
338 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument
360 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument
382 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
406 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
522 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument
542 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument
582 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument
600 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date) argument
627 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument
645 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date) argument
691 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument
712 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DObexTime.java78 public ObexTime(Date date) { argument
79 mDate = date;
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/
H A DObexTime.java78 public ObexTime(Date date) { argument
79 mDate = date;
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DRecurrenceProcessor.java111 // last "until" date or "rdate".
621 * value. Returns an array of longs where each element is a date in UTC
632 * @return an array of dates, each date is in UTC milliseconds
645 // do so) because the "until" date string is specified in UTC and that
714 * strings containing the start date/times of the occurrences; the output
721 * @param dtstart the dtstart date as defined in RFC2445. This
724 * @param rangeStartDateValue the first date-time you care about, inclusive
725 * @param rangeEndDateValue the last date-time you care about, not inclusive (so
836 // Ensure that the "until" date string is specified in UTC.
838 // 15 is length of date
1138 unsafeNormalize(Time date) argument
1308 setTimeFromLongValue(Time date, long val) argument
[all...]
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.c106 char network[PROPERTY_VALUE_MAX], date[80]; local
115 strftime(date, sizeof(date), "%Y-%m-%d %H:%M:%S", localtime(&now));
118 printf("== dumpstate: %s\n", date);
389 " -d: append date to filename (requires -o)\n"
538 char date[80]; local
540 strftime(date, sizeof(date), "-%Y-%m-%d-%H-%M-%S", localtime(&now));
541 strlcat(path, date, sizeof(path));
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DObjectViewer.java142 Date date = new Date(info.getDateCreated() * 1000);
143 view.setText(date.toString());
145 date = new Date(info.getDateModified() * 1000);
146 view.setText(date.toString());
/frameworks/base/core/java/android/net/http/
H A DSslCertificate.java48 * SimpleDateFormat pattern for an ISO 8601 date
63 * Not-before date from the validity period
68 * Not-after date from the validity period
147 * @param validNotBefore The not-before date from the certificate
149 * @param validNotAfter The not-after date from the certificate
163 * @param validNotBefore The not-before date from the certificate validity period
164 * @param validNotAfter The not-after date from the certificate validity period
197 * @return Not-before date from the certificate validity period or
205 * @return Not-before date from the certificate validity period in
216 * @return Not-after date fro
318 formatDate(Date date) argument
328 cloneDate(Date date) argument
[all...]
/frameworks/base/media/java/android/media/
H A DExifInterface.java350 * Returns -1 if the date time information if not available.
369 * Returns -1 if the date time information if not available.
373 String date = mAttributes.get(TAG_GPS_DATESTAMP);
375 if (date == null || time == null) return -1;
377 String dateTimeString = date + ' ' + time;
/frameworks/base/core/java/android/provider/
H A DBrowser.java402 // Select non-bookmark history, ordered by date
485 * @param begin First date to remove. If -1, all dates before end.
487 * @param end Last date to remove. If -1, all dates after begin.
493 String date = BookmarkColumns.DATE;
499 whereClause = date + " < " + Long.toString(end);
501 whereClause = date + " >= " + Long.toString(begin);
503 whereClause = date + " >= " + Long.toString(begin) + " AND " + date
584 * The date the item was last visited, in milliseconds since the epoch.
585 * <p>Type: NUMBER (date i
[all...]

Completed in 816 milliseconds

12