Home
last modified time | relevance | path

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

/packages/apps/Calendar/src/com/android/calendar/
DEventLoader.kt57 var numDays: Int, variable in com.android.calendar.LoadEventDaysRequest
71 val cursor: Cursor = EventDays.query(cr, startDay, numDays, PROJECTION) in processRequest()
116 var numDays: Int, variable in LoadEventsRequest
127 numDays, id, eventLoader?.mSequenceNumber) in processRequest()
224 numDays: Int, in loadEventsInBackground()
237 val request = LoadEventsRequest(id, startDay, numDays, in loadEventsInBackground()
261 numDays: Int, in loadEventDaysInBackground()
266 val request = LoadEventDaysRequest(startDay, numDays, in loadEventDaysInBackground()
DUtils.kt1053 numDays: Int in addAllDayToStrands()
1058 strand?.allDays = IntArray(numDays) in addAllDayToStrands()
1062 val end: Int = Math.min((event?.endDay ?: 0) - firstJulianDay, numDays - 1) in addAllDayToStrands()
DDayView.kt86 numDays: Int
2106 private fun drawAllDayEvents(firstDay: Int, numDays: Int, canvas: Canvas, p: Paint) { in drawAllDayEvents()
2135 val lastDay = firstDay + numDays - 1 in drawAllDayEvents()
2147 mSkippedAlldayEvents = IntArray(numDays) in drawAllDayEvents()
3883 mNumDays = numDays
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthByWeekAdapter.kt97 fun setEvents(firstJulianDay: Int, numDays: Int, events: ArrayList<Event>?) { in setEvents()
109 mQueryDays = numDays in setEvents()
113 for (i in 0 until numDays) { in setEvents()
129 if (startDay < numDays || endDay >= 0) { in setEvents()
133 if (startDay > numDays) { in setEvents()
139 if (endDay > numDays) { in setEvents()
140 endDay = numDays in setEvents()
DMonthWeekEventsView.kt212 val numDays: Int = mEvents!!.size in createDna() constant
217 DNA_ALL_DAY_WIDTH = effectiveWidth / numDays - 2 * DNA_SIDE_PADDING in createDna()
219 mDayXs = IntArray(numDays) in createDna()
220 for (day in 0 until numDays) { in createDna()
890 val numDays = mDayXs!!.size in drawDNA() constant
892 if (strand != null && strand.allDays != null && strand.allDays?.size === numDays) { in drawDNA()
893 for (i in 0 until numDays) { in drawDNA()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceControllerTest.java217 int numDays = 15; in refreshUi_hasCarrierName_hasOldUpdate_setsCarrierInfoText() local
220 System.currentTimeMillis() - TimeUnit.DAYS.toMillis(numDays)); in refreshUi_hasCarrierName_hasOldUpdate_setsCarrierInfoText()
227 TEST_CARRIER_NAME, numDays + " days")); in refreshUi_hasCarrierName_hasOldUpdate_setsCarrierInfoText() local
251 int numDays = 15; in refreshUi_noCarrierName_hasOldUpdate_setsCarrierInfoText() local
253 System.currentTimeMillis() - TimeUnit.DAYS.toMillis(numDays)); in refreshUi_noCarrierName_hasOldUpdate_setsCarrierInfoText()
260 null, numDays + " days")); in refreshUi_noCarrierName_hasOldUpdate_setsCarrierInfoText() local
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DHeartRateRecordTest.java1073 private void insertHeartRateRecordsInPastDays(int numDays) throws InterruptedException { in insertHeartRateRecordsInPastDays() argument
1074 for (int i = numDays; i > 0; i--) { in insertHeartRateRecordsInPastDays()
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogPerfHandler.java1615 int numDays = toNumDays(maxStatsPeriod); in getIoOveruseStatsLocked() local
1617 if (numDays > 0) { in getIoOveruseStatsLocked()
1619 usage.userId, usage.genericPackageName, numDays - 1); in getIoOveruseStatsLocked()