Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/window/
H A DSizeConfigurationBuckets.java74 SparseIntArray screenLayoutSize = new SparseIntArray(); in SizeConfigurationBuckets() local
90 screenLayoutSize.put(curScreenLayoutSize, 0); in SizeConfigurationBuckets()
100 mScreenLayoutSize = screenLayoutSize.copyKeys(); in SizeConfigurationBuckets()
176 for (int screenLayoutSize : mScreenLayoutSize) { in crossesScreenLayoutSizeThreshold()
177 if (firstConfig.isLayoutSizeAtLeast(screenLayoutSize) in crossesScreenLayoutSizeThreshold()
178 != secondConfig.isLayoutSizeAtLeast(screenLayoutSize)) { in crossesScreenLayoutSizeThreshold()
282 @Nullable int[] screenLayoutSize, in SizeConfigurationBuckets() argument
287 this.mScreenLayoutSize = screenLayoutSize; in SizeConfigurationBuckets()
370 int[] screenLayoutSize = (flg & 0x8) == 0 ? null : in.createIntArray(); in SizeConfigurationBuckets() local
375 this.mScreenLayoutSize = screenLayoutSize; in SizeConfigurationBuckets()
/aosp14/frameworks/base/core/java/android/content/res/
H A DConfiguration.java420 int screenLayoutSize; in reduceScreenLayout() local
431 screenLayoutSize = SCREENLAYOUT_SIZE_SMALL; in reduceScreenLayout()
439 screenLayoutSize = SCREENLAYOUT_SIZE_XLARGE; in reduceScreenLayout()
443 screenLayoutSize = SCREENLAYOUT_SIZE_LARGE; in reduceScreenLayout()
445 screenLayoutSize = SCREENLAYOUT_SIZE_NORMAL; in reduceScreenLayout()
475 if (screenLayoutSize < curSize) { in reduceScreenLayout()
476 curLayout = (curLayout&~SCREENLAYOUT_SIZE_MASK) | screenLayoutSize; in reduceScreenLayout()