Home
last modified time | relevance | path

Searched defs:year (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/core/java/android/app/
DDatePickerDialog.java89 int year, int month, int dayOfMonth) { in DatePickerDialog()
108 @Nullable OnDateSetListener listener, int year, int monthOfYear, int dayOfMonth) { in DatePickerDialog()
113 @Nullable OnDateSetListener listener, @Nullable Calendar calendar, int year, in DatePickerDialog()
150 public void onDateChanged(@NonNull DatePicker view, int year, int month, int dayOfMonth) { in onDateChanged()
199 public void updateDate(int year, int month, int dayOfMonth) { in updateDate()
215 final int year = savedInstanceState.getInt(YEAR); in onRestoreInstanceState() local
243 void onDateSet(DatePicker view, int year, int month, int dayOfMonth); in onDateSet()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DMonthAdapter.java53 int year; field in MonthAdapter.CalendarDay
71 public CalendarDay(int year, int month, int day) { in CalendarDay()
81 public void setDay(int year, int month, int day) { in setDay()
192 final int year = position / MONTHS_IN_YEAR + mController.getMinYear(); in getView() local
214 private boolean isSelectedDayInMonth(int year, int month) { in isSelectedDayInMonth()
DDatePickerController.java29 void onYearSelected(int year); in onYearSelected()
31 void onDayOfMonthSelected(int year, int month, int day); in onDayOfMonthSelected()
DDatePickerDialog.java125 void onDateSet(DatePickerDialog dialog, int year, int monthOfYear, int dayOfMonth); in onDateSet()
147 public static DatePickerDialog newInstance(OnDateSetListener callBack, int year, in newInstance()
155 public void initialize(OnDateSetListener callBack, int year, int monthOfYear, int dayOfMonth) { in initialize()
431 private void adjustDayInMonthIfNeeded(int month, int year) { in adjustDayInMonthIfNeeded()
450 public void onYearSelected(int year) { in onYearSelected()
451 adjustDayInMonthIfNeeded(mCalendar.get(Calendar.MONTH), year); in onYearSelected() local
459 public void onDayOfMonthSelected(int year, int month, int day) { in onDayOfMonthSelected()
DSimpleMonthView.java31 public void drawMonthDay(Canvas canvas, int year, int month, int day, in drawMonthDay()
DMonthView.java517 public abstract void drawMonthDay(Canvas canvas, int year, int month, int day, in drawMonthDay()
590 protected boolean isOutOfRange(int year, int month, int day) { in isOutOfRange()
600 private boolean isBeforeMin(int year, int month, int day) { in isBeforeMin()
628 private boolean isAfterMax(int year, int month, int day) { in isAfterMax()
DYearPickerView.java114 int year = getYearFromTextView(v); in getView() local
/frameworks/base/core/java/android/widget/
DYearPickerView.java84 public void setYear(final int year) { in setYear()
135 public boolean setSelection(int year) { in setSelection()
159 public int getPositionForYear(int year) { in getPositionForYear()
182 final int year = getYearForPosition(position); in getView() local
256 void onYearChanged(YearPickerView view, int year); in onYearChanged()
DDatePickerCalendarDelegate.java326 final String year = mYearFormat.format(mCurrentDate.getTime()); in onCurrentDateChanged() local
356 final int year = mCurrentDate.get(Calendar.YEAR); in setCurrentView() local
382 public void init(int year, int monthOfYear, int dayOfMonth, in init()
394 public void updateDate(int year, int month, int dayOfMonth) { in updateDate()
403 final int year = mCurrentDate.get(Calendar.YEAR); in onDateChanged() local
541 final int year = mCurrentDate.get(Calendar.YEAR); in onSaveInstanceState() local
606 public static int getDaysInMonth(int month, int year) { in getDaysInMonth()
DDatePicker.java126 void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth); in onDateChanged()
207 public void init(int year, int monthOfYear, int dayOfMonth, in init()
219 public void updateDate(int year, int month, int dayOfMonth) { in updateDate()
491 void init(int year, int monthOfYear, int dayOfMonth, in init()
494 void updateDate(int year, int month, int dayOfMonth); in updateDate()
590 public SavedState(Parcelable superState, int year, int month, int day, long minDate, in SavedState()
598 public SavedState(Parcelable superState, int year, int month, int day, long minDate, in SavedState()
DDatePickerController.java28 void onYearSelected(int year); in onYearSelected()
DDatePickerSpinnerDelegate.java242 public void init(int year, int monthOfYear, int dayOfMonth, in init()
252 public void updateDate(int year, int month, int dayOfMonth) { in updateDate()
509 private boolean isNewDate(int year, int month, int dayOfMonth) { in isNewDate()
515 private void setDate(int year, int month, int dayOfMonth) { in setDate()
/frameworks/ex/common/java/com/android/common/
DLegacyHttpDateTime.java90 int year = 1970; in parse() local
183 int year = (yearString.charAt(0) - '0') * 10 in getYear() local
192 int year = (yearString.charAt(0) - '0') * 100 in getYear() local
/frameworks/base/core/java/com/android/internal/http/
DHttpDateTime.java90 int year = 1970; in parse() local
183 int year = (yearString.charAt(0) - '0') * 10 in getYear() local
192 int year = (yearString.charAt(0) - '0') * 100 in getYear() local
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DDatePicker.java83 void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth); in onDateChanged()
271 public void updateDate(int year, int monthOfYear, int dayOfMonth) { in updateDate()
297 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear, in SavedState()
398 public void init(int year, int monthOfYear, int dayOfMonth, in init()
411 public void init(int year, int monthOfYear, int dayOfMonth, boolean yearOptional, in init()
470 int year = (mYearOptional && !mHasYear) ? 0 : mYear; in notifyDateChanged() local
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DDatePickerBindingAdapter.java35 public static void setListeners(DatePicker view, int year, int month, int day, in setListeners()
72 public void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth) { in onDateChanged()
/frameworks/base/core/java/android/util/
DMonthDisplayHelper.java46 public MonthDisplayHelper(int year, int month, int weekStartDay) { in MonthDisplayHelper()
66 public MonthDisplayHelper(int year, int month) { in MonthDisplayHelper()
DDayOfMonthCursor.java48 public DayOfMonthCursor(int year, int month, int dayOfMonth, int weekStartDay) { in DayOfMonthCursor()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
DDatePicker.java305 private void setDate(int year, int month, int dayOfMonth) { in setDate()
322 public void updateDate(int year, int month, int dayOfMonth, boolean animation) { in updateDate()
330 private boolean isNewDate(int year, int month, int dayOfMonth) { in isNewDate()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceProcessor.java1144 int year = date.year; in unsafeNormalize() local
1221 static boolean isLeapYear(int year) { in isLeapYear()
1231 static int yearLength(int year) { in yearLength()
1247 static int monthLength(int year, int month) { in monthLength()
1264 static int weekDay(int year, int month, int day) { in weekDay()
1280 static int yearDay(int year, int month, int day) { in yearDay()
/frameworks/av/media/mtp/
DMtpUtils.cpp37 int year, month, day, hour, minute, second; in parseDateTime() local
/frameworks/base/core/tests/coretests/src/android/widget/
DDatePickerFocusTest.java229 private void assertDateIs(int month, final int day, final int year) throws Throwable { in assertDateIs()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
DUtils.java61 public static int getDaysInMonth(int month, int year) { in getDaysInMonth()
/frameworks/opt/telephony/src/java/android/telephony/
DSmsCbEtwsInfo.java150 int year = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[0]); in getPrimaryNotificationTimestamp() local
/frameworks/base/core/java/android/text/format/
DTimeFormatter.java292 int year = wallTime.getYear(); in handleToken() local
458 private static boolean isLeap(int year) { in isLeap()

12