HomeSort by relevance Sort by last modified time
    Searched defs:TimerObj (Results 1 - 4 of 4) sorted by null

  /packages/apps/DeskClock/src/com/android/deskclock/
HandleApiCalls.java 34 import com.android.deskclock.timer.TimerObj;
175 TimerObj timer = null;
177 final ArrayList<TimerObj> timers = new ArrayList<TimerObj>();
178 TimerObj.getTimersFromSharedPrefs(prefs, timers);
179 for (TimerObj t : timers) {
181 && t.mState == TimerObj.STATE_RESTART) {
190 timer = new TimerObj(length, label);
195 timer.mState = TimerObj.STATE_RUNNING;
  /packages/apps/DeskClock/src/com/android/deskclock/timer/
TimerObj.java 36 public class TimerObj implements Parcelable {
38 private static final String TAG = "TimerObj";
71 public static final Parcelable.Creator<TimerObj> CREATOR = new Parcelable.Creator<TimerObj>() {
73 public TimerObj createFromParcel(Parcel p) {
74 return new TimerObj(p);
78 public TimerObj[] newArray(int size) {
79 return new TimerObj[size];
170 public TimerObj(Parcel p) {
180 public TimerObj() {
    [all...]
TimerReceiver.java 45 ArrayList<TimerObj> mTimers;
61 mTimers = new ArrayList<TimerObj> ();
64 TimerObj.getTimersFromSharedPrefs(prefs, mTimers);
91 TimerObj t = Timers.findTimer(mTimers, timerId);
100 t.mState = TimerObj.STATE_TIMESUP;
131 } else if (t.mState != TimerObj.STATE_TIMESUP) {
137 t.mState = t.getDeleteAfterUse() ? TimerObj.STATE_DELETED : TimerObj.STATE_DONE;
158 } else if (t.mState != TimerObj.STATE_TIMESUP) {
164 t.mState = TimerObj.STATE_RUNNING
    [all...]
TimerFragment.java 99 public TimerObj mTimer;
101 public ClickAction(int action, TimerObj t) {
123 ArrayList<TimerObj> mTimers = new ArrayList<TimerObj> ();
143 public TimerObj getItem(int p) {
157 TimerObj t = mTimers.get(i);
183 TimerObj t = mTimers.get(i);
191 public void removeTimer(TimerObj timerObj) {
192 int position = findTimerPositionById(timerObj.mTimerId)
    [all...]

Completed in 952 milliseconds