Home
last modified time | relevance | path

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

/aosp12/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()
185 for (int screenLayoutSize : mScreenLayoutSize) { in crossesScreenLayoutSizeThreshold()
186 if (firstConfig.isLayoutSizeAtLeast(screenLayoutSize) in crossesScreenLayoutSizeThreshold()
187 != secondConfig.isLayoutSizeAtLeast(screenLayoutSize)) { in crossesScreenLayoutSizeThreshold()
291 @Nullable int[] screenLayoutSize, in SizeConfigurationBuckets() argument
296 this.mScreenLayoutSize = screenLayoutSize; in SizeConfigurationBuckets()
379 int[] screenLayoutSize = (flg & 0x8) == 0 ? null : in.createIntArray(); in SizeConfigurationBuckets() local
384 this.mScreenLayoutSize = screenLayoutSize; in SizeConfigurationBuckets()
/aosp12/frameworks/base/core/java/android/content/res/
H A DConfiguration.java372 int screenLayoutSize; in reduceScreenLayout() local
383 screenLayoutSize = SCREENLAYOUT_SIZE_SMALL; in reduceScreenLayout()
391 screenLayoutSize = SCREENLAYOUT_SIZE_XLARGE; in reduceScreenLayout()
395 screenLayoutSize = SCREENLAYOUT_SIZE_LARGE; in reduceScreenLayout()
397 screenLayoutSize = SCREENLAYOUT_SIZE_NORMAL; in reduceScreenLayout()
427 if (screenLayoutSize < curSize) { in reduceScreenLayout()
428 curLayout = (curLayout&~SCREENLAYOUT_SIZE_MASK) | screenLayoutSize; in reduceScreenLayout()