Searched refs:shortSize (Results 1 – 4 of 4) sorted by relevance
569 int shortSize, longSize; in computeCompatibleScaling() local571 shortSize = width; in computeCompatibleScaling()574 shortSize = height; in computeCompatibleScaling()578 float aspect = ((float)longSize) / shortSize; in computeCompatibleScaling()
525 int shortSize = hwConfig.getScreenHeight(); in findNavBar() local526 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / in findNavBar()
2510 int shortSize = size.height(); in reduceConfigLayout() local2511 if (longSize < shortSize) { in reduceConfigLayout()2513 longSize = shortSize; in reduceConfigLayout()2514 shortSize = tmp; in reduceConfigLayout()2517 shortSize = (int) (shortSize / density + 0.5f); in reduceConfigLayout()2518 return Configuration.reduceScreenLayout(curLayout, longSize, shortSize); in reduceConfigLayout()
2345 final int shortSize = Math.min(screenWidthDp, screenHeightDp); in computeScreenLayoutOverride() local2346 return Configuration.reduceScreenLayout(sourceScreenLayout, longSize, shortSize); in computeScreenLayoutOverride()