/packages/apps/ThemePicker/src/com/android/customization/picker/clock/shared/ |
D | ClockSize.kt | 22 enum class ClockSize { class 27 @ThemesUserEventLogger.ClockSize 28 fun ClockSize.toClockSizeForLogging(): Int { in ClockSize() method 30 ClockSize.DYNAMIC -> StyleEnums.CLOCK_SIZE_DYNAMIC in ClockSize() 31 ClockSize.SMALL -> StyleEnums.CLOCK_SIZE_SMALL in ClockSize()
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/domain/interactor/ |
D | ClockPickerInteractorTest.kt | 5 import com.android.customization.picker.clock.shared.ClockSize 60 underTest.setClockSize(ClockSize.DYNAMIC) in <lambda>() 61 Truth.assertThat(observedClockSize()).isEqualTo(ClockSize.DYNAMIC) in <lambda>() 63 underTest.setClockSize(ClockSize.SMALL) in <lambda>() 64 Truth.assertThat(observedClockSize()).isEqualTo(ClockSize.SMALL) in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/view/ |
D | ClockCarouselView.kt | 32 import com.android.customization.picker.clock.shared.ClockSize in <lambda>() 132 clockSize: ClockSize, in <lambda>() 163 ClockSize.DYNAMIC -> prepareDynamicClockView(motionLayout, endId) in <lambda>() 164 ClockSize.SMALL -> prepareSmallClockView(motionLayout, endId) in <lambda>() 177 ClockSize.DYNAMIC -> onDynamicClockViewTransition(progress) in <lambda>() 178 ClockSize.SMALL -> onSmallClockViewTransition(progress) in <lambda>() 297 ClockSize.DYNAMIC -> onDynamicClockViewTransition(if (isStart) 0f else 1f) in <lambda>() 298 ClockSize.SMALL -> onSmallClockViewTransition(if (isStart) 0f else 1f) in <lambda>() 385 val clockSize: ClockSize, in <lambda>() 419 ClockSize.DYNAMIC -> clockViewFactory.getLargeView(clockId) in <lambda>() [all …]
|
/packages/apps/ThemePicker/tests/common/src/com/android/customization/module/logging/ |
D | TestThemesUserEventLogger.kt | 20 import com.android.customization.module.logging.ThemesUserEventLogger.ClockSize 30 @ClockSize private var clockSize: Int = StyleEnums.CLOCK_SIZE_UNSPECIFIED 51 override fun logClockSizeApplied(@ClockSize clockSize: Int) { in logClockSizeApplied() 63 @ClockSize
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/data/repository/ |
D | ClockPickerRepositoryImpl.kt | 22 import com.android.customization.picker.clock.shared.ClockSize in <lambda>() 144 override val selectedClockSize: SharedFlow<ClockSize> = in <lambda>() 151 .map { isDynamic -> if (isDynamic) ClockSize.DYNAMIC else ClockSize.SMALL } in <lambda>() 159 override suspend fun setClockSize(size: ClockSize) { in <lambda>() 162 value = if (size == ClockSize.DYNAMIC) 1 else 0, in <lambda>()
|
D | ClockPickerRepository.kt | 21 import com.android.customization.picker.clock.shared.ClockSize 34 val selectedClockSize: Flow<ClockSize> 51 suspend fun setClockSize(size: ClockSize)
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/data/repository/ |
D | FakeClockPickerRepository.kt | 22 import com.android.customization.picker.clock.shared.ClockSize in <lambda>() 56 private val _selectedClockSize = MutableStateFlow(ClockSize.SMALL) in <lambda>() 57 override val selectedClockSize: Flow<ClockSize> = _selectedClockSize.asStateFlow() in <lambda>() 73 override suspend fun setClockSize(size: ClockSize) { in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/binder/ |
D | ClockSettingsBinder.kt | 41 import com.android.customization.picker.clock.shared.ClockSize in <lambda>() 95 R.id.radio_dynamic -> viewModel.setClockSize(ClockSize.DYNAMIC) in <lambda>() 96 R.id.radio_small -> viewModel.setClockSize(ClockSize.SMALL) in <lambda>() 207 ClockSize.DYNAMIC -> clockViewFactory.getLargeView(clockId) in <lambda>() 208 ClockSize.SMALL -> clockViewFactory.getSmallView(clockId) in <lambda>() 215 ClockSize.DYNAMIC -> { in <lambda>() 229 ClockSize.SMALL -> { in <lambda>()
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/ui/viewmodel/ |
D | ClockSettingsViewModelTest.kt | 11 import com.android.customization.picker.clock.shared.ClockSize in <lambda>() 191 underTest.setClockSize(ClockSize.DYNAMIC) in <lambda>() 192 assertThat(observedClockSize()).isEqualTo(ClockSize.DYNAMIC) in <lambda>() 195 underTest.setClockSize(ClockSize.SMALL) in <lambda>() 196 assertThat(observedClockSize()).isEqualTo(ClockSize.SMALL) in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/shared/model/ |
D | ClockSnapshotModel.kt | 22 import com.android.customization.picker.clock.shared.ClockSize 27 val clockSize: ClockSize? = null,
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/domain/interactor/ |
D | ClockPickerInteractor.kt | 23 import com.android.customization.picker.clock.shared.ClockSize in <lambda>() 54 val selectedClockSize: Flow<ClockSize> = repository.selectedClockSize in <lambda>() 76 suspend fun setClockSize(size: ClockSize) { in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/module/logging/ |
D | ThemesUserEventLogger.kt | 34 fun logClockSizeApplied(@ClockSize clockSize: Int) in logThemeColorApplied() 59 annotation class ClockSize in logThemeColorApplied() class
|
D | ThemesUserEventLoggerImpl.kt | 53 import com.android.customization.module.logging.ThemesUserEventLogger.ClockSize 201 override fun logClockSizeApplied(@ClockSize clockSize: Int) { in logClockSizeApplied()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/viewmodel/ |
D | ClockCarouselViewModel.kt | 25 import com.android.customization.picker.clock.shared.ClockSize in <lambda>() 75 val selectedClockSize: Flow<ClockSize> = interactor.selectedClockSize in <lambda>()
|
D | ClockSettingsViewModel.kt | 27 import com.android.customization.picker.clock.shared.ClockSize in <lambda>() 263 val selectedClockSize: Flow<ClockSize> = clockPickerInteractor.selectedClockSize in <lambda>() 265 fun setClockSize(size: ClockSize) { in <lambda>()
|