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