Searched refs:instanceId (Results 1 – 8 of 8) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmService.java | 142 final long instanceId = mCurrentAlarm.mId; in stopCurrentAlarm() local 143 LogUtils.v("AlarmService.stop with instance: %s", instanceId); in stopCurrentAlarm() 154 mCurrentAlarm = AlarmInstance.getInstance(getContentResolver(), instanceId); in stopCurrentAlarm() 211 final long instanceId = AlarmInstance.getId(intent.getData()); in onStartCommand() local 220 final AlarmInstance instance = AlarmInstance.getInstance(cr, instanceId); in onStartCommand() 222 LogUtils.e("No instance found to start alarm: %d", instanceId); in onStartCommand() 230 if (mCurrentAlarm != null && mCurrentAlarm.mId == instanceId) { in onStartCommand() 231 LogUtils.e("Alarm already started for instance: %d", instanceId); in onStartCommand() 238 if (mCurrentAlarm != null && mCurrentAlarm.mId != instanceId) { in onStartCommand() 240 instanceId, mCurrentAlarm.mId); in onStartCommand()
|
D | AlarmActivity.java | 150 final long instanceId = AlarmInstance.getId(getIntent().getData()); in onCreate() local 151 mAlarmInstance = AlarmInstance.getInstance(getContentResolver(), instanceId); in onCreate() 238 final long instanceId = AlarmInstance.getId(getIntent().getData()); in onResume() local 239 mAlarmInstance = AlarmInstance.getInstance(getContentResolver(), instanceId); in onResume() 242 LogUtils.i(LOGTAG, "No alarm instance for instanceId: %d", instanceId); in onResume()
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | AlarmInstance.java | 122 public static Intent createIntent(String action, long instanceId) { in createIntent() argument 123 return new Intent(action).setData(getUri(instanceId)); in createIntent() 126 public static Intent createIntent(Context context, Class<?> cls, long instanceId) { in createIntent() argument 127 return new Intent(context, cls).setData(getUri(instanceId)); in createIntent() 134 public static Uri getUri(long instanceId) { in getUri() argument 135 return ContentUris.withAppendedId(CONTENT_URI, instanceId); in getUri() 145 public static AlarmInstance getInstance(ContentResolver cr, long instanceId) { in getInstance() argument 146 try (Cursor cursor = cr.query(getUri(instanceId), QUERY_COLUMNS, null, null, null)) { in getInstance() 261 public static boolean deleteInstance(ContentResolver contentResolver, long instanceId) { in deleteInstance() argument 262 if (instanceId == INVALID_ID) return false; in deleteInstance() [all …]
|
D | Alarm.java | 256 public int instanceId; field in Alarm 286 instanceId = c.getInt(INSTANCE_ID_INDEX); in Alarm()
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaByDayAdapter.java | 314 long instanceId = cursor.getLong(AgendaWindowAdapter.INDEX_INSTANCE_ID); in calculateDays() local 385 endTime, instanceId, allDay)); in calculateDays() 389 nextMidnight, instanceId, allDay)); in calculateDays() 393 instanceId, allDay)); in calculateDays() 451 long instanceId, boolean allDay) { in RowInfo() argument 459 mInstanceId = instanceId; in RowInfo() 486 long instanceId, boolean allDay) { in MultipleDayInfo() argument 492 mInstanceId = instanceId; in MultipleDayInfo()
|
D | AgendaFragment.java | 153 long instanceId = savedInstanceState.getLong(BUNDLE_KEY_RESTORE_INSTANCE_ID, -1); in onCreateView() local 154 if (instanceId != -1) { in onCreateView() 155 mAgendaListView.setSelectedInstanceId(instanceId); in onCreateView()
|
D | AgendaAdapter.java | 75 long instanceId; field in AgendaAdapter.ViewHolder 178 holder.instanceId = cursor.getLong(AgendaWindowAdapter.INDEX_INSTANCE_ID); in bindView()
|
D | AgendaWindowAdapter.java | 505 selected = mSelectedInstanceId == vh.instanceId; in getView() 1313 if (mSelectedInstanceId != mSelectedVH.instanceId) { in setSelectedView() 1314 mSelectedInstanceId = mSelectedVH.instanceId; in setSelectedView()
|