Home
last modified time | relevance | path

Searched refs:month (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceProcessor.java204 iterator.month + 1); in filter()
433 int realMonth = iterator.month; in get()
439 + " " + iterator.month in get()
449 realMonth = t.month; in get()
452 Log.i(TAG, "normalized t=" + t + " " + t.month in get()
469 Log.i(TAG, "set t=" + t + " " + t.month in get()
880 int iteratorMonth = iterator.month + 1; in expand()
892 int month = usebymonth in expand() local
895 month--; in expand()
896 if (SPEW) Log.i(TAG, " month=" + month); in expand()
[all …]
/frameworks/base/core/java/android/app/
DDatePickerDialog.java91 int year, int month, int dayOfMonth) { in DatePickerDialog() argument
92 this(context, 0, listener, null, year, month, dayOfMonth); in DatePickerDialog()
152 public void onDateChanged(@NonNull DatePicker view, int year, int month, int dayOfMonth) { in onDateChanged() argument
153 mDatePicker.init(year, month, dayOfMonth, this); in onDateChanged()
201 public void updateDate(int year, int month, int dayOfMonth) { in updateDate() argument
202 mDatePicker.updateDate(year, month, dayOfMonth); in updateDate()
218 final int month = savedInstanceState.getInt(MONTH); in onRestoreInstanceState() local
220 mDatePicker.init(year, month, day, this); in onRestoreInstanceState()
245 void onDateSet(DatePicker view, int year, int month, int dayOfMonth); in onDateSet() argument
/frameworks/base/core/tests/coretests/src/android/text/format/
DTimeTest.java200 if (local.year != test.year2 || local.month != test.month2 in testNormalize1()
206 local.year, local.month, local.monthDay, local.hour, local.minute); in testNormalize1()
218 if (local.year != test.year2 || local.month != test.month2 in testNormalize1()
224 local.year, local.month, local.monthDay, local.hour, local.minute); in testNormalize1()
241 if (local.year != test.year2 || local.month != test.month2 in testNormalize1()
248 local.year, local.month, local.monthDay, local.hour, local.minute, in testNormalize1()
263 if (local.year != test.year2 || local.month != test.month2 in testNormalize1()
270 local.year, local.month, local.monthDay, local.hour, local.minute, in testNormalize1()
372 if (!t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23) { in testParse33390()
377 if (t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23 || in testParse33390()
[all …]
/frameworks/base/core/java/android/text/format/
DTime.java103 public int month; field in Time
268 int n = DAYS_PER_MONTH[this.month]; in getActualMaximum()
309 this.month = 0; in clear()
441 month = n; in parseInternal()
572 month = n; in parse3339Internal()
789 this.month = that.month; in set()
801 public void set(int second, int minute, int hour, int monthDay, int month, int year) { in set() argument
807 this.month = month; in set()
824 public void set(int monthDay, int month, int year) { in set() argument
830 this.month = month; in set()
[all …]
DDateFormat.java583 private static String getMonthString(DateFormatSymbols dfs, int month, int count, int kind) { in getMonthString() argument
587 return dfs.getMonths(monthContext, DateFormatSymbols.NARROW)[month]; in getMonthString()
589 return dfs.getMonths(monthContext, DateFormatSymbols.WIDE)[month]; in getMonthString()
591 return dfs.getMonths(monthContext, DateFormatSymbols.ABBREVIATED)[month]; in getMonthString()
594 return zeroPad(month+1, count); in getMonthString()
DDateUtils.java246 public static String getMonthString(int month, int abbrev) { in getMonthString() argument
263 return dfs.getMonths(DateFormatSymbols.FORMAT, width)[month]; in getMonthString()
523 int thenMonth = time.month; in isToday()
528 && (thenMonth == time.month) in isToday()
/frameworks/base/core/java/android/util/
DMonthDisplayHelper.java46 public MonthDisplayHelper(int year, int month, int weekStartDay) { in MonthDisplayHelper() argument
55 mCalendar.set(Calendar.MONTH, month); in MonthDisplayHelper()
66 public MonthDisplayHelper(int year, int month) { in MonthDisplayHelper() argument
67 this(year, month, Calendar.SUNDAY); in MonthDisplayHelper()
DDayOfMonthCursor.java48 public DayOfMonthCursor(int year, int month, int dayOfMonth, int weekStartDay) { in DayOfMonthCursor() argument
49 super(year, month, weekStartDay); in DayOfMonthCursor()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMissedIncomingCallSmsFilter.java122 private long getEpochTime(String year, String month, String day, String hour, String minute) { in getEpochTime() argument
135 time = LocalDateTime.parse(year + month + day + hour + minute, formatter); in getEpochTime()
172 String year = null, month = null, day = null, hour = null, minute = null; in processSms() local
175 month = matcher.group(SMS_MONTH_TAG); in processSms()
180 Rlog.v(TAG, "month=" + month + ", day=" + day + ", hour=" + hour in processSms()
200 missedCallTime = getEpochTime(year, month, day, hour, minute); in processSms()
DNitzData.java91 int month = Integer.parseInt(nitzSubs[1]) - 1; in parse() local
92 c.set(Calendar.MONTH, month); in parse()
/frameworks/base/core/java/android/widget/
DDatePickerCalendarDelegate.java255 final int month = mCurrentDate.get(Calendar.MONTH);
256 final int daysInMonth = getDaysInMonth(month, year);
363 public void init(int year, int month, int dayOfMonth, in init() argument
365 setDate(year, month, dayOfMonth); in init()
372 public void updateDate(int year, int month, int dayOfMonth) { in updateDate() argument
373 setDate(year, month, dayOfMonth); in updateDate()
377 private void setDate(int year, int month, int dayOfMonth) { in setDate() argument
379 mCurrentDate.set(Calendar.MONTH, month); in setDate()
530 final int month = mCurrentDate.get(Calendar.MONTH); in onSaveInstanceState() local
543 return new SavedState(superState, year, month, day, mMinDate.getTimeInMillis(), in onSaveInstanceState()
[all …]
DDatePickerSpinnerDelegate.java161 public void onSelectedDayChange(CalendarView view, int year, int month, int monthDay) { in DatePickerSpinnerDelegate()
162 setDate(year, month, monthDay); in DatePickerSpinnerDelegate()
176 mMonthSpinner = (NumberPicker) mDelegator.findViewById(com.android.internal.R.id.month); in DatePickerSpinnerDelegate()
249 public void updateDate(int year, int month, int dayOfMonth) { in updateDate() argument
250 if (!isNewDate(year, month, dayOfMonth)) { in updateDate()
253 setDate(year, month, dayOfMonth); in updateDate()
498 private boolean isNewDate(int year, int month, int dayOfMonth) { in isNewDate() argument
500 || mCurrentDate.get(Calendar.MONTH) != month in isNewDate()
505 private void setDate(int year, int month, int dayOfMonth) { in setDate() argument
506 mCurrentDate.set(year, month, dayOfMonth); in setDate()
DDayPickerPagerAdapter.java248 final int month = getMonthForPosition(position); in instantiateItem() local
252 if (mSelectedDay != null && mSelectedDay.get(Calendar.MONTH) == month && mSelectedDay.get( in instantiateItem()
260 if (mMinDate.get(Calendar.MONTH) == month && mMinDate.get(Calendar.YEAR) == year) { in instantiateItem()
267 if (mMaxDate.get(Calendar.MONTH) == month && mMaxDate.get(Calendar.YEAR) == year) { in instantiateItem()
273 v.setMonthParams(selectedDay, month, year, mFirstDayOfWeek, in instantiateItem()
DDatePicker.java260 public void updateDate(int year, int month, int dayOfMonth) { in updateDate() argument
261 mDelegate.updateDate(year, month, dayOfMonth); in updateDate()
547 void updateDate(int year, int month, int dayOfMonth); in updateDate() argument
711 public SavedState(Parcelable superState, int year, int month, int day, long minDate, in SavedState() argument
713 this(superState, year, month, day, minDate, maxDate, 0, 0, 0); in SavedState()
719 public SavedState(Parcelable superState, int year, int month, int day, long minDate, in SavedState() argument
723 mSelectedMonth = month; in SavedState()
DCalendarViewMaterialDelegate.java137 final int month = day.get(Calendar.MONTH);
139 mOnDateChangeListener.onSelectedDayChange(mDelegator, year, month, dayOfMonth);
DSimpleMonthView.java741 private static boolean isValidMonth(int month) { in isValidMonth() argument
742 return month >= Calendar.JANUARY && month <= Calendar.DECEMBER; in isValidMonth()
795 void setMonthParams(int selectedDay, int month, int year, int weekStart, int enabledDayStart, in setMonthParams() argument
799 if (isValidMonth(month)) { in setMonthParams()
800 mMonth = month; in setMonthParams()
837 private static int getDaysInMonth(int month, int year) { in getDaysInMonth() argument
838 switch (month) { in getDaysInMonth()
DCalendarViewLegacyDelegate.java891 int month; in onScroll()
893 month = child.getMonthOfFirstWeekDay(); in onScroll()
895 month = child.getMonthOfLastWeekDay(); in onScroll()
900 if (mCurrentMonthDisplayed == 11 && month == 0) { in onScroll()
902 } else if (mCurrentMonthDisplayed == 0 && month == 11) { in onScroll()
905 monthDiff = month - mCurrentMonthDisplayed; in onScroll()
1109 public void setFocusMonth(int month) { in setFocusMonth() argument
1110 if (mFocusedMonth == month) { in setFocusMonth()
1113 mFocusedMonth = month; in setFocusMonth()
/frameworks/ex/common/java/com/android/common/
DLegacyHttpDateTime.java89 int month = Calendar.JANUARY; in parse() local
96 month = getMonth(rfcMatcher.group(2)); in parse()
102 month = getMonth(ansicMatcher.group(1)); in parse()
114 calendar.set(Calendar.MONTH, month); in parse()
/frameworks/av/media/mtp/
DMtpUtils.cpp57 int year, month, day, hour, minute, second; in parseDateTime() local
59 &year, &month, &day, &hour, &minute, &second) != 6) in parseDateTime()
83 tm.tm_mon = month - 1; // mktime uses months in 0 - 11 range in parseDateTime()
/frameworks/base/core/java/android/text/style/
DTtsSpan.java1158 Integer month, in DateBuilder() argument
1167 if (month != null) { in DateBuilder()
1168 setMonth(month); in DateBuilder()
1202 public DateBuilder setMonth(int month) { in setMonth() argument
1203 return setIntArgument(TtsSpan.ARG_MONTH, month); in setMonth()
/frameworks/base/telephony/java/android/telephony/
DSmsCbEtwsInfo.java185 int month = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[1]); in getPrimaryNotificationTimestamp() local
209 month /* 1-12 */, in getPrimaryNotificationTimestamp()
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DRecurrenceProcessorTest.java2507 date.month += 1; in performanceTestNormalize()
2510 date.month -= 1; in performanceTestNormalize()
2524 date.month += 1; in performanceTestNormalize()
2527 date.month -= 1; in performanceTestNormalize()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DDatePicker.java113 mMonthPicker = findViewById(R.id.month); in DatePicker()
297 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear, in SavedState() argument
301 mMonth = month; in SavedState()
/frameworks/base/core/tests/coretests/src/android/widget/
DDatePickerFocusTest.java232 private void assertDateIs(int month, final int day, final int year) throws Throwable { in assertDateIs() argument
233 final int monthInt = month - 1; // months are 0-based in assertDateIs()
/frameworks/rs/script_api/include/
Drs_time.rsh52 int tm_mday; // Day of the month. This ranges from 1 to 31.
73 * Converts the time specified by timer into a rs_tm structure that provides year, month,

12