Home
last modified time | relevance | path

Searched refs:day (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/core/java/android/util/
DMonthDisplayHelper.java140 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/base/core/java/android/app/
DDatePickerDialog.java120 int month, int day) { in onDateChanged() argument
121 mDatePicker.init(year, month, day, this); in onDateChanged()
122 updateTitle(year, month, day); in onDateChanged()
159 private void updateTitle(int year, int month, int day) { in updateTitle() argument
163 mCalendar.set(Calendar.DAY_OF_MONTH, day); in updateTitle()
195 int day = savedInstanceState.getInt(DAY); in onRestoreInstanceState() local
196 mDatePicker.init(year, month, day, this); in onRestoreInstanceState()
/frameworks/opt/calendar/src/com/android/calendarcommon/
DEventRecurrence.java168 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 …]
DRecurrenceProcessor.java430 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()
938 int day; in expand() local
944 day = dayIndex; in expand()
947 day = iteratorDay; in expand()
[all …]
/frameworks/av/media/mtp/
DMtpUtils.cpp37 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/media/libdrm/mobile1/include/parser/
Dparser_rel.h43 #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/
Ddrm1_jni.c315 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/
Dparser_rel.c51 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/core/java/android/text/format/
DDateFormat.java295 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/media/libdrm/mobile1/include/objmng/
Ddrm_inner.h26 #define INT_2_YMD_HMS(year, mon, day, date, hour, min, sec, time) do{\ argument
29 day = date %100;\
Ddrm_time.h47 uint16_t day; member
/frameworks/base/core/tests/coretests/src/android/text/format/
DTimeTest.java551 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/telephony/java/android/telephony/
DSmsCbEtwsInfo.java138 int day = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[2]); in getPrimaryNotificationTimestamp() local
160 time.monthDay = day; in getPrimaryNotificationTimestamp()
/frameworks/base/docs/html/about/dashboards/
Dindex.jd21 Google Play within a 14-day period ending on the data collection date noted below.</p>
59 <p style="clear:both"><em>Data collected during a 14-day period ending on July 2, 2012</em></p>
81 Google Play within a 14-day period ending on the date indicated on the x-axis.</p>
86 <p><em>Last historical dataset collected during a 14-day period ending on July 2, 2012</em></p>
130 of Android devices that have accessed Google Play within a 7-day period
180 <p style="clear:both"><em>Data collected during a 7-day period ending on July 2, 2012</em></p>
208 of Android devices that have accessed Google Play within a 7-day period
236 <p style="clear:both"><em>Data collected during a 7-day period ending on July 2, 2012</em></p>
/frameworks/rs/scriptc/
Drs_time.rsh53 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/
Ddrm_time.c48 time_ptr->day = tm_t->tm_mday; in DRM_time_getSysTime()
Ddrm_api.c347 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/tests/HwAccelerationTest/src/com/android/test/hwui/
DDatePicker.java104 mDayPicker = (NumberPicker) findViewById(R.id.day); in DatePicker()
297 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear, in SavedState() argument
302 mDay = day; in SavedState()
/frameworks/base/core/java/android/content/
DSyncStorageEngine.java251 public final int day; field in SyncStorageEngine.DayStats
257 public DayStats(int day) { in DayStats() argument
258 this.day = day; in DayStats()
1140 int day = getCurrentDayLocked(); in stopSyncEvent() local
1142 mDayStats[0] = new DayStats(day); in stopSyncEvent()
1143 } else if (day != mDayStats[0].day) { in stopSyncEvent()
1145 mDayStats[0] = new DayStats(day); in stopSyncEvent()
2224 int day = in.readInt(); in readStatisticsLocked() local
2226 day = day - 2009 + 14245; // Magic! in readStatisticsLocked()
2228 DayStats ds = new DayStats(day); in readStatisticsLocked()
[all …]
/frameworks/base/docs/html/design/building-blocks/
Dpickers.jd27 entering the parts of the date (month, day, year) or time (hour, minute, AM/PM). Using these in your
/frameworks/base/docs/html/guide/topics/ui/controls/
Dpickers.jd38 (month, day, year). Using these pickers helps ensure that your users can pick a time or date that
204 int day = c.get(Calendar.DAY_OF_MONTH);
207 return new DatePickerDialog(getActivity(), this, year, month, day);
210 public void onDateSet(DatePicker view, int year, int month, int day) {
/frameworks/base/core/java/android/widget/
DDatePicker.java222 mDaySpinner = (NumberPicker) findViewById(R.id.day); in DatePicker()
781 private SavedState(Parcelable superState, int year, int month, int day) { in SavedState() argument
785 mDay = day; in SavedState()
DCalendarView.java1462 private void onDateTapped(Calendar day) { in onDateTapped() argument
1463 setSelectedDay(day); in onDateTapped()
1464 setMonthDisplayed(day); in onDateTapped()
/frameworks/base/docs/html/about/
Dindex.jd10 and growing fast&mdash;every day another million users power up their
33 <blockquote>Every day more than 1 million new Android devices are activated worldwide.</blockquote>
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java576 int day = IccUtils.gsmBcdByteToInt(pdu[cur++]); in getSCTimestampMillis() local
598 time.monthDay = day; in getSCTimestampMillis()

12