Searched refs:shortSize (Results 1 – 5 of 5) sorted by relevance
494 int shortSize, longSize; in computeCompatibleScaling() local496 shortSize = width; in computeCompatibleScaling()499 shortSize = height; in computeCompatibleScaling()503 float aspect = ((float)longSize) / shortSize; in computeCompatibleScaling()
495 int shortSize = hwConfig.getScreenHeight(); in findNavBar() local496 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / in findNavBar()
1389 int shortSize = h; in reduceConfigLayout() local1390 if (longSize < shortSize) { in reduceConfigLayout()1392 longSize = shortSize; in reduceConfigLayout()1393 shortSize = tmp; in reduceConfigLayout()1396 shortSize = (int)(shortSize/density); in reduceConfigLayout()1397 return Configuration.reduceScreenLayout(curLayout, longSize, shortSize); in reduceConfigLayout()
2166 final int shortSize = Math.min(compatScreenHeightDp, compatScreenWidthDp); in computeOverrideConfiguration() local2167 config.screenLayout = Configuration.reduceScreenLayout(sl, longSize, shortSize); in computeOverrideConfiguration()
2203 int shortSize, longSize; in setInitialDisplaySize() local2205 shortSize = height; in setInitialDisplaySize()2217 shortSize = width; in setInitialDisplaySize()2231 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / density; in setInitialDisplaySize()