Searched refs:mAspectRatio (Results 1 – 5 of 5) sorted by relevance
44 private float mAspectRatio; field in FixedAspectSurfaceView70 mAspectRatio = aspect; in setAspectRatio()115 if (boxAspectRatio > mAspectRatio) { in onMeasure()137 width = (int) (height * mAspectRatio); in onMeasure()139 height = (int) (width / mAspectRatio); in onMeasure()
53 private float mAspectRatio = 0.0f; field in Illustration77 mAspectRatio = a.getFloat(R.styleable.SuwIllustration_suwAspectRatio, 0.0f); in init()124 mAspectRatio = aspectRatio; in setAspectRatio()137 if (mAspectRatio != 0.0f) { in onMeasure()139 int illustrationHeight = (int) (parentWidth / mAspectRatio); in onMeasure()159 if (mAspectRatio != 0f) { in onLayout()
75 private float mAspectRatio = 1.f; field in SurfaceTargetFilter151 if (currentAspectRatio != mAspectRatio) { in process()152 …LogVerbose) Log.v(TAG, "New aspect ratio: " + currentAspectRatio +", previously: " + mAspectRatio); in process()153 mAspectRatio = currentAspectRatio; in process()204 float relativeAspectRatio = screenAspectRatio / mAspectRatio; in updateTargetRect()
68 private float mAspectRatio = 1.f; field in SurfaceRenderFilter159 if (currentAspectRatio != mAspectRatio) { in process()160 …LogVerbose) Log.v(TAG, "New aspect ratio: " + currentAspectRatio +", previously: " + mAspectRatio); in process()161 mAspectRatio = currentAspectRatio; in process()236 float relativeAspectRatio = screenAspectRatio / mAspectRatio; in updateTargetRect()
91 private float mAspectRatio = 1.f; field in SurfaceTextureTarget217 if (currentAspectRatio != mAspectRatio) { in process()220 ", previously: " + mAspectRatio + ". Thread: " + Thread.currentThread()); in process()222 mAspectRatio = currentAspectRatio; in process()270 float relativeAspectRatio = screenAspectRatio / mAspectRatio; in updateTargetRect()274 ", frame AR: " + mAspectRatio + ", relative AR: " + relativeAspectRatio); in updateTargetRect()