Lines Matching refs:kind

589          * @param kind could be MINI_KIND or MICRO_KIND
593 * @return Bitmap bitmap of specified thumbnail kind
595 static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId, int kind,
599 // Log.v(TAG, "getThumbnail: origId="+origId+", kind="+kind+", isVideo="+isVideo);
608 if (kind == MICRO_KIND) {
621 } else if (kind == MINI_KIND) {
642 if (kind == MICRO_KIND) {
654 } else if (kind == MINI_KIND) {
659 throw new IllegalArgumentException("Unsupported kind: " + kind);
665 + ", kind=" + kind + ", isVideo="+isVideo);
678 bitmap = ThumbnailUtils.createVideoThumbnail(filePath, kind);
680 bitmap = ThumbnailUtils.createImageThumbnail(filePath, kind);
830 int kind) {
845 values.put(Images.Thumbnails.KIND, kind);
973 public static final Cursor queryMiniThumbnails(ContentResolver cr, Uri uri, int kind,
975 return cr.query(uri, projection, "kind = " + kind, null, DEFAULT_SORT_ORDER);
978 public static final Cursor queryMiniThumbnail(ContentResolver cr, long origId, int kind,
982 kind, null, null);
1004 * @param kind The type of thumbnail to fetch. Should be either MINI_KIND or MICRO_KIND.
1009 public static Bitmap getThumbnail(ContentResolver cr, long origId, int kind,
1012 InternalThumbnails.DEFAULT_GROUP_ID, kind, options,
1036 * @param kind The type of thumbnail to fetch. Should be either MINI_KIND or MICRO_KIND.
1042 int kind, BitmapFactory.Options options) {
1043 return InternalThumbnails.getThumbnail(cr, origId, groupId, kind, options,
1090 * The kind of the thumbnail
1093 public static final String KIND = "kind";
2014 * @param kind The type of thumbnail to fetch. Should be either MINI_KIND or MICRO_KIND.
2019 public static Bitmap getThumbnail(ContentResolver cr, long origId, int kind,
2022 InternalThumbnails.DEFAULT_GROUP_ID, kind, options,
2033 * @param kind The type of thumbnail to fetch. Should be either MINI_KIND or MICRO_KIND
2039 int kind, BitmapFactory.Options options) {
2040 return InternalThumbnails.getThumbnail(cr, origId, groupId, kind, options,
2100 * The kind of the thumbnail
2103 public static final String KIND = "kind";