Searched refs:shortSize (Results 1 – 4 of 4) sorted by relevance
513 int shortSize, longSize; in computeCompatibleScaling() local515 shortSize = width; in computeCompatibleScaling()518 shortSize = height; in computeCompatibleScaling()522 float aspect = ((float)longSize) / shortSize; in computeCompatibleScaling()
524 int shortSize = hwConfig.getScreenHeight(); in findNavBar() local525 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / in findNavBar()
1551 final int shortSize; in configureDisplayPolicy() local1554 shortSize = height; in configureDisplayPolicy()1557 shortSize = width; in configureDisplayPolicy()1561 final int shortSizeDp = shortSize * DENSITY_DEFAULT / mBaseDisplayDensity; in configureDisplayPolicy()1882 int shortSize = h; in reduceConfigLayout() local1883 if (longSize < shortSize) { in reduceConfigLayout()1885 longSize = shortSize; in reduceConfigLayout()1886 shortSize = tmp; in reduceConfigLayout()1889 shortSize = (int)(shortSize/density); in reduceConfigLayout()1890 return Configuration.reduceScreenLayout(curLayout, longSize, shortSize); in reduceConfigLayout()
2193 final int shortSize = Math.min(compatScreenHeightDp, compatScreenWidthDp); in computeConfigResourceOverrides() local2194 inOutConfig.screenLayout = Configuration.reduceScreenLayout(sl, longSize, shortSize); in computeConfigResourceOverrides()