Home
last modified time | relevance | path

Searched refs:mTimerId (Results 1 – 9 of 9) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerObj.java45 public int mTimerId; // Unique id field in TimerObj
87 final String id = Integer.toString(mTimerId); in writeToSharedPref()
88 editor.putInt(PREF_TIMER_ID + id, mTimerId); in writeToSharedPref()
103 String id = Integer.toString(mTimerId); in readFromSharedPref()
122 String key = PREF_TIMER_ID + Integer.toString(mTimerId); in deleteFromSharedPref()
123 String id = Integer.toString(mTimerId); in deleteFromSharedPref()
156 dest.writeInt(mTimerId); in writeToParcel()
166 mTimerId = p.readInt(); in TimerObj()
196 mTimerId = timerId; in init()
257 t.mTimerId = Integer.parseInt((String)timerStrings[i]); in getTimersFromSharedPrefs()
[all …]
DTimerReceiver.java215 int timerId = (t == null) ? -1 : t.mTimerId; in updateNextTimesup()
425 PendingIntent contentIntent = PendingIntent.getActivity(context, timerObj.mTimerId, in showTimesUpNotification()
427 Timers.TIMER_INTENT_EXTRA, timerObj.mTimerId), in showTimesUpNotification()
431 PendingIntent addOneMinuteAction = PendingIntent.getBroadcast(context, timerObj.mTimerId, in showTimesUpNotification()
433 .putExtra(Timers.TIMER_INTENT_EXTRA, timerObj.mTimerId), in showTimesUpNotification()
437 PendingIntent stopIntent = PendingIntent.getBroadcast(context, timerObj.mTimerId, in showTimesUpNotification()
439 .putExtra(Timers.TIMER_INTENT_EXTRA, timerObj.mTimerId), in showTimesUpNotification()
472 timerObj.mTimerId, notification); in showTimesUpNotification()
475 + timerObj.getLabelOrDefault(context) + " #" + timerObj.mTimerId); in showTimesUpNotification()
488 notificationManager.cancel(timerObj.mTimerId); in cancelTimesUpNotification()
[all …]
DTimerFullScreenFragment.java158 return mTimers.get(p).mTimerId; in getItemId()
167 if (t.mTimerId == id) { in deleteTimer()
192 if (t.mTimerId == id) { in findTimerPositionById()
200 int position = findTimerPositionById(timerObj.mTimerId); in removeTimer()
762 cancelTimerNotification(t.mTimerId); in onClickHelper()
799 cancelTimerNotification(t.mTimerId); in onPlusOneButtonPressed()
833 cancelTimerNotification(t.mTimerId); in onStopButtonPressed()
846 cancelTimerNotification(t.mTimerId); in onStopButtonPressed()
900 i.putExtra(Timers.TIMER_INTENT_EXTRA, t.mTimerId); in updateTimersState()
971 mAdapter.findTimerPositionById(t.mTimerId), 0); in onFabClick()
DTimerFragment.java339 mAdapter.deleteTimer(t.mTimerId); in updateTimerState()
349 i.putExtra(Timers.TIMER_INTENT_EXTRA, t.mTimerId); in updateTimerState()
489 cancelTimerNotification(t.mTimerId); in onFabClick()
503 cancelTimerNotification(t.mTimerId); in onFabClick()
586 mNotificationManager.cancel(timer.mTimerId); in onLeftButtonClick()
736 cancelTimerNotification(t.mTimerId); in onPlusOneButtonPressed()
DTimerFragmentAdapter.java74 return (o2.mTimerId < o1.mTimerId) ? -1 : 1; in populateTimersFromPref()
84 if (timer.mTimerId == id) { in deleteTimer()
DTimers.java54 if (t.mTimerId == timerId) { in findTimer()
/packages/apps/Nfc/nci/jni/
DIntervalTimer.cpp27 mTimerId = 0; in IntervalTimer()
34 if (mTimerId == 0) in set()
57 stat = timer_settime(mTimerId, 0, &ts, 0); in set()
72 if (mTimerId == 0) in kill()
75 timer_delete(mTimerId); in kill()
76 mTimerId = 0; in kill()
91 se.sigev_value.sival_ptr = &mTimerId; in create()
95 stat = timer_create(CLOCK_MONOTONIC, &se, &mTimerId); in create()
DIntervalTimer.h36 timer_t mTimerId;
/packages/apps/DeskClock/src/com/android/deskclock/
DHandleApiCalls.java206 .putExtra(Timers.TIMER_INTENT_EXTRA, timer.mTimerId)); in handleSetTimer()