Home
last modified time | relevance | path

Searched refs:showLabels (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/panels/domain/interactor/
DIconLabelVisibilityInteractorTest.kt51 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/
DIconLabelVisibilityViewModel.kt25 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/
DPartitionedGridLayout.kt75 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 …]
DTile.kt103 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/
DIconLabelVisibilityInteractor.kt39 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()
DQSPreferencesInteractor.kt26 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/
DQSPreferencesRepository.kt46 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/
DQSPreferencesRepositoryTest.kt48 val latest by collectLastValue(underTest.showLabels) in showLabels_updatesFromSharedPreferences()
64 val latest by collectLastValue(underTest.showLabels) in showLabels_updatesFromUserChange()