Home
last modified time | relevance | path

Searched refs:mYear (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DDatePicker.java67 private int mYear; field in DatePicker
153 mYear = newVal; in DatePicker()
272 if (mYear != year || mMonth != monthOfYear || mDay != dayOfMonth) { in updateDate()
273 mYear = (mYearOptional && year == 0) ? getCurrentYear() : year; in updateDate()
288 private final int mYear; field in DatePicker.SavedState
300 mYear = year; in SavedState()
312 mYear = in.readInt(); in SavedState()
320 return mYear; in getYear()
342 dest.writeInt(mYear); in writeToParcel()
376 return new SavedState(superState, mYear, mMonth, mDay, mHasYear, mYearOptional); in onSaveInstanceState()
[all …]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DMonthView.java150 protected int mYear; field in MonthView
359 mYear = params.get(VIEW_PARAMS_YEAR); in setMonthParams()
368 mCalendar.set(Calendar.YEAR, mYear); in setMonthParams()
378 mNumCells = Utils.getDaysInMonth(mMonth, mYear); in setMonthParams()
409 return mYear == today.year && in sameDay()
433 return mYear; in getYear()
493 drawMonthDay(canvas, mYear, mMonth, dayNumber, x, y, startX, stopX, startY, stopY); in drawMonthNums()
572 if (isOutOfRange(mYear, mMonth, day)) { in onDayClick()
578 mOnDayClickListener.onDayClick(this, new CalendarDay(mYear, mMonth, day)); in onDayClick()
663 return new CalendarDay(mYear, mMonth, day); in getAccessibilityFocus()
[all …]
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java99 private int mYear; field in SimpleMonthView
802 mYear = year; in setMonthParams()
805 mCalendar.set(Calendar.YEAR, mYear); in setMonthParams()
818 mDaysInMonth = getDaysInMonth(mMonth, mYear); in setMonthParams()
860 return mYear == today.get(Calendar.YEAR) && mMonth == today.get(Calendar.MONTH) in sameDay()
1024 date.set(mYear, mMonth, day); in onDayClicked()
1133 mTempCalendar.set(mYear, mMonth, id); in getDayDescription()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceProcessor.java425 mYear = 0; in setRecurrence()
463 if (realYear != mYear || realMonth != mMonth) { in get()
475 mYear = realYear; in get()
615 private int mYear; field in RecurrenceProcessor.DaySet
/frameworks/base/media/java/android/media/
DMediaScanner.java481 private int mYear; field in MediaScanner.MyMediaScannerClient
563 mYear = 0; in beginFile()
711 mYear = parseSubstring(value, 0, 0);
895 if (mYear != 0) {
896 map.put(Audio.Media.YEAR, mYear);
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java448 private int mYear; field in SyncStorageEngine
1441 if (mYear != mCal.get(Calendar.YEAR)) { in getCurrentDayLocked()
1442 mYear = mCal.get(Calendar.YEAR); in getCurrentDayLocked()
1444 mCal.set(Calendar.YEAR, mYear); in getCurrentDayLocked()