Searched refs:YEAR (Results 1 – 12 of 12) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
D | DatePickerDialog.java | 50 private static final String YEAR = "year"; field in DatePickerDialog 208 mCalendar.set(Calendar.YEAR, year); in updateTitle() 219 state.putInt(YEAR, mDatePicker.getYear()); in onSaveInstanceState() 229 int year = savedInstanceState.getInt(YEAR); in onRestoreInstanceState()
|
D | DatePicker.java | 196 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null); in DatePicker() 261 } else if (c == DateFormat.YEAR && !didYear) { in reorderPickers() 292 return Calendar.getInstance().get(Calendar.YEAR); in getCurrentYear() 475 cal.set(Calendar.YEAR, mHasYear ? mYear : 2000); in adjustMaxDay()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | FormatDateRangeTest.java | 165 Calendar.getInstance().get(Calendar.YEAR), 0, 3, 13, 0, 170 Calendar.getInstance().get(Calendar.YEAR) - 1, 0, 3, 13, 0, 172 "January 3, " + (Calendar.getInstance().get(Calendar.YEAR) - 1)),
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EventFieldEditorView.java | 168 final int defaultYear = calendar.get(Calendar.YEAR); in onLabelRebuilt() 199 final int defaultYear = calendar.get(Calendar.YEAR); in createDatePickerDialog() 220 oldYear = calendar.get(Calendar.YEAR); in createDatePickerDialog()
|
/packages/apps/Music/src/com/android/music/ |
D | MediaPickerActivity.java | 144 MediaStore.Audio.Media.YEAR in MakeCursor() 172 mWhereClause = MediaStore.Audio.Media.YEAR + ">=" + mFirstYear + " AND " + in MakeCursor() 173 MediaStore.Audio.Media.YEAR + "<=" + mLastYear; in MakeCursor()
|
/packages/apps/Settings/src/com/android/settings/ |
D | DateTimeSettings.java | 174 mDummyDate.set(now.get(Calendar.YEAR), 11, 31, 13, 0, 0); in updateTimeAndDateDisplay() 236 calendar.get(Calendar.YEAR), in onCreateDialog() 342 c.set(Calendar.YEAR, year); in setDate()
|
D | DateTimeSettingsSetupWizard.java | 248 mDatePicker.updateDate(now.get(Calendar.YEAR), now.get(Calendar.MONTH), in onItemClick() 321 mDatePicker.updateDate(now.get(Calendar.YEAR), now.get(Calendar.MONTH), in updateTimeAndDateDisplay()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/ |
D | CalendarUtilities.java | 161 static final int sCurrentYear = new GregorianCalendar().get(Calendar.YEAR); 317 testCalendar.set(GregorianCalendar.YEAR, sCurrentYear); in getMillisAtTimeZoneDateTransition() 913 sb.append(cal.get(Calendar.YEAR)); in calendarToBirthdayString() 933 sb.append(cal.get(Calendar.YEAR)); in millisToEasDateTime() 993 sb.append(cal.get(Calendar.YEAR)); in transitionMillisToVCalendarTime() 1027 toCalendar.set(fromCalendar.get(GregorianCalendar.YEAR), in transposeAllDayTime() 1120 sb.append(localCalendar.get(Calendar.YEAR)); in recurrenceUntilToEasUntil()
|
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
D | CalendarUtilitiesTests.java | 213 assertEquals(cal.get(Calendar.YEAR), 2010); in testParseEmailDateTimeToMillis() 228 assertEquals(cal.get(Calendar.YEAR), 2010); in testParseDateTimeToMillis()
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/utility/ |
D | CalendarUtilitiesTests.java | 213 assertEquals(cal.get(Calendar.YEAR), 2010); in testParseEmailDateTimeToMillis() 228 assertEquals(cal.get(Calendar.YEAR), 2010); in testParseDateTimeToMillis()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
D | EmailSyncAdapter.java | 1260 sb.append(calendar.get(Calendar.YEAR));
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | EntityModifier.java | 1267 defaultYear = calendar.get(Calendar.YEAR); in migrateEvent()
|