Searched refs:shortSize (Results 1 – 4 of 4) sorted by relevance
571 int shortSize, longSize; in computeCompatibleScaling() local573 shortSize = width; in computeCompatibleScaling()576 shortSize = height; in computeCompatibleScaling()580 float aspect = ((float)longSize) / shortSize; in computeCompatibleScaling()
526 int shortSize = hwConfig.getScreenHeight(); in findNavBar() local527 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / in findNavBar()
1931 final int shortSize; in configureDisplayPolicy() local1934 shortSize = height; in configureDisplayPolicy()1937 shortSize = width; in configureDisplayPolicy()1941 final int shortSizeDp = shortSize * DENSITY_DEFAULT / mBaseDisplayDensity; in configureDisplayPolicy()2319 int shortSize = h; in reduceConfigLayout() local2320 if (longSize < shortSize) { in reduceConfigLayout()2322 longSize = shortSize; in reduceConfigLayout()2323 shortSize = tmp; in reduceConfigLayout()2326 shortSize = (int)(shortSize/density); in reduceConfigLayout()2327 return Configuration.reduceScreenLayout(curLayout, longSize, shortSize); in reduceConfigLayout()
2826 final int shortSize = Math.min(screenWidthDp, screenHeightDp); in computeScreenLayoutOverride() local2827 return Configuration.reduceScreenLayout(sourceScreenLayout, longSize, shortSize); in computeScreenLayoutOverride()