Searched refs:longSize (Results 1 – 3 of 3) sorted by relevance
513 int shortSize, longSize; in computeCompatibleScaling() local516 longSize = height; in computeCompatibleScaling()519 longSize = width; in computeCompatibleScaling()522 float aspect = ((float)longSize) / shortSize; in computeCompatibleScaling()
1558 final int longSize; in configureDisplayPolicy() local1561 longSize = width; in configureDisplayPolicy()1564 longSize = height; in configureDisplayPolicy()1568 final int longSizeDp = longSize * DENSITY_DEFAULT / mBaseDisplayDensity; in configureDisplayPolicy()1888 int longSize = w; in reduceConfigLayout() local1890 if (longSize < shortSize) { in reduceConfigLayout()1891 int tmp = longSize; in reduceConfigLayout()1892 longSize = shortSize; in reduceConfigLayout()1895 longSize = (int)(longSize/density); in reduceConfigLayout()1897 return Configuration.reduceScreenLayout(curLayout, longSize, shortSize); in reduceConfigLayout()
2192 final int longSize = Math.max(compatScreenHeightDp, compatScreenWidthDp); in computeConfigResourceOverrides() local2194 inOutConfig.screenLayout = Configuration.reduceScreenLayout(sl, longSize, shortSize); in computeConfigResourceOverrides()