Lines Matching defs:callbackIntent
98 public static final String EXTRA_CALLBACK_INTENT = "callbackIntent";
195 public void onServiceCompleted(Intent callbackIntent);
386 Intent callbackIntent = new Intent(context, callbackActivity);
387 callbackIntent.setAction(callbackAction);
388 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
397 Intent callbackIntent = intent.getParcelableExtra(EXTRA_CALLBACK_INTENT);
425 callbackIntent.setData(RawContacts.getContactLookupUri(resolver, rawContactUri));
427 deliverCallback(callbackIntent);
478 Intent callbackIntent = new Intent(context, callbackActivity);
479 callbackIntent.putExtra(saveModeExtraKey, saveMode);
481 callbackIntent.putExtra(joinContactIdExtraKey, joinContactId);
483 callbackIntent.setAction(callbackAction);
484 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
661 Intent callbackIntent = intent.getParcelableExtra(EXTRA_CALLBACK_INTENT);
662 if (callbackIntent != null) {
667 callbackIntent.putExtra(EXTRA_SAVE_SUCCEEDED, true);
669 callbackIntent.setData(lookupUri);
670 deliverCallback(callbackIntent);
769 Intent callbackIntent = new Intent(context, callbackActivity);
770 callbackIntent.setAction(callbackAction);
771 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
806 Intent callbackIntent = intent.getParcelableExtra(EXTRA_CALLBACK_INTENT);
807 callbackIntent.setData(groupUri);
809 callbackIntent.putExtra(ContactsContract.Intents.Insert.DATA, Lists.newArrayList(values));
810 deliverCallback(callbackIntent);
824 Intent callbackIntent = new Intent(context, callbackActivity);
825 callbackIntent.setAction(callbackAction);
826 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
845 Intent callbackIntent = intent.getParcelableExtra(EXTRA_CALLBACK_INTENT);
846 callbackIntent.setData(groupUri);
847 deliverCallback(callbackIntent);
869 final Intent callbackIntent = new Intent(BROADCAST_GROUP_DELETED);
871 callbackIntent.putExtra(EXTRA_UNDO_ACTION, ACTION_DELETE_GROUP);
872 callbackIntent.putExtra(EXTRA_UNDO_DATA, undoData);
876 LocalBroadcastManager.getInstance(this).sendBroadcast(callbackIntent);
921 Intent callbackIntent = new Intent(context, callbackActivity);
922 callbackIntent.setAction(callbackAction);
923 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
953 Intent callbackIntent = intent.getParcelableExtra(EXTRA_CALLBACK_INTENT);
954 callbackIntent.setData(groupUri);
955 deliverCallback(callbackIntent);
1351 Intent callbackIntent = new Intent(context, callbackActivity);
1352 callbackIntent.setAction(callbackAction);
1353 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
1597 Intent callbackIntent = intent.getParcelableExtra(EXTRA_CALLBACK_INTENT);
1606 callbackIntent.setData(uri);
1610 deliverCallback(callbackIntent);
1801 private void deliverCallback(final Intent callbackIntent) {
1806 deliverCallbackOnUiThread(callbackIntent);
1811 void deliverCallbackOnUiThread(final Intent callbackIntent) {
1816 if (callbackIntent.getComponent().equals(
1818 listener.onServiceCompleted(callbackIntent);