/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ConfigurationContainerTests.java | 161 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/ |
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()
|
/frameworks/base/tools/aapt2/filter/ |
D | ConfigFilter.cpp | 115 if (config.smallestScreenWidthDp != 0 && in Match() 116 config.smallestScreenWidthDp < target.smallestScreenWidthDp) { in Match()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 753 public int smallestScreenWidthDp; field in Configuration 930 smallestScreenWidthDp = o.smallestScreenWidthDp; in setTo() 972 if (smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED) { in toString() 973 sb.append(" sw"); sb.append(smallestScreenWidthDp); sb.append("dp"); in toString() 1127 protoOutputStream.write(SMALLEST_SCREEN_WIDTH_DP, smallestScreenWidthDp); in writeToProto() 1280 smallestScreenWidthDp = protoInputStream.readInt(SMALLEST_SCREEN_WIDTH_DP); in readFromProto() 1386 smallestScreenWidthDp = compatSmallestScreenWidthDp = SMALLEST_SCREEN_WIDTH_DP_UNDEFINED; in setToDefaults() 1558 if (delta.smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED in updateFrom() 1559 && smallestScreenWidthDp != delta.smallestScreenWidthDp) { in updateFrom() 1561 smallestScreenWidthDp = delta.smallestScreenWidthDp; in updateFrom() [all …]
|
D | AssetManager.java | 1354 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/ |
D | RotationUtils.java | 31 if (config.smallestScreenWidthDp < 600) { in getRotation() 44 if (config.smallestScreenWidthDp < 600) { in getExactRotation()
|
/frameworks/base/tools/aapt/ |
D | ResourceFilter.cpp | 135 if (config.smallestScreenWidthDp != 0 && in match() 136 config.smallestScreenWidthDp < entry.first.smallestScreenWidthDp) { in match()
|
D | AaptConfig.cpp | 277 } 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/ |
D | ResourceTable_test.cpp | 35 sw600dpLandConfig.smallestScreenWidthDp = 600; in TEST() 54 sw600dpV13Config.smallestScreenWidthDp = 600; in TEST()
|
D | ResourceFilter_test.cpp | 107 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/ |
D | CompatModePackages.java | 205 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/ |
D | ActivityThreadTest.java | 282 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/tools/aapt2/test/ |
D | Builders.h | 287 ConfigDescriptionBuilder& setSmallestScreenWidthDp(uint16_t smallestScreenWidthDp) { in setSmallestScreenWidthDp() argument 288 config_.smallestScreenWidthDp = smallestScreenWidthDp; in setSmallestScreenWidthDp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NearestTouchFrameTest.java | 49 c.smallestScreenWidthDp = 500; in setup() 56 c.smallestScreenWidthDp = 700; in testNoActionOnLargeDevices()
|
/frameworks/base/libs/androidfw/ |
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() 916 if (smallestScreenWidthDp || o.smallestScreenWidthDp) in HasHigherPrecedenceThan() 917 return (!o.smallestScreenWidthDp); in HasHigherPrecedenceThan()
|
D | ResourceTypes.cpp | 1920 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/ |
D | configuration.cpp | 132 return config->smallestScreenWidthDp; in AConfiguration_getSmallestScreenWidthDp() 229 config->smallestScreenWidthDp = value; in AConfiguration_setSmallestScreenWidthDp()
|
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | TestUtils.java | 47 overrideConfig.smallestScreenWidthDp = 15; in mergedConfig()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderAction.java | 364 config.smallestScreenWidthDp = config.screenHeightDp; in getConfiguration() 366 config.smallestScreenWidthDp = config.screenWidthDp; in getConfiguration()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | ActionBarPolicy.java | 56 final int smallest = config.smallestScreenWidthDp; in getMaxActionButtons()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NearestTouchFrame.java | 50 mIsActive = c.smallestScreenWidthDp < 600; in NearestTouchFrame()
|
/frameworks/base/libs/androidfw/tests/ |
D | AttributeResolution_bench.cpp | 106 device_config.smallestScreenWidthDp = 700; in BM_ApplyStyleFramework()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSContainerImpl.java | 95 boolean navBelow = config.smallestScreenWidthDp >= 600 in onMeasure()
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
D | DpiTestActivity.java | 67 getResources().getConfiguration().smallestScreenWidthDp, false)); in init()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesManagerTest.java | 93 overrideConfig.smallestScreenWidthDp = 200; in testMultipleCallsWithDifferentParametersReturnDifferentReferences()
|