/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/panels/domain/interactor/ |
D | IconLabelVisibilityInteractorTest.kt | 51 val showLabels by collectLastValue(underTest.showLabels) in changingShowLabels_receivesCorrectShowLabels() constant 55 assertThat(showLabels).isFalse() in changingShowLabels_receivesCorrectShowLabels() 59 assertThat(showLabels).isTrue() in changingShowLabels_receivesCorrectShowLabels() 67 val showLabels by collectLastValue(underTest.showLabels) in changingUser_receivesCorrectShowLabels() constant 72 assertThat(showLabels).isFalse() in changingUser_receivesCorrectShowLabels() 77 assertThat(showLabels).isTrue() in changingUser_receivesCorrectShowLabels() 81 assertThat(showLabels).isFalse() in changingUser_receivesCorrectShowLabels()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/ui/viewmodel/ |
D | IconLabelVisibilityViewModel.kt | 25 val showLabels: StateFlow<Boolean> constant 27 fun setShowLabels(showLabels: Boolean) in setShowLabels() 36 override val showLabels: StateFlow<Boolean> = interactor.showLabels in setShowLabels() constant in com.android.systemui.qs.panels.ui.viewmodel.IconLabelVisibilityViewModelImpl 38 override fun setShowLabels(showLabels: Boolean) { in setShowLabels() 39 interactor.setShowLabels(showLabels) in setShowLabels()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/ui/compose/ |
D | PartitionedGridLayout.kt | 75 val showLabels by viewModel.showLabels.collectAsStateWithLifecycle() in <lambda>() constant 77 val iconTileHeight = tileHeight(showLabels) in <lambda>() 96 showLabels = showLabels, in <lambda>() 111 val showLabels by viewModel.showLabels.collectAsStateWithLifecycle() in <lambda>() constant 118 val iconTileHeight = tileHeight(showLabels) in <lambda>() 146 Switch(checked = showLabels, onCheckedChange = { viewModel.setShowLabels(it) }) in <lambda>() 157 showLabels = showLabels, in <lambda>() 166 showLabels = showLabels, in <lambda>() 180 showLabels: Boolean, in <lambda>() 212 showLabels = showLabels, in <lambda>() [all …]
|
D | Tile.kt | 103 showLabels: Boolean = false, in Tile() 114 showLabels = showLabels, in Tile() 140 showLabels: Boolean, in TileContainer() 182 if (showLabels && iconOnly) { in <lambda>() 317 showLabels: Boolean = false, in LazyGridScope() 347 val tileHeight = tileHeight(iconOnly && showLabels) in LazyGridScope() 351 showLabels = showLabels, in LazyGridScope() 367 showLabels: Boolean, in EditTile() 377 showLabels = showLabels, in EditTile()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/domain/interactor/ |
D | IconLabelVisibilityInteractor.kt | 39 val showLabels: StateFlow<Boolean> = constant 40 preferencesInteractor.showLabels 44 fun setShowLabels(showLabels: Boolean) { in setShowLabels() 45 preferencesInteractor.setShowLabels(showLabels) in setShowLabels() 48 private fun logChange(showLabels: Boolean) { in logChange() 52 { bool1 = showLabels }, in logChange()
|
D | QSPreferencesInteractor.kt | 26 val showLabels: Flow<Boolean> = repo.showLabels constant in com.android.systemui.qs.panels.domain.interactor.QSPreferencesInteractor 28 fun setShowLabels(showLabels: Boolean) { in setShowLabels() 29 repo.setShowLabels(showLabels) in setShowLabels()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/data/repository/ |
D | QSPreferencesRepository.kt | 46 val showLabels: Flow<Boolean> = in <lambda>() constant in com.android.systemui.qs.panels.data.repository.QSPreferencesRepository 55 fun setShowLabels(showLabels: Boolean) { in <lambda>() 57 edit().putBoolean(ICON_LABELS_KEY, showLabels).apply() in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/panels/data/ |
D | QSPreferencesRepositoryTest.kt | 48 val latest by collectLastValue(underTest.showLabels) in showLabels_updatesFromSharedPreferences() 64 val latest by collectLastValue(underTest.showLabels) in showLabels_updatesFromUserChange()
|