Home
last modified time | relevance | path

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

123

/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DSimpleMonthAdapter.java56 int day; field in SimpleMonthAdapter.CalendarDay
69 day = calendar.get(Calendar.DAY_OF_MONTH); in CalendarDay()
72 public CalendarDay(int year, int month, int day) { in CalendarDay() argument
73 setDay(year, month, day); in CalendarDay()
79 day = date.day; in set()
82 public void setDay(int year, int month, int day) { in setDay() argument
85 this.day = day; in setDay()
103 day = calendar.get(Calendar.DAY_OF_MONTH); in setTime()
120 public void setSelectedDay(CalendarDay day) { in setSelectedDay() argument
121 mSelectedDay = day; in setSelectedDay()
[all …]
DSimpleMonthView.java250 final int day = getDayFromLocation(event.getX(), event.getY()); in onTouchEvent() local
251 if (day >= 0) { in onTouchEvent()
252 onDayClick(day); in onTouchEvent()
363 final int day = i + 1; in setMonthParams() local
364 if (sameDay(day, today)) { in setMonthParams()
366 mToday = day; in setMonthParams()
387 private boolean sameDay(int day, Time today) { in sameDay() argument
390 day == today.monthDay; in sameDay()
490 int day = column - findDayOffset() + 1; in getDayFromLocation() local
491 day += row * mNumDays; in getDayFromLocation()
[all …]
DDayPickerView.java178 … public boolean goTo(CalendarDay day, boolean animate, boolean setSelected, boolean forceScroll) { in goTo() argument
182 mSelectedDay.set(day); in goTo()
185 mTempDay.set(day); in goTo()
186 final int position = (day.year - mController.getMinYear()) in goTo()
187 * SimpleMonthAdapter.MONTHS_IN_YEAR + day.month; in goTo()
405 private boolean restoreAccessibilityFocus(CalendarDay day) { in restoreAccessibilityFocus() argument
406 if (day == null) { in restoreAccessibilityFocus()
414 if (((SimpleMonthView) child).restoreAccessibilityFocus(day)) { in restoreAccessibilityFocus()
440 private String getMonthAndYearString(CalendarDay day) { in getMonthAndYearString() argument
442 cal.set(day.year, day.month, day.day); in getMonthAndYearString()
[all …]
DDatePickerController.java29 void onDayOfMonthSelected(int year, int month, int day); in onDayOfMonthSelected() argument
DDatePickerDialog.java388 int day = mCalendar.get(Calendar.DAY_OF_MONTH); in adjustDayInMonthIfNeeded() local
390 if (day > daysInMonth) { in adjustDayInMonthIfNeeded()
415 public void onDayOfMonthSelected(int year, int month, int day) { in onDayOfMonthSelected() argument
418 mCalendar.set(Calendar.DAY_OF_MONTH, day); in onDayOfMonthSelected()
/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/calendarcommon2/
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()
940 int day; in expand() local
946 day = dayIndex; in expand()
949 day = iteratorDay; in expand()
[all …]
/frameworks/base/core/java/android/text/format/
DDateFormat.java254 int day = value.indexOf('d'); in getDateFormatStringForSetting() local
257 if (month >= 0 && day >= 0 && year >= 0) { in getDateFormatStringForSetting()
259 if (year < month && year < day) { in getDateFormatStringForSetting()
260 if (month < day) { in getDateFormatStringForSetting()
265 } else if (month < day) { in getDateFormatStringForSetting()
266 if (day < year) { in getDateFormatStringForSetting()
526 private static String getDayOfWeekString(LocaleData ld, int day, int count, int kind) { in getDayOfWeekString() argument
529 return standalone ? ld.tinyStandAloneWeekdayNames[day] : ld.tinyWeekdayNames[day]; in getDayOfWeekString()
531 return standalone ? ld.longStandAloneWeekdayNames[day] : ld.longWeekdayNames[day]; in getDayOfWeekString()
533 return standalone ? ld.shortStandAloneWeekdayNames[day] : ld.shortWeekdayNames[day]; in getDayOfWeekString()
DDateUtils.java420 private static final String getRelativeDayString(Resources r, long day, long today) { in getRelativeDayString() argument
428 startTime.set(day); in getRelativeDayString()
429 int startDay = Time.getJulianDay(day, startTime.gmtoff); in getRelativeDayString()
436 boolean past = (today > day); in getRelativeDayString()
/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/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/opt/telephony/src/java/android/telephony/
DSmsCbEtwsInfo.java138 int day = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[2]); in getPrimaryNotificationTimestamp() local
160 time.monthDay = day; in getPrimaryNotificationTimestamp()
/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/ml/bordeaux/service/src/android/bordeaux/services/
DTimeStatsAggregator.java107 private static String getDayOfWeek(int day) { in getDayOfWeek() argument
108 switch (day) { in getDayOfWeek()
/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/docs/html/distribute/googleplay/spotlight/
Dgames.jd123 <li>In Eternity Warriors 2, 7-day user retention is up 40%</li>
124 <li>20% increase in play sessions per day as well</li>
142 <p>Already supported in Eternity Warriors 2, they’ve seen a 40% increase in 7-day
143 user retention and a 20% increase in play sessions per day. Sourabh Ahuja, Glu's
162 Glu saw a 40% increase in 7-day user retention for Eternity Warriors 2 after
/frameworks/base/services/java/com/android/server/content/
DSyncStorageEngine.java313 public final int day; field in SyncStorageEngine.DayStats
319 public DayStats(int day) { in DayStats() argument
320 this.day = day; in DayStats()
1240 int day = getCurrentDayLocked(); in stopSyncEvent() local
1242 mDayStats[0] = new DayStats(day); in stopSyncEvent()
1243 } else if (day != mDayStats[0].day) { in stopSyncEvent()
1245 mDayStats[0] = new DayStats(day); in stopSyncEvent()
2559 int day = in.readInt(); in readStatisticsLocked() local
2561 day = day - 2009 + 14245; // Magic! in readStatisticsLocked()
2563 DayStats ds = new DayStats(day); in readStatisticsLocked()
[all …]
/frameworks/base/docs/html/design/building-blocks/
Dpickers.jd35 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.jd37 (month, day, year). Using these pickers helps ensure that your users can pick a time or date that
203 int day = c.get(Calendar.DAY_OF_MONTH);
206 return new DatePickerDialog(getActivity(), this, year, month, day);
209 public void onDateSet(DatePicker view, int year, int month, int day) {
/frameworks/base/core/java/android/widget/
DDatePicker.java226 mDaySpinner = (NumberPicker) findViewById(R.id.day); in DatePicker()
805 private SavedState(Parcelable superState, int year, int month, int day) { in SavedState() argument
809 mDay = day; in SavedState()
/frameworks/base/docs/html/google/play/billing/
Dgp-purchase-status-api.jd91 initial courtesy usage quota of <strong>200,000 requests per day</strong> (per
154 query each day to check the status of expiring subscriptions, then update the database.
157 <li>Your servers should not query all subscriptions every day.</li>
/frameworks/base/docs/html/training/sync-adapters/
Drunning-sync-adapter.jd45 certain period of time or at a particular time of the day. You may also want to run your sync
85 time every day.
343 or by running it at certain times of the day, or both. Running your sync adapter
371 run the sync adapter at a particular time of day. To run your sync adapter at roughly the
372 same time every day, use a repeating alarm as a trigger. Repeating alarms are described in more
375 time-of-day triggers that have some variation, you should still randomize the start time to
/frameworks/base/docs/html/training/scheduling/
Dalarms.jd34 as starting a service once a day to download a weather forecast.</p>
67 <li>The alarm's interval. For example, once a day, every hour, every 5 seconds, and so on.</li>
119 <p>If you need your alarm to fire at a particular time of day,
175 <p>Wake up the device to fire the alarm at approximately 2:00 p.m., and repeat once a day

123