/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/datenavigation/ |
D | DateNavigationViewTest.kt | 25 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/ |
D | DateNavigationPeriod.kt | 21 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()
|
D | DatePickerSpinnerAdapter.kt | 9 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()
|
D | DateNavigationView.kt | 28 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/ |
D | LoadEntriesHelperUseCaseTest.kt | 41 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 …]
|
D | LoadDataAggregationsUseCaseTest.kt | 16 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>()
|
D | LoadDataEntriesUseCaseTest.kt | 16 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/ |
D | EntriesViewModel.kt | 29 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()
|
D | AllEntriesFragment.kt | 35 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod in <lambda>() 153 period: DateNavigationPeriod in <lambda>()
|
D | AppEntriesFragment.kt | 38 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/ |
D | LoadMenstruationDataUseCase.kt | 24 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,
|
D | LoadEntriesHelper.kt | 31 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>()
|
D | LoadDataEntriesUseCase.kt | 19 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod 50 val period: DateNavigationPeriod,
|
D | LoadDataAggregationsUseCase.kt | 35 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/ |
D | EntriesViewModelTest.kt | 20 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>()
|
D | AppEntriesFragmentTest.kt | 37 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod 76 .thenReturn(MutableLiveData(DateNavigationPeriod.PERIOD_DAY)) in setup()
|
D | AllEntriesFragmentTest.kt | 40 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/ |
D | LoadPriorityEntriesUseCase.kt | 6 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod in <lambda>() 54 period = DateNavigationPeriod.PERIOD_DAY, in <lambda>()
|
D | LoadLastDateWithPriorityDataUseCase.kt | 20 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod in <lambda>() 128 period = DateNavigationPeriod.PERIOD_MONTH, in <lambda>()
|
D | LoadMostRecentAggregationsUseCase.kt | 19 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/ |
D | LoadPriorityEntriesUseCaseTest.kt | 13 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod in <lambda>() 339 DateNavigationPeriod.PERIOD_DAY, in <lambda>()
|
D | LoadLastDateWithPriorityDataUseCaseTest.kt | 13 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod in <lambda>() 484 DateNavigationPeriod.PERIOD_MONTH, in <lambda>()
|