Home
last modified time | relevance | path

Searched defs:year (Results 1 – 25 of 33) 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/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 private 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.java239 public void init(int year, int monthOfYear, int dayOfMonth, in init()
249 public void updateDate(int year, int month, int dayOfMonth) { in updateDate()
498 private boolean isNewDate(int year, int month, int dayOfMonth) { in isNewDate()
505 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()
DDayPickerPagerAdapter.java249 final int year = getYearForPosition(position); in instantiateItem() local
/frameworks/ex/common/java/com/android/common/
DLegacyHttpDateTime.java90 int year = 1970; in parse() local
182 int year = (yearString.charAt(0) - '0') * 10 in getYear() local
191 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/src/java/com/android/internal/telephony/
DMissedIncomingCallSmsFilter.java122 private long getEpochTime(String year, String month, String day, String hour, String minute) { in getEpochTime()
172 String year = null, month = null, day = null, hour = null, minute = null; in processSms() local
DNitzData.java81 int year = 2000 + Integer.parseInt(nitzSubs[0]); in parse() local
/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/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DNitzStateMachineTestSupport.java180 Builder setActualTimeUtc(int year, int monthInYear, int day, int hourOfDay, in setActualTimeUtc()
257 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
/frameworks/base/telephony/java/android/telephony/
DSmsCbEtwsInfo.java184 int year = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[0]); in getPrimaryNotificationTimestamp() local
/frameworks/base/core/java/android/text/format/
DTime.java108 public int year; field in Time
801 public void set(int second, int minute, int hour, int monthDay, int month, int year) { in set()
824 public void set(int monthDay, int month, int year) { in set()
DTimeFormatter.java368 int year = wallTime.getYear(); in handleToken() local
535 private static boolean isLeap(int year) { in isLeap()
/frameworks/base/tools/aapt/
DZipEntry.cpp360 int year; in setModWhen() local
/frameworks/av/media/mtp/
DMtpUtils.cpp57 int year, month, day, hour, minute, second; in parseDateTime() local
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DSystemUpdatePolicyTest.java509 private long toMillis(int year, int month, int day) { in toMillis()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java258 public int year; field in BearerData.TimeStamp
270 int year = IccUtils.cdmaBcdByteToInt(data[0]); in fromByteArray() local
295 int year = localDateTime.getYear(); in fromMillis() local
307 int year = this.year % 100; // 00 - 99 in toByteArray() local

12