/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
D | DatePickerDialog.java | 75 void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth); in onDateSet() argument 89 int year, in DatePickerDialog() argument 94 this(context, /* themeId = */ 0, callBack, year, monthOfYear, dayOfMonth, in DatePickerDialog() 111 int year, in DatePickerDialog() argument 118 mInitialYear = year; in DatePickerDialog() 149 public void onDateChanged(DatePicker view, int year, int month, int day) { in onDateChanged() argument 150 updateTitle(year, month, day); in onDateChanged() 153 private void updateTitle(int year, int month, int day) { in updateTitle() argument 155 calendar.set(Calendar.YEAR, year); in updateTitle() 159 year == NO_YEAR ? mTitleNoYearDateFormat : mTitleDateFormat; in updateTitle() [all …]
|
D | DatePicker.java | 91 void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth); in onDateChanged() argument 157 mYearPicker = (NumberPicker) findViewById(R.id.year); in DatePicker() 229 public void updateDate(int year, int monthOfYear, int dayOfMonth) { in updateDate() argument 230 if (mYear != year || mMonth != monthOfYear || mDay != dayOfMonth) { in updateDate() 231 mYear = (mYearOptional && year == NO_YEAR) ? getCurrentYear() : year; in updateDate() 255 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear, in SavedState() argument 258 mYear = year; in SavedState() 358 public void init(int year, int monthOfYear, int dayOfMonth, in init() argument 360 init(year, monthOfYear, dayOfMonth, false, onDateChangedListener); in init() 371 public void init(int year, int monthOfYear, int dayOfMonth, boolean yearOptional, in init() argument [all …]
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/ |
D | Query.java | 54 private Query(String name, int year) { in Query() argument 57 mYear = year; in Query() 70 private Query(String name, int year, int season, int episode) { in Query() argument 73 mYear = year; in Query() 127 int year = matchResult.group(2) == null ? 0 : Integer.valueOf(matchResult.group(2)); in parseEpisode() local 136 if (year > 0) { in parseEpisode() 137 return new Query(name, year, season, episode); in parseEpisode() 153 int year = Integer.valueOf(matchResult.group(2)); in parseMovie() local 156 return new Query(name, year); in parseMovie()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | SimpleDate.java | 32 public int year; // YYYY field in SimpleDate 51 this.year = sCalendarInstance.get(Calendar.YEAR); in setTimestamp() 64 result = prime * result + year; in hashCode() 80 if (year != other.year) { in equals() 94 int yearDiff = this.year - other.getYear(); in compareTo() 116 return year; in getYear()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipDatetimeTest.java | 36 private Date makeDate(int month, int day, int year, int hours, int min, int sec, TimeZone tz) { in makeDate() argument 40 builder.setDate(year, month - 1, day); in makeDate() 46 private Date makeDate(int month, int day, int year, int hours, int min, int sec) { in makeDate() argument 47 return makeDate(month, day, year, hours, min, sec, null); in makeDate() 50 private String makeTzAdjustedString(int month, int day, int year, int hours, int min, in makeTzAdjustedString() argument 53 cal.setTime(makeDate(month, day, year, hours, min, sec)); in makeTzAdjustedString()
|
D | BipAttachmentFormatTest.java | 35 private Date makeDate(int month, int day, int year, int hours, int min, int sec, TimeZone tz) { in makeDate() argument 39 builder.setDate(year, month - 1, day); in makeDate() 45 private Date makeDate(int month, int day, int year, int hours, int min, int sec) { in makeDate() argument 46 return makeDate(month, day, year, hours, min, sec, null); in makeDate()
|
/packages/apps/Settings/src/com/android/settings/datetime/ |
D | DatePreferenceController.java | 90 public void onDateSet(DatePicker view, int year, int month, int day) { in onDateSet() argument 91 setDate(year, month, day); in onDateSet() 114 void setDate(int year, int month, int day) { in setDate() argument 117 c.set(Calendar.YEAR, year); in setDate()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/ |
D | DatePreferenceController.java | 90 public void onDateSet(DatePicker view, int year, int month, int day) { in onDateSet() argument 91 setDate(year, month, day); in onDateSet() 114 void setDate(int year, int month, int day) { in setDate() argument 117 c.set(Calendar.YEAR, year); in setDate()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EventFieldEditorView.java | 233 public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth) { in createDatePickerDialog() 234 if (year == 0 && !isYearOptional) throw new IllegalStateException(); in createDatePickerDialog() 242 outCalendar.set(year == DatePickerDialog.NO_YEAR ? 2000 : year, monthOfYear, in createDatePickerDialog() 246 if (year == 0) { in createDatePickerDialog()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | Movie.java | 44 Movie(long id, @NonNull String mimeType, @NonNull String title, int year) { in Movie() argument 48 if (year <= 0) { in Movie() 51 mYear = year; in Movie()
|
D | Series.java | 47 Series(@NonNull String title, int year) { in Series() argument 49 if (year <= 0) { in Series() 52 mYear = year; in Series()
|
D | MediaDb.java | 477 public @NonNull Series getSeriesById(@NonNull String title, int year) { in getSeriesById() argument 479 if (series.hasYear() && series.getTitle().equals(title) && series.getYear() == year) { in getSeriesById() 483 throw new IllegalArgumentException("Series '" + title + "' (" + year + ") was not found"); in getSeriesById()
|
D | MediaProvider.java | 30 @NonNull Series getSeriesById(@NonNull String title, int year); in getSeriesById() argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
D | DateTileView.java | 91 public void setDate(int date, int month, int year) { in setDate() argument 106 if (year != mYear) { in setDate() 107 mYear = year; in setDate()
|
/packages/services/Car/tools/emulator/ |
D | vhal_const_generate.py | 31 year = datetime.datetime.now().year 32 print("# Copyright (C) %s The Android Open Source Project" % year, file=dest)
|
/packages/services/Car/car-lib/src/android/car/ |
D | CarInfoManager.java | 143 int year = mCarPropertyMgr.getIntProperty(BASIC_INFO_KEY_MODEL_YEAR, 0); in getModelYear() local 144 return year == 0 ? "" : Integer.toString(year); in getModelYear()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | WeekNumberTest.java | 37 public DateAndWeekNumber(int year, int month, int day, int expectedWeekNumber) { in DateAndWeekNumber() argument 41 date.set(0, 0, 0, day, month, year); in DateAndWeekNumber() 44 allDayDate.set(day, month, year); in DateAndWeekNumber()
|
D | UtilsTests.java | 141 int month, int year) { in createTimeInMillis() argument 142 return createTimeInMillis(second, minute, hour, monthDay, month, year, in createTimeInMillis() 147 int month, int year, String timezone) { in createTimeInMillis() argument 149 t.set(second, minute, hour, monthDay, month, year); in createTimeInMillis()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/ |
D | SeriesDetailsActivity.java | 133 int year = extras.getInt("year", Integer.MIN_VALUE); in handleIntent() local 136 if (year > 0) { in handleIntent() 137 mSeries = mediaDb.getSeriesById(title, year); in handleIntent()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | DateUtils.java | 112 private static final Calendar getUtcDate(int year, int month, int dayOfMonth) { in getUtcDate() argument 115 calendar.set(Calendar.YEAR, year); in getUtcDate()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | Shared.java | 160 if (then.year != now.year) { in formatTime()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | SimpleWeekView.java | 296 if (time.year == today.year && time.yearDay == today.yearDay) { in setWeekParams()
|
D | SimpleDayPickerFragment.java | 150 if (day.year != mSelectedDay.year || day.yearDay != mSelectedDay.yearDay) {
|
D | MonthByWeekFragment.java | 443 if (time.year == mDesiredDay.year && time.month == mDesiredDay.month) { in setMonthDisplayed()
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetService.java | 535 if (time.year != time2.year || time.yearDay != time2.yearDay) {
|