Home
last modified time | relevance | path

Searched refs:viewModel (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DSeekBarViewModelTest.kt55 private lateinit var viewModel: SeekBarViewModel variable in com.android.systemui.media.SeekBarViewModelTest
76 viewModel = SeekBarViewModel(FakeRepeatableExecutor(fakeExecutor)) in setUp()
92 viewModel.updateController(mockController) in updateRegistersCallback()
98 viewModel.updateController(mockController) in updateSecondTimeDoesNotRepeatRegistration()
99 viewModel.updateController(mockController) in updateSecondTimeDoesNotRepeatRegistration()
105 viewModel.updateController(mockController) in updateDifferentControllerUnregistersCallback()
106 viewModel.updateController(mock(MediaController::class.java)) in updateDifferentControllerUnregistersCallback()
112 viewModel.updateController(mockController) in updateDifferentControllerRegistersCallback()
115 viewModel.updateController(controller2) in updateDifferentControllerRegistersCallback()
121 viewModel.updateController(mockController) in updateToNullUnregistersCallback()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DSeekBarViewModel.kt258 val viewModel: SeekBarViewModel constant in com.android.systemui.media.SeekBarViewModel.SeekBarChangeListener
262 viewModel.onSeekProgress(progress.toLong()) in onProgressChanged()
267 viewModel.onSeekStarting() in onStartTrackingTouch()
271 viewModel.onSeek(bar.progress.toLong()) in onStopTrackingTouch()
282 private val viewModel: SeekBarViewModel, constant in com.android.systemui.media.SeekBarViewModel.SeekBarTouchListener
396 viewModel.onSeekFalse() in onFling()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/
DPeopleHubViewController.kt85 val viewModel = data.createWithAssociatedClickView( in bindView() constant
88 viewBoundary.setVisible(viewModel.isVisible) in bindView()
89 val padded = viewModel.people + repeated(null) in bindView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/people/
DPeopleHubViewControllerTest.kt115 val viewModel = (fakeListener.lastSeen as Maybe.Just).value in testViewModelDataSourceTransformsModel() constant
117 assertThat(viewModel.isVisible).isTrue() in testViewModelDataSourceTransformsModel()
118 val people = viewModel.people.toList() in testViewModelDataSourceTransformsModel()