Lines Matching refs:callbackIntent
199 public void onServiceCompleted(Intent callbackIntent); in onServiceCompleted() argument
390 Intent callbackIntent = new Intent(context, callbackActivity); in createNewRawContactIntent() local
391 callbackIntent.setAction(callbackAction); in createNewRawContactIntent()
392 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent); in createNewRawContactIntent()
401 Intent callbackIntent = intent.getParcelableExtra(EXTRA_CALLBACK_INTENT); in createRawContact() local
429 callbackIntent.setData(RawContacts.getContactLookupUri(resolver, rawContactUri)); in createRawContact()
431 deliverCallback(callbackIntent); in createRawContact()
482 Intent callbackIntent = new Intent(context, callbackActivity); in createSaveContactIntent() local
483 callbackIntent.putExtra(saveModeExtraKey, saveMode); in createSaveContactIntent()
485 callbackIntent.putExtra(joinContactIdExtraKey, joinContactId); in createSaveContactIntent()
487 callbackIntent.setAction(callbackAction); in createSaveContactIntent()
488 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent); in createSaveContactIntent()
665 Intent callbackIntent = intent.getParcelableExtra(EXTRA_CALLBACK_INTENT); in saveContact() local
666 if (callbackIntent != null) { in saveContact()
671 callbackIntent.putExtra(EXTRA_SAVE_SUCCEEDED, true); in saveContact()
673 callbackIntent.setData(lookupUri); in saveContact()
674 deliverCallback(callbackIntent); in saveContact()
773 Intent callbackIntent = new Intent(context, callbackActivity); in createNewGroupIntent() local
774 callbackIntent.setAction(callbackAction); in createNewGroupIntent()
775 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent); in createNewGroupIntent()
810 Intent callbackIntent = intent.getParcelableExtra(EXTRA_CALLBACK_INTENT); in createGroup() local
811 callbackIntent.setData(groupUri); in createGroup()
813 callbackIntent.putExtra(ContactsContract.Intents.Insert.DATA, Lists.newArrayList(values)); in createGroup()
814 deliverCallback(callbackIntent); in createGroup()
828 Intent callbackIntent = new Intent(context, callbackActivity); in createGroupRenameIntent() local
829 callbackIntent.setAction(callbackAction); in createGroupRenameIntent()
830 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent); in createGroupRenameIntent()
849 Intent callbackIntent = intent.getParcelableExtra(EXTRA_CALLBACK_INTENT); in renameGroup() local
850 callbackIntent.setData(groupUri); in renameGroup()
851 deliverCallback(callbackIntent); in renameGroup()
873 final Intent callbackIntent = new Intent(BROADCAST_GROUP_DELETED); in deleteGroup() local
875 callbackIntent.putExtra(EXTRA_UNDO_ACTION, ACTION_DELETE_GROUP); in deleteGroup()
876 callbackIntent.putExtra(EXTRA_UNDO_DATA, undoData); in deleteGroup()
880 LocalBroadcastManager.getInstance(this).sendBroadcast(callbackIntent); in deleteGroup()
925 Intent callbackIntent = new Intent(context, callbackActivity); in createGroupUpdateIntent() local
926 callbackIntent.setAction(callbackAction); in createGroupUpdateIntent()
927 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent); in createGroupUpdateIntent()
957 Intent callbackIntent = intent.getParcelableExtra(EXTRA_CALLBACK_INTENT); in updateGroup() local
958 callbackIntent.setData(groupUri); in updateGroup()
959 deliverCallback(callbackIntent); in updateGroup()
1359 Intent callbackIntent = new Intent(context, callbackActivity); in createJoinContactsIntent() local
1360 callbackIntent.setAction(callbackAction); in createJoinContactsIntent()
1361 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent); in createJoinContactsIntent()
1605 Intent callbackIntent = intent.getParcelableExtra(EXTRA_CALLBACK_INTENT); in joinContacts() local
1614 callbackIntent.setData(uri); in joinContacts()
1618 deliverCallback(callbackIntent); in joinContacts()
1809 private void deliverCallback(final Intent callbackIntent) { in deliverCallback() argument
1814 deliverCallbackOnUiThread(callbackIntent); in deliverCallback()
1819 void deliverCallbackOnUiThread(final Intent callbackIntent) { in deliverCallbackOnUiThread() argument
1824 if (callbackIntent.getComponent().equals( in deliverCallbackOnUiThread()
1826 listener.onServiceCompleted(callbackIntent); in deliverCallbackOnUiThread()