Home
last modified time | relevance | path

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

/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/view/
DClockViewFactoryImpl.kt49 private val timeTickListeners: ConcurrentHashMap<Int, TimeTicker> = ConcurrentHashMap() in <lambda>() constant in com.android.customization.picker.clock.ui.view.ClockViewFactoryImpl
149 if (timeTickListeners.keys.contains(hashCode)) { in <lambda>()
153 timeTickListeners[hashCode] = TimeTicker.registerNewReceiver(appContext) { onTimeTick() } in <lambda>()
157 timeTickListeners.forEach { (_, timeTicker) -> appContext.unregisterReceiver(timeTicker) } in <lambda>()
158 timeTickListeners.clear() in <lambda>()
172 timeTickListeners[hashCode]?.let { in <lambda>()
174 timeTickListeners.remove(hashCode) in <lambda>()