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

1234

/frameworks/base/core/java/android/security/keymaster/
H A DKeymasterDateArgument.java26 public final Date date; field in class:KeymasterDateArgument
28 public KeymasterDateArgument(int tag, Date date) { argument
34 throw new IllegalArgumentException("Bad date tag " + tag);
36 this.date = date;
41 date = new Date(in.readLong());
46 out.writeLong(date.getTime());
/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...]
/frameworks/base/libs/androidfw/include/androidfw/
H A DZipUtils.h71 const uint32_t date = when >> 16; local
74 timespec->tm_year = ((date >> 9) & 0x7F) + 80; // Zip is years since 1980
75 timespec->tm_mon = ((date >> 5) & 0x0F) - 1;
76 timespec->tm_mday = date & 0x1F;
/frameworks/base/tools/preload2/src/com/android/preload/
H A DDumpData.java43 Date date; field in class:DumpData
51 public DumpData(String packageName, Map<String, String> dumpData, Date date) { argument
54 this.date = date;
64 return date;
H A DDumpDataIO.java61 sb.append("<data package=\"" + d.packageName + "\" date=\"" +
62 DateFormat.getDateTimeInstance().format(d.date) +"\">\n");
101 String dateString = attributes.getValue("date");
108 Date date = DateFormat.getDateTimeInstance().parse(dateString);
109 openData = new DumpData(pkg, new HashMap<String, String>(), date);
H A DDumpTableModel.java83 return d.date;
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DCalendarViewBindingAdapter.java26 @InverseBindingMethod(type = CalendarView.class, attribute = "android:date"),
29 @BindingAdapter("android:date")
30 public static void setDate(CalendarView view, long date) { argument
31 if (view.getDate() != date) {
32 view.setDate(date);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGuidedDatePickerAction.java23 * Subclass of GuidedAction that can choose a date. The Action is editable by default; to make it
50 * Sets format of date Picker or null for default. The format is a case insensitive String
62 * Sets a Date for date picker in milliseconds since January 1, 1970 00:00:00 in
66 public B date(long date) { argument
67 mDate = date;
72 * Sets minimal Date for date picker in milliseconds since January 1, 1970 00:00:00 in
82 * Sets maximum Date for date picker in milliseconds since January 1, 1970 00:00:00 in
133 * Returns format of date Picker or null if not specified. The format is a case insensitive
155 * @param date Ne
157 setDate(long date) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DCalendarViewMaterialDelegate.java94 public void setDate(long date) { argument
95 mDayPickerView.setDate(date, true);
99 public void setDate(long date, boolean animate, boolean center) { argument
100 mDayPickerView.setDate(date, animate);
114 public boolean getBoundsForDate(long date, Rect outBounds) { argument
115 boolean result = mDayPickerView.getBoundsForDate(date, outBounds);
117 // Found the date in the current picker. Now need to offset vertically to return correct
H A DCalendarView.java51 * can select a date by tapping on it and can scroll or fling the calendar to a
52 * desired date.
78 * The callback used to indicate the user changes the date.
185 * @param color The focused month date color.
198 * @return The focused month date color.
212 * @param color A not focused month date color.
225 * @return A not focused month date color.
292 * the end of the selected date.
306 * the end of the selected date.
320 * the end of the selected date
528 setDate(long date) argument
546 setDate(long date, boolean animate, boolean center) argument
559 getBoundsForDate(long date, Rect outBounds) argument
620 setDate(long date) argument
621 setDate(long date, boolean animate, boolean center) argument
624 getBoundsForDate(long date, Rect outBounds) argument
773 parseDate(String date, Calendar outDate) argument
[all...]
H A DCalendarViewLegacyDelegate.java249 * The start date of the range supported by this picker.
254 * The end date of the range supported by this picker.
277 throw new IllegalArgumentException("Max date cannot be before min date.");
327 // go to today or whichever is close to today min or max date
497 // make sure the current date is not earlier than
498 // the new min date since the latter is used for
501 Calendar date = mAdapter.mSelectedDate;
502 if (date.before(mMinDate)) {
505 // reinitialize the adapter since its range depends on min date
581 setDate(long date) argument
586 setDate(long date, boolean animate, boolean center) argument
605 getBoundsForDate(long date, Rect outBounds) argument
795 goTo(Calendar date, boolean animate, boolean setSelected, boolean forceScroll) argument
947 getWeeksSinceMinDate(Calendar date) argument
1375 getBoundsForDate(Calendar date, Rect outBounds) argument
[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/ex/common/java/com/android/common/
H A DLegacyHttpDateTime.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/base/telephony/java/android/telephony/
H A DTelephony.java165 * The date the message was received.
168 public static final String DATE = "date";
171 * The date the message was sent.
326 public static final String DEFAULT_SORT_ORDER = "date DESC";
336 * @param date the timestamp for the message
344 Long date, boolean read, boolean deliveryReport) {
346 resolver, uri, address, body, subject, date, read, deliveryReport, -1L);
357 * @param date the timestamp for the message
366 Long date, boolean read, boolean deliveryReport) {
368 date, rea
342 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument
364 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument
386 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
410 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
526 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument
546 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument
586 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument
604 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date) argument
631 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument
649 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date) argument
695 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument
716 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/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/base/keystore/java/android/security/keystore/
H A DKeyGenParameterSpec.java396 * Returns the start date to be used on the X.509 certificate that will be put in the
405 * Returns the end date to be used on the X.509 certificate that will be put in the
762 * <p>By default, this date is {@code Jan 1 1970}.
765 public Builder setCertificateNotBefore(@NonNull Date date) { argument
766 if (date == null) {
767 throw new NullPointerException("date == null");
769 mCertificateNotBefore = Utils.cloneIfNotNull(date);
777 * <p>By default, this date is {@code Jan 1 2048}.
780 public Builder setCertificateNotAfter(@NonNull Date date) { argument
781 if (date
[all...]
/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());

Completed in 6420 milliseconds

1234