Home
last modified time | relevance | path

Searched refs:curLayout (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/content/res/
DConfiguration.java344 static public int resetScreenLayout(int curLayout) { in resetScreenLayout() argument
345 return (curLayout&~(SCREENLAYOUT_LONG_MASK | SCREENLAYOUT_SIZE_MASK in resetScreenLayout()
351 static public int reduceScreenLayout(int curLayout, int longSizeDp, int shortSizeDp) { in reduceScreenLayout() argument
401 curLayout = (curLayout&~SCREENLAYOUT_LONG_MASK) | SCREENLAYOUT_LONG_NO; in reduceScreenLayout()
404 curLayout |= Configuration.SCREENLAYOUT_COMPAT_NEEDED; in reduceScreenLayout()
406 int curSize = curLayout&SCREENLAYOUT_SIZE_MASK; in reduceScreenLayout()
408 curLayout = (curLayout&~SCREENLAYOUT_SIZE_MASK) | screenLayoutSize; in reduceScreenLayout()
410 return curLayout; in reduceScreenLayout()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java1874 private int reduceConfigLayout(int curLayout, int rotation, float density, int dw, int dh, in reduceConfigLayout() argument
1890 return Configuration.reduceScreenLayout(curLayout, longSize, shortSize); in reduceConfigLayout()