public final final option.inSampleSize = 1;
while ((height / option.inSampleSize) > rHeight || (width / option.inSampleSize) > rWidth) { option.inSampleSize *= 2; } return option.inSampleSize; } |
2022-10-18 22:36:35
public final final option.inSampleSize = 1;
while ((height / option.inSampleSize) > rHeight || (width / option.inSampleSize) > rWidth) { option.inSampleSize *= 2; } return option.inSampleSize; } |