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.java310 static public int resetScreenLayout(int curLayout) { in resetScreenLayout() argument
311 return (curLayout&~(SCREENLAYOUT_LONG_MASK | SCREENLAYOUT_SIZE_MASK in resetScreenLayout()
317 static public int reduceScreenLayout(int curLayout, int longSizeDp, int shortSizeDp) { in reduceScreenLayout() argument
367 curLayout = (curLayout&~SCREENLAYOUT_LONG_MASK) | SCREENLAYOUT_LONG_NO; in reduceScreenLayout()
370 curLayout |= Configuration.SCREENLAYOUT_COMPAT_NEEDED; in reduceScreenLayout()
372 int curSize = curLayout&SCREENLAYOUT_SIZE_MASK; in reduceScreenLayout()
374 curLayout = (curLayout&~SCREENLAYOUT_SIZE_MASK) | screenLayoutSize; in reduceScreenLayout()
376 return curLayout; in reduceScreenLayout()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java1381 private int reduceConfigLayout(int curLayout, int rotation, float density, int dw, int dh, in reduceConfigLayout() argument
1397 return Configuration.reduceScreenLayout(curLayout, longSize, shortSize); in reduceConfigLayout()