Searched refs:saveMode (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | ContactEditorFragment.java | 905 public boolean save(int saveMode) { in save() argument 911 if (saveMode == SaveMode.CLOSE || saveMode == SaveMode.EDITOR in save() 912 || saveMode == SaveMode.SPLIT) { in save() 919 if (mLookupUri == null && saveMode == SaveMode.RELOAD) { in save() 925 onSaveCompleted(/* hadChanges =*/ false, saveMode, in save() 932 return doSaveAction(saveMode, /* joinContactId */ null); in save() 1468 public void onSaveCompleted(boolean hadChanges, int saveMode, boolean saveSucceeded, in onSaveCompleted() argument 1472 switch (saveMode) { in onSaveCompleted() 1495 switch (saveMode) { in onSaveCompleted() 1691 protected boolean doSaveAction(int saveMode, Long joinContactId) { in doSaveAction() argument [all …]
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactSaveService.java | 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 [all …]
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactEditorActivity.java | 175 boolean save(int saveMode); in save() argument 186 void onSaveCompleted(boolean hadChanges, int saveMode, boolean saveSucceeded, in onSaveCompleted() argument
|
/packages/apps/Car/Media/src/com/android/car/media/ |
D | MediaActivity.java | 492 getInnerViewModel().saveMode(mode); in changeMode() 641 void saveMode(Mode mode) { in saveMode() method in MediaActivity.ViewModel
|