Home
last modified time | relevance | path

Searched refs:smallestScreenWidthDp (Results 1 – 25 of 69) sorted by relevance

123

/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DConfigurationContainerTests.java163 rootOverrideConfig.smallestScreenWidthDp = 200; in testConfigurationChangePropagation()
308 rootOverrideConfig.smallestScreenWidthDp = 140; in testConfigurationConstraints()
321 assertEquals(100, child1.getConfiguration().smallestScreenWidthDp); in testConfigurationConstraints()
325 rootOverrideConfig.smallestScreenWidthDp = 80; in testConfigurationConstraints()
330 assertEquals(80, child1.getConfiguration().smallestScreenWidthDp); in testConfigurationConstraints()
333 rootOverrideConfig.smallestScreenWidthDp = 180; in testConfigurationConstraints()
338 assertEquals(100, child1.getConfiguration().smallestScreenWidthDp); in testConfigurationConstraints()
479 int smallestScreenWidthDp = in resolveOverrideConfiguration() local
482 ? newParentConfig.smallestScreenWidthDp in resolveOverrideConfiguration()
485 getResolvedOverrideConfiguration().smallestScreenWidthDp = in resolveOverrideConfiguration()
[all …]
H A DTaskFragmentTest.java108 parentConfig.smallestScreenWidthDp += 10; in testOnConfigurationChanged()
109 final int parentSw = parentConfig.smallestScreenWidthDp; in testOnConfigurationChanged()
115 assertNotEquals(parentSw, mTaskFragment.getConfiguration().smallestScreenWidthDp); in testOnConfigurationChanged()
123 assertEquals(parentSw, mTaskFragment.getConfiguration().smallestScreenWidthDp); in testOnConfigurationChanged()
H A DActivityTaskManagerServiceTests.java463 tda.getConfiguration().smallestScreenWidthDp = in testSupportsMultiWindow_nonResizable()
470 tda.getConfiguration().smallestScreenWidthDp = in testSupportsMultiWindow_nonResizable()
512 tda.getConfiguration().smallestScreenWidthDp = in testSupportsMultiWindow_activityMinWidthHeight_largerThanSupport()
519 tda.getConfiguration().smallestScreenWidthDp = in testSupportsMultiWindow_activityMinWidthHeight_largerThanSupport()
544 tda.getConfiguration().smallestScreenWidthDp = in testSupportsMultiWindow_landscape_checkActivityMinWidth()
579 tda.getConfiguration().smallestScreenWidthDp = in testSupportsMultiWindow_portrait_checkActivityMinHeight()
/aosp14/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp45 jfieldID smallestScreenWidthDp; member
71 out->smallestScreenWidthDp = env->GetIntField(clazz, in android_Configuration_getFromJava()
72 gConfigurationClassInfo.smallestScreenWidthDp); in android_Configuration_getFromJava()
94 gConfigurationClassInfo.smallestScreenWidthDp = GetFieldIDOrDie(env, clazz, in register_android_content_res_Configuration()
/aosp14/frameworks/base/tools/aapt2/filter/
H A DConfigFilter.cpp115 if (config.smallestScreenWidthDp != 0 && in Match()
116 config.smallestScreenWidthDp < target.smallestScreenWidthDp) { in Match()
/aosp14/frameworks/base/core/java/android/content/res/
H A DConfiguration.java900 public int smallestScreenWidthDp; field in Configuration
1088 smallestScreenWidthDp = o.smallestScreenWidthDp; in setTo()
1742 && smallestScreenWidthDp != delta.smallestScreenWidthDp) { in updateFrom()
1744 smallestScreenWidthDp = delta.smallestScreenWidthDp; in updateFrom()
1848 smallestScreenWidthDp = delta.smallestScreenWidthDp; in setTo()
1978 && smallestScreenWidthDp != delta.smallestScreenWidthDp) { in diff()
2089 dest.writeInt(smallestScreenWidthDp); in writeToParcel()
2224 n = this.smallestScreenWidthDp - that.smallestScreenWidthDp; in compareTo()
2879 if (base.smallestScreenWidthDp != change.smallestScreenWidthDp) { in generateDelta()
2880 delta.smallestScreenWidthDp = change.smallestScreenWidthDp; in generateDelta()
[all …]
/aosp14/frameworks/base/tools/aapt/
H A DResourceFilter.cpp135 if (config.smallestScreenWidthDp != 0 && in match()
136 config.smallestScreenWidthDp < entry.first.smallestScreenWidthDp) { in match()
/aosp14/frameworks/base/tools/aapt/tests/
H A DResourceTable_test.cpp35 sw600dpLandConfig.smallestScreenWidthDp = 600; in TEST()
54 sw600dpV13Config.smallestScreenWidthDp = 600; in TEST()
H A DResourceFilter_test.cpp107 config.smallestScreenWidthDp = 600; in TEST()
120 config.smallestScreenWidthDp = 320; in TEST()
147 config.smallestScreenWidthDp = 600; in TEST()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DConfigurationControllerImplTest.kt80 config.smallestScreenWidthDp = 240
87 config.smallestScreenWidthDp = 300
92 assertThat(listener.changedConfig?.smallestScreenWidthDp).isEqualTo(300)
164 config.smallestScreenWidthDp = 240
170 config.smallestScreenWidthDp = 300
/aosp14/frameworks/base/core/tests/coretests/src/android/content/res/
H A DConfigurationTest.java123 config.smallestScreenWidthDp = 100; in testMaskedSet()
131 assertEquals(100, config.smallestScreenWidthDp); in testMaskedSet()
137 assertEquals(100, config.smallestScreenWidthDp); in testMaskedSet()
148 assertEquals(SMALLEST_SCREEN_WIDTH_DP_UNDEFINED, config.smallestScreenWidthDp); in testMaskedSet()
/aosp14/frameworks/base/core/java/android/window/
H A DSizeConfigurationBuckets.java85 if (config.smallestScreenWidthDp != Configuration.SMALLEST_SCREEN_WIDTH_DP_UNDEFINED) { in SizeConfigurationBuckets()
86 smallest.put(config.smallestScreenWidthDp, 0); in SizeConfigurationBuckets()
126 final int oldSmallest = oldConfig.smallestScreenWidthDp; in filterDiff()
127 final int newSmallest = newConfig.smallestScreenWidthDp; in filterDiff()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
H A DPromptFingerprintIconViewModelTest.kt77 testConfig.smallestScreenWidthDp = folded
81 testConfig.smallestScreenWidthDp = unfolded
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DConfigurationControllerImpl.kt48 smallestScreenWidth = currentConfig.smallestScreenWidthDp
85 val smallestScreenWidth = newConfig.smallestScreenWidthDp
/aosp14/frameworks/base/core/tests/mockingcoretests/src/android/window/
H A DSizeConfigurationBucketsTest.java348 oldConfig.smallestScreenWidthDp = 480; in testSmallestWidthSizeThresholds()
350 newConfig.smallestScreenWidthDp = 520; in testSmallestWidthSizeThresholds()
354 newConfig.smallestScreenWidthDp = 640; in testSmallestWidthSizeThresholds()
/aosp14/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/compat/
H A DScreenSizeFoldProvider.kt48 newConfig.smallestScreenWidthDp < INNER_SCREEN_SMALLEST_SCREEN_WIDTH_THRESHOLD_DP
/aosp14/frameworks/base/libs/androidfw/
H A DConfigDescription.cpp566 out->smallestScreenWidthDp = out->SCREENWIDTH_ANY; in parseSmallestScreenWidthDp()
581 out->smallestScreenWidthDp = (uint16_t)atoi(xName.c_str()); in parseSmallestScreenWidthDp()
871 } else if (config->smallestScreenWidthDp != in ApplyVersionForCompatibility()
947 if (smallestScreenWidthDp || o.smallestScreenWidthDp) in HasHigherPrecedenceThan()
948 return (!o.smallestScreenWidthDp); in HasHigherPrecedenceThan()
H A DResourceTypes.cpp2048 smallestScreenWidthDp = dtohs(smallestScreenWidthDp); in copyFromDtoH()
2062 smallestScreenWidthDp = htods(smallestScreenWidthDp); in swapHtoD()
2135 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in compare()
2136 return (smallestScreenWidthDp > o.smallestScreenWidthDp) ? 1 : -1; in compare()
2165 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in compareLogical()
2166 return smallestScreenWidthDp < o.smallestScreenWidthDp ? -1 : 1; in compareLogical()
2312 if (smallestScreenWidthDp || o.smallestScreenWidthDp) { in isMoreSpecificThan()
2313 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in isMoreSpecificThan()
2587 if (smallestScreenWidthDp || o.smallestScreenWidthDp) { in isBetterThan()
2591 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in isBetterThan()
[all …]
/aosp14/frameworks/base/tools/aapt2/test/
H A DBuilders.h285 ConfigDescriptionBuilder& setSmallestScreenWidthDp(uint16_t smallestScreenWidthDp) { in setSmallestScreenWidthDp() argument
286 config_.smallestScreenWidthDp = smallestScreenWidthDp; in setSmallestScreenWidthDp()
/aosp14/frameworks/base/native/android/
H A Dconfiguration.cpp132 return config->smallestScreenWidthDp; in AConfiguration_getSmallestScreenWidthDp()
229 config->smallestScreenWidthDp = value; in AConfiguration_setSmallestScreenWidthDp()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/
H A DNearestTouchFrameTest.java70 c.smallestScreenWidthDp = 500; in setup()
78 c.smallestScreenWidthDp = 700; in testNoActionOnLargeDevices()
/aosp14/frameworks/base/core/java/com/android/internal/view/
H A DActionBarPolicy.java56 final int smallest = config.smallestScreenWidthDp; in getMaxActionButtons()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
H A DControlsActivityTest.kt100 newConfig.smallestScreenWidthDp *= 2
/aosp14/frameworks/base/libs/androidfw/tests/
H A DAttributeResolution_bench.cpp104 device_config.smallestScreenWidthDp = 700; in BM_ApplyStyleFramework()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
H A DTestUtils.java54 overrideConfig.smallestScreenWidthDp = 15; in mergedConfig()

123