Home
last modified time | relevance | path

Searched refs:longSize (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java513 int shortSize, longSize; in computeCompatibleScaling() local
516 longSize = height; in computeCompatibleScaling()
519 longSize = width; in computeCompatibleScaling()
522 float aspect = ((float)longSize) / shortSize; in computeCompatibleScaling()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java1558 final int longSize; in configureDisplayPolicy() local
1561 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() local
1890 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()
DTaskRecord.java2192 final int longSize = Math.max(compatScreenHeightDp, compatScreenWidthDp); in computeConfigResourceOverrides() local
2194 inOutConfig.screenLayout = Configuration.reduceScreenLayout(sl, longSize, shortSize); in computeConfigResourceOverrides()