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.java345 static public int resetScreenLayout(int curLayout) { in resetScreenLayout() argument
346 return (curLayout&~(SCREENLAYOUT_LONG_MASK | SCREENLAYOUT_SIZE_MASK in resetScreenLayout()
352 static public int reduceScreenLayout(int curLayout, int longSizeDp, int shortSizeDp) { in reduceScreenLayout() argument
402 curLayout = (curLayout&~SCREENLAYOUT_LONG_MASK) | SCREENLAYOUT_LONG_NO; in reduceScreenLayout()
405 curLayout |= Configuration.SCREENLAYOUT_COMPAT_NEEDED; in reduceScreenLayout()
407 int curSize = curLayout&SCREENLAYOUT_SIZE_MASK; in reduceScreenLayout()
409 curLayout = (curLayout&~SCREENLAYOUT_SIZE_MASK) | screenLayoutSize; in reduceScreenLayout()
411 return curLayout; in reduceScreenLayout()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java1877 private int reduceConfigLayout(int curLayout, int rotation, float density, int dw, int dh, in reduceConfigLayout() argument
1897 return Configuration.reduceScreenLayout(curLayout, longSize, shortSize); in reduceConfigLayout()