Lines Matching refs:handler
218 public ScreensaverMoveSaverRunnable(Handler handler) { in ScreensaverMoveSaverRunnable() argument
219 mHandler = handler; in ScreensaverMoveSaverRunnable()
342 public static void setMidnightUpdater(Handler handler, Runnable runnable) { in setMidnightUpdater() argument
344 if (handler == null || runnable == null || timezone == null) { in setMidnightUpdater()
351 handler.removeCallbacks(runnable); in setMidnightUpdater()
352 handler.postDelayed(runnable, runInMillis); in setMidnightUpdater()
356 public static void cancelMidnightUpdater(Handler handler, Runnable runnable) { in cancelMidnightUpdater() argument
357 if (handler == null || runnable == null) { in cancelMidnightUpdater()
360 handler.removeCallbacks(runnable); in cancelMidnightUpdater()
365 public static void setQuarterHourUpdater(Handler handler, Runnable runnable) { in setQuarterHourUpdater() argument
367 if (handler == null || runnable == null || timezone == null) { in setQuarterHourUpdater()
375 handler.removeCallbacks(runnable); in setQuarterHourUpdater()
376 handler.postDelayed(runnable, runInMillis); in setQuarterHourUpdater()
380 public static void cancelQuarterHourUpdater(Handler handler, Runnable runnable) { in cancelQuarterHourUpdater() argument
381 if (handler == null || runnable == null) { in cancelQuarterHourUpdater()
384 handler.removeCallbacks(runnable); in cancelQuarterHourUpdater()