Searched refs:viewModel (Results 1 – 4 of 4) sorted by relevance
55 private lateinit var viewModel: SeekBarViewModel variable in com.android.systemui.media.SeekBarViewModelTest76 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 …]
258 val viewModel: SeekBarViewModel constant in com.android.systemui.media.SeekBarViewModel.SeekBarChangeListener262 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.SeekBarTouchListener396 viewModel.onSeekFalse() in onFling()
85 val viewModel = data.createWithAssociatedClickView( in bindView() constant88 viewBoundary.setVisible(viewModel.isVisible) in bindView()89 val padded = viewModel.people + repeated(null) in bindView()
115 val viewModel = (fakeListener.lastSeen as Maybe.Just).value in testViewModelDataSourceTransformsModel() constant117 assertThat(viewModel.isVisible).isTrue() in testViewModelDataSourceTransformsModel()118 val people = viewModel.people.toList() in testViewModelDataSourceTransformsModel()