/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/view/ |
D | ClockViewFactoryImpl.kt | 53 override fun getController(clockId: String): ClockController { in <lambda>() 54 return clockControllers[clockId] in <lambda>() 55 ?: initClockController(clockId).also { clockControllers[clockId] = it } in <lambda>() 62 override fun getLargeView(clockId: String): View { in <lambda>() 63 return getController(clockId).largeClock.let { in <lambda>() 73 override fun getSmallView(clockId: String): View { in <lambda>() 75 smallClockFrames[clockId] in <lambda>() 77 it.addView(getController(clockId).smallClock.view) in <lambda>() 78 smallClockFrames[clockId] = it in <lambda>() 86 override fun setReactiveTouchInteractionEnabled(clockId: String, enable: Boolean) { in <lambda>() [all …]
|
D | ClockViewFactory.kt | 25 fun getController(clockId: String): ClockController 31 fun getLargeView(clockId: String): View 37 fun getSmallView(clockId: String): View 40 fun setReactiveTouchInteractionEnabled(clockId: String, enable: Boolean) 44 fun updateColor(clockId: String, @ColorInt seedColor: Int?) 48 fun updateTimeFormat(clockId: String)
|
D | ClockCarouselView.kt | 188 val scalingDownClockId = adapter.clocks[carousel.currentIndex].clockId in <lambda>() 192 val scalingUpClockId = adapter.clocks[scalingUpIdx].clockId in <lambda>() 410 val clockId = clocks[index].clockId in <lambda>() constant 415 clockViewFactory.setReactiveTouchInteractionEnabled(clockId, false) in <lambda>() 419 ClockSize.DYNAMIC -> clockViewFactory.getLargeView(clockId) in <lambda>() 420 ClockSize.SMALL -> clockViewFactory.getSmallView(clockId) in <lambda>() 438 clockId, in <lambda>() 454 clockId: String, in <lambda>() 462 val controller = clockViewFactory.getController(clockId) in <lambda>()
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/ui/ |
D | FakeClockViewFactory.kt | 40 override fun getController(clockId: String): ClockController = clockControllers.get(clockId)!! in <lambda>() 42 override fun setReactiveTouchInteractionEnabled(clockId: String, enable: Boolean) { in <lambda>() 46 override fun getLargeView(clockId: String): View { in <lambda>() 50 override fun getSmallView(clockId: String): View { in <lambda>() 58 override fun updateColor(clockId: String, seedColor: Int?) { in <lambda>() 66 override fun updateTimeFormat(clockId: String) { in <lambda>() 86 clock.clockId to in <lambda>() 89 id = clock.clockId, in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/domain/interactor/ |
D | ClockPickerInteractor.kt | 44 repository.selectedClock.map { clock -> clock.clockId }.distinctUntilChanged() in <lambda>() 56 suspend fun setSelectedClock(clockId: String) { in <lambda>() 58 setClockOption(ClockSnapshotModel(clockId = clockId)) in <lambda>() 94 clockSnapshotModel.clockId?.let { repository.setSelectedClock(it) } in <lambda>() 108 clockId = latestOption?.clockId ?: selectedClockId.firstOrNull(), in <lambda>()
|
D | ClockPickerSnapshotRestorer.kt | 44 TextUtils.isEmpty(optionToRestore.clockId) || in <lambda>() 45 optionToRestore.clockId != snapshot.args[KEY_CLOCK_ID] || in <lambda>() 74 clockSnapshotModel.clockId?.let { put(KEY_CLOCK_ID, it) } in <lambda>()
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/data/repository/ |
D | FakeClockPickerRepository.kt | 34 private val selectedClockId = MutableStateFlow(fakeClocks[0].clockId) in <lambda>() 45 val selectedClock = fakeClocks.find { clock -> clock.clockId == selectedClockId } in <lambda>() 48 clockId = selectedClock.clockId, in <lambda>() 59 override suspend fun setSelectedClock(clockId: String) { in <lambda>() 60 selectedClockId.value = clockId in <lambda>()
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | DigitalAppWidgetCityViewsFactory.kt | 160 private fun update(rv: RemoteViews, city: City, clockId: Int, labelId: Int, dayId: Int) { in update() 161 rv.setCharSequence(clockId, "setFormat12Hour", Utils.get12ModeFormat(0.4f, false)) in update() 162 rv.setCharSequence(clockId, "setFormat24Hour", Utils.get24ModeFormat(false)) in update() 166 rv.setTextViewTextSize(clockId, TypedValue.COMPLEX_UNIT_PX, fontSize * mFontScale) in update() 167 rv.setString(clockId, "setTimeZone", city.timeZone.id) in update() 184 rv.setViewVisibility(clockId, View.VISIBLE) in update() 188 private fun hide(clock: RemoteViews, clockId: Int, labelId: Int, dayId: Int) { in hide() 190 clock.setViewVisibility(clockId, View.INVISIBLE) in hide()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/data/repository/ |
D | ClockPickerRepositoryImpl.kt | 59 it.toModel(isSelected = it.clockId == activeClockId) in <lambda>() 93 .find { clockMetadata -> clockMetadata.clockId == activeClockId } in <lambda>() 121 override suspend fun setSelectedClock(clockId: String) { in <lambda>() 123 val newSettings = oldSettings.copy(clockId = clockId) in <lambda>() 189 clockId = clockId, in <lambda>()
|
D | ClockPickerRepository.kt | 36 suspend fun setSelectedClock(clockId: String)
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/viewmodel/ |
D | ClockCarouselViewModel.kt | 64 clockViewFactory.getController(it.clockId).config.description in <lambda>() 66 ClockCarouselItemViewModel(it.clockId, it.isSelected, contentDescription) in <lambda>() 116 val index = allClockIds.indexOfFirst { it.clockId == selectedClockId } in <lambda>() 129 fun setSelectedClock(clockId: String) { in <lambda>() 133 interactor.setSelectedClock(clockId) in <lambda>() 134 logger.logClockApplied(clockId) in <lambda>()
|
D | ClockSettingsViewModel.kt | 58 private val getIsReactiveToTone: (clockId: String?) -> Boolean, in <lambda>() 80 combine(selectedClockId, clockPickerInteractor.selectedColorId) { clockId, colorId -> in <lambda>() method 84 getIsReactiveToTone(clockId) in <lambda>() 320 private val getIsReactiveToTone: (clockId: String?) -> Boolean, in <lambda>()
|
D | ClockCarouselItemViewModel.kt | 19 val clockId: String, constant in com.android.customization.picker.clock.ui.viewmodel.ClockCarouselItemViewModel
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | profiler.h | 31 Profiler(const clockid_t clockId) in Profiler() argument 32 : mClockId(clockId), mStartTime(getTimeInMicroSec()), mStartTimes(), mTimes(), in Profiler()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/binder/ |
D | ClockSettingsBinder.kt | 200 .collect { (clockId, size) -> in <lambda>() method 203 clockViewFactory.setReactiveTouchInteractionEnabled(clockId, true) in <lambda>() 207 ClockSize.DYNAMIC -> clockViewFactory.getLargeView(clockId) in <lambda>() 208 ClockSize.SMALL -> clockViewFactory.getSmallView(clockId) in <lambda>()
|
D | ClockCarouselViewBinder.kt | 70 viewModel.setSelectedClock(clock.clockId) in <lambda>() 84 it.forEach { clock -> clockViewFactory.updateTimeFormat(clock.clockId) } in <lambda>()
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/domain/interactor/ |
D | ClockPickerInteractorTest.kt | 52 underTest.setSelectedClock(FakeClockPickerRepository.fakeClocks[1].clockId) in <lambda>() 54 .isEqualTo(FakeClockPickerRepository.fakeClocks[1].clockId) in <lambda>()
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/ui/viewmodel/ |
D | ClockSettingsViewModelTest.kt | 48 private val getIsReactiveToTone: (clockId: String?) -> Boolean = { clockId -> in <lambda>() method 49 when (clockId) { in <lambda>()
|
D | ClockCarouselViewModelTest.kt | 55 clockId = FakeClockPickerRepository.CLOCK_ID_0, in <lambda>() 95 underTest.setSelectedClock(FakeClockPickerRepository.fakeClocks[2].clockId) in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/shared/model/ |
D | ClockMetadataModel.kt | 25 val clockId: String, constant in com.android.customization.picker.clock.shared.model.ClockMetadataModel
|
D | ClockSnapshotModel.kt | 26 val clockId: String? = null, constant in com.android.customization.picker.clock.shared.model.ClockSnapshotModel
|
/packages/apps/ThemePicker/src/com/android/customization/module/logging/ |
D | ThemesUserEventLogger.kt | 30 fun logClockApplied(clockId: String) in logThemeColorApplied()
|
D | ThemesUserEventLoggerImpl.kt | 187 override fun logClockApplied(clockId: String) { in logClockApplied() 190 .setClockPackageHash(getIdHashCode(clockId)) in logClockApplied()
|
/packages/apps/ThemePicker/tests/common/src/com/android/customization/module/logging/ |
D | TestThemesUserEventLogger.kt | 47 override fun logClockApplied(clockId: String) {} in logClockApplied()
|
/packages/apps/ThemePicker/src/com/android/customization/module/ |
D | ThemePickerInjector.kt | 516 ) { clockId -> in <lambda>() method 517 clockId?.let { clockViewFactory.getController(clockId).config.isReactiveToTone } in <lambda>()
|