/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
D | RecurrenceProcessorTest.java | 40 for (long date : dates) { in getFormattedDates() 41 time.set(date); in getFormattedDates() 2480 for (long date : dates) { in performanceTextExpand() 2482 if (date == -1) { in performanceTextExpand() 2501 Time date = new Time(tz); in performanceTestNormalize() local 2502 date.parse("20090404T100000"); in performanceTestNormalize() 2507 date.month += 1; in performanceTestNormalize() 2508 date.monthDay += 100; in performanceTestNormalize() 2509 date.normalize(true); in performanceTestNormalize() 2510 date.month -= 1; in performanceTestNormalize() [all …]
|
/frameworks/base/include/androidfw/ |
D | ZipUtils.h | 67 const long date = when >> 16; in zipTimeToTimespec() local 68 timespec->tm_year = ((date >> 9) & 0x7F) + 80; // Zip is years since 1980 in zipTimeToTimespec() 69 timespec->tm_mon = (date >> 5) & 0x0F; in zipTimeToTimespec() 70 timespec->tm_mday = date & 0x1F; in zipTimeToTimespec()
|
/frameworks/opt/telephony/src/java/android/provider/ |
D | Telephony.java | 340 Long date, boolean read, boolean deliveryReport) { in addMessageToUri() argument 342 resolver, uri, address, body, subject, date, read, deliveryReport, -1L); in addMessageToUri() 362 Long date, boolean read, boolean deliveryReport) { in addMessageToUri() argument 364 date, read, deliveryReport, -1L); in addMessageToUri() 384 Long date, boolean read, boolean deliveryReport, long threadId) { in addMessageToUri() argument 387 date, read, deliveryReport, threadId); in addMessageToUri() 408 Long date, boolean read, boolean deliveryReport, long threadId) { in addMessageToUri() argument 414 if (date != null) { in addMessageToUri() 415 values.put(DATE, date); in addMessageToUri() 523 String address, String body, String subject, Long date, in addMessage() argument [all …]
|
/frameworks/base/core/java/android/widget/ |
D | CalendarView.java | 476 public void setDate(long date) { in setDate() argument 477 mDelegate.setDate(date); in setDate() 494 public void setDate(long date, boolean animate, boolean center) { in setDate() argument 495 mDelegate.setDate(date, animate, center); in setDate() 560 void setDate(long date); in setDate() argument 561 void setDate(long date, boolean animate, boolean center); in setDate() argument 610 protected boolean parseDate(String date, Calendar outDate) { in parseDate() argument 612 outDate.setTime(DATE_FORMATTER.parse(date)); in parseDate() 615 Log.w(LOG_TAG, "Date: " + date + " not in format: " + DATE_FORMAT); in parseDate()
|
D | CalendarViewLegacyDelegate.java | 502 Calendar date = mAdapter.mSelectedDate; in setMinDate() local 503 if (date.before(mMinDate)) { in setMinDate() 508 if (date.before(mMinDate)) { in setMinDate() 515 goTo(date, false, true, false); in setMinDate() 533 Calendar date = mAdapter.mSelectedDate; in setMaxDate() local 534 if (date.after(mMaxDate)) { in setMaxDate() 541 goTo(date, false, true, false); in setMaxDate() 582 public void setDate(long date) { in setDate() argument 583 setDate(date, false, false); in setDate() 587 public void setDate(long date, boolean animate, boolean center) { in setDate() argument [all …]
|
D | CalendarViewMaterialDelegate.java | 223 public void setDate(long date) { in setDate() argument 224 mDayPickerView.setDate(date, true, false); in setDate() 228 public void setDate(long date, boolean animate, boolean center) { in setDate() argument 229 mDayPickerView.setDate(date, animate, center); in setDate()
|
D | SimpleMonthView.java | 526 Calendar date = Calendar.getInstance(); in onDayClick() local 527 date.set(mYear, mMonth, day); in onDayClick() 528 mOnDayClickListener.onDayClick(this, date); in onDayClick() 541 Calendar date = null; in getAccessibilityFocus() local 543 date = Calendar.getInstance(); in getAccessibilityFocus() 544 date.set(mYear, mMonth, day); in getAccessibilityFocus() 546 return date; in getAccessibilityFocus() 679 final CharSequence date = DateFormat.format(DATE_FORMAT, in getItemDescription() local 683 return getContext().getString(R.string.item_is_selected, date); in getItemDescription() 686 return date; in getItemDescription()
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | RecurrenceProcessor.java | 1138 static void unsafeNormalize(Time date) { in unsafeNormalize() argument 1139 int second = date.second; in unsafeNormalize() 1140 int minute = date.minute; in unsafeNormalize() 1141 int hour = date.hour; in unsafeNormalize() 1142 int monthDay = date.monthDay; in unsafeNormalize() 1143 int month = date.month; in unsafeNormalize() 1144 int year = date.year; in unsafeNormalize() 1205 date.second = second; in unsafeNormalize() 1206 date.minute = minute; in unsafeNormalize() 1207 date.hour = hour; in unsafeNormalize() [all …]
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
D | DatePickerController.java | 17 package com.android.datetimepicker.date; 19 import com.android.datetimepicker.date.DatePickerDialog.OnDateChangedListener; 20 import com.android.datetimepicker.date.MonthAdapter.CalendarDay;
|
D | MonthAdapter.java | 17 package com.android.datetimepicker.date; 27 import com.android.datetimepicker.date.MonthView.OnDayClickListener; 75 public void set(CalendarDay date) { in set() argument 76 year = date.year; in set() 77 month = date.month; in set() 78 day = date.day; in set()
|
D | DayPickerView.java | 17 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) { in setMonthDisplayed() argument 272 mCurrentMonthDisplayed = date.month; in setMonthDisplayed()
|
D | SimpleMonthAdapter.java | 17 package com.android.datetimepicker.date;
|
D | SimpleDayPickerView.java | 17 package com.android.datetimepicker.date;
|
/frameworks/base/core/java/com/android/internal/http/ |
D | HttpDateTime.java | 88 int date = 1; in parse() local 95 date = getDate(rfcMatcher.group(1)); in parse() 103 date = getDate(ansicMatcher.group(2)); in parse() 115 date = 1; in parse() 119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date, in parse()
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.c | 106 char network[PROPERTY_VALUE_MAX], date[80]; in dumpstate() local 115 strftime(date, sizeof(date), "%Y-%m-%d %H:%M:%S", localtime(&now)); in dumpstate() 118 printf("== dumpstate: %s\n", date); in dumpstate() 538 char date[80]; in main() local 540 strftime(date, sizeof(date), "-%Y-%m-%d-%H-%M-%S", localtime(&now)); in main() 541 strlcat(path, date, sizeof(path)); in main()
|
/frameworks/base/docs/html/guide/topics/ui/controls/ |
D | pickers.jd | 17 <li><a href="#DatePickerFragment">Extending DialogFragment for a date picker</a></li> 18 <li><a href="#ShowingTheDatePicker">Showing the date picker</a></li> 35 <p>Android provides controls for the user to pick a time or pick a date as ready-to-use dialogs. 36 Each picker provides controls for selecting each part of the time (hour, minute, AM/PM) or date 37 (month, day, year). Using these pickers helps ensure that your users can pick a time or date that 42 <p>We recommend that you use {@link android.support.v4.app.DialogFragment} to host each time or date 54 picker and date picker using the <a href="{@docRoot}tools/support-library/index.html">support 178 <h3 id="DatePickerFragment">Extending DialogFragment for a date picker</h3> 188 sets the date.</li> 199 // Use the current date as the default date in the picker [all …]
|
/frameworks/base/docs/html/design/building-blocks/ |
D | pickers.jd | 32 <h2 id="date-time">Date and time pickers</h2> 35 entering the parts of the date (month, day, year) or time (hour, minute, AM/PM). Using these in your 37 correctly. The format of a time and date picker adjusts automatically to the locale.</p>
|
/frameworks/base/core/java/android/net/http/ |
D | SslCertificate.java | 318 private static String formatDate(Date date) { in formatDate() argument 319 if (date == null) { in formatDate() 322 return new SimpleDateFormat(ISO_8601_DATE_FORMAT).format(date); in formatDate() 328 private static Date cloneDate(Date date) { in cloneDate() argument 329 if (date == null) { in cloneDate() 332 return (Date) date.clone(); in cloneDate()
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | ObjectViewer.java | 142 Date date = new Date(info.getDateCreated() * 1000); in onResume() local 143 view.setText(date.toString()); in onResume() 145 date = new Date(info.getDateModified() * 1000); in onResume() 146 view.setText(date.toString()); in onResume()
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/ |
D | ObexTime.java | 78 public ObexTime(Date date) { in ObexTime() argument 79 mDate = date; in ObexTime()
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/ |
D | ObexTime.java | 78 public ObexTime(Date date) { in ObexTime() argument 79 mDate = date; in ObexTime()
|
/frameworks/base/docs/html/training/articles/ |
D | security-gms-provider.jd | 64 class. You can verify that the security provider is up-to-date (and update it, 76 updated (or is already up-to-date), the method returns normally.</li> 77 <li>If the device's Google Play services library is out of date, the method 99 devices). If the security provider is already up-to-date, the method takes a 146 knows the security provider is up-to-date. If the method throws an exception, 158 // overhead is negligible if the security provider is up-to-date. 166 // Indicates that Google Play services is out of date, disabled, etc. 178 // to install an up-to-date Provider. 185 // If this is reached, you know that the provider was already up-to-date, 204 or failure notifications. If the security provider is up-to-date or is [all …]
|
/frameworks/base/core/java/android/provider/ |
D | Browser.java | 493 String date = BookmarkColumns.DATE; in deleteHistoryTimeFrame() local 499 whereClause = date + " < " + Long.toString(end); in deleteHistoryTimeFrame() 501 whereClause = date + " >= " + Long.toString(begin); in deleteHistoryTimeFrame() 503 whereClause = date + " >= " + Long.toString(begin) + " AND " + date in deleteHistoryTimeFrame()
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDatabase.cpp | 390 char date[20]; in getObjectPropertyValue() local 391 formatDateTime(longValue, date, sizeof(date)); in getObjectPropertyValue() 392 packet.putString(date); in getObjectPropertyValue() 397 char date[20]; in getObjectPropertyValue() local 398 snprintf(date, sizeof(date), "%04" PRId64 "0101T000000", longValue); in getObjectPropertyValue() 399 packet.putString(date); in getObjectPropertyValue() 786 char date[20]; in getObjectInfo() local 1165 char date[20]; in android_mtp_MtpPropertyGroup_format_date_time() local 1166 formatDateTime(seconds, date, sizeof(date)); in android_mtp_MtpPropertyGroup_format_date_time() 1167 return env->NewStringUTF(date); in android_mtp_MtpPropertyGroup_format_date_time()
|
/frameworks/base/media/java/android/media/ |
D | ExifInterface.java | 373 String date = mAttributes.get(TAG_GPS_DATESTAMP); in getGpsDateTime() local 375 if (date == null || time == null) return -1; in getGpsDateTime() 377 String dateTimeString = date + ' ' + time; in getGpsDateTime()
|