/packages/apps/Contacts/src/com/android/contacts/util/ |
D | DateUtils.java | 107 calendar.set(Calendar.YEAR, 0); in getUtcDate() 115 calendar.set(Calendar.YEAR, year); in getUtcDate() 125 return cal.get(Calendar.YEAR) > 1; in isYearSet() 242 final int targetYear = target.get(Calendar.YEAR); in getNextAnnualDate() 249 anniversary.set(!isYearSet ? today.get(Calendar.YEAR) : targetYear, in getNextAnnualDate() 256 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 155 calendar.set(Calendar.YEAR, year); in updateTitle() 166 state.putInt(YEAR, mDatePicker.getYear()); in onSaveInstanceState() 176 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/Car/Settings/src/com/android/car/settings/units/ |
D | UnitsMap.java | 65 protected static final Unit YEAR = new Unit(VehicleUnit.YEAR, field in UnitsMap 115 map.put(VehicleUnit.YEAR, YEAR); in createMap()
|
/packages/services/Car/car-lib/src/android/car/ |
D | VehicleUnit.java | 74 public static final int YEAR = 0x59; field in VehicleUnit 170 YEAR,
|
/packages/apps/Car/Settings/src/com/android/car/settings/datetime/ |
D | DatePickerFragment.java | 59 c.set(Calendar.YEAR, mDatePicker.getYear()); in onStop() 102 calendar.set(Calendar.YEAR, TimeDetectorHelper.INSTANCE.getManualDateSelectionYearMin()); in onActivityCreated() 108 calendar.set(Calendar.YEAR, TimeDetectorHelper.INSTANCE.getManualDateSelectionYearMax()); in onActivityCreated()
|
D | TimeFormatTogglePreferenceController.java | 92 mTimeFormatDemoDate.set(now.get(Calendar.YEAR), DEMO_MONTH, DEMO_DAY_OF_MONTH, in updateState()
|
/packages/services/Telephony/tests/src/com/android/phone/slice/ |
D | SlicePurchaseControllerTest.java | 84 private static final int YEAR = 2000; field in SlicePurchaseControllerTest 238 mSlicePurchaseController.setLocalDate(LocalDate.of(YEAR, MONTH, DATE)); in testUpdateNotificationCounts() 243 mSlicePurchaseController.setLocalDate(LocalDate.of(YEAR, MONTH, DATE + 1)); in testUpdateNotificationCounts() 250 mSlicePurchaseController.setLocalDate(LocalDate.of(YEAR, MONTH + 1, DATE + 1)); in testUpdateNotificationCounts() 257 mSlicePurchaseController.setLocalDate(LocalDate.of(YEAR + 1, MONTH + 1, DATE + 1)); in testUpdateNotificationCounts() 264 mSlicePurchaseController.setLocalDate(LocalDate.of(YEAR + 2, MONTH + 2, DATE + 1)); in testUpdateNotificationCounts() 271 mSlicePurchaseController.setLocalDate(LocalDate.of(YEAR + 3, MONTH + 2, DATE + 2)); in testUpdateNotificationCounts() 278 mSlicePurchaseController.setLocalDate(LocalDate.of(YEAR + 3, MONTH + 3, DATE + 3)); in testUpdateNotificationCounts() 678 mSlicePurchaseController.setLocalDate(LocalDate.of(YEAR, MONTH, DATE)); in testPurchasePremiumCapabilityResultNotificationThrottled() 694 mSlicePurchaseController.setLocalDate(LocalDate.of(YEAR, MONTH, DATE + 1)); in testPurchasePremiumCapabilityResultNotificationThrottled()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | FormatDateRangeTest.java | 166 Calendar.getInstance().get(Calendar.YEAR), 0, 3, 13, 0, 171 Calendar.getInstance().get(Calendar.YEAR) - 1, 0, 3, 13, 0, 173 "January 3, " + (Calendar.getInstance().get(Calendar.YEAR) - 1)),
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | Alarm.kt | 177 previousInstanceTime[Calendar.YEAR] = currentTime[Calendar.YEAR] in getPreviousAlarmTime() 196 nextInstanceTime[Calendar.YEAR] = currentTime[Calendar.YEAR] in getNextAlarmTime() 284 ClockDatabaseHelper.INSTANCES_TABLE_NAME + "." + InstancesColumns.YEAR,
|
D | AlarmInstance.kt | 144 calendar[Calendar.YEAR] = mYear 154 mYear = calendar[Calendar.YEAR] 264 InstancesColumns.YEAR, 301 values.put(InstancesColumns.YEAR, instance.mYear) in createContentValues()
|
D | ClockProvider.kt | 68 InstancesColumns.YEAR + ", " + InstancesColumns.MONTH + ", " + 103 sAlarmsWithInstancesProjection[INSTANCES_TABLE_NAME + "." + InstancesColumns.YEAR] = 104 INSTANCES_TABLE_NAME + "." + InstancesColumns.YEAR
|
D | ClockContract.kt | 235 const val YEAR = "year" constant
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datetime/ |
D | DatePickerFragmentTest.java | 68 calendar.set(Calendar.YEAR, TimeDetectorHelper.INSTANCE.getManualDateSelectionYearMin()); in onActivityCreated_setMinDate() 81 calendar.set(Calendar.YEAR, TimeDetectorHelper.INSTANCE.getManualDateSelectionYearMax()); in onActivityCreated_setMaxDate()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipDateTime.java | 140 cal.get(Calendar.YEAR), in toString() 151 cal.get(Calendar.YEAR), in toString()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EventFieldEditorView.java | 167 final int defaultYear = calendar.get(Calendar.YEAR); in onLabelRebuilt() 203 final int defaultYear = calendar.get(Calendar.YEAR); in createDatePickerDialog() 220 oldYear = cal.get(Calendar.YEAR); in createDatePickerDialog()
|
/packages/apps/Settings/src/com/android/settings/datetime/ |
D | DatePreferenceController.java | 110 calendar.get(Calendar.YEAR), in buildDatePicker() 133 c.set(Calendar.YEAR, year); in setDate()
|
D | TimeFormatPreferenceController.java | 101 mDummyDate.set(now.get(Calendar.YEAR), 11, 31, 13, 0, 0); in getSummary()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/ |
D | DatePreferenceControllerTest.java | 139 assertEquals(2015, calendar.get(Calendar.YEAR)); in testBuildDatePicker() 143 assertEquals(2020, calendar.get(Calendar.YEAR)); in testBuildDatePicker()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | VehicleUnitTest.java | 75 {VehicleUnit.YEAR, android.hardware.automotive.vehicle.VehicleUnit.YEAR}, in constantValues()
|
/packages/modules/Bluetooth/system/test/tool/ |
D | mockcify.pl | 59 my $YEAR = "2023"; 603 * Copyright $YEAR The Android Open Source Project
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/units/ |
D | UnitsBasePreferenceControllerTest.java | 52 {UnitsMap.YEAR, UnitsMap.SECS, UnitsMap.NANO_SECS}; 53 private static final Unit DEFAULT_UNIT = UnitsMap.YEAR;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | SimpleDate.java | 51 this.year = sCalendarInstance.get(Calendar.YEAR); in setTimestamp()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/ |
D | ObexTime.java | 137 cal.get(Calendar.YEAR), in toString()
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/fieldviews/ |
D | DateTimePicker.kt | 40 private var mSelectedYear: Int = mCalendar.get(Calendar.YEAR) in <lambda>()
|