Home
last modified time | relevance | path

Searched refs:DateNavigationPeriod (Results 1 – 22 of 22) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/datenavigation/
DDateNavigationViewTest.kt25 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod
107 dateNavigationView.setPeriod(DateNavigationPeriod.PERIOD_WEEK) in setPeriodToWeek_navigateToMonday_showsThisWeek()
115 dateNavigationView.setPeriod(DateNavigationPeriod.PERIOD_WEEK) in setPeriodToWeek_navigateToSunday_showsLastWeek()
123 dateNavigationView.setPeriod(DateNavigationPeriod.PERIOD_WEEK) in setPeriodToWeek_twoWeeksAgo_showsTwoWeeksAgo()
131 dateNavigationView.setPeriod(DateNavigationPeriod.PERIOD_WEEK) in setPeriodToWeek_thisTimeLastYear_showsYear()
139 dateNavigationView.setPeriod(DateNavigationPeriod.PERIOD_WEEK) in setPeriodToWeek_lastYear_showsYear()
147 dateNavigationView.setPeriod(DateNavigationPeriod.PERIOD_WEEK) in setPeriodToWeek_spansAcrossMonths_showsBothMonths()
154 dateNavigationView.setPeriod(DateNavigationPeriod.PERIOD_MONTH) in setPeriodToMonth_thisMonth_showsThisMonth()
162 dateNavigationView.setPeriod(DateNavigationPeriod.PERIOD_MONTH) in setPeriodToMonth_navigateToFirstDayOfMonth_showsThisMonth()
170 dateNavigationView.setPeriod(DateNavigationPeriod.PERIOD_MONTH) in setPeriodToMonth_navigateToLastDayOfPreviousMonth_showsLastMonth()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/datenavigation/
DDateNavigationPeriod.kt21 enum class DateNavigationPeriod { class
28 fun toPeriod(dateNavigationPeriod: DateNavigationPeriod): Period { in toPeriod()
30 DateNavigationPeriod.PERIOD_DAY -> Period.ofDays(1) in toPeriod()
31 DateNavigationPeriod.PERIOD_WEEK -> Period.ofDays(7) in toPeriod()
32 DateNavigationPeriod.PERIOD_MONTH -> Period.ofMonths(1) in toPeriod()
DDatePickerSpinnerAdapter.kt9 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod.PERIOD…
10 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod.PERIOD…
11 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod.PERIOD…
26 var period: DateNavigationPeriod,
38 fun setStartTimeAndPeriod(displayedStartTime: Instant, period: DateNavigationPeriod) { in setStartTimeAndPeriod()
63 period: DateNavigationPeriod in formatDateTimeForTimePeriod()
103 period: DateNavigationPeriod in maybeReplaceWithTemporalDeixis()
129 private fun temporalDeixisForCurrentPeriod(period: DateNavigationPeriod): String { in temporalDeixisForCurrentPeriod()
138 private fun temporalDeixisForLastPeriod(period: DateNavigationPeriod): String { in temporalDeixisForLastPeriod()
150 period: DateNavigationPeriod in areInSamePeriod()
DDateNavigationView.kt28 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod.PERIOD…
29 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod.PERIOD…
30 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod.PERIOD…
61 private var period: DateNavigationPeriod = PERIOD_DAY
86 fun setPeriod(period: DateNavigationPeriod) { in setPeriod()
95 fun getPeriod(): DateNavigationPeriod { in getPeriod()
139 val period: DateNavigationPeriod = in bindDateTextView()
228 fun onDateChanged(displayedStartDate: Instant, period: DateNavigationPeriod)
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/api/
DLoadEntriesHelperUseCaseTest.kt41 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod in <lambda>()
160 setupReadRecordTest(DateNavigationPeriod.PERIOD_DAY, HealthPermissionType.SLEEP) in <lambda>()
175 setupReadRecordTest(DateNavigationPeriod.PERIOD_WEEK, HealthPermissionType.SLEEP) in <lambda>()
195 setupReadRecordTest(DateNavigationPeriod.PERIOD_MONTH, HealthPermissionType.SLEEP) in <lambda>()
217 DateNavigationPeriod.PERIOD_WEEK, HealthPermissionType.HYDRATION) in <lambda>()
232 DateNavigationPeriod.PERIOD_DAY, HealthPermissionType.OXYGEN_SATURATION) in <lambda>()
246 DateNavigationPeriod.PERIOD_MONTH, HealthPermissionType.FLOORS_CLIMBED) in <lambda>()
259 DateNavigationPeriod.PERIOD_WEEK, HealthPermissionType.BODY_WATER_MASS) in <lambda>()
279 DateNavigationPeriod.PERIOD_MONTH, HealthPermissionType.BODY_TEMPERATURE) in <lambda>()
298 setupReadRecordTest(DateNavigationPeriod.PERIOD_MONTH, HealthPermissionType.DISTANCE) in <lambda>()
[all …]
DLoadDataAggregationsUseCaseTest.kt16 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod in <lambda>()
94 DateNavigationPeriod.PERIOD_DAY, in <lambda>()
117 DateNavigationPeriod.PERIOD_DAY, in <lambda>()
139 DateNavigationPeriod.PERIOD_DAY, in <lambda>()
DLoadDataEntriesUseCaseTest.kt16 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod in <lambda>()
76 period = DateNavigationPeriod.PERIOD_DAY, in <lambda>()
121 period = DateNavigationPeriod.PERIOD_DAY, in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/
DEntriesViewModel.kt29 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod
63 val period = MutableLiveData<DateNavigationPeriod>()
72 period: DateNavigationPeriod in loadEntries()
81 period: DateNavigationPeriod in loadEntries()
90 period: DateNavigationPeriod, in loadData()
133 period: DateNavigationPeriod, in loadAppEntries()
144 period: DateNavigationPeriod, in loadMenstruation()
155 period: DateNavigationPeriod, in loadAggregation()
172 period: DateNavigationPeriod, in addAggregation()
DAllEntriesFragment.kt35 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod in <lambda>()
153 period: DateNavigationPeriod in <lambda>()
DAppEntriesFragment.kt38 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod in <lambda>()
171 period: DateNavigationPeriod in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/api/
DLoadMenstruationDataUseCase.kt24 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod in <lambda>()
64 period: DateNavigationPeriod, in <lambda>()
100 period: DateNavigationPeriod, in <lambda>()
116 val period: DateNavigationPeriod,
DLoadEntriesHelper.kt31 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod in <lambda>()
122 period: DateNavigationPeriod, in <lambda>()
128 if (period == DateNavigationPeriod.PERIOD_DAY) { in <lambda>()
205 period: DateNavigationPeriod, in <lambda>()
DLoadDataEntriesUseCase.kt19 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod
50 val period: DateNavigationPeriod,
DLoadDataAggregationsUseCase.kt35 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod in <lambda>()
215 val period: DateNavigationPeriod,
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/
DEntriesViewModelTest.kt20 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod
124 DateNavigationPeriod.PERIOD_WEEK) in <lambda>()
143 DateNavigationPeriod.PERIOD_WEEK) in <lambda>()
161 DateNavigationPeriod.PERIOD_WEEK) in <lambda>()
DAppEntriesFragmentTest.kt37 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod
76 .thenReturn(MutableLiveData(DateNavigationPeriod.PERIOD_DAY)) in setup()
DAllEntriesFragmentTest.kt40 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod in <lambda>()
79 .thenReturn(MutableLiveData(DateNavigationPeriod.PERIOD_DAY)) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/api/
DLoadPriorityEntriesUseCase.kt6 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod in <lambda>()
54 period = DateNavigationPeriod.PERIOD_DAY, in <lambda>()
DLoadLastDateWithPriorityDataUseCase.kt20 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod in <lambda>()
128 period = DateNavigationPeriod.PERIOD_MONTH, in <lambda>()
DLoadMostRecentAggregationsUseCase.kt19 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod in <lambda>()
120 period = DateNavigationPeriod.PERIOD_DAY, in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/
DLoadPriorityEntriesUseCaseTest.kt13 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod in <lambda>()
339 DateNavigationPeriod.PERIOD_DAY, in <lambda>()
DLoadLastDateWithPriorityDataUseCaseTest.kt13 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod in <lambda>()
484 DateNavigationPeriod.PERIOD_MONTH, in <lambda>()