Lines Matching refs:saveMode
250 public static boolean startService(Context context, Intent intent, int saveMode) { in startService() argument
255 switch (saveMode) { in startService()
439 String saveModeExtraKey, int saveMode, boolean isProfile, in createSaveContactIntent() argument
444 return createSaveContactIntent(context, state, saveModeExtraKey, saveMode, isProfile, in createSaveContactIntent()
460 String saveModeExtraKey, int saveMode, boolean isProfile, in createSaveContactIntent() argument
468 serviceIntent.putExtra(EXTRA_SAVE_MODE, saveMode); in createSaveContactIntent()
479 callbackIntent.putExtra(saveModeExtraKey, saveMode); in createSaveContactIntent()
499 int saveMode = intent.getIntExtra(EXTRA_SAVE_MODE, -1); in saveContact() local
655 if (rawContactId < 0 || !saveUpdatedPhoto(rawContactId, photoUri, saveMode)) { in saveContact()
701 private boolean saveUpdatedPhoto(long rawContactId, Uri photoUri, int saveMode) { in saveUpdatedPhoto() argument
706 return ContactPhotoUtils.savePhotoFromUriToUri(this, photoUri, outputUri, (saveMode == 0)); in saveUpdatedPhoto()