/frameworks/base/core/java/android/util/ |
D | MonthDisplayHelper.java | 140 int day = 7 * row + column - mOffset + 1; in getDayAt() local 142 return (day > mNumDaysInMonth) ? in getDayAt() 143 day - mNumDaysInMonth : day; in getDayAt() 149 public int getRowOf(int day) { in getRowOf() argument 150 return (day + mOffset - 1) / 7; in getRowOf() 156 public int getColumnOf(int day) { in getColumnOf() argument 157 return (day + mOffset - 1) % 7; in getColumnOf() 189 int day = 7 * row + column - mOffset + 1; in isWithinCurrentMonth() local 190 if (day > mNumDaysInMonth) { in isWithinCurrentMonth()
|
/frameworks/opt/calendar/src/com/android/calendarcommon/ |
D | EventRecurrence.java | 168 public static int calendarDay2Day(int day) in calendarDay2Day() argument 170 switch (day) in calendarDay2Day() 187 throw new RuntimeException("bad day of week: " + day); in calendarDay2Day() 191 public static int timeDay2Day(int day) in timeDay2Day() argument 193 switch (day) in timeDay2Day() 210 throw new RuntimeException("bad day of week: " + day); in timeDay2Day() 213 public static int day2TimeDay(int day) in day2TimeDay() argument 215 switch (day) in day2TimeDay() 232 throw new RuntimeException("bad day of week: " + day); in day2TimeDay() 241 public static int day2CalendarDay(int day) in day2CalendarDay() argument [all …]
|
D | RecurrenceProcessor.java | 430 boolean get(Time iterator, int day) in get() argument 441 + "/" + iterator.year + " day=" + day); in get() 443 if (day < 1 || day > 28) { in get() 446 t.set(day, realMonth, realYear); in get() 450 day = t.monthDay; in get() 466 t.set(day, realMonth, realYear); in get() 482 return (mDays & (1<<day)) != 0; in get() 920 int day; in expand() local 926 day = dayIndex; in expand() 929 day = iteratorDay; in expand() [all …]
|
/frameworks/base/media/mtp/ |
D | MtpUtils.cpp | 37 int year, month, day, hour, minute, second; in parseDateTime() local 41 &year, &month, &day, &hour, &minute, &second) != 6) in parseDateTime() 57 tm.tm_mday = day; in parseDateTime()
|
/frameworks/base/core/java/android/app/ |
D | DatePickerDialog.java | 116 int month, int day) { in onDateChanged() argument 117 mDatePicker.init(year, month, day, null); in onDateChanged() 154 int day = savedInstanceState.getInt(DAY); in onRestoreInstanceState() local 155 mDatePicker.init(year, month, day, this); in onRestoreInstanceState()
|
/frameworks/base/media/libdrm/mobile1/include/parser/ |
D | parser_rel.h | 43 #define YMD_HMS_2_INT(year, mon, day, date, hour, min, sec, time) do{\ argument 44 date = year * 10000 + mon * 100 + day;\ 103 int32_t drm_checkDate(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t …
|
/frameworks/base/media/libdrm/mobile1/src/jni/ |
D | drm1_jni.c | 315 uint32_t year, uint32_t month, uint32_t day, in mkgmtime() argument 326 && day > 0 && day <= 31 in mkgmtime() 331 day += ydays[month - 1] + (month > 2 && leap (year)) - 1; in mkgmtime() 334 day = day + 365 * (year - 1970) + nleap(year); in mkgmtime() 336 int64_mul(result, int64_const(day), int64_const(SECONDS_PER_DAY)); in mkgmtime() 356 int32_t year, month, day, hour, minute, second; in computeTime() local 360 day = date % 100; in computeTime() 369 if (day < 1) day = 1; in computeTime() 370 if (day > 31) day = 31; in computeTime() 378 return mkgmtime(year, month, day, hour, minute, second) * 1000; in computeTime() [all …]
|
/frameworks/base/media/libdrm/mobile1/src/parser/ |
D | parser_rel.c | 51 int32_t drm_checkDate(int32_t year, int32_t month, int32_t day, in drm_checkDate() argument 55 day >= 1 && day <= drm_monthDays(year, month) && in drm_checkDate() 66 int32_t year, mon, day, hour, min, sec; in drm_getStartEndTime() local 101 day = atoi((char *)pHead); in drm_getStartEndTime() 128 if (0 != drm_checkDate(year, mon, day, hour, min, sec)) in drm_getStartEndTime() 131 YMD_HMS_2_INT(year, mon, day, dateTime->date, hour, min, sec, in drm_getStartEndTime() 238 int32_t year, mon, day, hour, min, sec; in drm_getRightValue() local 370 day = atoi((char *)pHead); in drm_getRightValue() 405 if (year < 0 || mon < 0 || day < 0 || hour < 0 in drm_getRightValue() 408 YMD_HMS_2_INT(year, mon, day, pConstraint->Interval.date, hour, in drm_getRightValue()
|
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
D | drm_inner.h | 26 #define INT_2_YMD_HMS(year, mon, day, date, hour, min, sec, time) do{\ argument 29 day = date %100;\
|
D | drm_time.h | 47 uint16_t day; member
|
/frameworks/base/core/java/android/text/format/ |
D | DateFormat.java | 295 int day = value.indexOf('d'); in getDateFormatStringForSetting() local 298 if (month >= 0 && day >= 0 && year >= 0) { in getDateFormatStringForSetting() 300 if (year < month && year < day) { in getDateFormatStringForSetting() 301 if (month < day) { in getDateFormatStringForSetting() 306 } else if (month < day) { in getDateFormatStringForSetting() 307 if (day < year) { in getDateFormatStringForSetting()
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | TimeTest.java | 551 int day = Time.getJulianDay(millis, time.gmtoff); in disableTestGetJulianDay() local 552 if (day != julianDay) { in disableTestGetJulianDay() 553 Log.e("TimeTest", "Julian day: " + day + " at time " in disableTestGetJulianDay() 558 assertEquals(day, julianDay); in disableTestGetJulianDay() 597 int day = Time.getJulianDay(millis, time.gmtoff); in disableTestSetJulianDay() local 598 if (day != julianDay) { in disableTestSetJulianDay() 604 assertEquals(day, julianDay); in disableTestSetJulianDay()
|
/frameworks/base/libs/rs/scriptc/ |
D | rs_time.rsh | 53 int tm_mday; ///< day of the month 56 int tm_wday; ///< day of the week 57 int tm_yday; ///< day of the year
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
D | drm_time.c | 48 time_ptr->day = tm_t->tm_mday; in DRM_time_getSysTime()
|
D | drm_api.c | 347 if (-1 == drm_checkDate(curDateTime.year, curDateTime.month, curDateTime.day, in drm_startConsumeRights() 351 YMD_HMS_2_INT(curDateTime.year, curDateTime.month, curDateTime.day, in drm_startConsumeRights() 390 int32_t year, mon, day, hour, min, sec, date, time; in drm_startConsumeRights() local 403 INT_2_YMD_HMS(year, mon, day, date, hour, min, sec, time); in drm_startConsumeRights() 414 day += hour / 24; in drm_startConsumeRights() 417 if (day > 31) { in drm_startConsumeRights() 418 mon += day / 31; in drm_startConsumeRights() 419 day %= 31; in drm_startConsumeRights() 425 if (day > (ret = drm_monthDays(year, mon))) { in drm_startConsumeRights() 426 day -= ret; in drm_startConsumeRights() [all …]
|
/frameworks/base/docs/html/resources/dashboard/ |
D | platform-versions.jd | 50 Android Market within a 14-day period ending on the data collection date noted below.</p> 78 <p><em>Data collected during a 14-day period ending on October 3, 2011</em></p> 102 Android Market within a 14-day period ending on the date indicated on the x-axis.</p> 109 <p><em>Last historical dataset collected during a 14-day period ending on October 3, 2011</em></p>
|
D | opengl.jd | 53 of Android devices that have accessed Android Market within a 7-day period 77 <p><em>Data collected during a 7-day period ending on October 3, 2011</em></p>
|
D | screens.jd | 56 of Android devices that have accessed Android Market within a 7-day period 99 <p><em>Data collected during a 7-day period ending on October 3, 2011</em></p>
|
/frameworks/base/core/java/android/content/ |
D | SyncStorageEngine.java | 211 public final int day; field in SyncStorageEngine.DayStats 217 public DayStats(int day) { in DayStats() argument 218 this.day = day; in DayStats() 1061 int day = getCurrentDayLocked(); in stopSyncEvent() local 1063 mDayStats[0] = new DayStats(day); in stopSyncEvent() 1064 } else if (day != mDayStats[0].day) { in stopSyncEvent() 1066 mDayStats[0] = new DayStats(day); in stopSyncEvent() 2105 int day = in.readInt(); in readStatisticsLocked() local 2107 day = day - 2009 + 14245; // Magic! in readStatisticsLocked() 2109 DayStats ds = new DayStats(day); in readStatisticsLocked() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsCbMessage.java | 415 int day = IccUtils.gsmBcdByteToInt(pdu[8]); in getTimestampMillis() local 437 time.monthDay = day; in getTimestampMillis()
|
/frameworks/base/core/java/android/widget/ |
D | DatePicker.java | 221 mDaySpinner = (NumberPicker) findViewById(R.id.day); in DatePicker() 758 private SavedState(Parcelable superState, int year, int month, int day) { in SavedState() argument 762 mDay = day; in SavedState()
|
D | CalendarView.java | 1148 private void onDateTapped(Calendar day) { in onDateTapped() argument 1149 setSelectedDay(day); in onDateTapped() 1150 setMonthDisplayed(day); in onDateTapped()
|
/frameworks/base/docs/html/guide/tutorials/views/ |
D | hello-datepicker.jd | 6 <p>A {@link android.widget.DatePicker} is a widget that allows the user to select a month, day and … 83 instance of {@link java.util.Calendar} and get the current year, month and day. Finally, we call
|
/frameworks/base/docs/html/resources/tutorials/views/ |
D | hello-datepicker.jd | 7 widget, which allows the user to select the month, day, and year, in a familiar interface.</p> 92 and the current year, month and day are acquired. Finally, the private
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | SmsMessage.java | 549 int day = IccUtils.gsmBcdByteToInt(pdu[cur++]); in getSCTimestampMillis() local 571 time.monthDay = day; in getSCTimestampMillis()
|