/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
H A D | TimerFragmentAdapter.java | 17 package com.android.deskclock.timer; 54 public void addTimer(TimerObj timer) { argument 55 // Newly created timer should always show on the top of the list 56 mTimerList.add(0, timer); 83 TimerObj timer = mTimerList.get(i); 84 if (timer.mTimerId == id) { 85 if (timer.mView != null) { 86 timer.mView.stop(); 88 timer.deleteFromSharedPref(mSharedPrefs);
|
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.TimerFullScreenFragment.OnEmptyListListener; 40 private static final String FRAGMENT = "timer"; 116 * this is called when a second timer is triggered while a previous alert
|
H A D | TimerFragment.java | 17 package com.android.deskclock.timer; 219 // Process extras that were sent to the app and were intended for the timer fragment 342 private void setTimerViewFabIcon(TimerObj timer) { argument 344 if (context == null || timer == null || mFab == null) { 348 switch (timer.mState) { 405 // If not show, means transiting from timer view to setup view, 431 // Timer is at Setup View, so fab is "play", rotate from setup view to timer view 440 // Go to the newly created timer view 459 // Stop timer and save the remaining time of the timer 589 deleteTimer(TimerObj timer) argument 685 setLabel(TimerObj timer, String label) argument [all...] |
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 | FragmentStatePagerAdapter2.java | 17 package com.android.deskclock.timer; 36 * onPause, in order to bind the newly created timer view with the new pager fragment.
|
H A D | TimerItemFragment.java | 17 package com.android.deskclock.timer;
|
H A D | TimerListItem.java | 17 package com.android.deskclock.timer; 141 // Used by animator to animate the size of a timer
|
H A D | TimerView.java | 17 package com.android.deskclock.timer;
|
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 285 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
|
H A D | TimerFullScreenFragment.java | 17 package com.android.deskclock.timer; 72 // is responsible for the timer list in full screen timer alert and should be deprecated shortly. 659 // To avoid race conditions where a timer was dismissed and it is still in the timers list 759 // Tell receiver the timer was deleted. 761 // timer 787 // +1 min when the time is up will restart the timer with 1 minute left. 813 // Stop timer and save the remaining time of the timer 820 // Reset the remaining time and continue timer [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | LabelDialogFragment.java | 37 import com.android.deskclock.timer.TimerObj; 46 private static final String KEY_TIMER = "timer"; 61 public static LabelDialogFragment newInstance(TimerObj timer, String label, String tag) { argument 65 args.putParcelable(KEY_TIMER, timer); 83 final TimerObj timer = bundle.getParcelable(KEY_TIMER); 94 set(alarm, timer, tag); 128 set(alarm, timer, tag); 138 private void set(Alarm alarm, TimerObj timer, String tag) { argument 147 } else if (timer != null) { 148 set(timer, ta 166 set(TimerObj timer, String tag, String label) argument 188 onDialogLabelSet(TimerObj timer, String label, String tag) argument [all...] |
H A D | HandleApiCalls.java | 33 import com.android.deskclock.timer.TimerFullScreenFragment; 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 LogUtils.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 | 28 import com.android.deskclock.timer.TimerObj;
|
H A D | DeskClock.java | 56 import com.android.deskclock.timer.TimerFragment; 57 import com.android.deskclock.timer.TimerObj; 58 import com.android.deskclock.timer.Timers; 144 // Timer receiver may ask to go to the timers fragment if a timer expired. 250 // Timer receiver may ask the app to go to the timer fragment if a timer expired 273 // We only want to show notifications for stopwatch/timer when the app is closed so 343 // Hide "lights out" for timer. 677 public void onDialogLabelSet(TimerObj timer, String label, String tag) { argument 680 ((TimerFragment) frag).setLabel(timer, labe [all...] |
H A D | TimerSetupView.java | 32 import com.android.deskclock.timer.TimerView;
|
H A D | Utils.java | 57 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/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/OMA-DM/DMService/src/com/android/omadm/service/ |
H A D | DMClientService.java | 420 int timer = intent.getIntExtra(DMIntent.FIELD_TIMER, 0); 425 if (DBG) logd("Timeout: " + timer); 426 if (timer > 0) { 427 wait(timer * 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/DeskClock/src/com/android/deskclock/stopwatch/ |
H A D | StopwatchFragment.java | 32 import com.android.deskclock.timer.CountingTimerView;
|