Lines Matching defs:instance
76 // Create and add instance to db
85 protected void onPostExecute(AlarmInstance instance) {
86 if (instance != null) {
88 mSnackbarAnchor, instance.getAlarmTime().getTimeInMillis());
115 // just update the instance in the database and update notifications.
118 for (AlarmInstance instance : instanceList) {
119 // Make a copy of the existing instance
120 final AlarmInstance newInstance = new AlarmInstance(instance);
121 // Copy over minor change data to the instance; we don't know
126 // Since we copied the mId of the old instance and the mId is used
128 // the existing instance.
130 // Update the notification for this instance.
142 protected void onPostExecute(AlarmInstance instance) {
143 if (popToast && instance != null) {
145 mSnackbarAnchor, instance.getAlarmTime().getTimeInMillis());
185 * @param instance Instance being predismissed.
187 public void showPredismissToast(AlarmInstance instance) {
189 instance.getAlarmTime().getTime());
220 // Register instance to state manager