/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipDateTime.java | 129 Calendar cal = Calendar.getInstance(); in toString() local 130 cal.setTime(d); in toString() 136 cal.setTimeZone(utc); in toString() 140 cal.get(Calendar.YEAR), in toString() 141 cal.get(Calendar.MONTH) + 1, in toString() 142 cal.get(Calendar.DATE), in toString() 143 cal.get(Calendar.HOUR_OF_DAY), in toString() 144 cal.get(Calendar.MINUTE), in toString() 145 cal.get(Calendar.SECOND)); in toString() 147 cal.setTimeZone(TimeZone.getDefault()); in toString() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/ |
D | ObexTime.java | 130 Calendar cal = in toString() local 137 cal.get(Calendar.YEAR), in toString() 138 cal.get(Calendar.MONTH) + 1, in toString() 139 cal.get(Calendar.DATE), in toString() 140 cal.get(Calendar.HOUR_OF_DAY), in toString() 141 cal.get(Calendar.MINUTE), in toString() 142 cal.get(Calendar.SECOND)); in toString()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipDatetimeTest.java | 49 Calendar cal = Calendar.getInstance(); in makeTzAdjustedString() local 50 cal.setTime(makeDate(month, day, year, hours, min, sec)); in makeTzAdjustedString() 51 cal.setTimeZone(TimeZone.getDefault()); in makeTzAdjustedString() 55 cal.get(Calendar.YEAR), in makeTzAdjustedString() 56 cal.get(Calendar.MONTH) + 1, in makeTzAdjustedString() 57 cal.get(Calendar.DATE), in makeTzAdjustedString() 58 cal.get(Calendar.HOUR_OF_DAY), in makeTzAdjustedString() 59 cal.get(Calendar.MINUTE), in makeTzAdjustedString() 60 cal.get(Calendar.SECOND)); in makeTzAdjustedString()
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
D | DatePicker.java | 184 Calendar cal = Calendar.getInstance(); in DatePicker() local 185 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null); in DatePicker() 396 Calendar cal = Calendar.getInstance(); in updateDaySpinner() local 398 cal.set(mHasYear ? mYear : 2000, mMonth, 1); in updateDaySpinner() 399 int max = cal.getActualMaximum(Calendar.DAY_OF_MONTH); in updateDaySpinner() 422 Calendar cal = Calendar.getInstance(); in adjustMaxDay() local 424 cal.set(Calendar.YEAR, mHasYear ? mYear : 2000); in adjustMaxDay() 425 cal.set(Calendar.MONTH, mMonth); in adjustMaxDay() 426 int max = cal.getActualMaximum(Calendar.DAY_OF_MONTH); in adjustMaxDay()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | DateUtils.java | 121 public static boolean isYearSet(Calendar cal) { in isYearSet() argument 125 return cal.get(Calendar.YEAR) > 1; in isYearSet() 161 final Calendar cal = parseDate(string, false); in formatDate() local 164 if (cal == null) { in formatDate() 168 final boolean isYearSet = isYearSet(cal); in formatDate() 179 return outFormat.format(cal.getTime()); in formatDate()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EventFieldEditorView.java | 217 Calendar cal = DateUtils.parseDate(oldValue, false); in createDatePickerDialog() local 218 if (cal != null) { in createDatePickerDialog() 219 if (DateUtils.isYearSet(cal)) { in createDatePickerDialog() 220 oldYear = cal.get(Calendar.YEAR); in createDatePickerDialog() 225 oldMonth = cal.get(Calendar.MONTH); in createDatePickerDialog() 226 oldDay = cal.get(Calendar.DAY_OF_MONTH); in createDatePickerDialog()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/xfrm/ |
D | StructXfrmLifetimeCurTest.java | 46 final Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("GMT")); 47 cal.set(2023, Calendar.NOVEMBER, 2, 1, 42, 36); 48 final long timestampSeconds = TimeUnit.MILLISECONDS.toSeconds(cal.getTimeInMillis());
|
D | StructXfrmUsersaInfoTest.java | 80 final Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("GMT")); 81 cal.set(2023, Calendar.NOVEMBER, 9, 2, 42, 05); 82 final long timestampSeconds = TimeUnit.MILLISECONDS.toSeconds(cal.getTimeInMillis());
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMapUtils.java | 761 Calendar cal = Calendar.getInstance(); in getDateTimeString() local 762 cal.setTimeInMillis(timestamp); in getDateTimeString() 768 + format.format(cal.getTime())); in getDateTimeString() 769 return format.format(cal.getTime()); in getDateTimeString() 773 Calendar cal = Calendar.getInstance(); in isDateTimeOlderThanOneYear() local 774 cal.setTimeInMillis(timestamp); in isDateTimeOlderThanOneYear() 777 if (cal.before(oneYearAgo)) { in isDateTimeOlderThanOneYear() 781 + cal.getTimeInMillis() in isDateTimeOlderThanOneYear()
|
D | BluetoothMapSmsPdu.java | 395 Calendar cal = Calendar.getInstance(); in gsmWriteDate() local 397 (cal.get(Calendar.ZONE_OFFSET) + cal.get(Calendar.DST_OFFSET)) in gsmWriteDate()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapCallLogComposer.java | 226 Calendar cal = Calendar.getInstance(); in toRfc2455Format() local 227 cal.setTimeInMillis(millSecs); in toRfc2455Format() 229 return df.format(cal.getTime()); in toRfc2455Format()
|
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
D | FileLog.java | 170 Calendar cal = Calendar.getInstance(); in handleMessage() local 172 String fileName = FILE_NAME_PREFIX + (cal.get(Calendar.DAY_OF_YEAR) % LOG_DAYS); in handleMessage() 191 append = cal.before(modifiedTime) in handleMessage()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | Utils.java | 493 private static void resetCalendar(Calendar cal) { in resetCalendar() argument 494 cal.set(Calendar.HOUR_OF_DAY, 0); in resetCalendar() 495 cal.set(Calendar.MINUTE, 0); in resetCalendar() 496 cal.set(Calendar.SECOND, 0); in resetCalendar() 497 cal.set(Calendar.MILLISECOND, 0); in resetCalendar()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | SimpleWeeksAdapter.kt | 303 val cal: Calendar = Calendar.getInstance(Locale.getDefault()) constant 304 mFirstDayOfWeek = cal.getFirstDayOfWeek() - 1
|
D | SimpleDayPickerFragment.kt | 277 val cal: Calendar = Calendar.getInstance(Locale.getDefault()) in doResumeUpdates() constant 278 mFirstDayOfWeek = cal.getFirstDayOfWeek() - 1 in doResumeUpdates()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/ |
D | BluetoothMapContentObserverTest.java | 1464 Calendar cal = Calendar.getInstance(); in handleMsgListChangesMms_withNonExistingOldMessage_andVersion12() local 1465 cal.add(Calendar.YEAR, -1); in handleMsgListChangesMms_withNonExistingOldMessage_andVersion12() 1466 cal.add(Calendar.DATE, -1); in handleMsgListChangesMms_withNonExistingOldMessage_andVersion12() 1467 long timestampSec = TimeUnit.MILLISECONDS.toSeconds(cal.getTimeInMillis()); in handleMsgListChangesMms_withNonExistingOldMessage_andVersion12() 1866 Calendar cal = Calendar.getInstance(); in handleMsgListChangesSms_withNonExistingOldMessage_andVersion12() local 1867 cal.add(Calendar.YEAR, -1); in handleMsgListChangesSms_withNonExistingOldMessage_andVersion12() 1868 cal.add(Calendar.DATE, -1); in handleMsgListChangesSms_withNonExistingOldMessage_andVersion12() 1887 cal.getTimeInMillis(), in handleMsgListChangesSms_withNonExistingOldMessage_andVersion12()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | QuickContactActivity.java | 1485 final Calendar cal = DateUtils.parseDate(dataString, false); in dataItemToEntry() local 1486 if (cal != null) { in dataItemToEntry() 1490 cal.set(Calendar.YEAR, 0); in dataItemToEntry() 1493 DateUtils.getNextAnnualDate(cal); in dataItemToEntry()
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | pt_BR_wordlist.combined.gz | 1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ... |
D | pt_PT_wordlist.combined.gz |
|
D | fr_wordlist.combined.gz |
|
D | tr_wordlist.combined.gz | 1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ... |
D | es_wordlist.combined.gz | 1dictionary=main:es,locale=es,description=Español,date=1414726268, ... |
D | cs_wordlist.combined.gz |
|
D | en_GB_wordlist.combined.gz |
|
/packages/modules/RuntimeI18n/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 5805 Landroid/icu/util/Calendar$FormatConfiguration;->cal:Landroid/icu/util/Calendar;
|