Home
last modified time | relevance | path

Searched refs:SaveMode (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java132 public interface SaveMode { interface in ContactEditorFragment
336 save(SaveMode.RELOAD); in onStop()
957 return save(SaveMode.CLOSE); in onOptionsItemSelected()
991 return save(SaveMode.JOIN); in doJoinContactAction()
1021 if (saveMode == SaveMode.CLOSE || saveMode == SaveMode.SPLIT) { in save()
1028 if (mLookupUri == null && saveMode == SaveMode.RELOAD) { in save()
1099 save(SaveMode.CLOSE); in doSaveAction()
1103 onSaveCompleted(false, SaveMode.RELOAD, uri != null, uri); in onJoinCompleted()
1110 if (saveMode != SaveMode.JOIN) { in onSaveCompleted()
1118 case SaveMode.CLOSE: in onSaveCompleted()
[all …]
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorActivity.java23 import com.android.contacts.editor.ContactEditorFragment.SaveMode;
135 intent.getIntExtra(ContactEditorFragment.SAVE_MODE_EXTRA_KEY, SaveMode.CLOSE), in onNewIntent()
154 mFragment.save(SaveMode.CLOSE); in onBackPressed()