Lines Matching refs:cr
200 public static Uri addImage(ContentResolver cr, String title, long dateTaken, in addImage() argument
246 return cr.insert(STORAGE_URI, values); in addImage()
280 public static IImageList makeImageList(ContentResolver cr, in makeImageList() argument
289 if (isEmptyImageList || cr == null) { in makeImageList()
294 return new SingleImageList(cr, singleImageUri); in makeImageList()
305 l.add(new ImageList(cr, STORAGE_URI, sort, bucketId)); in makeImageList()
308 l.add(new VideoList(cr, VIDEO_STORAGE_URI, sort, bucketId)); in makeImageList()
313 l.add(new ImageList(cr, in makeImageList()
340 public static IImageList makeImageList(ContentResolver cr, Uri uri, in makeImageList() argument
345 return makeImageList(cr, DataLocation.EXTERNAL, INCLUDE_VIDEOS, in makeImageList()
348 return makeSingleImageList(cr, uri); in makeImageList()
351 return makeImageList(cr, DataLocation.ALL, INCLUDE_IMAGES, sort, in makeImageList()
422 public static IImageList makeImageList(ContentResolver cr, in makeImageList() argument
426 return makeImageList(cr, param); in makeImageList()
433 public static IImageList makeSingleImageList(ContentResolver cr, Uri uri) { in makeSingleImageList() argument
434 return makeImageList(cr, getSingleImageListParam(uri)); in makeSingleImageList()
501 public static boolean isMediaScannerScanning(ContentResolver cr) { in isMediaScannerScanning() argument
503 Cursor cursor = query(cr, MediaStore.getMediaScannerUri(), in isMediaScannerScanning()