Searched refs:bitmapOptions (Results 1 – 2 of 2) sorted by relevance
106 final BitmapFactory.Options bitmapOptions = new BitmapFactory.Options(); in detectGifOrAnimatedWebp() local109 bitmapOptions.inSampleSize = 1; in detectGifOrAnimatedWebp()110 bitmapOptions.inJustDecodeBounds = true; in detectGifOrAnimatedWebp()111 BitmapFactory.decodeFile(file.getAbsolutePath(), bitmapOptions); in detectGifOrAnimatedWebp() local113 if ("image/gif".equalsIgnoreCase(bitmapOptions.outMimeType)) { in detectGifOrAnimatedWebp()116 if ("image/webp".equalsIgnoreCase(bitmapOptions.outMimeType) && isAnimatedWebp(file)) { in detectGifOrAnimatedWebp()
1241 final BitmapFactory.Options bitmapOptions = new BitmapFactory.Options(); in withBitmapResolutionValues() local1242 bitmapOptions.inSampleSize = 1; in withBitmapResolutionValues()1243 bitmapOptions.inJustDecodeBounds = true; in withBitmapResolutionValues()1244 bitmapOptions.outWidth = 0; in withBitmapResolutionValues()1245 bitmapOptions.outHeight = 0; in withBitmapResolutionValues()1246 BitmapFactory.decodeFile(file.getAbsolutePath(), bitmapOptions); in withBitmapResolutionValues() local1248 final Optional<?> width = parseOptionalOrZero(bitmapOptions.outWidth); in withBitmapResolutionValues()1249 final Optional<?> height = parseOptionalOrZero(bitmapOptions.outHeight); in withBitmapResolutionValues()