Lines Matching defs:origId

476          * @param origId original image or video id. use -1 to cancel all requests.
480 static void cancelThumbnailRequest(ContentResolver cr, long origId, Uri baseUri,
483 .appendQueryParameter("orig_id", String.valueOf(origId))
494 * This method ensure thumbnails associated with origId are generated and decode the byte
501 * @param origId original image or video id
508 static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId, int kind,
512 // Log.v(TAG, "getThumbnail: origId="+origId+", kind="+kind+", isVideo="+isVideo);
519 long magic = thumbFile.getMagic(origId);
526 if (thumbFile.getMiniThumbFromFile(origId, sThumbBuf) != null) {
536 c = cr.query(baseUri, PROJECTION, column + origId, null, null);
547 .appendQueryParameter("orig_id", String.valueOf(origId))
560 if (thumbFile.getMiniThumbFromFile(origId, sThumbBuf) != null) {
577 Log.v(TAG, "Create the thumbnail in memory: origId=" + origId
580 baseUri.buildUpon().appendPath(String.valueOf(origId))
891 public static final Cursor queryMiniThumbnail(ContentResolver cr, long origId, int kind,
894 IMAGE_ID + " = " + origId + " AND " + KIND + " = " +
904 * @param origId original image id
906 public static void cancelThumbnailRequest(ContentResolver cr, long origId) {
907 InternalThumbnails.cancelThumbnailRequest(cr, origId, EXTERNAL_CONTENT_URI,
912 * This method checks if the thumbnails of the specified image (origId) has been created.
916 * @param origId Original image id associated with thumbnail of interest.
920 * associated with origId doesn't exist or memory is not enough.
922 public static Bitmap getThumbnail(ContentResolver cr, long origId, int kind,
924 return InternalThumbnails.getThumbnail(cr, origId,
935 * @param origId original image id
938 public static void cancelThumbnailRequest(ContentResolver cr, long origId, long groupId) {
939 InternalThumbnails.cancelThumbnailRequest(cr, origId, EXTERNAL_CONTENT_URI, groupId);
943 * This method checks if the thumbnails of the specified image (origId) has been created.
947 * @param origId Original image id associated with thumbnail of interest.
952 * associated with origId doesn't exist or memory is not enough.
954 public static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId,
956 return InternalThumbnails.getThumbnail(cr, origId, groupId, kind, options,
1914 * @param origId original video id
1916 public static void cancelThumbnailRequest(ContentResolver cr, long origId) {
1917 InternalThumbnails.cancelThumbnailRequest(cr, origId, EXTERNAL_CONTENT_URI,
1922 * This method checks if the thumbnails of the specified image (origId) has been created.
1926 * @param origId Original image id associated with thumbnail of interest.
1930 * associated with origId doesn't exist or memory is not enough.
1932 public static Bitmap getThumbnail(ContentResolver cr, long origId, int kind,
1934 return InternalThumbnails.getThumbnail(cr, origId,
1940 * This method checks if the thumbnails of the specified image (origId) has been created.
1944 * @param origId Original image id associated with thumbnail of interest.
1949 * origId doesn't exist or memory is not enough.
1951 public static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId,
1953 return InternalThumbnails.getThumbnail(cr, origId, groupId, kind, options,
1963 * @param origId original video id
1966 public static void cancelThumbnailRequest(ContentResolver cr, long origId, long groupId) {
1967 InternalThumbnails.cancelThumbnailRequest(cr, origId, EXTERNAL_CONTENT_URI, groupId);