Lines Matching refs:rectangle
50 /** Crop rectangle for digital zoom (measured WRT the active array). */
189 // Compute the crop rectangle to be passed to the framework
198 // Compute the effective crop rectangle to be used for computing focus/metering coordinates
299 Rect rectangle = source.rect;
303 double oldLeft = (rectangle.left + 1000) / 2000.0;
304 double oldTop = (rectangle.top + 1000) / 2000.0;
305 double oldRight = (rectangle.right + 1000) / 2000.0;
306 double oldBottom = (rectangle.bottom + 1000) / 2000.0;
543 * Calculate the effective crop rectangle for this preview viewport;
547 * <p>Assumes the zoom level of the provided desired crop rectangle.</p>
549 * @param requestedCrop Desired crop rectangle, in active array space.
551 * @return A rectangle that serves as the preview stream's effective crop region (unzoomed), in
575 // Now center the crop rectangle so its center is in the center of the active array