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/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/models/
DDetailedCard.java32 @SerializedName("year") private int mYear = 0; field in DetailedCard
40 return mYear; in getYear()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java98 private int mYear; field in SimpleMonthView
797 mYear = year; in setMonthParams()
800 mCalendar.set(Calendar.YEAR, mYear); in setMonthParams()
813 mDaysInMonth = getDaysInMonth(mMonth, mYear); in setMonthParams()
855 return mYear == today.get(Calendar.YEAR) && mMonth == today.get(Calendar.MONTH) in sameDay()
1019 date.set(mYear, mMonth, day); in onDayClicked()
1113 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.java482 private int mYear; field in MediaScanner.MyMediaScannerClient
562 mYear = 0; in beginFile()
709 mYear = parseSubstring(value, 0, 0);
891 if (mYear != 0) {
892 map.put(Audio.Media.YEAR, mYear);
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java381 private int mYear; field in SyncStorageEngine
1296 if (mYear != mCal.get(Calendar.YEAR)) { in getCurrentDayLocked()
1297 mYear = mCal.get(Calendar.YEAR); in getCurrentDayLocked()
1299 mCal.set(Calendar.YEAR, mYear); in getCurrentDayLocked()