Searched refs:date (Results 1 - 25 of 38) 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.SimpleMonthAdapter.CalendarDay;
23 * Controller class to communicate among the various components of the date picker dialog.
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 DSimpleMonthAdapter.java17 package com.android.datetimepicker.date;
28 import com.android.datetimepicker.date.SimpleMonthView.OnDayClickListener;
49 * A convenience class to represent a specific date.
76 public void set(CalendarDay date) { argument
77 year = date.year;
78 month = date.month;
79 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.SimpleMonthAdapter.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;
34 import com.android.datetimepicker.date.DatePickerDialog.OnDateChangedListener;
H A DTextViewWithCircularIndicator.java17 package com.android.datetimepicker.date;
H A DSimpleMonthView.java17 package com.android.datetimepicker.date;
41 import com.android.datetimepicker.date.SimpleMonthAdapter.CalendarDay;
514 * @return The date that has accessibility focus, or {@code null} if no date
534 * Attempts to restore accessibility focus to the specified date.
536 * @param day The date which should receive focus
537 * @return {@code false} if the date is not valid for this month view, or
538 * {@code true} if the date received focus
651 final CharSequence date = DateFormat.format(DATE_FORMAT, mTempCalendar.getTimeInMillis());
654 return getContext().getString(R.string.item_is_selected, date);
[all...]
/frameworks/base/include/androidfw/
H A DZipFileRO.h181 const long date = when >> 16; local
182 timespec->tm_year = ((date >> 9) & 0x7F) + 80; // Zip is years since 1980
183 timespec->tm_mon = (date >> 5) & 0x0F;
184 timespec->tm_mday = date & 0x1F;
/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...]
H A DRRuleTest.java48 for (long date : dates) {
49 time.set(date);
62 // Use this date as end of recurrence unlessotherwise specified.
81 * so this is faked by expanding until the endAt date, and then taking limit results.
83 * @param advanceTo The starting date for expansion. dtstartStr is used if null is passed in.
84 * @param endAt The ending date. DEFAULT_END is used if null is passed in.
125 boolean truncate = dtstartStr.length() <= 8; // Just date, not date-time
254 // if UNTIL date does not match start date, the
[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/base/core/java/android/widget/
H A DCalendarView.java58 * of dates supported by this calendar is configurable. A user can select a date
59 * by taping on it and can scroll and fling the calendar to a desired date.
130 * The default minimal date.
135 * The default maximal date.
293 * The start date of the range supported by this picker.
298 * The end date of the range supported by this picker.
313 * The callback used to indicate the user changes the date.
357 throw new IllegalArgumentException("Max date cannot be before min date.");
407 // go to today or whichever is close to today min or max date
912 setDate(long date) argument
930 setDate(long date, boolean animate, boolean center) argument
1103 goTo(Calendar date, boolean animate, boolean setSelected, boolean forceScroll) argument
1161 parseDate(String date, Calendar outDate) argument
1267 getWeeksSinceMinDate(Calendar date) argument
[all...]
H A DDatePicker.java53 * This class is a widget for selecting a date. The date can be selected by a
57 * displayed. Also the minimal and maximal date from which dates to be selected
128 * The callback used to indicate the user changes\d the date.
133 * Called upon a date change.
204 // now set the date to the adjusted one
256 // set the min date giving priority of the minDate over startYear
267 // set the max date giving priority of the maxDate over endYear
278 // initialize to current date
283 // re-order the number spinners to match the current date forma
615 parseDate(String date, Calendar outDate) argument
[all...]
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.c51 char network[PROPERTY_VALUE_MAX], date[80]; local
60 strftime(date, sizeof(date), "%Y-%m-%d %H:%M:%S", localtime(&now));
63 printf("== dumpstate: %s\n", date);
316 " -d: append date to filename (requires -o)\n"
449 char date[80]; local
451 strftime(date, sizeof(date), "-%Y-%m-%d-%H-%M-%S", localtime(&now));
452 strlcat(path, date, sizeof(path));
/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/opt/telephony/src/java/android/provider/
H A DTelephony.java159 * The date the message was received.
162 public static final String DATE = "date";
165 * The date the message was sent.
298 public static final String DEFAULT_SORT_ORDER = "date DESC";
308 * @param date the timestamp for the message
316 Long date, boolean read, boolean deliveryReport) {
318 date, read, deliveryReport, -1L);
329 * @param date the timestamp for the message
338 Long date, boolean read, boolean deliveryReport, long threadId) {
342 if (date !
314 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument
336 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
450 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument
491 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument
555 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument
[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());
/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.java401 // Select non-bookmark history, ordered by date
493 * @param begin First date to remove. If -1, all dates before end.
495 * @param end Last date to remove. If -1, all dates after begin.
501 String date = BookmarkColumns.DATE;
507 whereClause = date + " < " + Long.toString(end);
509 whereClause = date + " >= " + Long.toString(begin);
511 whereClause = date + " >= " + Long.toString(begin) + " AND " + date
592 * The date the item was last visited, in milliseconds since the epoch.
593 * <p>Type: NUMBER (date i
[all...]
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp380 // special case date properties, which are strings to MTP
383 char date[20]; local
384 formatDateTime(longValue, date, sizeof(date));
385 packet.putString(date);
388 // release date is stored internally as just the year
390 char date[20]; local
391 snprintf(date, sizeof(date), "%04lld0101T000000", longValue);
392 packet.putString(date);
755 char date[20]; local
1095 char date[20]; local
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DDocumentaryFilter.java84 Date date = new Date();
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DPduComposer.java388 * Append date value into mMessage.
392 protected void appendDateValue(long date) { argument
397 appendLongInteger(date);
577 long date = mPduHeader.getLongInteger(field);
578 if (-1 == date) {
583 appendDateValue(date);
/frameworks/av/media/mtp/
H A DMtpServer.cpp682 char date[20]; local
688 // if object is being edited the database size may be out of date
707 formatDateTime(info.mDateCreated, date, sizeof(date));
708 mData.putString(date); // date created
709 formatDateTime(info.mDateModified, date, sizeof(date));
710 mData.putString(date); // date modifie
[all...]
/frameworks/compile/mclinker/include/mcld/LD/
H A DArchive.h50 char date[12]; ///< File date, decimal seconds since Epoch member in struct:mcld::Archive::MemberHeader

Completed in 2176 milliseconds

12