Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/activities/
DAttachPhotoActivity.java76 private Uri mTempPhotoUri; field in AttachPhotoActivity
99 mTempPhotoUri = Uri.parse(icicle.getString(KEY_TEMP_PHOTO_URI)); in onCreate()
102 mTempPhotoUri = ContactPhotoUtils.generateTempImageUri(this); in onCreate()
136 if (mTempPhotoUri != null) { in onSaveInstanceState()
137 outState.putString(KEY_TEMP_PHOTO_URI, mTempPhotoUri.toString()); in onSaveInstanceState()
179 if (!ContactPhotoUtils.savePhotoFromUriToUri(this, inputUri, mTempPhotoUri, false)) { in onActivityResult()
184 final Intent intent = new Intent("com.android.camera.action.CROP", mTempPhotoUri); in onActivityResult()
186 intent.setDataAndType(mTempPhotoUri, myIntent.getStringExtra("mimeType")); in onActivityResult()
193 mCroppedPhotoUri = mTempPhotoUri; in onActivityResult()
216 getContentResolver().delete(mTempPhotoUri, null, null); in onActivityResult()
/packages/apps/Contacts/src/com/android/contacts/detail/
DPhotoSelectionHandler.java75 private final Uri mTempPhotoUri; field in PhotoSelectionHandler
85 mTempPhotoUri = ContactPhotoUtils.generateTempImageUri(context); in PhotoSelectionHandler()
139 mContext.getContentResolver().delete(mTempPhotoUri, null, null); in handlePhotoActivityResult()
165 toCrop = mTempPhotoUri; in handlePhotoActivityResult()
351 startTakePhotoActivity(mTempPhotoUri); in onTakePhotoChosen()
362 startPickFromGalleryActivity(mTempPhotoUri); in onPickFromGalleryChosen()