/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
H A D | Timers.java | 17 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 D | TimerAlertFullScreen.java | 15 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 D | TimerReceiver.java | 17 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 D | TimerListItem.java | 17 package com.android.deskclock.timer; 120 // Used by animator to animate the size of a timer
|
H A D | TimerView.java | 17 package com.android.deskclock.timer;
|
H A D | TimerFragment.java | 17 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 D | TimerObj.java | 17 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 D | CountingTimerView.java | 17 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 D | LabelDialogFragment.java | 34 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 D | HandleApiCalls.java | 33 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 D | AlarmInitReceiver.java | 31 import com.android.deskclock.timer.TimerObj;
|
H A D | DeskClock.java | 49 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 D | TimerSetupView.java | 29 import com.android.deskclock.timer.TimerView;
|
H A D | Utils.java | 58 import com.android.deskclock.timer.Timers;
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | Throttle.java | 86 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 D | CountdownTimerPopup.java | 34 * 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 D | SmsTest.java | 216 * 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 D | BatteryStatsHelper.java | 451 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 D | CameraSettings.java | 165 CountDownTimerPreference timer =
|
H A D | PhotoModule.java | 1467 String timer = mPreferences.getString( 1474 int seconds = Integer.parseInt(timer);
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | PhotoModule.java | 1135 String timer = mPreferences.getString( 1142 int seconds = Integer.parseInt(timer);
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
H A D | StopwatchFragment.java | 41 import com.android.deskclock.timer.CountingTimerView;
|