Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DConfigurationContainerTests.java161 rootOverrideConfig.smallestScreenWidthDp = 200; in testConfigurationChangePropagation()
292 rootOverrideConfig.smallestScreenWidthDp = 140; in testConfigurationConstraints()
304 child1.getRequestedOverrideConfiguration().smallestScreenWidthDp); in testConfigurationConstraints()
305 assertEquals(100, child1.getConfiguration().smallestScreenWidthDp); in testConfigurationConstraints()
306 assertEquals(100, listener.mOverrideConfiguration.smallestScreenWidthDp); in testConfigurationConstraints()
309 rootOverrideConfig.smallestScreenWidthDp = 80; in testConfigurationConstraints()
313 child1.getRequestedOverrideConfiguration().smallestScreenWidthDp); in testConfigurationConstraints()
314 assertEquals(80, child1.getConfiguration().smallestScreenWidthDp); in testConfigurationConstraints()
315 assertEquals(80, listener.mOverrideConfiguration.smallestScreenWidthDp); in testConfigurationConstraints()
317 rootOverrideConfig.smallestScreenWidthDp = 180; in testConfigurationConstraints()
[all …]
/frameworks/base/core/jni/
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()
/frameworks/base/tools/aapt2/filter/
DConfigFilter.cpp115 if (config.smallestScreenWidthDp != 0 && in Match()
116 config.smallestScreenWidthDp < target.smallestScreenWidthDp) { in Match()
/frameworks/base/core/java/android/content/res/
DConfiguration.java752 public int smallestScreenWidthDp; field in Configuration
928 smallestScreenWidthDp = o.smallestScreenWidthDp; in setTo()
970 if (smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED) { in toString()
971 sb.append(" sw"); sb.append(smallestScreenWidthDp); sb.append("dp"); in toString()
1125 protoOutputStream.write(SMALLEST_SCREEN_WIDTH_DP, smallestScreenWidthDp); in writeToProto()
1270 smallestScreenWidthDp = protoInputStream.readInt(SMALLEST_SCREEN_WIDTH_DP); in readFromProto()
1368 smallestScreenWidthDp = compatSmallestScreenWidthDp = SMALLEST_SCREEN_WIDTH_DP_UNDEFINED; in setToDefaults()
1540 if (delta.smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED in updateFrom()
1541 && smallestScreenWidthDp != delta.smallestScreenWidthDp) { in updateFrom()
1543 smallestScreenWidthDp = delta.smallestScreenWidthDp; in updateFrom()
[all …]
DAssetManager.java1354 int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, in setConfiguration() argument
1360 smallestScreenWidthDp, screenWidthDp, screenHeightDp, screenLayout, uiMode, in setConfiguration()
1422 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, int screenLayout, in nativeSetConfiguration() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DRotationUtils.java31 if (config.smallestScreenWidthDp < 600) { in getRotation()
44 if (config.smallestScreenWidthDp < 600) { in getExactRotation()
/frameworks/base/tools/aapt/
DResourceFilter.cpp135 if (config.smallestScreenWidthDp != 0 && in match()
136 config.smallestScreenWidthDp < entry.first.smallestScreenWidthDp) { in match()
DAaptConfig.cpp277 } else if (config->smallestScreenWidthDp != ResTable_config::SCREENWIDTH_ANY in applyVersionForCompatibility()
793 out->smallestScreenWidthDp = out->SCREENWIDTH_ANY; in parseSmallestScreenWidthDp()
808 out->smallestScreenWidthDp = (uint16_t)atoi(xName.string()); in parseSmallestScreenWidthDp()
/frameworks/base/tools/aapt/tests/
DResourceTable_test.cpp36 sw600dpLandConfig.smallestScreenWidthDp = 600; in TEST()
55 sw600dpV13Config.smallestScreenWidthDp = 600; in TEST()
DResourceFilter_test.cpp107 config.smallestScreenWidthDp = 600; in TEST()
120 config.smallestScreenWidthDp = 320; in TEST()
147 config.smallestScreenWidthDp = 600; in TEST()
/frameworks/base/services/core/java/com/android/server/wm/
DCompatModePackages.java205 globalConfig.smallestScreenWidthDp, in compatibilityInfoForPackageLocked()
215 globalConfig.smallestScreenWidthDp, enabled); in computeCompatModeLocked()
373 final int smallestScreenWidthDp = globalConfig.smallestScreenWidthDp; in saveCompatModes() local
391 smallestScreenWidthDp, false); in saveCompatModes()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java282 config.smallestScreenWidthDp = 100; in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration()
292 config.smallestScreenWidthDp = 200; in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration()
297 config.smallestScreenWidthDp = 300; in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration()
302 config.smallestScreenWidthDp = 400; in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration()
314 assertEquals(400, activity.mConfig.smallestScreenWidthDp); in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNearestTouchFrameTest.java49 c.smallestScreenWidthDp = 500; in setup()
56 c.smallestScreenWidthDp = 700; in testNoActionOnLargeDevices()
/frameworks/base/tools/aapt2/test/
DBuilders.h287 ConfigDescriptionBuilder& setSmallestScreenWidthDp(uint16_t smallestScreenWidthDp) { in setSmallestScreenWidthDp() argument
288 config_.smallestScreenWidthDp = smallestScreenWidthDp; in setSmallestScreenWidthDp()
/frameworks/base/libs/androidfw/
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()
916 if (smallestScreenWidthDp || o.smallestScreenWidthDp) in HasHigherPrecedenceThan()
917 return (!o.smallestScreenWidthDp); in HasHigherPrecedenceThan()
DResourceTypes.cpp1920 smallestScreenWidthDp = dtohs(smallestScreenWidthDp); in copyFromDtoH()
1934 smallestScreenWidthDp = htods(smallestScreenWidthDp); in swapHtoD()
2004 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in compare()
2005 return (smallestScreenWidthDp > o.smallestScreenWidthDp) ? 1 : -1; in compare()
2032 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in compareLogical()
2033 return smallestScreenWidthDp < o.smallestScreenWidthDp ? -1 : 1; in compareLogical()
2096 if (smallestScreenWidthDp != o.smallestScreenWidthDp) diffs |= CONFIG_SMALLEST_SCREEN_SIZE; in diff()
2171 if (smallestScreenWidthDp || o.smallestScreenWidthDp) { in isMoreSpecificThan()
2172 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in isMoreSpecificThan()
2173 if (!smallestScreenWidthDp) return false; in isMoreSpecificThan()
[all …]
/frameworks/base/native/android/
Dconfiguration.cpp132 return config->smallestScreenWidthDp; in AConfiguration_getSmallestScreenWidthDp()
229 config->smallestScreenWidthDp = value; in AConfiguration_setSmallestScreenWidthDp()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTestUtils.java47 overrideConfig.smallestScreenWidthDp = 15; in mergedConfig()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java364 config.smallestScreenWidthDp = config.screenHeightDp; in getConfiguration()
366 config.smallestScreenWidthDp = config.screenWidthDp; in getConfiguration()
/frameworks/base/core/java/com/android/internal/view/
DActionBarPolicy.java56 final int smallest = config.smallestScreenWidthDp; in getMaxActionButtons()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNearestTouchFrame.java50 mIsActive = c.smallestScreenWidthDp < 600; in NearestTouchFrame()
/frameworks/base/libs/androidfw/tests/
DAttributeResolution_bench.cpp106 device_config.smallestScreenWidthDp = 700; in BM_ApplyStyleFramework()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSContainerImpl.java95 boolean navBelow = config.smallestScreenWidthDp >= 600 in onMeasure()
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java67 getResources().getConfiguration().smallestScreenWidthDp, false)); in init()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuaresActivity.kt176 val minSide = resources.configuration.smallestScreenWidthDp - 25 // ish in loadPuzzle()

12