Home
last modified time | relevance | path

Searched refs:mYear (Results 1 – 7 of 7) 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.java89 private int mYear; field in SimpleMonthView
542 mYear = year; in setMonthParams()
545 mCalendar.set(Calendar.YEAR, mYear); in setMonthParams()
558 mDaysInMonth = getDaysInMonth(mMonth, mYear); in setMonthParams()
599 return mYear == today.get(Calendar.YEAR) && mMonth == today.get(Calendar.MONTH) in sameDay()
763 date.set(mYear, mMonth, day); in onDayClicked()
857 mTempCalendar.set(mYear, mMonth, id); in getDayDescription()
DDatePicker.java881 setDate(ss.mYear, ss.mMonth, ss.mDay); in onRestoreInstanceState()
1153 private final int mYear; field in DatePicker.SavedState
1164 mYear = year; in SavedState()
1174 mYear = in.readInt(); in SavedState()
1182 dest.writeInt(mYear); in writeToParcel()
/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.java430 private int mYear; field in MediaScanner.MyMediaScannerClient
504 mYear = 0; in beginFile()
617 mYear = parseSubstring(value, 0, 0);
794 if (mYear != 0) {
795 map.put(Audio.Media.YEAR, mYear);
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java462 private int mYear; field in SyncStorageEngine
1611 if (mYear != mCal.get(Calendar.YEAR)) { in getCurrentDayLocked()
1612 mYear = mCal.get(Calendar.YEAR); in getCurrentDayLocked()
1614 mCal.set(Calendar.YEAR, mYear); in getCurrentDayLocked()