Home
last modified time | relevance | path

Searched refs:numDays (Results 1 – 6 of 6) 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.java1066 int firstJulianDay, int numDays) { in addAllDayToStrands() argument
1070 strand.allDays = new int[numDays]; in addAllDayToStrands()
1074 int end = Math.min(event.endDay - firstJulianDay, numDays - 1); in addAllDayToStrands()
DDayView.java644 ViewSwitcher viewSwitcher, EventLoader eventLoader, int numDays) { in DayView() argument
651 mNumDays = numDays; in DayView()
2487 private void drawAllDayEvents(int firstDay, int numDays, Canvas canvas, Paint p) { in drawAllDayEvents() argument
2520 int lastDay = firstDay + numDays - 1; in drawAllDayEvents()
2532 mSkippedAlldayEvents = new int[numDays]; in drawAllDayEvents()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceControllerTest.java197 int numDays = 20; in refreshUi_endTimeIsGreaterThanOneDay_setsBillingCycleText() local
201 info.cycleEnd = System.currentTimeMillis() + TimeUnit.DAYS.toMillis(numDays) in refreshUi_endTimeIsGreaterThanOneDay_setsBillingCycleText()
211 numDays, numDays)); in refreshUi_endTimeIsGreaterThanOneDay_setsBillingCycleText()
265 int numDays = 15; in refreshUi_hasCarrierName_hasOldUpdate_setsCarrierInfoText() local
268 System.currentTimeMillis() - TimeUnit.DAYS.toMillis(numDays)); in refreshUi_hasCarrierName_hasOldUpdate_setsCarrierInfoText()
275 TEST_CARRIER_NAME, numDays + " days")); in refreshUi_hasCarrierName_hasOldUpdate_setsCarrierInfoText() local
299 int numDays = 15; in refreshUi_noCarrierName_hasOldUpdate_setsCarrierInfoText() local
301 System.currentTimeMillis() - TimeUnit.DAYS.toMillis(numDays)); in refreshUi_noCarrierName_hasOldUpdate_setsCarrierInfoText()
308 null, numDays + " days")); in refreshUi_noCarrierName_hasOldUpdate_setsCarrierInfoText() local
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthByWeekAdapter.java129 public void setEvents(int firstJulianDay, int numDays, ArrayList<Event> events) { in setEvents() argument
139 mQueryDays = numDays; in setEvents()
143 for (int i = 0; i < numDays; i++) { in setEvents()
160 if (startDay < numDays || endDay >= 0) { in setEvents()
164 if (startDay > numDays) { in setEvents()
170 if (endDay > numDays) { in setEvents()
171 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()