Home | History | Annotate | Download | only in provider

Lines Matching refs:origId

573          * @param origId original image or video id. use -1 to cancel all requests.
577 static void cancelThumbnailRequest(ContentResolver cr, long origId, Uri baseUri,
580 .appendQueryParameter("orig_id", String.valueOf(origId))
592 * This method ensure thumbnails associated with origId are generated and decode the byte
599 * @param origId original image or video id
606 static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId, int kind,
610 // Log.v(TAG, "getThumbnail: origId="+origId+", kind="+kind+", isVideo="+isVideo);
617 long magic = thumbFile.getMagic(origId);
624 if (thumbFile.getMiniThumbFromFile(origId, sThumbBuf) != null) {
634 c = cr.query(baseUri, PROJECTION, column + origId, null, null);
645 .appendQueryParameter("orig_id", String.valueOf(origId))
658 if (thumbFile.getMiniThumbFromFile(origId, sThumbBuf) != null) {
675 Log.v(TAG, "Create the thumbnail in memory: origId=" + origId
678 baseUri.buildUpon().appendPath(String.valueOf(origId))
989 public static final Cursor queryMiniThumbnail(ContentResolver cr, long origId, int kind,
992 IMAGE_ID + " = " + origId + " AND " + KIND + " = " +
1002 * @param origId original image id
1004 public static void cancelThumbnailRequest(ContentResolver cr, long origId) {
1005 InternalThumbnails.cancelThumbnailRequest(cr, origId, EXTERNAL_CONTENT_URI,
1010 * This method checks if the thumbnails of the specified image (origId) has been created.
1014 * @param origId Original image id associated with thumbnail of interest.
1018 * associated with origId doesn't exist or memory is not enough.
1020 public static Bitmap getThumbnail(ContentResolver cr, long origId, int kind,
1022 return InternalThumbnails.getThumbnail(cr, origId,
1033 * @param origId original image id
1036 public static void cancelThumbnailRequest(ContentResolver cr, long origId, long groupId) {
1037 InternalThumbnails.cancelThumbnailRequest(cr, origId, EXTERNAL_CONTENT_URI, groupId);
1041 * This method checks if the thumbnails of the specified image (origId) has been created.
1045 * @param origId Original image id associated with thumbnail of interest.
1050 * associated with origId doesn't exist or memory is not enough.
1052 public static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId,
1054 return InternalThumbnails.getThumbnail(cr, origId, groupId, kind, options,
2030 * @param origId original video id
2032 public static void cancelThumbnailRequest(ContentResolver cr, long origId) {
2033 InternalThumbnails.cancelThumbnailRequest(cr, origId, EXTERNAL_CONTENT_URI,
2038 * This method checks if the thumbnails of the specified image (origId) has been created.
2042 * @param origId Original image id associated with thumbnail of interest.
2046 * associated with origId doesn't exist or memory is not enough.
2048 public static Bitmap getThumbnail(ContentResolver cr, long origId, int kind,
2050 return InternalThumbnails.getThumbnail(cr, origId,
2056 * This method checks if the thumbnails of the specified image (origId) has been created.
2060 * @param origId Original image id associated with thumbnail of interest.
2065 * origId doesn't exist or memory is not enough.
2067 public static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId,
2069 return InternalThumbnails.getThumbnail(cr, origId, groupId, kind, options,
2079 * @param origId original video id
2082 public static void cancelThumbnailRequest(ContentResolver cr, long origId, long groupId) {
2083 InternalThumbnails.cancelThumbnailRequest(cr, origId, EXTERNAL_CONTENT_URI, groupId);