Home
last modified time | relevance | path

Searched refs:contentW (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DAppWindowToken.java1811 final float contentW = contentBounds.width(); in calculateCompatBoundsTransformation() local
1816 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()