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.java480 int shortSize, longSize; in computeCompatibleScaling() local
483 longSize = height; in computeCompatibleScaling()
486 longSize = width; in computeCompatibleScaling()
489 float aspect = ((float)longSize) / shortSize; in computeCompatibleScaling()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java1144 int shortSize, longSize; in setInitialDisplaySize() local
1147 longSize = width; in setInitialDisplaySize()
1159 longSize = height; in setInitialDisplaySize()
1191 int longSizeDp = longSize * DisplayMetrics.DENSITY_DEFAULT / density; in setInitialDisplaySize()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java7000 int longSize = w; in reduceConfigLayout() local
7002 if (longSize < shortSize) { in reduceConfigLayout()
7003 int tmp = longSize; in reduceConfigLayout()
7004 longSize = shortSize; in reduceConfigLayout()
7007 longSize = (int)(longSize/density); in reduceConfigLayout()
7009 return Configuration.reduceScreenLayout(curLayout, longSize, shortSize); in reduceConfigLayout()