Home
last modified time | relevance | path

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

123

/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DConfigurationContainerTests.java162 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 DActivityTaskManagerServiceTests.java383 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 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()
/aosp12/frameworks/base/core/java/android/content/res/
H A DConfiguration.java792 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 DConfigFilter.cpp115 if (config.smallestScreenWidthDp != 0 && in Match()
116 config.smallestScreenWidthDp < target.smallestScreenWidthDp) { in Match()
/aosp12/frameworks/base/tools/aapt/
H A DResourceFilter.cpp135 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 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()
/aosp12/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()
/aosp12/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()
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 DConfigurationControllerImpl.kt46 smallestScreenWidth = currentConfig.smallestScreenWidthDp
82 val smallestScreenWidth = newConfig.smallestScreenWidthDp
/aosp12/frameworks/base/core/tests/mockingcoretests/src/android/window/
H A DSizeConfigurationBucketsTest.java359 oldConfig.smallestScreenWidthDp = 480; in testSmallestWidthSizeThresholds()
361 newConfig.smallestScreenWidthDp = 520; in testSmallestWidthSizeThresholds()
365 newConfig.smallestScreenWidthDp = 640; in testSmallestWidthSizeThresholds()
/aosp12/frameworks/base/libs/androidfw/
H A DConfigDescription.cpp548 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 DResourceTypes.cpp2035 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 DBuilders.h287 ConfigDescriptionBuilder& setSmallestScreenWidthDp(uint16_t smallestScreenWidthDp) { in setSmallestScreenWidthDp() argument
288 config_.smallestScreenWidthDp = smallestScreenWidthDp; in setSmallestScreenWidthDp()
/aosp12/frameworks/base/native/android/
H A Dconfiguration.cpp132 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 DRenderAction.java368 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 DNearestTouchFrameTest.java70 c.smallestScreenWidthDp = 500; in setup()
78 c.smallestScreenWidthDp = 700; in testNoActionOnLargeDevices()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DBogusMoveEventDetector.java52 final int sw = res.getConfiguration().smallestScreenWidthDp; in init()
/aosp12/frameworks/base/core/java/com/android/internal/view/
H A DActionBarPolicy.java56 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 DAppStyledViewSampleActivity.java62 config.smallestScreenWidthDp = width; in onCreate()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DWindowManagerCompat.java102 conf.smallestScreenWidthDp = swDp; in getSystemResource()
/aosp12/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
H A DWallpaperUtils.java141 if (res.getConfiguration().smallestScreenWidthDp >= 720) { in getDefaultWallpaperSize()
/aosp12/frameworks/base/libs/androidfw/tests/
H A DAttributeResolution_bench.cpp106 device_config.smallestScreenWidthDp = 700; in BM_ApplyStyleFramework()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DCompatModePackages.java372 return new CompatibilityInfo(ai, config.screenLayout, config.smallestScreenWidthDp, in compatibilityInfoForPackageLocked()
423 final int smallestScreenWidthPx = (int) (config.smallestScreenWidthDp * density + .5f); in getCompatScale()

123