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