Lines Matching defs:height

156             int h = clipLower(rect.height(), /*lo*/0, rect, "height");
239 return new Size(size.width, size.height);
250 sizes.add(new Size(s.width, s.height));
264 array[ctr++] = new Size(s.width, s.height);
272 public static boolean containsSize(List<Camera.Size> sizeList, int width, int height) {
275 if (s.height == height && s.width == width) {
442 currentPreviewCropRegion.height() >= cropRegionAsPreview.height()) {
495 } else if (previewSize.getHeight() > activeArray.height()) {
499 float aspectRatioArray = activeArray.width() * 1.0f / activeArray.height();
504 cropH = activeArray.height();
507 // The new width must be smaller than the height, so scale the width by AR
508 cropH = activeArray.height();
511 // The new height must be smaller (or equal) than the width, so scale the height by AR
543 float aspectRatioReference = reference.width() * 1.0f / reference.height();
544 float aspectRatioShrinkTarget = shrinkTarget.width() * 1.0f / shrinkTarget.height();
548 // The new width must be smaller than the height, so scale the width by AR
549 cropH = reference.height();
552 // The new height must be smaller (or equal) than the width, so scale the height by AR
561 translateMatrix.setScale(cropW / reference.width(), cropH / reference.height(),
718 * @return {@link SizeF} with width/height being the component-wise zoom ratio
727 checkArgumentPositive(cropSize.getHeight(), "cropSize.height must be positive");
753 activeArraySize.width(), activeArraySize.height());
807 previewCrop.height();
963 float scaleH = previewCrop.height() * 1.0f /