Searched refs:TimeTicker (Results 1 – 3 of 3) sorted by relevance
68 public static class TimeTicker extends BroadcastReceiver { class in TimeUtils83 public static TimeTicker registerNewReceiver(Context context, in registerNewReceiver()85 TimeTicker receiver = new TimeTicker(listener); in registerNewReceiver()94 private TimeTicker(@Nullable TimeListener listener) { in TimeTicker() method in TimeUtils.TimeTicker
42 import com.android.wallpaper.util.TimeUtils.TimeTicker;61 private TimeTicker mTicker;119 mTicker = TimeTicker.registerNewReceiver(mContext, this::updateDateTime); in onResume()
34 import com.android.wallpaper.util.TimeUtils.TimeTicker in <lambda>()49 private val timeTickListeners: ConcurrentHashMap<Int, TimeTicker> = ConcurrentHashMap() in <lambda>()153 timeTickListeners[hashCode] = TimeTicker.registerNewReceiver(appContext) { onTimeTick() } in <lambda>()