Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerObj.java44 public int mTimerId; // Unique id field in TimerObj
86 final String id = Integer.toString(mTimerId); in writeToSharedPref()
92 .putInt(PREF_TIMER_ID + id, mTimerId) in writeToSharedPref()
107 final String id = Integer.toString(mTimerId); in readFromSharedPref()
120 final String id = Integer.toString(mTimerId); in deleteFromSharedPref()
151 dest.writeInt(mTimerId); in writeToParcel()
162 mTimerId = p.readInt(); in TimerObj()
193 mTimerId = timerId; in init()
262 timer.mTimerId = timerId; in getTimerFromSharedPrefs()
276 return timer1.mTimerId - timer2.mTimerId; in getTimersFromSharedPrefs()
DTimerReceiver.java225 int timerId = (t == null) ? -1 : t.mTimerId; in updateNextTimesup()
432 PendingIntent contentIntent = PendingIntent.getActivity(context, timerObj.mTimerId, in showTimesUpNotification()
434 Timers.TIMER_INTENT_EXTRA, timerObj.mTimerId), in showTimesUpNotification()
438 PendingIntent addOneMinuteAction = PendingIntent.getBroadcast(context, timerObj.mTimerId, in showTimesUpNotification()
440 .putExtra(Timers.TIMER_INTENT_EXTRA, timerObj.mTimerId), in showTimesUpNotification()
444 PendingIntent stopIntent = PendingIntent.getBroadcast(context, timerObj.mTimerId, in showTimesUpNotification()
446 .putExtra(Timers.TIMER_INTENT_EXTRA, timerObj.mTimerId), in showTimesUpNotification()
474 NotificationManagerCompat.from(context).notify(timerObj.mTimerId, builder.build()); in showTimesUpNotification()
477 + timerObj.getLabelOrDefault(context) + " #" + timerObj.mTimerId); in showTimesUpNotification()
488 NotificationManagerCompat.from(context).cancel(timerObj.mTimerId); in cancelTimesUpNotification()
[all …]
DTimerFragmentAdapter.java74 return (o2.mTimerId < o1.mTimerId) ? -1 : 1; in populateTimersFromPref()
84 if (timer.mTimerId == id) { in deleteTimer()
103 if (timer.mTimerId == id) { in getTimerPosition()
DTimerFullScreenFragment.java146 return mTimers.get(p).mTimerId; in getItemId()
154 if (t.mTimerId == id) { in findTimerPositionById()
162 int position = findTimerPositionById(timerObj.mTimerId); in removeTimer()
706 cancelTimerNotification(t.mTimerId); in onClickHelper()
751 cancelTimerNotification(t.mTimerId); in onPlusOneButtonPressed()
790 cancelTimerNotification(t.mTimerId); in onStopButtonPressed()
850 i.putExtra(Timers.TIMER_INTENT_EXTRA, t.mTimerId); in updateTimersState()
917 mAdapter.findTimerPositionById(t.mTimerId), 0); in onFabClick()
DTimerFragment.java349 mAdapter.deleteTimer(t.mTimerId); in updateTimerState()
359 i.putExtra(Timers.TIMER_INTENT_EXTRA, t.mTimerId); in updateTimerState()
513 cancelTimerNotification(t.mTimerId); in onFabClick()
528 cancelTimerNotification(t.mTimerId); in onFabClick()
612 mNotificationManager.cancel(timer.mTimerId); in onLeftButtonClick()
764 cancelTimerNotification(t.mTimerId); in onPlusOneButtonPressed()
DTimers.java59 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.java378 .putExtra(Timers.TIMER_INTENT_EXTRA, timer.mTimerId)); in handleSetTimer()
386 .putExtra(Timers.SCROLL_TO_TIMER_ID, timer.mTimerId)); in handleSetTimer()
DHandleDeskClockApiCalls.java329 .putExtra(Timers.TIMER_INTENT_EXTRA, timer.mTimerId) in doInBackground()