/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
D | ObexTime.java | 50 Calendar cal = Calendar.getInstance(); in ObexTime() local 51 cal.set(Integer.parseInt(m.group(1)), Integer.parseInt(m.group(2)) - 1, in ObexTime() 73 cal.setTimeZone(tz); in ObexTime() 76 mDate = cal.getTime(); in ObexTime() 94 Calendar cal = Calendar.getInstance(); in toString() local 95 cal.setTime(mDate); in toString() 99 cal.get(Calendar.YEAR), cal.get(Calendar.MONTH) + 1, in toString() 100 cal.get(Calendar.DATE), cal.get(Calendar.HOUR_OF_DAY), in toString() 101 cal.get(Calendar.MINUTE), cal.get(Calendar.SECOND)); in toString()
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
D | UtilityTest.java | 38 GregorianCalendar cal = Utility.parseDateTimeToCalendar(date); in testParseDateTimesHelper() local 39 assertEquals(year, cal.get(Calendar.YEAR)); in testParseDateTimesHelper() 40 assertEquals(month, cal.get(Calendar.MONTH) + 1); in testParseDateTimesHelper() 41 assertEquals(day, cal.get(Calendar.DAY_OF_MONTH)); in testParseDateTimesHelper() 42 assertEquals(hour, cal.get(Calendar.HOUR_OF_DAY)); in testParseDateTimesHelper() 43 assertEquals(minute, cal.get(Calendar.MINUTE)); in testParseDateTimesHelper() 44 assertEquals(second, cal.get(Calendar.SECOND)); in testParseDateTimesHelper() 61 GregorianCalendar cal = new GregorianCalendar(year, month - 1, day, in testParseEmailDateTimeHelper() local 63 cal.setTimeZone(TimeZone.getTimeZone("GMT")); in testParseEmailDateTimeHelper() 65 assertEquals(cal.getTimeInMillis() + millis, timeInMillis); in testParseEmailDateTimeHelper()
|
/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/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | Utility.java | 224 final GregorianCalendar cal = new GregorianCalendar(TimeZone.getTimeZone("GMT")); in initialValue() local 225 format.setCalendar(cal); in initialValue() 257 final GregorianCalendar cal = new GregorianCalendar(TimeZone.getTimeZone("GMT")); in parseDateTimeToCalendar() local 259 cal.setTime(mAbbrevDateTimeFormat.parse(date)); in parseDateTimeToCalendar() 261 cal.setTime(mFullDateTimeFormat.parse(date)); in parseDateTimeToCalendar() 263 return cal; in parseDateTimeToCalendar() 282 final GregorianCalendar cal = new GregorianCalendar(TimeZone.getTimeZone("GMT")); in parseEmailDateTimeToMillis() local 284 cal.setTime(mAbbrevEmailDateTimeFormat.parse(date)); in parseEmailDateTimeToMillis() 286 cal.setTime(mEmailDateTimeFormat.parse(date)); in parseEmailDateTimeToMillis() 288 cal.setTime(mEmailDateTimeFormatWithMillis.parse(date)); in parseEmailDateTimeToMillis() [all …]
|
/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/Dialer/java/com/android/contacts/common/util/ |
D | DateUtils.java | 120 public static boolean isYearSet(Calendar cal) { in isYearSet() argument 124 return cal.get(Calendar.YEAR) > 1; in isYearSet() 159 final Calendar cal = parseDate(string, false); in formatDate() local 162 if (cal == null) { in formatDate() 166 final boolean isYearSet = isYearSet(cal); in formatDate() 176 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/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryHistoryChart.java | 329 TimeLabel(TextPaint paint, int x, Calendar cal, boolean use24hr) { in TimeLabel() argument 333 label = DateFormat.format(bestFormat, cal).toString(); in TimeLabel() 343 DateLabel(TextPaint paint, int x, Calendar cal, boolean dayFirst) { in DateLabel() argument 347 label = DateFormat.format(bestFormat, cal).toString(); in DateLabel() 1103 void addTimeLabel(Calendar cal, int levelLeft, int levelRight, boolean is24hr) { in addTimeLabel() argument 1107 levelLeft + (int)(((cal.getTimeInMillis()-walltimeStart)*(levelRight-levelLeft)) in addTimeLabel() 1109 cal, is24hr)); in addTimeLabel() 1112 void addDateLabel(Calendar cal, int levelLeft, int levelRight, boolean isDayFirst) { in addDateLabel() argument 1116 levelLeft + (int)(((cal.getTimeInMillis()-walltimeStart)*(levelRight-levelLeft)) in addDateLabel() 1118 cal, isDayFirst)); in addDateLabel()
|
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
D | FileLog.java | 144 Calendar cal = Calendar.getInstance(); in handleMessage() local 146 String fileName = FILE_NAME_PREFIX + (cal.get(Calendar.DAY_OF_YEAR) & 1); in handleMessage() 165 append = cal.before(modifiedTime) in handleMessage()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | Utils.java | 420 private static void resetCalendar(Calendar cal) { in resetCalendar() argument 421 cal.set(Calendar.HOUR_OF_DAY, 0); in resetCalendar() 422 cal.set(Calendar.MINUTE, 0); in resetCalendar() 423 cal.set(Calendar.SECOND, 0); in resetCalendar() 424 cal.set(Calendar.MILLISECOND, 0); in resetCalendar()
|
/packages/apps/Settings/src/com/android/settings/ |
D | UsageStatsActivity.java | 110 Calendar cal = Calendar.getInstance(); in UsageStatsAdapter() local 111 cal.add(Calendar.DAY_OF_YEAR, -5); in UsageStatsAdapter() 115 cal.getTimeInMillis(), System.currentTimeMillis()); in UsageStatsAdapter()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapSmsPdu.java | 363 Calendar cal = Calendar.getInstance(); in gsmWriteDate() local 364 …int offset = (cal.get(Calendar.ZONE_OFFSET) + cal.get(Calendar.DST_OFFSET)) / (15 * 60 * 1000); /*… in gsmWriteDate()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | SimpleWeeksAdapter.java | 104 Calendar cal = Calendar.getInstance(Locale.getDefault()); in SimpleWeeksAdapter() local 105 mFirstDayOfWeek = cal.getFirstDayOfWeek() - 1; in SimpleWeeksAdapter()
|
D | SimpleDayPickerFragment.java | 302 Calendar cal = Calendar.getInstance(Locale.getDefault()); in doResumeUpdates() local 303 mFirstDayOfWeek = cal.getFirstDayOfWeek() - 1; in doResumeUpdates()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | QuickContactActivity.java | 1671 final Calendar cal = DateUtils.parseDate(dataString, false); in dataItemToEntry() local 1672 if (cal != null) { in dataItemToEntry() 1674 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 | 1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ... |
D | fr_wordlist.combined.gz | 1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ... |
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 | ro_wordlist.combined.gz | 1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ... |
D | cs_wordlist.combined.gz |
|
D | en_GB_wordlist.combined.gz | 1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ... |
D | en_US_wordlist.combined.gz | 1dictionary=main:en_us,locale=en_US,description=English (US),date ... |
D | en_wordlist.combined.gz | 1dictionary=main:en,locale=en,description=English,date=1414726273, ... |