Home
last modified time | relevance | path

Searched refs:saveMode (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java866 public boolean save(int saveMode) { in save() argument
872 if (saveMode == SaveMode.CLOSE || saveMode == SaveMode.EDITOR in save()
873 || saveMode == SaveMode.SPLIT) { in save()
880 if (mLookupUri == null && saveMode == SaveMode.RELOAD) { in save()
886 onSaveCompleted(/* hadChanges =*/ false, saveMode, in save()
893 return doSaveAction(saveMode, /* joinContactId */ null); in save()
1420 public void onSaveCompleted(boolean hadChanges, int saveMode, boolean saveSucceeded, in onSaveCompleted() argument
1424 switch (saveMode) { in onSaveCompleted()
1447 switch (saveMode) { in onSaveCompleted()
1643 protected boolean doSaveAction(int saveMode, Long joinContactId) { in doSaveAction() argument
[all …]
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java250 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
[all …]
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorActivity.java175 boolean save(int saveMode); in save() argument
186 void onSaveCompleted(boolean hadChanges, int saveMode, boolean saveSucceeded, in onSaveCompleted() argument