Home
last modified time | relevance | path

Searched refs:entriesViewModel (Results 1 – 3 of 3) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/
DAppEntriesFragment.kt66 private val entriesViewModel: EntriesViewModel by viewModels() in <lambda>() constant in com.android.healthconnect.controller.data.entries.AppEntriesFragment
173 entriesViewModel.loadEntries( in <lambda>()
179 entriesViewModel.loadAppInfo(packageName) in <lambda>()
181 entriesViewModel.appInfo.observe(viewLifecycleOwner) { appMetadata -> in <lambda>()
194 if (entriesViewModel.currentSelectedDate.value != null && in <lambda>()
195 entriesViewModel.period.value != null) { in <lambda>()
196 val date = entriesViewModel.currentSelectedDate.value!! in <lambda>()
197 val selectedPeriod = entriesViewModel.period.value!! in <lambda>()
200 entriesViewModel.loadEntries(permissionType, packageName, date, selectedPeriod) in <lambda>()
202 entriesViewModel.loadEntries( in <lambda>()
[all …]
DAllEntriesFragment.kt59 private val entriesViewModel: EntriesViewModel by viewModels() in <lambda>() constant in com.android.healthconnect.controller.data.entries.AllEntriesFragment
155 entriesViewModel.loadEntries(permissionType, displayedStartDate, period) in <lambda>()
166 if (entriesViewModel.currentSelectedDate.value != null && in <lambda>()
167 entriesViewModel.period.value != null) { in <lambda>()
168 val date = entriesViewModel.currentSelectedDate.value!! in <lambda>()
169 val selectedPeriod = entriesViewModel.period.value!! in <lambda>()
172 entriesViewModel.loadEntries(permissionType, date, selectedPeriod) in <lambda>()
174 entriesViewModel.loadEntries( in <lambda>()
183 entriesViewModel.entries.observe(viewLifecycleOwner) { state -> in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DDataEntriesFragment.kt79 private val entriesViewModel: DataEntriesFragmentViewModel by viewModels() in <lambda>() constant in com.android.healthconnect.controller.dataentries.DataEntriesFragment
199 entriesViewModel.loadData(permissionType, selectedDate) in <lambda>()
209 if (entriesViewModel.currentSelectedDate.value != null) { in <lambda>()
210 val date = entriesViewModel.currentSelectedDate.value!! in <lambda>()
213 entriesViewModel.loadData(permissionType, date) in <lambda>()
215 entriesViewModel.loadData(permissionType, dateNavigationView.getDate()) in <lambda>()
228 entriesViewModel.loadData(permissionType, dateNavigationView.getDate()) in <lambda>()
238 entriesViewModel.dataEntries.observe(viewLifecycleOwner) { state -> in <lambda>()