/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | DateUtils.java | 109 calendar.set(Calendar.YEAR, 0); in getUtcDate() 117 calendar.set(Calendar.YEAR, year); in getUtcDate() 127 return cal.get(Calendar.YEAR) > 1; in isYearSet() 244 final int targetYear = target.get(Calendar.YEAR); in getNextAnnualDate() 251 anniversary.set(!isYearSet ? today.get(Calendar.YEAR) : targetYear, in getNextAnnualDate() 258 int anniversaryYear = today.get(Calendar.YEAR); in getNextAnnualDate()
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
D | DatePickerDialog.java | 49 private static final String YEAR = "year"; field in DatePickerDialog 195 calendar.set(Calendar.YEAR, year); in updateTitle() 206 state.putInt(YEAR, mDatePicker.getYear()); in onSaveInstanceState() 216 int year = savedInstanceState.getInt(YEAR); in onRestoreInstanceState()
|
D | DatePicker.java | 185 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null); in DatePicker() 241 return Calendar.getInstance().get(Calendar.YEAR); in getCurrentYear() 424 cal.set(Calendar.YEAR, mHasYear ? mYear : 2000); in adjustMaxDay()
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | Alarm.java | 77 ClockDatabaseHelper.INSTANCES_TABLE_NAME + "." + ClockContract.InstancesColumns.YEAR, 357 previousInstanceTime.set(Calendar.YEAR, currentTime.get(Calendar.YEAR)); in getPreviousAlarmTime() 376 nextInstanceTime.set(Calendar.YEAR, currentTime.get(Calendar.YEAR)); in getNextAlarmTime()
|
D | AlarmInstance.java | 67 YEAR, 103 values.put(YEAR, instance.mYear); in createContentValues() 364 mYear = calendar.get(Calendar.YEAR); in setAlarmTime() 378 calendar.set(Calendar.YEAR, mYear); in getAlarmTime()
|
D | ClockContract.java | 224 String YEAR = "year"; field
|
D | ClockProvider.java | 80 sAlarmsWithInstancesProjection.put(INSTANCES_TABLE_NAME + "." + InstancesColumns.YEAR, 81 INSTANCES_TABLE_NAME + "." + InstancesColumns.YEAR);
|
D | ClockDatabaseHelper.java | 89 ClockContract.InstancesColumns.YEAR + " INTEGER NOT NULL, " + in createInstanceTable()
|
/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/interactions/ |
D | ContactInteractionUtil.java | 98 return c1.get(Calendar.YEAR) == c2.get(Calendar.YEAR) && in compareCalendarDayYear()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
D | FormattedDateBuilder.java | 120 return (nowCal.get(Calendar.YEAR) == whenCal.get(Calendar.YEAR)); in isCurrentYear()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EventFieldEditorView.java | 169 final int defaultYear = calendar.get(Calendar.YEAR); in onLabelRebuilt() 200 final int defaultYear = calendar.get(Calendar.YEAR); in createDatePickerDialog() 217 oldYear = cal.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 | 160 mDummyDate.set(now.get(Calendar.YEAR), 11, 31, 13, 0, 0); in updateTimeAndDateDisplay() 215 calendar.get(Calendar.YEAR), in onCreateDialog() 321 c.set(Calendar.YEAR, year); in setDate()
|
D | DateTimeSettingsSetupWizard.java | 241 mDatePicker.updateDate(now.get(Calendar.YEAR), now.get(Calendar.MONTH), in onItemClick() 314 mDatePicker.updateDate(now.get(Calendar.YEAR), now.get(Calendar.MONTH), in updateTimeAndDateDisplay()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | PhoneCallDetailsHelper.java | 286 int currentYear = mCalendar.get(Calendar.YEAR); in shouldShowYear() 288 return currentYear != mCalendar.get(Calendar.YEAR); in shouldShowYear()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | SimpleDate.java | 51 this.year = sCalendarInstance.get(Calendar.YEAR); in setTimestamp()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/utils/ |
D | ObexTime.java | 97 cal.get(Calendar.YEAR), cal.get(Calendar.MONTH) + 1, in toString()
|
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ |
D | ContactInteractionUtilTest.java | 93 calendar.set(Calendar.YEAR, 1999); in testFormatDateStringFromTimestamp_yesterdayLastYear()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | HelpFragment.java | 174 final int year = Calendar.getInstance().get(Calendar.YEAR); in onCreateDialog()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
D | DatePicker.java | 133 mInitYear = cal.get(Calendar.YEAR); in onCreate()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | DateTimeFragment.java | 136 mDummyDate.set(now.get(Calendar.YEAR), 11, 31, 13, 0, 0); in updateTimeAndDateDisplay()
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
D | UtilityTest.java | 39 assertEquals(year, cal.get(Calendar.YEAR)); in testParseDateTimesHelper()
|
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/ |
D | FillCallLogTestActivity.java | 182 mCallDateYear = c.get(Calendar.YEAR); in onCreate() 554 mCallDateYear = dateTime.get(Calendar.YEAR); in addManualEntry()
|
/packages/services/Car/bluetooth/bt-map-client-lib/src/com/google/android/auto/mapservice/ |
D | BluetoothMapMessagesListing.java | 180 cal.get(Calendar.YEAR), cal.get(Calendar.MONTH) + 1, in dateToString()
|