Searched refs:mAspectRatio (Results 1 – 6 of 6) sorted by relevance
40 private Rational mAspectRatio; field in AspectRatioDialogLayout51 mAspectRatio = defaultAspectRatio; in AspectRatioDialogLayout()82 setAspectRatio(mAspectRatio); in updateSubviewReferences()101 mListener.onConfirm(mAspectRatio); in updateSubviewReferences()108 mAspectRatio = aspectRatio; in setAspectRatio()110 if (mAspectRatio.equals(ResolutionUtil.ASPECT_RATIO_4x3)) { in setAspectRatio()114 } else if (mAspectRatio.equals(ResolutionUtil.ASPECT_RATIO_16x9)) { in setAspectRatio()
36 private double mAspectRatio; field in PreviewFrameLayout51 if (mAspectRatio != ratio) { in setAspectRatio()52 mAspectRatio = ratio; in setAspectRatio()74 if (previewWidth > previewHeight * mAspectRatio) { in onMeasure()75 previewWidth = (int) (previewHeight * mAspectRatio + .5); in onMeasure()77 previewHeight = (int) (previewWidth / mAspectRatio + .5); in onMeasure()
56 private float mAspectRatio = MATCH_SCREEN; field in TextureViewHelper149 if (mAspectRatio != aspectRatio) { in setAspectRatio()150 Log.v(TAG, "aspect ratio changed from: " + mAspectRatio); in setAspectRatio()151 mAspectRatio = aspectRatio; in setAspectRatio()157 mCaptureLayoutHelper.onPreviewAspectRatioChanged(mAspectRatio); in onAspectRatioChanged()160 listener.onPreviewAspectRatioChanged(mAspectRatio); in onAspectRatioChanged()190 if (aspectRatio != mAspectRatio) { in updateTransformFullScreen()212 if (aspectRatio != mAspectRatio) {333 if (mAspectRatio == MATCH_SCREEN || mAspectRatio < 0 || mWidth == 0 || mHeight == 0) {
59 private float mAspectRatio = UNSET; field in VideoUI156 if (aspectRatio != mAspectRatio) { in setAspectRatio()157 mAspectRatio = aspectRatio; in setAspectRatio()158 mController.updatePreviewAspectRatio(mAspectRatio); in setAspectRatio()298 mAspectRatio = 0.0f; in onPause()
69 private float mAspectRatio = UNSET; field in PhotoUI267 if (mAspectRatio != aspectRatio) { in updatePreviewAspectRatio()268 mAspectRatio = aspectRatio; in updatePreviewAspectRatio()270 mController.updatePreviewAspectRatio(mAspectRatio); in updatePreviewAspectRatio()401 mAspectRatio = 0.0f; in onPause()
51 private float mAspectRatio = TextureViewHelper.MATCH_SCREEN; field in CaptureLayoutHelper84 if (mAspectRatio == aspectRatio) { in onPreviewAspectRatioChanged()87 mAspectRatio = aspectRatio; in onPreviewAspectRatioChanged()108 mPositionConfiguration = getPositionConfiguration(mWindowWidth, mWindowHeight, mAspectRatio, in updatePositionConfiguration()