Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/app/
DDatePickerDialog.java91 int year, int month, int dayOfMonth) { in DatePickerDialog()
110 @Nullable OnDateSetListener listener, int year, int monthOfYear, int dayOfMonth) { in DatePickerDialog()
115 @Nullable OnDateSetListener listener, @Nullable Calendar calendar, int year, in DatePickerDialog()
152 public void onDateChanged(@NonNull DatePicker view, int year, int month, int dayOfMonth) { in onDateChanged()
201 public void updateDate(int year, int month, int dayOfMonth) { in updateDate()
217 final int year = savedInstanceState.getInt(YEAR); in onRestoreInstanceState() local
245 void onDateSet(DatePicker view, int year, int month, int dayOfMonth); in onDateSet()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dtime.cc29 int64 SecondsPer100Years(int year) { in SecondsPer100Years()
39 int64 SecondsPer4Years(int year) { in SecondsPer4Years()
50 bool IsLeapYear(int year) { in IsLeapYear()
54 int64 SecondsPerYear(int year) { in SecondsPerYear()
95 int year = 1; in SecondsSinceCommonEra() local
217 int year = 1; in SecondsToDateTime() local
Dtime.h40 int year; member
Dtime_test.cc43 int64 CreateTimestamp(int year, int month, int day) { in CreateTimestamp()
/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.java128 void onDateSet(DatePickerDialog dialog, int year, int monthOfYear, int dayOfMonth); in onDateSet()
150 public static DatePickerDialog newInstance(OnDateSetListener callBack, int year, in newInstance()
158 public void initialize(OnDateSetListener callBack, int year, int monthOfYear, int dayOfMonth) { in initialize()
434 private void adjustDayInMonthIfNeeded(int month, int year) { in adjustDayInMonthIfNeeded()
453 public void onYearSelected(int year) { in onYearSelected()
454 adjustDayInMonthIfNeeded(mCalendar.get(Calendar.MONTH), year); in onYearSelected() local
462 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()
/frameworks/base/core/java/android/widget/
DDatePickerCalendarDelegate.java313 final String year = mYearFormat.format(mCurrentDate.getTime()); in onCurrentDateChanged() local
340 final int year = mCurrentDate.get(Calendar.YEAR); in setCurrentView() local
363 public void init(int year, int month, int dayOfMonth, in init()
372 public void updateDate(int year, int month, int dayOfMonth) { in updateDate()
377 private void setDate(int year, int month, int dayOfMonth) { in setDate()
385 final int year = mCurrentDate.get(Calendar.YEAR); in onDateChanged() local
529 final int year = mCurrentDate.get(Calendar.YEAR); in onSaveInstanceState() local
584 public static int getDaysInMonth(int month, int year) { in getDaysInMonth()
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()
DDatePickerController.java28 void onYearSelected(int year); in onYearSelected()
DDatePickerSpinnerDelegate.java241 public void init(int year, int monthOfYear, int dayOfMonth, in init()
251 public void updateDate(int year, int month, int dayOfMonth) { in updateDate()
500 private boolean isNewDate(int year, int month, int dayOfMonth) { in isNewDate()
507 private void setDate(int year, int month, int dayOfMonth) { in setDate()
DDatePicker.java139 void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth); in onDateChanged()
238 public void init(int year, int monthOfYear, int dayOfMonth, in init()
260 public void updateDate(int year, int month, int dayOfMonth) { in updateDate()
541 void init(int year, int monthOfYear, int dayOfMonth, in init()
547 void updateDate(int year, int month, int dayOfMonth); in updateDate()
711 public SavedState(Parcelable superState, int year, int month, int day, long minDate, in SavedState()
719 public SavedState(Parcelable superState, int year, int month, int day, long minDate, in SavedState()
/frameworks/base/core/java/com/android/internal/http/
DHttpDateTime.java92 int year = 1970; in parse() local
185 int year = (yearString.charAt(0) - '0') * 10 in getYear() local
194 int year = (yearString.charAt(0) - '0') * 100 in getYear() local
/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/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/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/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNitzDataTest.java107 int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minute, int second) { in createUtcTime()
/frameworks/base/core/tests/coretests/src/android/widget/
DDatePickerFocusTest.java232 private void assertDateIs(int month, final int day, final int year) throws Throwable { in assertDateIs()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
DUtils.java64 public static int getDaysInMonth(int month, int year) { in getDaysInMonth()
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
DSimpleTimeZoneDetectorStrategyTest.java481 Builder setInitialDeviceSystemClockUtc(int year, int monthInYear, int day, in setInitialDeviceSystemClockUtc()
493 Builder setActualTimeUtc(int year, int monthInYear, int day, int hourOfDay, in setActualTimeUtc()
507 private static long createUtcTime(int year, int monthInYear, int day, int hourOfDay, int minute, in createUtcTime()
/frameworks/base/media/java/android/mtp/
DMtpPropertyGroup.java233 int year = 0; in getPropertyList() local

12