Searched refs:mTempPhotoUri (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | AttachPhotoActivity.java | 80 private Uri mTempPhotoUri; field in AttachPhotoActivity 105 mTempPhotoUri = Uri.parse(icicle.getString(KEY_TEMP_PHOTO_URI)); in onCreate() 108 mTempPhotoUri = ContactPhotoUtils.generateTempImageUri(this); in onCreate() 146 if (mTempPhotoUri != null) { in onSaveInstanceState() 147 outState.putString(KEY_TEMP_PHOTO_URI, mTempPhotoUri.toString()); in onSaveInstanceState() 189 if (!ContactPhotoUtils.savePhotoFromUriToUri(this, inputUri, mTempPhotoUri, false)) { in onActivityResult() 194 final Intent intent = new Intent("com.android.camera.action.CROP", mTempPhotoUri); in onActivityResult() 196 intent.setDataAndType(mTempPhotoUri, myIntent.getStringExtra("mimeType")); in onActivityResult() 203 mCroppedPhotoUri = mTempPhotoUri; in onActivityResult() 226 getContentResolver().delete(mTempPhotoUri, null, null); in onActivityResult()
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | PhotoSelectionHandler.java | 75 private final Uri mTempPhotoUri; field in PhotoSelectionHandler 85 mTempPhotoUri = ContactPhotoUtils.generateTempImageUri(context); in PhotoSelectionHandler() 138 mContext.getContentResolver().delete(mTempPhotoUri, null, null); in handlePhotoActivityResult() 164 toCrop = mTempPhotoUri; in handlePhotoActivityResult() 352 startTakePhotoActivity(mTempPhotoUri); in onTakePhotoChosen() 363 startPickFromGalleryActivity(mTempPhotoUri); in onPickFromGalleryChosen()
|