Home | History | Annotate | Download | only in cache

Lines Matching defs:origId

462     public static final byte[] queryThumbnail(final Context context, final long thumbId, final long origId, final boolean isVideo,
465 return queryThumbnail(context, thumbId, origId, isVideo, thumbnailCache, timestamp);
509 private static final byte[] queryThumbnail(final Context context, final long thumbId, final long origId, final boolean isVideo,
520 bitmap = buildThumbnailForId(context, thumbnailCache, thumbId, origId, isVideo, DEFAULT_THUMBNAIL_WIDTH,
523 Log.i(TAG, "Built thumbnail and screennail for " + origId + " in " + (SystemClock.uptimeMillis() - time));
577 final long origId, final boolean isVideo, final int thumbnailWidth, final int thumbnailHeight, final long timestamp) {
578 if (origId == Shared.INVALID) {
593 MediaStore.Video.Thumbnails.cancelThumbnailRequest(context.getContentResolver(), origId);
595 MediaStore.Images.Thumbnails.cancelThumbnailRequest(context.getContentResolver(), origId);
603 bitmap = MediaStore.Video.Thumbnails.getThumbnail(context.getContentResolver(), origId,
606 bitmap = MediaStore.Images.Thumbnails.getThumbnail(context.getContentResolver(), origId,
612 final byte[] retVal = writeBitmapToCache(thumbnailCache, thumbId, origId, bitmap, thumbnailWidth, thumbnailHeight,
620 public static final byte[] writeBitmapToCache(final DiskCache thumbnailCache, final long thumbId, final long origId,
678 dataOutput.writeLong(origId);