changed method signature of calcSampleSize
This commit is contained in:
parent
aeba964a65
commit
06cadab7cc
|
@ -493,7 +493,7 @@ public class FileBackend {
|
||||||
return calcSampleSize(options, size);
|
return calcSampleSize(options, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
private int calcSampleSize(BitmapFactory.Options options, int size) {
|
public static int calcSampleSize(BitmapFactory.Options options, int size) {
|
||||||
int height = options.outHeight;
|
int height = options.outHeight;
|
||||||
int width = options.outWidth;
|
int width = options.outWidth;
|
||||||
int inSampleSize = 1;
|
int inSampleSize = 1;
|
||||||
|
|
Loading…
Reference in a new issue