/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | ConfigurationContainerTests.java | 162 rootOverrideConfig.smallestScreenWidthDp = 200; in testConfigurationChangePropagation() 293 rootOverrideConfig.smallestScreenWidthDp = 140; in testConfigurationConstraints() 306 assertEquals(100, child1.getConfiguration().smallestScreenWidthDp); in testConfigurationConstraints() 310 rootOverrideConfig.smallestScreenWidthDp = 80; in testConfigurationConstraints() 315 assertEquals(80, child1.getConfiguration().smallestScreenWidthDp); in testConfigurationConstraints() 318 rootOverrideConfig.smallestScreenWidthDp = 180; in testConfigurationConstraints() 323 assertEquals(100, child1.getConfiguration().smallestScreenWidthDp); in testConfigurationConstraints() 464 int smallestScreenWidthDp = in resolveOverrideConfiguration() local 467 ? newParentConfig.smallestScreenWidthDp in resolveOverrideConfiguration() 470 getResolvedOverrideConfiguration().smallestScreenWidthDp = in resolveOverrideConfiguration() [all …]
|
H A D | ActivityTaskManagerServiceTests.java | 383 tda.getConfiguration().smallestScreenWidthDp = mAtm.mLargeScreenSmallestScreenWidthDp; in testSupportsMultiWindow_nonResizable() 389 tda.getConfiguration().smallestScreenWidthDp = mAtm.mLargeScreenSmallestScreenWidthDp - 1; in testSupportsMultiWindow_nonResizable() 428 tda.getConfiguration().smallestScreenWidthDp = mAtm.mLargeScreenSmallestScreenWidthDp; in testSupportsMultiWindow_activityMinWidthHeight_largerThanSupport() 434 tda.getConfiguration().smallestScreenWidthDp = mAtm.mLargeScreenSmallestScreenWidthDp - 1; in testSupportsMultiWindow_activityMinWidthHeight_largerThanSupport() 458 tda.getConfiguration().smallestScreenWidthDp = mAtm.mLargeScreenSmallestScreenWidthDp - 1; in testSupportsMultiWindow_landscape_checkActivityMinWidth() 491 tda.getConfiguration().smallestScreenWidthDp = mAtm.mLargeScreenSmallestScreenWidthDp - 1; in testSupportsMultiWindow_portrait_checkActivityMinHeight()
|
/aosp12/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()
|
/aosp12/frameworks/base/core/java/android/content/res/ |
H A D | Configuration.java | 792 public int smallestScreenWidthDp; field in Configuration 975 smallestScreenWidthDp = o.smallestScreenWidthDp; in setTo() 1616 && smallestScreenWidthDp != delta.smallestScreenWidthDp) { in updateFrom() 1618 smallestScreenWidthDp = delta.smallestScreenWidthDp; in updateFrom() 1718 smallestScreenWidthDp = delta.smallestScreenWidthDp; in setTo() 1871 && smallestScreenWidthDp != delta.smallestScreenWidthDp) { in diff() 1978 dest.writeInt(smallestScreenWidthDp); in writeToParcel() 2109 n = this.smallestScreenWidthDp - that.smallestScreenWidthDp; in compareTo() 2717 if (base.smallestScreenWidthDp != change.smallestScreenWidthDp) { in generateDelta() 2718 delta.smallestScreenWidthDp = change.smallestScreenWidthDp; in generateDelta() [all …]
|
/aosp12/frameworks/base/tools/aapt2/filter/ |
H A D | ConfigFilter.cpp | 115 if (config.smallestScreenWidthDp != 0 && in Match() 116 config.smallestScreenWidthDp < target.smallestScreenWidthDp) { in Match()
|
/aosp12/frameworks/base/tools/aapt/ |
H A D | ResourceFilter.cpp | 135 if (config.smallestScreenWidthDp != 0 && in match() 136 config.smallestScreenWidthDp < entry.first.smallestScreenWidthDp) { in match()
|
/aosp12/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()
|
/aosp12/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()
|
/aosp12/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() 135 final int oldSmallest = oldConfig.smallestScreenWidthDp; in filterDiff() 136 final int newSmallest = newConfig.smallestScreenWidthDp; in filterDiff()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | ConfigurationControllerImpl.kt | 46 smallestScreenWidth = currentConfig.smallestScreenWidthDp 82 val smallestScreenWidth = newConfig.smallestScreenWidthDp
|
/aosp12/frameworks/base/core/tests/mockingcoretests/src/android/window/ |
H A D | SizeConfigurationBucketsTest.java | 359 oldConfig.smallestScreenWidthDp = 480; in testSmallestWidthSizeThresholds() 361 newConfig.smallestScreenWidthDp = 520; in testSmallestWidthSizeThresholds() 365 newConfig.smallestScreenWidthDp = 640; in testSmallestWidthSizeThresholds()
|
/aosp12/frameworks/base/libs/androidfw/ |
H A D | ConfigDescription.cpp | 548 out->smallestScreenWidthDp = out->SCREENWIDTH_ANY; in parseSmallestScreenWidthDp() 563 out->smallestScreenWidthDp = (uint16_t)atoi(xName.c_str()); in parseSmallestScreenWidthDp() 844 } else if (config->smallestScreenWidthDp != in ApplyVersionForCompatibility() 919 if (smallestScreenWidthDp || o.smallestScreenWidthDp) in HasHigherPrecedenceThan() 920 return (!o.smallestScreenWidthDp); in HasHigherPrecedenceThan()
|
H A D | ResourceTypes.cpp | 2035 smallestScreenWidthDp = dtohs(smallestScreenWidthDp); in copyFromDtoH() 2049 smallestScreenWidthDp = htods(smallestScreenWidthDp); in swapHtoD() 2119 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in compare() 2120 return (smallestScreenWidthDp > o.smallestScreenWidthDp) ? 1 : -1; in compare() 2147 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in compareLogical() 2148 return smallestScreenWidthDp < o.smallestScreenWidthDp ? -1 : 1; in compareLogical() 2286 if (smallestScreenWidthDp || o.smallestScreenWidthDp) { in isMoreSpecificThan() 2287 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in isMoreSpecificThan() 2554 if (smallestScreenWidthDp || o.smallestScreenWidthDp) { in isBetterThan() 2558 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in isBetterThan() [all …]
|
/aosp12/frameworks/base/tools/aapt2/test/ |
H A D | Builders.h | 287 ConfigDescriptionBuilder& setSmallestScreenWidthDp(uint16_t smallestScreenWidthDp) { in setSmallestScreenWidthDp() argument 288 config_.smallestScreenWidthDp = smallestScreenWidthDp; in setSmallestScreenWidthDp()
|
/aosp12/frameworks/base/native/android/ |
H A D | configuration.cpp | 132 return config->smallestScreenWidthDp; in AConfiguration_getSmallestScreenWidthDp() 229 config->smallestScreenWidthDp = value; in AConfiguration_setSmallestScreenWidthDp()
|
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderAction.java | 368 config.smallestScreenWidthDp = config.screenHeightDp; in getConfiguration() 370 config.smallestScreenWidthDp = config.screenWidthDp; in getConfiguration()
|
/aosp12/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()
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | BogusMoveEventDetector.java | 52 final int sw = res.getConfiguration().smallestScreenWidthDp; in init()
|
/aosp12/frameworks/base/core/java/com/android/internal/view/ |
H A D | ActionBarPolicy.java | 56 final int smallest = config.smallestScreenWidthDp; in getMaxActionButtons()
|
/aosp12/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/appstyledview/ |
H A D | AppStyledViewSampleActivity.java | 62 config.smallestScreenWidthDp = width; in onCreate()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | WindowManagerCompat.java | 102 conf.smallestScreenWidthDp = swDp; in getSystemResource()
|
/aosp12/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
H A D | WallpaperUtils.java | 141 if (res.getConfiguration().smallestScreenWidthDp >= 720) { in getDefaultWallpaperSize()
|
/aosp12/frameworks/base/libs/androidfw/tests/ |
H A D | AttributeResolution_bench.cpp | 106 device_config.smallestScreenWidthDp = 700; in BM_ApplyStyleFramework()
|
/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | CompatModePackages.java | 372 return new CompatibilityInfo(ai, config.screenLayout, config.smallestScreenWidthDp, in compatibilityInfoForPackageLocked() 423 final int smallestScreenWidthPx = (int) (config.smallestScreenWidthDp * density + .5f); in getCompatScale()
|