/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | ResTable_config.java | 144 int smallestScreenWidthDp = 0; in createConfig() local 156 smallestScreenWidthDp = buffer.getShort() & 0xFFFF; in createConfig() 182 sdkVersion, minorVersion, screenLayout, uiMode, smallestScreenWidthDp, screenWidthDp, in createConfig() 638 smallestScreenWidthDp, screenWidthDp, screenHeightDp, localeScript, localeVariant, in withSdkVersion() 645 int uiMode, int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in ResTable_config() argument 665 this.smallestScreenWidthDp = smallestScreenWidthDp; in ResTable_config() 736 public int smallestScreenWidthDp; field in ResTable_config 885 dtohs((short) o.smallestScreenWidthDp), in fromDtoH() 994 if (smallestScreenWidthDp != o.smallestScreenWidthDp) diffs |= CONFIG_SMALLEST_SCREEN_SIZE; in diff() 1056 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in compare() [all …]
|
D | ConfigDescription.java | 415 out.smallestScreenWidthDp = ResTable_config.SCREENWIDTH_ANY; in parseSmallestScreenWidthDp() 422 out.smallestScreenWidthDp = Integer.parseInt(matcher.group(1)); in parseSmallestScreenWidthDp() 998 } else if (config.smallestScreenWidthDp != ResTable_config.SCREENWIDTH_ANY in applyVersionForCompatibility()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/ |
D | DeviceConfig.java | 165 if (resTab.smallestScreenWidthDp != 0) { in applyToConfiguration() 166 configuration.smallestScreenWidthDp = resTab.smallestScreenWidthDp; in applyToConfiguration() 292 if (configuration.smallestScreenWidthDp == 0) { in applyRules() 293 configuration.smallestScreenWidthDp = lesserDimenPx; in applyRules()
|
D | ConfigurationV25.java | 103 if (config.smallestScreenWidthDp != 0) { in resourceQualifierString() 104 parts.add("sw" + config.smallestScreenWidthDp + "dp"); in resourceQualifierString()
|
/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/android/ |
D | ResTableConfigTest.java | 133 int smallestScreenWidthDp; field in ResTableConfigTest.ResTableConfigBuilder 144 …screenHeight, sdkVersion, minorVersion, screenLayout, uiMode, smallestScreenWidthDp, screenWidthDp… in build()
|
D | ConfigDescriptionTest.java | 130 assertThat(config.smallestScreenWidthDp).isEqualTo(320); in parse_smallestScreenWidth() 407 assertThat(config.smallestScreenWidthDp).isEqualTo(320); in parse_multipleQualifiers()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
D | QualifiersTest.java | 86 assertThat(resources.getConfiguration().smallestScreenWidthDp).isEqualTo(320); in inflateLayout_defaultsTo_sw320dp() 95 assertThat(resources.getConfiguration().smallestScreenWidthDp).isEqualTo(720); in inflateLayout_overridesTo_sw720dp()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/ |
D | BootstrapTest.java | 159 assertThat(configuration.smallestScreenWidthDp).isEqualTo(320); in applyQualifiers_shouldAddDefaults() 228 assertThat(configuration.smallestScreenWidthDp).isEqualTo(400); in applyQualifiers_shouldHonorSpecifiedQualifiers() 254 assertThat(configuration.smallestScreenWidthDp).isEqualTo(320); in applyQualifiers_longShouldMakeScreenTaller()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowArscAssetManager.java | 135 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument 140 smallestScreenWidthDp, screenWidthDp, screenHeightDp, in setConfiguration() 148 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument 174 config.smallestScreenWidthDp = smallestScreenWidthDp; in setConfiguration()
|
D | ShadowLegacyAssetManager.java | 673 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument 678 smallestScreenWidthDp, screenWidthDp, screenHeightDp, in setConfiguration() 686 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument 706 config.smallestScreenWidthDp = smallestScreenWidthDp; in setConfiguration()
|
D | ShadowArscAssetManager10.java | 582 configuration.smallestScreenWidthDp = (short) (smallest_screen_width_dp); in nativeSetConfiguration() 1290 result.smallestScreenWidthDp = config.smallestScreenWidthDp; in ConstructConfigurationObject()
|
D | ShadowArscAssetManager9.java | 578 configuration.smallestScreenWidthDp = (short) (smallest_screen_width_dp); in nativeSetConfiguration() 1286 result.smallestScreenWidthDp = config.smallestScreenWidthDp; in ConstructConfigurationObject()
|