Searched refs:timers (Results 1 - 3 of 3) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DTimers.java55 public static TimerObj findTimer(ArrayList<TimerObj> timers, int timerId) { argument
56 Iterator<TimerObj> i = timers.iterator();
65 public static TimerObj findExpiredTimer(ArrayList<TimerObj> timers) { argument
66 Iterator<TimerObj> i = timers.iterator();
76 public static ArrayList<TimerObj> timersInUse(ArrayList<TimerObj> timers) { argument
77 ArrayList<TimerObj> result = (ArrayList<TimerObj>) timers.clone();
H A DTimerObj.java210 SharedPreferences prefs, ArrayList<TimerObj> timers) {
218 timers.add(t);
220 Collections.sort(timers, new Comparator<TimerObj>() {
230 SharedPreferences prefs, ArrayList<TimerObj> timers, int match) {
239 timers.add(t);
246 SharedPreferences prefs, ArrayList<TimerObj> timers) {
247 if (timers.size() > 0) {
248 for (int i = 0; i < timers.size(); i++) {
249 TimerObj t = timers.get(i);
250 timers
209 getTimersFromSharedPrefs( SharedPreferences prefs, ArrayList<TimerObj> timers) argument
229 getTimersFromSharedPrefs( SharedPreferences prefs, ArrayList<TimerObj> timers, int match) argument
245 putTimersInSharedPrefs( SharedPreferences prefs, ArrayList<TimerObj> timers) argument
[all...]
H A DTimerReceiver.java52 // Get the updated timers data.
121 // Found no running timers.
135 // Stop Ringtone if all timers are not in times-up status
152 // Scan all timers and find the one that will expire next.
204 // No running timers.
209 // We have at least one timer running and other timers stopped.
328 ArrayList<TimerObj> timers, boolean requireNextUpdate, long now) {
331 Iterator<TimerObj> i = timers.iterator();
327 getNextRunningTimer( ArrayList<TimerObj> timers, boolean requireNextUpdate, long now) argument

Completed in 266 milliseconds