OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:inputUri
(Results
1 - 3
of
3
) sorted by null
/packages/apps/Contacts/src/com/android/contacts/util/
ContactPhotoUtils.java
146
public static boolean savePhotoFromUriToUri(Context context, Uri
inputUri
, Uri outputUri,
154
inputUri
);
163
Log.v(TAG, "Wrote " + totalLength + " bytes for photo " +
inputUri
.toString());
165
Log.e(TAG, "Failed to write photo: " +
inputUri
.toString() + " because: " + e);
171
context.getContentResolver().delete(
inputUri
, null, null);
/packages/apps/Contacts/src/com/android/contacts/activities/
AttachPhotoActivity.java
129
final Uri
inputUri
= myIntent.getData();
131
final int perm = checkUriPermission(
inputUri
, android.os.Process.myPid(),
141
ContactPhotoUtils.savePhotoFromUriToUri(this,
inputUri
, mTempPhotoUri, false);
144
toCrop =
inputUri
;
/packages/apps/Contacts/src/com/android/contacts/detail/
PhotoSelectionHandler.java
232
private void doCropPhoto(Uri
inputUri
, Uri outputUri) {
235
final Intent intent = getCropImageIntent(
inputUri
, outputUri);
236
startPhotoActivity(intent, REQUEST_CROP_PHOTO,
inputUri
);
299
private Intent getCropImageIntent(Uri
inputUri
, Uri outputUri) {
301
intent.setDataAndType(
inputUri
, "image/*");
Completed in 1700 milliseconds