Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/widget/
DDatePicker.java196 mTempDate.set(Calendar.YEAR, newVal); in DatePicker()
201 setDate(mTempDate.get(Calendar.YEAR), mTempDate.get(Calendar.MONTH), in DatePicker()
276 init(mCurrentDate.get(Calendar.YEAR), mCurrentDate.get(Calendar.MONTH), mCurrentDate in DatePicker()
314 if (mTempDate.get(Calendar.YEAR) == mMinDate.get(Calendar.YEAR) in setMinDate()
350 if (mTempDate.get(Calendar.YEAR) == mMaxDate.get(Calendar.YEAR) in setMaxDate()
523 case DateFormat.YEAR: in reorderSpinners()
606 return (mCurrentDate.get(Calendar.YEAR) != year in isNewDate()
655 mYearSpinner.setMinValue(mMinDate.get(Calendar.YEAR)); in updateSpinners()
656 mYearSpinner.setMaxValue(mMaxDate.get(Calendar.YEAR)); in updateSpinners()
660 mYearSpinner.setValue(mCurrentDate.get(Calendar.YEAR)); in updateSpinners()
[all …]
DCalendarView.java999 && firstDate.get(Calendar.YEAR) == secondDate.get(Calendar.YEAR)); in isSameDate()
1014 selectedDay.get(Calendar.YEAR), in setUpAdapter()
1372 && selectedDay.get(Calendar.YEAR) == mSelectedDate.get(Calendar.YEAR)) { in setSelectedDay()
/frameworks/base/core/java/android/app/
DDatePickerDialog.java42 private static final String YEAR = "year"; field in DatePickerDialog
161 mCalendar.set(Calendar.YEAR, year); in updateTitle()
184 state.putInt(YEAR, mDatePicker.getYear()); in onSaveInstanceState()
193 int year = savedInstanceState.getInt(YEAR); in onRestoreInstanceState()
/frameworks/base/core/java/android/text/format/
DDateFormat.java207 public static final char YEAR = 'y'; field in DateFormat
381 char[] order = new char[] {DATE, MONTH, YEAR}; in getDateFormatOrder()
401 if (!foundYear && (c == YEAR)) { in getDateFormatOrder()
403 order[index] = YEAR; in getDateFormatOrder()
589 case YEAR: in format()
662 int year = inDate.get(Calendar.YEAR); in getYearString()
DTime.java127 public static final int YEAR = 6; field in Time
249 case YEAR: in getActualMaximum()
DDateUtils.java760 if (thenCal.get(Calendar.YEAR) == nowCal.get(Calendar.YEAR) in formatSameDayTime()
870 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/tests/HwAccelerationTest/src/com/android/test/hwui/
DDatePicker.java187 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null); in DatePicker()
252 } else if (c == DateFormat.YEAR && !didYear) { in reorderPickers()
283 return Calendar.getInstance().get(Calendar.YEAR); in getCurrentYear()
460 cal.set(Calendar.YEAR, mHasYear ? mYear : 2000); in adjustMaxDay()
/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/services/java/com/android/server/
DThrottleService.java724 end.set(Calendar.YEAR, end.get(Calendar.YEAR) + 1); in calculatePeriodEnd()
743 start.set(Calendar.YEAR, start.get(Calendar.YEAR) - 1); in calculatePeriodStart()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceProcessor.java801 freqField = Time.YEAR; in expand()
1087 case Time.YEAR: in expand()
1101 if (freqField != Time.YEAR && freqField != Time.MONTH) { in expand()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DResponseData.java226 data[1] = byteToBCD(calendar.get(java.util.Calendar.YEAR) % 100); in format()
/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/media/java/android/mtp/
DMtpPropertyGroup.java128 column = Audio.AudioColumns.YEAR; in createProperty()
/frameworks/base/core/java/android/content/
DSyncStorageEngine.java1347 if (mYear != mCal.get(Calendar.YEAR)) { in getCurrentDayLocked()
1348 mYear = mCal.get(Calendar.YEAR); in getCurrentDayLocked()
1350 mCal.set(Calendar.YEAR, mYear); in getCurrentDayLocked()
/frameworks/base/docs/html/guide/topics/ui/controls/
Dpickers.jd202 int year = c.get(Calendar.YEAR);
/frameworks/base/core/java/android/provider/
DMediaStore.java1219 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/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaServiceStateTracker.java1272 c.set(Calendar.YEAR, year); in setTimeFromNITZString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmServiceStateTracker.java1379 c.set(Calendar.YEAR, year); in setTimeFromNITZString()
/frameworks/base/media/java/android/media/
DMediaScanner.java799 map.put(Audio.Media.YEAR, mYear);
/frameworks/base/api/
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
D15.txt17149 field public static final java.lang.String YEAR = "year";
20518 field public static final char YEAR = 121; // 0x0079 'y'
20639 field public static final int YEAR = 6; // 0x6
35669 field public static final java.text.DateFormat.Field YEAR;
36300 field public static final int YEAR = 1; // 0x1
D16.txt18084 field public static final java.lang.String YEAR = "year";
21515 field public static final char YEAR = 121; // 0x0079 'y'
21636 field public static final int YEAR = 6; // 0x6
36951 field public static final java.text.DateFormat.Field YEAR;
37582 field public static final int YEAR = 1; // 0x1

12