Home
last modified time | relevance | path

Searched refs:dateNavigationView (Results 1 – 5 of 5) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/datenavigation/
DDateNavigationViewTest.kt46 private lateinit var dateNavigationView: DateNavigationView variable in com.android.healthconnect.controller.tests.data.entries.datenavigation.DateNavigationViewTest
62 dateNavigationView = in setup()
64 datePickerSpinner = dateNavigationView.findViewById(R.id.date_picker_spinner) as Spinner in setup()
65 previousDayButton = dateNavigationView.findViewById(R.id.navigation_previous_day) in setup()
66 nextDayButton = dateNavigationView.findViewById(R.id.navigation_next_day) in setup()
78 dateNavigationView.setDate(NOW.minus(Duration.ofDays(1))) in setPeriodToDay_yesterday_showsYesterday()
85 dateNavigationView.setDate(NOW.minus(Duration.ofDays(2))) in setPeriodToDay_twoDaysAgo_showsDate()
92 dateNavigationView.setDate(NOW.minus(Duration.ofDays(365))) in setPeriodToDay_thisTimeLastYear_showsYear()
99 dateNavigationView.setDate(NOW.minus(Duration.ofDays(367))) in setPeriodToDay_lastYear_showsYear()
106 dateNavigationView.setDate(NOW.minus(Duration.ofDays(3))) in setPeriodToWeek_navigateToMonday_showsThisWeek()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/
DDateNavigationViewTest.kt43 private lateinit var dateNavigationView: DateNavigationView variable in com.android.healthconnect.controller.tests.dataentries.DateNavigationViewTest
59 dateNavigationView = in setup()
61 selectedDateView = dateNavigationView.findViewById(R.id.selected_date) in setup()
62 previousDayButton = dateNavigationView.findViewById(R.id.navigation_previous_day) in setup()
63 nextDayButton = dateNavigationView.findViewById(R.id.navigation_next_day) in setup()
86 dateNavigationView.setDate(NOW.minus(Duration.ofDays(1))) in setDate_changesSelectedDateView()
93 dateNavigationView.setDate(NOW.minus(Duration.ofDays(1))) in setDate_withValidFutureDates_nextButtonIsEnabled()
100 dateNavigationView.setDate(NOW.plus(Duration.ofDays(1))) in setDate_plannedExerciseEntriesAvailable_nextButtonIsEnabled()
101 dateNavigationView.setMaxDate(null) in setDate_plannedExerciseEntriesAvailable_nextButtonIsEnabled()
108 dateNavigationView.setDateChangedListener(dateChangedListener) in onDateChanged_listenerIsCalled()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/
DAllEntriesFragment.kt62 private lateinit var dateNavigationView: DateNavigationView in <lambda>() variable in com.android.healthconnect.controller.data.entries.AllEntriesFragment
122 dateNavigationView = view.findViewById(R.id.date_navigation_view) in <lambda>()
149 dateNavigationView.setDateChangedListener( in <lambda>()
170 dateNavigationView.setDate(date) in <lambda>()
171 dateNavigationView.setPeriod(selectedPeriod) in <lambda>()
175 permissionType, dateNavigationView.getDate(), dateNavigationView.getPeriod()) in <lambda>()
DAppEntriesFragment.kt69 private lateinit var dateNavigationView: DateNavigationView in <lambda>() variable in com.android.healthconnect.controller.data.entries.AppEntriesFragment
135 dateNavigationView = view.findViewById(R.id.date_navigation_view) in <lambda>()
167 dateNavigationView.setDateChangedListener( in <lambda>()
198 dateNavigationView.setDate(date) in <lambda>()
199 dateNavigationView.setPeriod(selectedPeriod) in <lambda>()
205 dateNavigationView.getDate(), in <lambda>()
206 dateNavigationView.getPeriod()) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DDataEntriesFragment.kt82 private lateinit var dateNavigationView: DateNavigationView in <lambda>() variable in com.android.healthconnect.controller.dataentries.DataEntriesFragment
165 dateNavigationView = view.findViewById(R.id.date_navigation_view) in <lambda>()
196 dateNavigationView.setDateChangedListener( in <lambda>()
211 dateNavigationView.setDate(date) in <lambda>()
215 entriesViewModel.loadData(permissionType, dateNavigationView.getDate()) in <lambda>()
228 entriesViewModel.loadData(permissionType, dateNavigationView.getDate()) in <lambda>()
275 dateNavigationView.setMaxDate(null) in <lambda>()
279 dateNavigationView.setMaxDate(timeSource.currentTimeMillis().toInstant()) in <lambda>()