Home | History | Annotate | Download | only in media

Lines Matching defs:mUri

61     private final String mUri;
73 this.mUri = uri;
95 mDiskCache = mUri.startsWith(MediaStore.Images.Media.EXTERNAL_CONTENT_URI.toString())
96 || mUri.startsWith(MediaStore.Video.Media.EXTERNAL_CONTENT_URI.toString())
97 || mUri.startsWith("file://") ? sThumbnailCache
131 item.setMediaType((isImage(mUri)) ? MediaItem.MEDIA_TYPE_IMAGE : MediaItem.MEDIA_TYPE_VIDEO);
132 if (mUri.startsWith(MediaStore.Images.Media.EXTERNAL_CONTENT_URI.toString())
133 || mUri.startsWith(MediaStore.Video.Media.EXTERNAL_CONTENT_URI.toString())) {
134 MediaItem newItem = createMediaItemFromUri(mContext, Uri.parse(mUri), item.getMediaType());
142 } else if (mUri.startsWith("file://")) {
146 newItem = createMediaItemFromFileUri(mContext, mUri);
159 item.mContentUri = mUri;
160 item.mThumbnailUri = mUri;
161 item.mScreennailUri = mUri;
165 item.mContentUri = mUri;
166 item.mThumbnailUri = mUri;
167 item.mScreennailUri = mUri;
173 if (mUri.startsWith("file://")) {
175 ExifInterface exif = new ExifInterface(Uri.parse(mUri).getPath());
197 } else if (mUri.equals(MediaStore.Images.Media.EXTERNAL_CONTENT_URI.toString()) & mFlattenAllItems) {
238 String name = Utils.getBucketNameFromUri(mContext.getContentResolver(), Uri.parse(mUri));
239 long id = Utils.getBucketIdFromUri(mContext.getContentResolver(), Uri.parse(mUri));
253 set.mName = Utils.getBucketNameFromUri(mContext.getContentResolver(), Uri.parse(mUri));