Searched defs:month (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/media/libdrm/mobile1/include/objmng/
H A Ddrm_time.h46 uint16_t month; member in struct:__db_system_time_
/frameworks/av/media/mtp/
H A DMtpUtils.cpp30 representation, YYYY shall be replaced by the year, MM replaced by the month (01-12),
37 int year, month, day, hour, minute, second; local
41 &year, &month, &day, &hour, &minute, &second) != 6)
58 tm.tm_mon = month - 1; // mktime uses months in 0 - 11 range
/frameworks/base/core/java/android/util/
H A DDayOfMonthCursor.java20 * Helps control and display a month view of a calendar that has a current
23 * <li>Keeps track of current month, day, year</li>
29 * This should be used by anyone who presents a month view to users and wishes
31 * mind about when to flip the month, we can change it here only.
42 * @param month The initial month.
48 public DayOfMonthCursor(int year, int month, int dayOfMonth, int weekStartDay) { argument
49 super(year, month, weekStartDay);
73 * @return 0 if the selection is in the current month, otherwise -1 or +1
96 * Move up one box, potentially flipping to the previous month
[all...]
H A DMonthDisplayHelper.java22 * Helps answer common questions that come up when displaying a month in a
32 // holds current month, year, helps compute display
43 * @param month The month.
46 public MonthDisplayHelper(int year, int month, int weekStartDay) { argument
55 mCalendar.set(Calendar.MONTH, month);
66 public MonthDisplayHelper(int year, int month) { argument
67 this(year, month, Calendar.SUNDAY);
85 * @return The first day of the month using a constants such as
93 * @return The number of days in the month
[all...]
/frameworks/base/core/java/android/app/
H A DDatePickerDialog.java43 private static final String MONTH = "month";
60 * @param monthOfYear The month that was set (0-11) for compatibility
62 * @param dayOfMonth The day of the month that was set.
71 * @param monthOfYear The initial month of the dialog.
87 * @param monthOfYear The initial month of the dialog.
120 int month, int day) {
121 mDatePicker.init(year, month, day, this);
122 updateTitle(year, month, day);
138 * @param monthOfYear The date month.
139 * @param dayOfMonth The date day of month
119 onDateChanged(DatePicker view, int year, int month, int day) argument
159 updateTitle(int year, int month, int day) argument
[all...]
/frameworks/base/core/jni/
H A DTime.cpp69 static inline int days_this_month(int year, int month) argument
71 int n = DAYS_PER_MONTH[month];
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DDatePicker.java41 * A view for selecting a month / year / day based on a calendar like layout.
79 * @param monthOfYear The month that was set (0-11) for compatibility
81 * @param dayOfMonth The day of the month that was set.
113 mMonthPicker = (NumberPicker) findViewById(R.id.month);
119 * If the user is in a locale where the month names are numeric,
120 * use just the number instead of the "month" character for
139 /* We display the month 1-12 but store it 0-11 so always
143 // Adjust max day of the month
297 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear, argument
301 mMonth = month;
[all...]
/frameworks/base/media/libdrm/mobile1/src/parser/
H A Dparser_rel.c25 int32_t drm_monthDays(int32_t year, int32_t month) argument
27 switch (month) {
51 int32_t drm_checkDate(int32_t year, int32_t month, int32_t day, argument
54 if (month >= 1 && month <= 12 &&
55 day >= 1 && day <= drm_monthDays(year, month) &&
85 /** get month */
354 /** get month */
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DRecurrenceProcessor.java204 iterator.month + 1);
321 * Compute the day of the week for the first day of the month. "instance" has a
326 * (day of the month - 1) mod 7, and then make sure it's positive. We can simplify
341 * Generate a set according to the BYDAY rules. For each day of the month, determine
349 // For each month day, see if it's part of the set. (This makes some assumptions
433 int realMonth = iterator.month;
439 + " " + iterator.month
444 // if might be past the end of the month, we need to normalize it
449 realMonth = t.month;
452 Log.i(TAG, "normalized t=" + t + " " + t.month
1245 monthLength(int year, int month) argument
1262 weekDay(int year, int month, int day) argument
1278 yearDay(int year, int month, int day) argument
[all...]
/frameworks/base/core/java/android/text/format/
H A DTime.java74 * Day of month [1-31]
81 public int month; field in class:Time
239 int n = DAYS_PER_MONTH[this.month];
280 this.month = 0;
562 this.month = that.month;
574 public void set(int second, int minute, int hour, int monthDay, int month, int year) { argument
580 this.month = month;
593 * @param monthDay the day of the month (i
597 set(int monthDay, int month, int year) argument
[all...]
H A DDateUtils.java109 * This is not actually a useful month name in all locales.
149 // used for formatting a start and end date that fall in the same month.
270 * Return a localized string for the month of the year.
271 * @param month One of {@link Calendar#JANUARY Calendar.JANUARY},
277 * @return Localized month of the year.
281 public static String getMonthString(int month, int abbrev) { argument
296 return names[month];
300 * Return a localized string for the month of the year, for
301 * contexts where the month is not formatted together with
302 * a day of the month
315 getStandaloneMonthString(int month, int abbrev) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DDatePicker.java50 * year, month, and day spinners or a {@link CalendarView}. The set of spinners
133 * @param monthOfYear The month that was set (0-11) for compatibility
135 * @param dayOfMonth The day of the month that was set.
214 public void onSelectedDayChange(CalendarView view, int year, int month, int monthDay) {
215 setDate(year, month, monthDay);
228 // month
229 mMonthSpinner = (NumberPicker) findViewById(R.id.month);
537 * @param month The month which is <strong>starting from zero</strong>.
538 * @param dayOfMonth The day of the month
540 updateDate(int year, int month, int dayOfMonth) argument
605 isNewDate(int year, int month, int dayOfMonth) argument
611 setDate(int year, int month, int dayOfMonth) argument
781 SavedState(Parcelable superState, int year, int month, int day) argument
[all...]
H A DCalendarView.java104 * Affects when the month selection will change while scrolling upe
228 * The name of the month to display.
248 * Which month should be displayed/highlighted [0-11].
288 * The first day of the focused month.
322 * @param month The month that was set [0-11].
323 * @param dayOfMonth The day of the month that was set.
325 public void onSelectedDayChange(CalendarView view, int year, int month, int dayOfMonth); argument
477 * Sets the color for the dates of the focused month.
479 * @param color The focused month dat
1430 setFocusMonth(int month) argument
[all...]
/frameworks/base/media/libdrm/mobile1/src/jni/
H A Ddrm1_jni.c39 #define DAY_PER_MONTH 30 /* Days per month */
48 /** Accumulated number of days from 01-Jan up to start of current month. */
305 * \param month the month (1 - 12)
315 uint32_t year, uint32_t month, uint32_t day,
325 && month > 0 && month <= 12
331 day += ydays[month - 1] + (month > 2 && leap (year)) - 1;
348 * <code>date = year * 10000 + month * 10
314 mkgmtime( uint32_t year, uint32_t month, uint32_t day, uint32_t hour, uint32_t minute, uint32_t second) argument
356 int32_t year, month, day, hour, minute, second; local
399 int32_t year, month, day, hour, minute, second; local
[all...]

Completed in 1348 milliseconds