Home
last modified time | relevance | path

Searched refs:reqHeight (Results 1 – 1 of 1) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodPresentMediaDialog.java91 private int calculateInSampleSize(BitmapFactory.Options options, int reqWidth, int reqHeight){ in calculateInSampleSize() argument
95 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() local
156 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in onCreateDialog()