/frameworks/base/core/java/android/util/ |
D | MonthDisplayHelper.java | 55 mCalendar.set(Calendar.MONTH, month); in MonthDisplayHelper() 76 return mCalendar.get(Calendar.MONTH); in getMonth() 164 mCalendar.add(Calendar.MONTH, -1); in previousMonth() 172 mCalendar.add(Calendar.MONTH, 1); in nextMonth() 202 mCalendar.add(Calendar.MONTH, -1); in recalculate() 204 mCalendar.add(Calendar.MONTH, 1); in recalculate()
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/wizard/ |
D | GuidedDatePickerTest.java | 87 case Calendar.MONTH: in scrollOnField() 151 currentActionCal.get(Calendar.MONTH) in scrollOnField() 219 cal.set(Calendar.MONTH, Calendar.JANUARY); in testDifferentMonthLengths() 301 currentCal.set(Calendar.MONTH, oldMonthValue); in verifyMonthTransition() 303 currentCal.set(Calendar.MONTH, newMonthValue); in verifyMonthTransition() 329 currCal.set(Calendar.MONTH, Calendar.JULY); in testDateRanges() 334 minCal.set(Calendar.MONTH, Calendar.OCTOBER); in testDateRanges() 339 maxCal.set(Calendar.MONTH, Calendar.FEBRUARY); in testDateRanges() 379 int minMonth = Math.min(minCal.get(Calendar.MONTH), maxCal.get(Calendar.MONTH)); in testDateRanges() 380 int maxMonth = Math.max(minCal.get(Calendar.MONTH), maxCal.get(Calendar.MONTH)); in testDateRanges() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | DayPickerPagerAdapter.java | 82 final int diffMonth = mMaxDate.get(Calendar.MONTH) - mMinDate.get(Calendar.MONTH); in setRange() 193 return (position + mMinDate.get(Calendar.MONTH)) % MONTHS_IN_YEAR; in getMonthForPosition() 197 final int yearOffset = (position + mMinDate.get(Calendar.MONTH)) / MONTHS_IN_YEAR; in getYearForPosition() 207 final int monthOffset = day.get(Calendar.MONTH) - mMinDate.get(Calendar.MONTH); in getPositionForDay() 240 if (mSelectedDay != null && mSelectedDay.get(Calendar.MONTH) == month) { in instantiateItem() 247 if (mMinDate.get(Calendar.MONTH) == month && mMinDate.get(Calendar.YEAR) == year) { in instantiateItem() 254 if (mMaxDate.get(Calendar.MONTH) == month && mMaxDate.get(Calendar.YEAR) == year) { in instantiateItem()
|
D | DatePickerSpinnerDelegate.java | 139 mTempDate.add(Calendar.MONTH, 1); in DatePickerSpinnerDelegate() 141 mTempDate.add(Calendar.MONTH, -1); in DatePickerSpinnerDelegate() 143 mTempDate.add(Calendar.MONTH, newVal - oldVal); in DatePickerSpinnerDelegate() 151 setDate(mTempDate.get(Calendar.YEAR), mTempDate.get(Calendar.MONTH), in DatePickerSpinnerDelegate() 226 init(mCurrentDate.get(Calendar.YEAR), mCurrentDate.get(Calendar.MONTH), mCurrentDate in DatePickerSpinnerDelegate() 269 return mCurrentDate.get(Calendar.MONTH); in getMonth() 423 mNumberOfMonths = mTempDate.getActualMaximum(Calendar.MONTH) + 1; in setCurrentLocale() 511 || mCurrentDate.get(Calendar.MONTH) != month in isNewDate() 531 mMonthSpinner.setMinValue(mCurrentDate.get(Calendar.MONTH)); in updateSpinners() 532 mMonthSpinner.setMaxValue(mCurrentDate.getActualMaximum(Calendar.MONTH)); in updateSpinners() [all …]
|
D | DatePickerCalendarDelegate.java | 261 final int month = mCurrentDate.get(Calendar.MONTH); 385 mCurrentDate.set(Calendar.MONTH, monthOfYear); in init() 396 mCurrentDate.set(Calendar.MONTH, month); in updateDate() 406 final int monthOfYear = mCurrentDate.get(Calendar.MONTH); in onDateChanged() 428 return mCurrentDate.get(Calendar.MONTH); in getMonth() 542 final int month = mCurrentDate.get(Calendar.MONTH); in onSaveInstanceState()
|
D | CalendarViewLegacyDelegate.java | 681 selectedDay.get(Calendar.MONTH), in setUpAdapter() 909 mCurrentMonthDisplayed = calendar.get(Calendar.MONTH); in setMonthDisplayed() 1034 mFocusedMonth = mSelectedDate.get(Calendar.MONTH); in setSelectedDay() 1243 mMonthOfFirstWeekDay = mTempDate.get(Calendar.MONTH); in init() 1247 final boolean isFocusedDay = (mTempDate.get(Calendar.MONTH) == focusedMonth); in init() 1265 mLastWeekDayMonth = mTempDate.get(Calendar.MONTH); in init()
|
D | CalendarViewMaterialDelegate.java | 117 final int month = day.get(Calendar.MONTH);
|
D | DayPickerView.java | 362 return end.get(Calendar.MONTH) - start.get(Calendar.MONTH) + 12 * diffYears;
|
/frameworks/base/core/java/android/app/ |
D | DatePickerDialog.java | 47 private static final String MONTH = "month"; field in DatePickerDialog 128 monthOfYear = calendar.get(Calendar.MONTH); in DatePickerDialog() 207 state.putInt(MONTH, mDatePicker.getMonth()); in onSaveInstanceState() 216 final int month = savedInstanceState.getInt(MONTH); in onRestoreInstanceState()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
D | DatePickerDialog.java | 158 mCalendar.set(Calendar.MONTH, monthOfYear); in initialize() 170 mCalendar.set(Calendar.MONTH, savedInstanceState.getInt(KEY_SELECTED_MONTH)); in onCreate() 179 outState.putInt(KEY_SELECTED_MONTH, mCalendar.get(Calendar.MONTH)); in onSaveInstanceState() 254 mCalendar.get(Calendar.MONTH), mCalendar.get(Calendar.DAY_OF_MONTH)); in onCreateView() 340 mSelectedMonthTextView.setText(mCalendar.getDisplayName(Calendar.MONTH, Calendar.SHORT, in updateDisplay() 451 adjustDayInMonthIfNeeded(mCalendar.get(Calendar.MONTH), year); in onYearSelected() 461 mCalendar.set(Calendar.MONTH, month); in onDayOfMonthSelected()
|
D | MonthView.java | 367 mCalendar.set(Calendar.MONTH, mMonth); in setMonthParams() 615 if (month < minDate.get(Calendar.MONTH)) { in isBeforeMin() 617 } else if (month > minDate.get(Calendar.MONTH)) { in isBeforeMin() 643 if (month > maxDate.get(Calendar.MONTH)) { in isAfterMax() 645 } else if (month < maxDate.get(Calendar.MONTH)) { in isAfterMax()
|
D | MonthAdapter.java | 67 month = calendar.get(Calendar.MONTH); in CalendarDay() 100 month = calendar.get(Calendar.MONTH); in setTime()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/ |
D | DatePicker.java | 214 mTempDate.add(Calendar.MONTH, newVal - oldVal); in onColumnValueChanged() 220 setDate(mTempDate.get(Calendar.YEAR), mTempDate.get(Calendar.MONTH), in onColumnValueChanged() 332 || mCurrentDate.get(Calendar.MONTH) != dayOfMonth in isNewDate() 352 private static int[] DATE_FIELDS = {Calendar.DAY_OF_MONTH, Calendar.MONTH, Calendar.YEAR};
|
/frameworks/base/core/java/android/net/ |
D | NetworkPolicyManager.java | 263 cal.add(Calendar.MONTH, -1); in computeLastCycleBoundary() 283 cal.add(Calendar.MONTH, 1); in computeNextCycleBoundary() 302 cal.add(Calendar.MONTH, 1); in snapToCycleDay()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | DatePicker.java | 187 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null); in DatePicker() 249 } else if ((c == DateFormat.MONTH || c == 'L') && !didMonth) { in reorderPickers() 461 cal.set(Calendar.MONTH, mMonth); in adjustMaxDay()
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/ |
D | ObexTime.java | 97 cal.get(Calendar.YEAR), cal.get(Calendar.MONTH) + 1, in toString()
|
/frameworks/base/core/java/android/webkit/ |
D | DateSorter.java | 64 c.add(Calendar.MONTH, -1); in DateSorter()
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | RecurrenceProcessor.java | 798 freqField = Time.MONTH; in expand() 823 if (freqField == Time.MONTH) { in expand() 1086 case Time.MONTH: in expand() 1103 if (freqField != Time.YEAR && freqField != Time.MONTH) { in expand()
|
/frameworks/base/core/java/android/text/format/ |
D | DateFormat.java | 126 public static final char MONTH = 'M'; field in DateFormat 500 inDate.get(Calendar.MONTH), count, c); in format()
|
D | DateUtils.java | 455 && thenCal.get(Calendar.MONTH) == nowCal.get(Calendar.MONTH) in formatSameDayTime()
|
D | Time.java | 149 public static final int MONTH = 5; field in Time 277 case MONTH: in getActualMaximum()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ResponseData.java | 240 data[2] = byteToBCD(mCalendar.get(java.util.Calendar.MONTH) + 1); in format()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
D | Utils.java | 270 c.get(Calendar.MONTH) + 1, in toUTCString()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | Utils.java | 270 c.get(Calendar.MONTH) + 1, in toUTCString()
|
/frameworks/base/obex/javax/obex/ |
D | ObexHelper.java | 265 temp.set(Calendar.MONTH, Integer.parseInt(dateString.substring( in updateHeaderSet() 461 temp = dateHeader.get(Calendar.MONTH); in createHeader()
|