Searched refs:contentW (Results 1 – 1 of 1) sorted by relevance
1811 final float contentW = contentBounds.width(); in calculateCompatBoundsTransformation() local1816 mSizeCompatScale = (contentW <= viewportW && contentH <= viewportH) in calculateCompatBoundsTransformation()1817 ? 1 : Math.min(viewportW / contentW, viewportH / contentH); in calculateCompatBoundsTransformation()1818 final int offsetX = (int) ((viewportW - contentW * mSizeCompatScale + 1) * 0.5f) in calculateCompatBoundsTransformation()