Home | History | Annotate | Download | only in provider

Lines Matching refs:origId

494          * @param origId original image or video id. use -1 to cancel all requests.
498 static void cancelThumbnailRequest(ContentResolver cr, long origId, Uri baseUri,
501 .appendQueryParameter("orig_id", String.valueOf(origId))
512 * This method ensure thumbnails associated with origId are generated and decode the byte
519 * @param origId original image or video id
526 static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId, int kind,
530 // Log.v(TAG, "getThumbnail: origId="+origId+", kind="+kind+", isVideo="+isVideo);
537 long magic = thumbFile.getMagic(origId);
544 if (thumbFile.getMiniThumbFromFile(origId, sThumbBuf) != null) {
554 c = cr.query(baseUri, PROJECTION, column + origId, null, null);
565 .appendQueryParameter("orig_id", String.valueOf(origId))
578 if (thumbFile.getMiniThumbFromFile(origId, sThumbBuf) != null) {
595 Log.v(TAG, "Create the thumbnail in memory: origId=" + origId
598 baseUri.buildUpon().appendPath(String.valueOf(origId))
909 public static final Cursor queryMiniThumbnail(ContentResolver cr, long origId, int kind,
912 IMAGE_ID + " = " + origId + " AND " + KIND + " = " +
922 * @param origId original image id
924 public static void cancelThumbnailRequest(ContentResolver cr, long origId) {
925 InternalThumbnails.cancelThumbnailRequest(cr, origId, EXTERNAL_CONTENT_URI,
930 * This method checks if the thumbnails of the specified image (origId) has been created.
934 * @param origId Original image id associated with thumbnail of interest.
938 * associated with origId doesn't exist or memory is not enough.
940 public static Bitmap getThumbnail(ContentResolver cr, long origId, int kind,
942 return InternalThumbnails.getThumbnail(cr, origId,
953 * @param origId original image id
956 public static void cancelThumbnailRequest(ContentResolver cr, long origId, long groupId) {
957 InternalThumbnails.cancelThumbnailRequest(cr, origId, EXTERNAL_CONTENT_URI, groupId);
961 * This method checks if the thumbnails of the specified image (origId) has been created.
965 * @param origId Original image id associated with thumbnail of interest.
970 * associated with origId doesn't exist or memory is not enough.
972 public static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId,
974 return InternalThumbnails.getThumbnail(cr, origId, groupId, kind, options,
1932 * @param origId original video id
1934 public static void cancelThumbnailRequest(ContentResolver cr, long origId) {
1935 InternalThumbnails.cancelThumbnailRequest(cr, origId, EXTERNAL_CONTENT_URI,
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.
1948 * associated with origId doesn't exist or memory is not enough.
1950 public static Bitmap getThumbnail(ContentResolver cr, long origId, int kind,
1952 return InternalThumbnails.getThumbnail(cr, origId,
1958 * This method checks if the thumbnails of the specified image (origId) has been created.
1962 * @param origId Original image id associated with thumbnail of interest.
1967 * origId doesn't exist or memory is not enough.
1969 public static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId,
1971 return InternalThumbnails.getThumbnail(cr, origId, groupId, kind, options,
1981 * @param origId original video id
1984 public static void cancelThumbnailRequest(ContentResolver cr, long origId, long groupId) {
1985 InternalThumbnails.cancelThumbnailRequest(cr, origId, EXTERNAL_CONTENT_URI, groupId);