Lines Matching refs:runnable
371 public static void setMidnightUpdater(Handler handler, Runnable runnable) { in setMidnightUpdater() argument
373 if (handler == null || runnable == null || timezone == null) { in setMidnightUpdater()
380 handler.removeCallbacks(runnable); in setMidnightUpdater()
381 handler.postDelayed(runnable, runInMillis); in setMidnightUpdater()
385 public static void cancelMidnightUpdater(Handler handler, Runnable runnable) { in cancelMidnightUpdater() argument
386 if (handler == null || runnable == null) { in cancelMidnightUpdater()
389 handler.removeCallbacks(runnable); in cancelMidnightUpdater()
394 public static void setQuarterHourUpdater(Handler handler, Runnable runnable) { in setQuarterHourUpdater() argument
396 if (handler == null || runnable == null || timezone == null) { in setQuarterHourUpdater()
404 handler.removeCallbacks(runnable); in setQuarterHourUpdater()
405 handler.postDelayed(runnable, runInMillis); in setQuarterHourUpdater()
409 public static void cancelQuarterHourUpdater(Handler handler, Runnable runnable) { in cancelQuarterHourUpdater() argument
410 if (handler == null || runnable == null) { in cancelQuarterHourUpdater()
413 handler.removeCallbacks(runnable); in cancelQuarterHourUpdater()