/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | ConfigurationContainerTests.java | 163 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 D | TaskFragmentTest.java | 108 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 D | ActivityTaskManagerServiceTests.java | 463 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 D | android_content_res_Configuration.cpp | 45 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 D | ConfigFilter.cpp | 115 if (config.smallestScreenWidthDp != 0 && in Match() 116 config.smallestScreenWidthDp < target.smallestScreenWidthDp) { in Match()
|
/aosp14/frameworks/base/core/java/android/content/res/ |
H A D | Configuration.java | 900 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 D | ResourceFilter.cpp | 135 if (config.smallestScreenWidthDp != 0 && in match() 136 config.smallestScreenWidthDp < entry.first.smallestScreenWidthDp) { in match()
|
/aosp14/frameworks/base/tools/aapt/tests/ |
H A D | ResourceTable_test.cpp | 35 sw600dpLandConfig.smallestScreenWidthDp = 600; in TEST() 54 sw600dpV13Config.smallestScreenWidthDp = 600; in TEST()
|
H A D | ResourceFilter_test.cpp | 107 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 D | ConfigurationControllerImplTest.kt | 80 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 D | ConfigurationTest.java | 123 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 D | SizeConfigurationBuckets.java | 85 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 D | PromptFingerprintIconViewModelTest.kt | 77 testConfig.smallestScreenWidthDp = folded 81 testConfig.smallestScreenWidthDp = unfolded
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | ConfigurationControllerImpl.kt | 48 smallestScreenWidth = currentConfig.smallestScreenWidthDp 85 val smallestScreenWidth = newConfig.smallestScreenWidthDp
|
/aosp14/frameworks/base/core/tests/mockingcoretests/src/android/window/ |
H A D | SizeConfigurationBucketsTest.java | 348 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 D | ScreenSizeFoldProvider.kt | 48 newConfig.smallestScreenWidthDp < INNER_SCREEN_SMALLEST_SCREEN_WIDTH_THRESHOLD_DP
|
/aosp14/frameworks/base/libs/androidfw/ |
H A D | ConfigDescription.cpp | 566 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 D | ResourceTypes.cpp | 2048 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 D | Builders.h | 285 ConfigDescriptionBuilder& setSmallestScreenWidthDp(uint16_t smallestScreenWidthDp) { in setSmallestScreenWidthDp() argument 286 config_.smallestScreenWidthDp = smallestScreenWidthDp; in setSmallestScreenWidthDp()
|
/aosp14/frameworks/base/native/android/ |
H A D | configuration.cpp | 132 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 D | NearestTouchFrameTest.java | 70 c.smallestScreenWidthDp = 500; in setup() 78 c.smallestScreenWidthDp = 700; in testNoActionOnLargeDevices()
|
/aosp14/frameworks/base/core/java/com/android/internal/view/ |
H A D | ActionBarPolicy.java | 56 final int smallest = config.smallestScreenWidthDp; in getMaxActionButtons()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/ |
H A D | ControlsActivityTest.kt | 100 newConfig.smallestScreenWidthDp *= 2
|
/aosp14/frameworks/base/libs/androidfw/tests/ |
H A D | AttributeResolution_bench.cpp | 104 device_config.smallestScreenWidthDp = 700; in BM_ApplyStyleFramework()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
H A D | TestUtils.java | 54 overrideConfig.smallestScreenWidthDp = 15; in mergedConfig()
|