Searched refs:previewHeight (Results 1 – 2 of 2) sorted by relevance
244 int previewHeight = height; in onLayout() local247 previewHeight = mPreviewSize.height; in onLayout()251 if (width * previewHeight > height * previewWidth) { in onLayout()253 / previewHeight; in onLayout()257 final int scaledChildHeight = previewHeight * width in onLayout()
228 int previewHeight = height; in onLayout() local231 previewHeight = mPreviewSize.height; in onLayout()235 if (width * previewHeight > height * previewWidth) { in onLayout()236 final int scaledChildWidth = previewWidth * height / previewHeight; in onLayout()240 final int scaledChildHeight = previewHeight * width / previewWidth; in onLayout()