Home
last modified time | relevance | path

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

1234

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DConfigurationContainerTests.java163 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 …]
DActivityTaskManagerServiceTests.java538 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/
DSplitScreenUtilsTests.java43 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/
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.java921 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 …]
DAssetManager.java1555 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/
DResourceFilter.cpp135 if (config.smallestScreenWidthDp != 0 && in match()
136 config.smallestScreenWidthDp < entry.first.smallestScreenWidthDp) { in match()
/frameworks/base/tools/aapt/tests/
DResourceTable_test.cpp35 sw600dpLandConfig.smallestScreenWidthDp = 600; in TEST()
54 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/core/tests/coretests/src/android/content/res/
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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DConfigurationControllerImplTest.kt80 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/
DSizeConfigurationBuckets.java85 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/
DWindowMagnificationFrameSizePrefs.java44 mContext.getResources().getConfiguration().smallestScreenWidthDp); in getKey()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DConfigurationControllerImpl.kt52 smallestScreenWidth = currentConfig.smallestScreenWidthDp
93 val smallestScreenWidth = newConfig.smallestScreenWidthDp in onConfigurationChanged()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/compat/
DScreenSizeFoldProvider.kt48 newConfig.smallestScreenWidthDp < INNER_SCREEN_SMALLEST_SCREEN_WIDTH_THRESHOLD_DP in onConfigurationChange()
/frameworks/base/core/tests/mockingcoretests/src/android/window/
DSizeConfigurationBucketsTest.java348 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/
DDeviceConfig.kt52 val isLargeScreen = config.smallestScreenWidthDp >= LARGE_SCREEN_MIN_EDGE_DP in create()
/frameworks/base/libs/androidfw/
DConfigDescription.cpp566 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/
DBuilders.h288 ConfigDescriptionBuilder& setSmallestScreenWidthDp(uint16_t smallestScreenWidthDp) { in setSmallestScreenWidthDp() argument
289 config_.smallestScreenWidthDp = smallestScreenWidthDp; in setSmallestScreenWidthDp()
/frameworks/base/native/android/
Dconfiguration.cpp132 return config->smallestScreenWidthDp; in AConfiguration_getSmallestScreenWidthDp()
229 config->smallestScreenWidthDp = value; in AConfiguration_setSmallestScreenWidthDp()
/frameworks/base/core/java/com/android/internal/view/
DActionBarPolicy.java56 final int smallest = config.smallestScreenWidthDp; in getMaxActionButtons()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/
DNearestTouchFrameTest.java70 c.smallestScreenWidthDp = 500; in setup()
78 c.smallestScreenWidthDp = 700; in testNoActionOnLargeDevices()
/frameworks/base/tests/Input/src/com/android/test/input/
DPointerIconLoadingTest.kt74 smallestScreenWidthDp = SCREEN_WIDTH_DP in setUp()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitScreenUtils.java113 final boolean isLargeScreen = config.smallestScreenWidthDp >= 600; in isLeftRightSplit()

1234