Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java7547 final int viewportW = containerAppBounds.width(); in resolveSizeCompatModeConfiguration() local
7550 mSizeCompatScale = (contentW <= viewportW && contentH <= viewportH) in resolveSizeCompatModeConfiguration()
7551 ? 1f : Math.min((float) viewportW / contentW, (float) viewportH / contentH); in resolveSizeCompatModeConfiguration()
7632 private static int getHorizontalCenterOffset(int viewportW, int contentW) { in getHorizontalCenterOffset() argument
7633 return (int) ((viewportW - contentW + 1) * 0.5f); in getHorizontalCenterOffset()