Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DSeekBarViewModel.kt90 seekAvailable = false,
237 val seekAvailable = ((playbackState?.actions ?: 0L) and PlaybackState.ACTION_SEEK_TO) != 0L in updateController() constant
252 _data = Progress(enabled, seekAvailable, playing, scrubbing, position, duration, listening) in updateController()
266 seekAvailable = false, in updateStaticProgress()
561 val seekAvailable: Boolean, constant in com.android.systemui.media.controls.ui.viewmodel.SeekBarViewModel.Progress
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/
DSeekBarObserver.kt118 holder.seekBar.thumb.alpha = if (data.seekAvailable) 255 else 0 in onChanged()
119 holder.seekBar.isEnabled = data.seekAvailable in onChanged()
122 progressDrawable?.transitionEnabled = !data.seekAvailable in onChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/viewmodel/
DSeekBarViewModelTest.kt272 assertThat(viewModel.progress.value!!.seekAvailable).isTrue() in updateSeekAvailable()
288 assertThat(viewModel.progress.value!!.seekAvailable).isFalse() in updateSeekNotAvailable()