Home
last modified time | relevance | path

Searched refs:SeekBarViewModel (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/binder/
DSeekBarObserverTest.kt30 import com.android.systemui.media.controls.ui.viewmodel.SeekBarViewModel
91 val data = SeekBarViewModel.Progress(isEnabled, false, false, false, null, 0, false) in seekBarGone()
104 val data = SeekBarViewModel.Progress(isEnabled, true, false, false, 3000, 12000, true) in seekBarVisible()
114 val data = SeekBarViewModel.Progress(true, true, true, false, 3000, 120000, true) in seekBarProgress()
129 SeekBarViewModel.Progress(true, isSeekAvailable, false, false, 3000, 120000, false) in seekBarDisabledWhenSeekNotAvailable()
140 SeekBarViewModel.Progress(true, isSeekAvailable, false, false, 3000, 120000, false) in seekBarEnabledWhenSeekNotAvailable()
151 val data = SeekBarViewModel.Progress(true, true, isPlaying, isScrubbing, 3000, 120000, true) in seekBarPlayingNotScrubbing()
162 val data = SeekBarViewModel.Progress(true, true, isPlaying, isScrubbing, 3000, 120000, true) in seekBarNotPlayingNotScrubbing()
174 SeekBarViewModel.Progress(true, true, isPlaying, isScrubbing, 3000, 120000, false) in seekbarNotListeningNotScrubbingPlaying()
185 val data = SeekBarViewModel.Progress(true, true, isPlaying, isScrubbing, 3000, 120000, true) in seekBarPlayingScrubbing()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/
DSeekBarObserver.kt29 import com.android.systemui.media.controls.ui.viewmodel.SeekBarViewModel
40 Observer<SeekBarViewModel.Progress> {
98 override fun onChanged(data: SeekBarViewModel.Progress) { in onChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaPlayerViewModel.kt44 val onBindSeekbar: (SeekBarViewModel) -> Unit,
DSeekBarViewModel.kt81 class SeekBarViewModel class
399 val viewModel: SeekBarViewModel,
427 private val viewModel: SeekBarViewModel,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaViewControllerTest.kt45 import com.android.systemui.media.controls.ui.viewmodel.SeekBarViewModel in <lambda>()
117 @Mock private lateinit var seekBarViewModel: SeekBarViewModel in <lambda>()
118 @Mock private lateinit var seekBarData: LiveData<SeekBarViewModel.Progress> in <lambda>()
634 private fun getScrubbingChangeListener(): SeekBarViewModel.ScrubbingChangeListener = in <lambda>()
639 private fun getEnabledChangeListener(): SeekBarViewModel.EnabledChangeListener = withArgCaptor { in <lambda>()
DMediaControlPanelTest.kt84 import com.android.systemui.media.controls.ui.viewmodel.SeekBarViewModel in <lambda>()
155 @Mock private lateinit var seekBarViewModel: SeekBarViewModel in <lambda>()
156 @Mock private lateinit var seekBarData: LiveData<SeekBarViewModel.Progress> in <lambda>()
2570 private fun getScrubbingChangeListener(): SeekBarViewModel.ScrubbingChangeListener { in <lambda>()
2571 val captor = argumentCaptor<SeekBarViewModel.ScrubbingChangeListener>() in <lambda>()
2576 private fun getEnabledChangeListener(): SeekBarViewModel.EnabledChangeListener { in <lambda>()
2577 val captor = argumentCaptor<SeekBarViewModel.EnabledChangeListener>() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/viewmodel/
DSeekBarViewModelTest.kt60 private lateinit var viewModel: SeekBarViewModel
86 viewModel = SeekBarViewModel(FakeRepeatableExecutor(fakeExecutor), falsingManager) in setUp()
345 object : SeekBarViewModel.ScrubbingChangeListener { in seekStarted_listenerNotified()
362 object : SeekBarViewModel.ScrubbingChangeListener { in seekEnded_listenerNotified()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaViewController.kt48 import com.android.systemui.media.controls.ui.viewmodel.SeekBarViewModel in <lambda>()
83 private val seekBarViewModel: SeekBarViewModel, in <lambda>()
204 object : SeekBarViewModel.ScrubbingChangeListener { in <lambda>()
214 object : SeekBarViewModel.EnabledChangeListener { in <lambda>()
799 fun bindSeekBar(onSeek: () -> Unit, onBindSeekBar: (SeekBarViewModel) -> Unit) { in <lambda>()
DMediaControlPanel.java108 import com.android.systemui.media.controls.ui.viewmodel.SeekBarViewModel;
206 private final SeekBarViewModel mSeekBarViewModel;
252 private final SeekBarViewModel.ScrubbingChangeListener mScrubbingChangeListener =
254 private final SeekBarViewModel.EnabledChangeListener mEnabledChangeListener =
307 SeekBarViewModel seekBarViewModel, in MediaControlPanel()
/frameworks/base/packages/SystemUI/docs/
Dmedia-controls.md41 * SeekBarViewModel.kt