/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ConfigurationContainerTests.java | 163 rootOverrideConfig.smallestScreenWidthDp = 200; in testConfigurationChangePropagation() 308 rootOverrideConfig.smallestScreenWidthDp = 140; in testConfigurationConstraints() 320 child1.getRequestedOverrideConfiguration().smallestScreenWidthDp); in testConfigurationConstraints() 321 assertEquals(100, child1.getConfiguration().smallestScreenWidthDp); in testConfigurationConstraints() 322 assertEquals(100, listener.mOverrideConfiguration.smallestScreenWidthDp); in testConfigurationConstraints() 325 rootOverrideConfig.smallestScreenWidthDp = 80; in testConfigurationConstraints() 329 child1.getRequestedOverrideConfiguration().smallestScreenWidthDp); in testConfigurationConstraints() 330 assertEquals(80, child1.getConfiguration().smallestScreenWidthDp); in testConfigurationConstraints() 331 assertEquals(80, listener.mOverrideConfiguration.smallestScreenWidthDp); in testConfigurationConstraints() 333 rootOverrideConfig.smallestScreenWidthDp = 180; in testConfigurationConstraints() [all …]
|
D | ActivityTaskManagerServiceTests.java | 538 tda.getConfiguration().smallestScreenWidthDp = in testSupportsMultiWindow_nonResizable() 545 tda.getConfiguration().smallestScreenWidthDp = in testSupportsMultiWindow_nonResizable() 571 if (tda.getConfiguration().smallestScreenWidthDp in testSupportsMultiWindow_activityMinWidthHeight_largerThanSupport() 592 tda.getConfiguration().smallestScreenWidthDp = in testSupportsMultiWindow_activityMinWidthHeight_largerThanSupport() 599 tda.getConfiguration().smallestScreenWidthDp = in testSupportsMultiWindow_activityMinWidthHeight_largerThanSupport() 624 tda.getConfiguration().smallestScreenWidthDp = in testSupportsMultiWindow_landscape_checkActivityMinWidth() 659 tda.getConfiguration().smallestScreenWidthDp = in testSupportsMultiWindow_portrait_checkActivityMinHeight()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/ |
D | SplitScreenUtilsTests.java | 43 portraitTablet.smallestScreenWidthDp = 720; in testIsLeftRightSplit() 46 landscapeTablet.smallestScreenWidthDp = 720; in testIsLeftRightSplit() 49 portraitPhone.smallestScreenWidthDp = 420; in testIsLeftRightSplit() 52 landscapePhone.smallestScreenWidthDp = 420; in testIsLeftRightSplit()
|
/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 | 921 public int smallestScreenWidthDp; field in Configuration 1109 smallestScreenWidthDp = o.smallestScreenWidthDp; in setTo() 1160 if (smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED) { in toString() 1161 sb.append(" sw"); sb.append(smallestScreenWidthDp); sb.append("dp"); in toString() 1321 protoOutputStream.write(SMALLEST_SCREEN_WIDTH_DP, smallestScreenWidthDp); in dumpDebug() 1476 smallestScreenWidthDp = protoInputStream.readInt(SMALLEST_SCREEN_WIDTH_DP); in readFromProto() 1588 smallestScreenWidthDp = compatSmallestScreenWidthDp = SMALLEST_SCREEN_WIDTH_DP_UNDEFINED; in setToDefaults() 1762 if (delta.smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED in updateFrom() 1763 && smallestScreenWidthDp != delta.smallestScreenWidthDp) { in updateFrom() 1765 smallestScreenWidthDp = delta.smallestScreenWidthDp; in updateFrom() [all …]
|
D | AssetManager.java | 1555 int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, in setConfiguration() argument 1561 smallestScreenWidthDp, screenWidthDp, screenHeightDp, screenLayout, uiMode, in setConfiguration() 1566 smallestScreenWidthDp, screenWidthDp, screenHeightDp, screenLayout, uiMode, in setConfiguration() 1578 int navigation, int screenWidth, int screenHeight, int smallestScreenWidthDp, in setConfiguration() argument 1583 screenHeight, smallestScreenWidthDp, screenWidthDp, screenHeightDp, in setConfiguration() 1594 int navigation, int screenWidth, int screenHeight, int smallestScreenWidthDp, in setConfigurationInternal() argument 1601 screenHeight, smallestScreenWidthDp, screenWidthDp, screenHeightDp, in setConfigurationInternal() 1692 int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, in nativeSetConfiguration() argument
|
/frameworks/base/tools/aapt/ |
D | ResourceFilter.cpp | 135 if (config.smallestScreenWidthDp != 0 && in match() 136 config.smallestScreenWidthDp < entry.first.smallestScreenWidthDp) { in match()
|
/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/core/tests/coretests/src/android/content/res/ |
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()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | ConfigurationControllerImplTest.kt | 80 config.smallestScreenWidthDp = 240 in configChanged_listenerNotified() 87 config.smallestScreenWidthDp = 300 in configChanged_listenerNotified() 92 assertThat(listener.changedConfig?.smallestScreenWidthDp).isEqualTo(300) in configChanged_listenerNotified() 164 config.smallestScreenWidthDp = 240 in smallestScreenWidthChanged_listenerNotified() 170 config.smallestScreenWidthDp = 300 in smallestScreenWidthChanged_listenerNotified()
|
/frameworks/base/core/java/android/window/ |
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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | WindowMagnificationFrameSizePrefs.java | 44 mContext.getResources().getConfiguration().smallestScreenWidthDp); in getKey()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ConfigurationControllerImpl.kt | 52 smallestScreenWidth = currentConfig.smallestScreenWidthDp 93 val smallestScreenWidth = newConfig.smallestScreenWidthDp in onConfigurationChanged()
|
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/compat/ |
D | ScreenSizeFoldProvider.kt | 48 newConfig.smallestScreenWidthDp < INNER_SCREEN_SMALLEST_SCREEN_WIDTH_THRESHOLD_DP in onConfigurationChange()
|
/frameworks/base/core/tests/mockingcoretests/src/android/window/ |
D | SizeConfigurationBucketsTest.java | 348 oldConfig.smallestScreenWidthDp = 480; in testSmallestWidthSizeThresholds() 350 newConfig.smallestScreenWidthDp = 520; in testSmallestWidthSizeThresholds() 354 newConfig.smallestScreenWidthDp = 640; in testSmallestWidthSizeThresholds()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | DeviceConfig.kt | 52 val isLargeScreen = config.smallestScreenWidthDp >= LARGE_SCREEN_MIN_EDGE_DP in create()
|
/frameworks/base/libs/androidfw/ |
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()
|
/frameworks/base/tools/aapt2/test/ |
D | Builders.h | 288 ConfigDescriptionBuilder& setSmallestScreenWidthDp(uint16_t smallestScreenWidthDp) { in setSmallestScreenWidthDp() argument 289 config_.smallestScreenWidthDp = smallestScreenWidthDp; in setSmallestScreenWidthDp()
|
/frameworks/base/native/android/ |
D | configuration.cpp | 132 return config->smallestScreenWidthDp; in AConfiguration_getSmallestScreenWidthDp() 229 config->smallestScreenWidthDp = value; in AConfiguration_setSmallestScreenWidthDp()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | ActionBarPolicy.java | 56 final int smallest = config.smallestScreenWidthDp; in getMaxActionButtons()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/ |
D | NearestTouchFrameTest.java | 70 c.smallestScreenWidthDp = 500; in setup() 78 c.smallestScreenWidthDp = 700; in testNoActionOnLargeDevices()
|
/frameworks/base/tests/Input/src/com/android/test/input/ |
D | PointerIconLoadingTest.kt | 74 smallestScreenWidthDp = SCREEN_WIDTH_DP in setUp()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
D | SplitScreenUtils.java | 113 final boolean isLargeScreen = config.smallestScreenWidthDp >= 600; in isLeftRightSplit()
|