Home | History | Annotate | Download | only in testingcamera2

Lines Matching full:ratio

28  * A SurfaceView that maintains its aspect ratio to be a desired target value.
31 * requested aspect ratio. This can happen if both the width and the height are exactly
34 * the dimension that is best adjusted to maintain the aspect ratio.</p>
41 * Desired width/height ratio
48 // Get initial aspect ratio from custom attributes
58 * Set the desired aspect ratio for this view.
60 * @param aspect the desired width/height ratio in the current UI orientation. Must be a
65 throw new IllegalArgumentException("Aspect ratio must be positive");
79 // General goal: Adjust dimensions to maintain the requested aspect ratio as much
98 // Maximize the View's area while maintaining aspect ratio