Home
last modified time | relevance | path

Searched refs:numDays (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
DEventLoader.java64 public int numDays; field in EventLoader.LoadEventDaysRequest
75 public LoadEventDaysRequest(int startDay, int numDays, boolean[] eventDays, in LoadEventDaysRequest() argument
79 this.numDays = numDays; in LoadEventDaysRequest()
94 Cursor cursor = EventDays.query(cr, startDay, numDays, PROJECTION); in processRequest()
128 public int numDays; field in EventLoader.LoadEventsRequest
133 public LoadEventsRequest(int id, int startDay, int numDays, ArrayList<Event> events, in LoadEventsRequest() argument
137 this.numDays = numDays; in LoadEventsRequest()
145 numDays, id, eventLoader.mSequenceNumber); in processRequest()
239 public void loadEventsInBackground(final int numDays, final ArrayList<Event> events, in loadEventsInBackground() argument
248 LoadEventsRequest request = new LoadEventsRequest(id, startDay, numDays, in loadEventsInBackground()
[all …]
DUtils.java1143 int firstJulianDay, int numDays) { in addAllDayToStrands() argument
1147 strand.allDays = new int[numDays]; in addAllDayToStrands()
1151 int end = Math.min(event.endDay - firstJulianDay, numDays - 1); in addAllDayToStrands()
DDayView.java653 ViewSwitcher viewSwitcher, EventLoader eventLoader, int numDays) { in DayView() argument
661 mNumDays = numDays; in DayView()
2856 private void drawAllDayEvents(int firstDay, int numDays, Canvas canvas, Paint p) { in drawAllDayEvents() argument
2889 int lastDay = firstDay + numDays - 1; in drawAllDayEvents()
2901 mSkippedAlldayEvents = new int[numDays]; in drawAllDayEvents()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthByWeekAdapter.java130 public void setEvents(int firstJulianDay, int numDays, ArrayList<Event> events) { in setEvents() argument
140 mQueryDays = numDays; in setEvents()
144 for (int i = 0; i < numDays; i++) { in setEvents()
161 if (startDay < numDays || endDay >= 0) { in setEvents()
165 if (startDay > numDays) { in setEvents()
171 if (endDay > numDays) { in setEvents()
172 endDay = numDays; in setEvents()
DMonthWeekEventsView.java282 int numDays = mEvents.size(); in createDna() local
287 DNA_ALL_DAY_WIDTH = effectiveWidth / numDays - 2 * DNA_SIDE_PADDING; in createDna()
289 mDayXs = new int[numDays]; in createDna()
290 for (int day = 0; day < numDays; day++) { in createDna()
989 int numDays = mDayXs.length; in drawDNA() local
991 if (strand != null && strand.allDays != null && strand.allDays.length == numDays) { in drawDNA()
992 for (int i = 0; i < numDays; i++) { in drawDNA()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
DDatePicker.java215 int numDays = calendar.getActualMaximum(GregorianCalendar.DAY_OF_MONTH); in updateDayStrings() local
216 dayStrings = Arrays.copyOfRange(mConstant.days31, 0, numDays); in updateDayStrings()
/packages/services/Car/service/src/com/android/car/
DGarageModeService.java244 public static int nextWakeUpSeconds(int numDays) { in nextWakeUpSeconds() argument
248 next.add(Calendar.DATE, numDays); in nextWakeUpSeconds()