Searched refs:reqHeight (Results 1 – 1 of 1) sorted by relevance
91 private int calculateInSampleSize(BitmapFactory.Options options, int reqWidth, int reqHeight){ in calculateInSampleSize() argument95 if(reqWidth <= 0 || reqHeight <= 0) { in calculateInSampleSize()98 return Math.max(height/reqHeight, width/reqWidth) + 1; in calculateInSampleSize()155 int reqHeight = size.y; in onCreateDialog() local156 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in onCreateDialog()