Searched refs:viewportW (Results 1 – 1 of 1) sorted by relevance
7547 final int viewportW = containerAppBounds.width(); in resolveSizeCompatModeConfiguration() local7550 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() argument7633 return (int) ((viewportW - contentW + 1) * 0.5f); in getHorizontalCenterOffset()