Searched refs:ClockSizeSetting (Results 1 – 11 of 11) sorted by relevance
44 enum class ClockSizeSetting( class51 private val TAG = ClockSizeSetting::class.simpleName!!52 fun fromSettingValue(value: Int): ClockSizeSetting { in fromSettingValue()53 for (enumVal in enumValues<ClockSizeSetting>()) { in fromSettingValue()
20 import com.android.systemui.keyguard.shared.model.ClockSizeSetting36 interactor.selectedClockSize.map { it == ClockSizeSetting.DYNAMIC } in <lambda>()39 interactor.selectedClockSize.map { it == ClockSizeSetting.SMALL } in <lambda>()43 val selectedClockSize: StateFlow<ClockSizeSetting?> = interactor.selectedClockSize
21 import com.android.systemui.keyguard.shared.model.ClockSizeSetting in <lambda>()38 val selectedClockSize: StateFlow<ClockSizeSetting> = interactor.selectedClockSize in <lambda>()51 ClockSizeSetting.DYNAMIC -> currentClockId == "DIGITAL_CLOCK_WEATHER" in <lambda>()52 ClockSizeSetting.SMALL -> false in <lambda>()
30 import com.android.systemui.keyguard.shared.model.ClockSizeSetting in <lambda>()66 if (selectedSize == ClockSizeSetting.SMALL) ClockSize.SMALL else clockSize in <lambda>()
26 import com.android.systemui.keyguard.shared.model.ClockSizeSetting46 ClockSizeSetting.DYNAMIC -> in bind()51 ClockSizeSetting.SMALL -> in bind()
39 import com.android.systemui.keyguard.shared.model.ClockSizeSetting in <lambda>()202 ClockSizeSetting.DYNAMIC -> VISIBLE in <lambda>()203 ClockSizeSetting.SMALL -> INVISIBLE in <lambda>()208 ClockSizeSetting.DYNAMIC -> INVISIBLE in <lambda>()209 ClockSizeSetting.SMALL -> VISIBLE in <lambda>()
29 import com.android.systemui.keyguard.shared.model.ClockSizeSetting62 val selectedClockSize: StateFlow<ClockSizeSetting>100 override val selectedClockSize: StateFlow<ClockSizeSetting> = in setClockSize()158 private fun getClockSize(): ClockSizeSetting { in setClockSize()159 return ClockSizeSetting.fromSettingValue( in setClockSize()
21 import com.android.systemui.keyguard.shared.model.ClockSizeSetting37 private val _selectedClockSize = MutableStateFlow(ClockSizeSetting.DYNAMIC)59 fun setSelectedClockSize(size: ClockSizeSetting) { in setSelectedClockSize()
27 import com.android.systemui.keyguard.shared.model.ClockSizeSetting81 Truth.assertThat(value()).isEqualTo(ClockSizeSetting.SMALL) in testSelectedClockSize_small()89 Truth.assertThat(value()).isEqualTo(ClockSizeSetting.DYNAMIC) in testSelectedClockSize_dynamic()
27 import com.android.systemui.keyguard.shared.model.ClockSizeSetting in <lambda>()65 val selectedClockSize: StateFlow<ClockSizeSetting> = keyguardClockRepository.selectedClockSize in <lambda>()
32 import com.android.systemui.keyguard.shared.model.ClockSizeSetting192 fakeKeyguardClockRepository.setSelectedClockSize(ClockSizeSetting.SMALL) in testClockSize_alwaysSmallClockSize()205 fakeKeyguardClockRepository.setSelectedClockSize(ClockSizeSetting.DYNAMIC) in testClockSize_dynamicClockSize()