Home
last modified time | relevance | path

Searched refs:YEAR (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/java/android/widget/
DDatePicker.java195 mTempDate.set(Calendar.YEAR, newVal); in DatePicker()
200 setDate(mTempDate.get(Calendar.YEAR), mTempDate.get(Calendar.MONTH), in DatePicker()
275 init(mCurrentDate.get(Calendar.YEAR), mCurrentDate.get(Calendar.MONTH), mCurrentDate in DatePicker()
310 if (mTempDate.get(Calendar.YEAR) == mMinDate.get(Calendar.YEAR) in setMinDate()
346 if (mTempDate.get(Calendar.YEAR) == mMaxDate.get(Calendar.YEAR) in setMaxDate()
507 case DateFormat.YEAR: in reorderSpinners()
590 return (mCurrentDate.get(Calendar.YEAR) != year in isNewDate()
639 mYearSpinner.setMinValue(mMinDate.get(Calendar.YEAR)); in updateSpinners()
640 mYearSpinner.setMaxValue(mMaxDate.get(Calendar.YEAR)); in updateSpinners()
644 mYearSpinner.setValue(mCurrentDate.get(Calendar.YEAR)); in updateSpinners()
[all …]
DCalendarView.java691 && firstDate.get(Calendar.YEAR) == secondDate.get(Calendar.YEAR)); in isSameDate()
706 selectedDay.get(Calendar.YEAR), in setUpAdapter()
1058 && selectedDay.get(Calendar.YEAR) == mSelectedDate.get(Calendar.YEAR)) { in setSelectedDay()
/frameworks/base/core/java/android/app/
DDatePickerDialog.java39 private static final String YEAR = "year"; field in DatePickerDialog
143 state.putInt(YEAR, mDatePicker.getYear()); in onSaveInstanceState()
152 int year = savedInstanceState.getInt(YEAR); in onRestoreInstanceState()
/frameworks/base/core/java/android/text/format/
DDateFormat.java190 public static final char YEAR = 'y'; field in DateFormat
363 char[] order = new char[] {DATE, MONTH, YEAR}; in getDateFormatOrder()
383 if (!foundYear && (c == YEAR)) { in getDateFormatOrder()
385 order[index] = YEAR; in getDateFormatOrder()
508 case YEAR: in format()
576 int year = inDate.get(Calendar.YEAR); in getYearString()
DTime.java125 public static final int YEAR = 6; field in Time
244 case YEAR: in getActualMaximum()
DDateUtils.java808 if (thenCal.get(Calendar.YEAR) == nowCal.get(Calendar.YEAR) in formatSameDayTime()
918 n = cal.get(Calendar.YEAR); in writeDateTime()
/frameworks/base/core/java/android/util/
DMonthDisplayHelper.java54 mCalendar.set(Calendar.YEAR, year); in MonthDisplayHelper()
72 return mCalendar.get(Calendar.YEAR); in getYear()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DMediaMetadataTest.java40 YEAR, DURATION, NUM_TRACKS, WRITER enumConstant
116 assertEquals(TAG, meta_data_file[fileIndex][meta.YEAR.ordinal()], value); in validateMetatData()
/frameworks/base/core/jni/
DTimeUtils.h52 YEAR = 6, enumerator
/frameworks/base/telephony/java/com/android/internal/telephony/cat/
DResponseData.java223 data[1] = byteToBCD(calendar.get(java.util.Calendar.YEAR) % 100); in format()
/frameworks/base/services/java/com/android/server/
DThrottleService.java719 end.set(Calendar.YEAR, end.get(Calendar.YEAR) + 1); in calculatePeriodEnd()
738 start.set(Calendar.YEAR, start.get(Calendar.YEAR) - 1); in calculatePeriodStart()
/frameworks/opt/calendar/src/com/android/calendarcommon/
DRecurrenceProcessor.java801 freqField = Time.YEAR; in expand()
1069 case Time.YEAR: in expand()
1083 if (freqField != Time.YEAR && freqField != Time.MONTH) { in expand()
/frameworks/base/obex/javax/obex/
DObexHelper.java245 temp.set(Calendar.YEAR, Integer.parseInt(dateString.substring( in updateHeaderSet()
433 int temp = dateHeader.get(Calendar.YEAR); in createHeader()
/frameworks/base/docs/html/guide/tutorials/views/
Dhello-datepicker.jd67 mYear = c.get(Calendar.YEAR);
/frameworks/base/media/java/android/mtp/
DMtpPropertyGroup.java128 column = Audio.AudioColumns.YEAR; in createProperty()
/frameworks/base/docs/html/resources/tutorials/views/
Dhello-datepicker.jd72 mYear = c.get(Calendar.YEAR);
/frameworks/base/core/java/android/content/
DSyncStorageEngine.java1269 if (mYear != mCal.get(Calendar.YEAR)) { in getCurrentDayLocked()
1270 mYear = mCal.get(Calendar.YEAR); in getCurrentDayLocked()
1272 mCal.set(Calendar.YEAR, mYear); in getCurrentDayLocked()
/frameworks/base/core/java/android/provider/
DMediaStore.java1131 public static final String YEAR = "year"; field
/frameworks/base/services/java/com/android/server/am/
DUsageStatsService.java290 sb.append(mCal.get(Calendar.YEAR)); in getCurrentDateStr()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmServiceStateTracker.java1313 c.set(Calendar.YEAR, year); in setTimeFromNITZString()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaServiceStateTracker.java1245 c.set(Calendar.YEAR, year); in setTimeFromNITZString()
/frameworks/base/media/java/android/media/
DMediaScanner.java773 map.put(Audio.Media.YEAR, mYear);
/frameworks/base/api/
Dcurrent.txt17023 field public static final java.lang.String YEAR = "year";
20377 field public static final char YEAR = 121; // 0x0079 'y'
20498 field public static final int YEAR = 6; // 0x6
35514 field public static final java.text.DateFormat.Field YEAR;
36145 field public static final int YEAR = 1; // 0x1
D14.txt17023 field public static final java.lang.String YEAR = "year";
20377 field public static final char YEAR = 121; // 0x0079 'y'
20498 field public static final int YEAR = 6; // 0x6
35514 field public static final java.text.DateFormat.Field YEAR;
36145 field public static final int YEAR = 1; // 0x1