/frameworks/av/media/mtp/ |
H A D | MtpUtils.cpp | 31 DD replaced by the day (01-31), T is a constant character 'T' delimiting time from date, 37 int year, month, day, hour, minute, second; local 41 &year, &month, &day, &hour, &minute, &second) != 6) 57 tm.tm_mday = day;
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
H A D | DatePickerController.java | 29 void onDayOfMonthSelected(int year, int month, int day); argument
|
H A D | SimpleMonthAdapter.java | 56 int day; field in class:SimpleMonthAdapter.CalendarDay 69 day = calendar.get(Calendar.DAY_OF_MONTH); 72 public CalendarDay(int year, int month, int day) { argument 73 setDay(year, month, day); 79 day = date.day; 82 public void setDay(int year, int month, int day) { argument 85 this.day = day; 103 day 120 setSelectedDay(CalendarDay day) argument 208 onDayClick(SimpleMonthView view, CalendarDay day) argument 219 onDayTapped(CalendarDay day) argument [all...] |
H A D | DayPickerView.java | 178 public boolean goTo(CalendarDay day, boolean animate, boolean setSelected, boolean forceScroll) { argument 180 // Set the selected day 182 mSelectedDay.set(day); 185 mTempDay.set(day); 186 final int position = (day.year - mController.getMinYear()) 187 * SimpleMonthAdapter.MONTHS_IN_YEAR + day.month; 219 // Check if the selected day is now outside of our visible range 400 * {@code day} is {@code null}. 402 * @param day The date that should receive accessibility focus 405 private boolean restoreAccessibilityFocus(CalendarDay day) { argument 440 getMonthAndYearString(CalendarDay day) argument [all...] |
H A D | DatePickerDialog.java | 63 private static final String KEY_SELECTED_DAY = "day"; 121 * @param dayOfMonth The day of the month that was set. 143 * @param dayOfMonth The initial day of the dialog. 383 // If the newly selected month / year does not contain the currently selected day number, 384 // change the selected day number to the last day of the selected month or year. 388 int day = mCalendar.get(Calendar.DAY_OF_MONTH); 390 if (day > daysInMonth) { 415 public void onDayOfMonthSelected(int year, int month, int day) { argument 418 mCalendar.set(Calendar.DAY_OF_MONTH, day); [all...] |
H A D | SimpleMonthView.java | 51 * A calendar-like view displaying a specified month and the appropriate selectable day numbers 82 * Which day the week should start on. {@link Time#SUNDAY} through 138 // The Julian day of the first day displayed by this item 140 // The month of the first day in this week 142 // The month of the last day in this week 154 // Which day is selected [0-6] or -1 if no day is selected 156 // Which day is today [0-6] or -1 if no day i 387 sameDay(int day, Time today) argument 504 onDayClick(int day) argument 540 restoreAccessibilityFocus(CalendarDay day) argument 627 getItemBounds(int day, Rect rect) argument 649 getItemDescription(int day) argument 665 onDayClick(SimpleMonthView view, CalendarDay day) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | MonthDisplayHelper.java | 44 * @param weekStartDay What day of the week the week should start. 85 * @return The first day of the month using a constants such as 102 * box. For example, if the calendar is set to display the first day of 132 * @return The day at a particular row, column 140 int day = 7 * row + column - mOffset + 1; 142 return (day > mNumDaysInMonth) ? 143 day - mNumDaysInMonth : day; 147 * @return Which row day is in. 149 public int getRowOf(int day) { argument 156 getColumnOf(int day) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | DatePickerDialog.java | 44 private static final String DAY = "day"; 62 * @param dayOfMonth The day of the month that was set. 72 * @param dayOfMonth The initial day of the dialog. 88 * @param dayOfMonth The initial day of the dialog. 120 int month, int day) { 121 mDatePicker.init(year, month, day, this); 122 updateTitle(year, month, day); 139 * @param dayOfMonth The date day of month. 159 private void updateTitle(int year, int month, int day) { argument 163 mCalendar.set(Calendar.DAY_OF_MONTH, day); 119 onDateChanged(DatePicker view, int year, int month, int day) argument [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | DateFormat.java | 254 int day = value.indexOf('d'); 257 if (month >= 0 && day >= 0 && year >= 0) { 259 if (year < month && year < day) { 260 if (month < day) { 265 } else if (month < day) { 266 if (day < year) { 271 } else { // day < month 314 * not just the day, month, and year, and not necessarily in the same 477 case 'H': // hour in day (0-23) 478 case 'k': // hour in day ( 526 getDayOfWeekString(LocaleData ld, int day, int count, int kind) argument [all...] |
H A D | DateUtils.java | 179 * Return a string for the day of the week. 389 // above a week or exact dates below a day, so clamp 412 * Returns a string describing a day relative to the current day. For example if the day is 413 * today this function returns "Today", if the day was a week ago it returns "7 days ago", and 414 * if the day is in 2 weeks it returns "in 14 days". 417 * @param day the relative day to describe in UTC milliseconds 420 private static final String getRelativeDayString(Resources r, long day, lon argument [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | DatePicker.java | 41 * A view for selecting a month / year / day based on a calendar like layout. 81 * @param dayOfMonth The day of the month that was set. 104 mDayPicker = (NumberPicker) findViewById(R.id.day); 143 // Adjust max day of the month 154 // Adjust max day for leap years if needed 297 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear, argument 302 mDay = day; 395 * @param dayOfMonth The initial day of the month. 407 * @param dayOfMonth The initial day of the month.
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | TimeStatsAggregator.java | 107 private static String getDayOfWeek(int day) { argument 108 switch (day) { 183 // get all possible day values 188 // set the fake time of day 194 // set the fake day of week 195 // set to "" to disable the fake day
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | RecurrenceProcessor.java | 321 * Compute the day of the week for the first day of the month. "instance" has a 322 * day number and a DotW, so we compute the DotW of the 1st from that. Note DotW 325 * The basic calculation is to take the instance's "day of the week" number, subtract 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 342 * if its day of the week is included. If so, append it to the day set. 349 // For each month day, see if it's part of the set. (This makes some assumptions 430 boolean get(Time iterator, int day) argument 1264 weekDay(int year, int month, int day) argument 1280 yearDay(int year, int month, int day) argument [all...] |
H A D | EventRecurrence.java | 168 public static int calendarDay2Day(int day) argument 170 switch (day) 187 throw new RuntimeException("bad day of week: " + day); 191 public static int timeDay2Day(int day) argument 193 switch (day) 210 throw new RuntimeException("bad day of week: " + day); 213 public static int day2TimeDay(int day) argument 215 switch (day) 241 day2CalendarDay(int day) argument 274 day2String(int day) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | DatePicker.java | 54 * year, month, and day spinners or a {@link CalendarView}. The set of spinners 139 * @param dayOfMonth The day of the month that was set. 215 // calendar view day-picker 225 // day 226 mDaySpinner = (NumberPicker) findViewById(R.id.day); 488 // All-text would require custom NumberPicker formatters for day and year. 528 // We use numeric spinners for year and day, but textual months. Ask icu4c what 558 * @param dayOfMonth The day of the month. 597 * @param dayOfMonth The initial day of the month. 711 * @return The selected day o 805 SavedState(Parcelable superState, int year, int month, int day) argument [all...] |
H A D | CalendarView.java | 89 * The number of milliseconds in a day.e 94 * The number of day in a week. 203 * The number of day per week to be shown. 233 * The header with week day names. 243 * The first day of the week. 273 * Listener for changes in the selected day. 288 * The first day of the focused month. 318 * Called upon change of the selected day. 323 * @param dayOfMonth The day of the month that was set. 635 * Sets the text appearance for the week day abbreviatio 1462 onDateTapped(Calendar day) argument [all...] |
/frameworks/base/services/java/com/android/server/content/ |
H A D | SyncStorageEngine.java | 85 private static final long DEFAULT_POLL_FREQUENCY_SECONDS = 60 * 60 * 24; // One day 246 * every day. An empty bundle is considered equal to any other bundle see 264 // Old version adds one periodic sync a day. 273 * every day using a sync service. 313 public final int day; field in class:SyncStorageEngine.DayStats 319 public DayStats(int day) { argument 320 this.day = day; 1240 int day = getCurrentDayLocked(); 1242 mDayStats[0] = new DayStats(day); [all...] |