Searched refs:candidateAspect (Results 1 – 2 of 2) sorted by relevance
198 float candidateAspect = (float) candidateSize.getWidth() / candidateSize.getHeight(); in getOptimalSize() local200 Math.abs(candidateAspect - TARGET_ASPECT) < ASPECT_TOLERANCE; in getOptimalSize()207 bestCandidateAspect = candidateAspect; in getOptimalSize()
300 float candidateAspect = (float) candidateSize.getWidth() / candidateSize.getHeight(); in getBestSize() local302 Math.abs(candidateAspect - TARGET_ASPECT) < ASPECT_TOLERANCE; in getBestSize()308 outputAspect = candidateAspect; in getBestSize()