Searched refs:timer (Results 1 - 22 of 22) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DTimers.java17 package com.android.deskclock.timer;
35 public static final String TIMER_INTENT_EXTRA = "timer.intent.extra";
74 TimerObj timer = it.next();
75 if (!timer.isInUse()) {
86 TimerObj timer = it.next();
87 if (timer.mState != TimerObj.STATE_TIMESUP) {
H A DTimerAlertFullScreen.java15 package com.android.deskclock.timer;
30 import com.android.deskclock.timer.TimerFragment.OnEmptyListListener;
40 private static final String FRAGMENT = "timer";
114 * this is called when a second timer is triggered while a previous alert
H A DTimerReceiver.java17 package com.android.deskclock.timer;
66 // These actions do not provide a timer ID, but do use the timers data
78 // Remaining actions provide a timer Id
85 // Get the timer out of the Intent
94 // Find the timer (if it doesn't exists, it was probably deleted).
96 Log.d(TAG, " timer not found in list - do nothing");
127 // Find the timer (if it doesn't exists, it was probably deleted).
129 Log.d(TAG, "timer to stop not found in list - do nothing");
132 Log.d(TAG, "action to stop but timer not in times-up state - do nothing");
136 // Update timer stat
[all...]
H A DTimerListItem.java17 package com.android.deskclock.timer;
120 // Used by animator to animate the size of a timer
H A DTimerView.java17 package com.android.deskclock.timer;
H A DTimerFragment.java17 package com.android.deskclock.timer;
481 // New timer create if timer length is not zero
482 // Create a new timer object to track the timer and
664 // To avoid race conditions where a timer was dismissed and it is still in the timers list
766 // Tell receiver the timer was deleted.
768 // timer
796 // +1 min when the time is up will restart the timer with 1 minute left.
825 // Stop timer an
897 setLabel(TimerObj timer, String label) argument
[all...]
H A DTimerObj.java17 package com.android.deskclock.timer;
39 // Max timer length is 9 hours + 99 minutes + 9 seconds
45 public long mTimeLeft; // in the timer.
46 public long mOriginalLength; // length set at start of timer and by +1 min after times up
47 public long mSetupLength; // length set at start of timer
295 Log.v(TAG,"---------------------timer " + (i + 1) + ": id - " + id);
H A DCountingTimerView.java17 package com.android.deskclock.timer;
64 // Hours and minutes are signed for when a timer goes past the set time and thus negative
/packages/apps/DeskClock/src/com/android/deskclock/
H A DLabelDialogFragment.java34 import com.android.deskclock.timer.TimerObj;
43 private static final String KEY_TIMER = "timer";
58 public static LabelDialogFragment newInstance(TimerObj timer, String label, String tag) { argument
62 args.putParcelable(KEY_TIMER, timer);
80 final TimerObj timer = bundle.getParcelable(KEY_TIMER);
91 set(alarm, timer, tag);
110 set(alarm, timer, tag);
120 private void set(Alarm alarm, TimerObj timer, String tag) { argument
129 } else if (timer != null) {
130 set(timer, ta
148 set(TimerObj timer, String tag, String label) argument
165 onDialogLabelSet(TimerObj timer, String label, String tag) argument
[all...]
H A DHandleApiCalls.java33 import com.android.deskclock.timer.TimerFragment;
34 import com.android.deskclock.timer.TimerObj;
35 import com.android.deskclock.timer.Timers;
160 // If no length is supplied , show the timer setup view
170 Log.i("Invalid timer length requested: " + length);
175 TimerObj timer = null;
182 timer = t;
188 if (timer == null) {
189 // Use a new timer
190 timer
[all...]
H A DAlarmInitReceiver.java31 import com.android.deskclock.timer.TimerObj;
H A DDeskClock.java49 import com.android.deskclock.timer.TimerFragment;
50 import com.android.deskclock.timer.TimerObj;
51 import com.android.deskclock.timer.Timers;
106 // Timer receiver may ask to go to the timers fragment if a timer expired.
169 // Timer receiver may ask the app to go to the timer fragment if a timer expired
189 // We only want to show notifications for stopwatch/timer when the app is closed so
271 // Hide "lights out" for timer.
570 public void onDialogLabelSet(TimerObj timer, String label, String tag) { argument
573 ((TimerFragment) frag).setLabel(timer, labe
[all...]
H A DTimerSetupView.java29 import com.android.deskclock.timer.TimerView;
H A DUtils.java58 import com.android.deskclock.timer.Timers;
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DThrottle.java86 int maxTimeout, Clock clock, Timer timer) {
93 mTimer = timer;
85 Throttle(String name, Runnable callback, Handler handler,int minTimeout, int maxTimeout, Clock clock, Timer timer) argument
/packages/apps/Camera2/src/com/android/camera/ui/
H A DCountdownTimerPopup.java34 * This is a popup window that allows users to specify a countdown timer
61 public void initialize(ListPreference timer, ListPreference beep) { argument
62 mTimer = timer;
/packages/apps/Mms/tests/src/com/android/mms/ui/
H A DSmsTest.java216 * send a message and verify the receiption using the local number and default timer
225 * @param receiveTimer timer to wait for the received message, if it is null, default timer
230 protected boolean sendAndReceiveMessage(String recipientNumber, long timer) argument
233 if (timer > 0) {
234 receiveTimer = timer;
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryStatsHelper.java451 BatteryStats.Timer timer = wakelock.getWakeTime(BatteryStats.WAKE_TYPE_PARTIAL);
452 if (timer != null) {
453 wakelockTime += timer.getTotalTimeLocked(uSecTime, which);
509 BatteryStats.Timer timer = sensor.getSensorTime();
510 long sensorTime = timer.getTotalTimeLocked(uSecTime, which) / 1000;
/packages/apps/Camera/src/com/android/camera/
H A DCameraSettings.java165 CountDownTimerPreference timer =
H A DPhotoModule.java1467 String timer = mPreferences.getString(
1474 int seconds = Integer.parseInt(timer);
/packages/apps/Camera2/src/com/android/camera/
H A DPhotoModule.java1135 String timer = mPreferences.getString(
1142 int seconds = Integer.parseInt(timer);
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
H A DStopwatchFragment.java41 import com.android.deskclock.timer.CountingTimerView;

Completed in 265 milliseconds