Home
last modified time | relevance | path

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

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResTable_config.java144 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 …]
DConfigDescription.java415 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/
DDeviceConfig.java165 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()
DConfigurationV25.java103 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/
DResTableConfigTest.java133 int smallestScreenWidthDp; field in ResTableConfigTest.ResTableConfigBuilder
144 …screenHeight, sdkVersion, minorVersion, screenLayout, uiMode, smallestScreenWidthDp, screenWidthDp… in build()
DConfigDescriptionTest.java130 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/
DQualifiersTest.java86 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/
DBootstrapTest.java159 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/
DShadowArscAssetManager.java135 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()
DShadowLegacyAssetManager.java673 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()
DShadowArscAssetManager10.java582 configuration.smallestScreenWidthDp = (short) (smallest_screen_width_dp); in nativeSetConfiguration()
1290 result.smallestScreenWidthDp = config.smallestScreenWidthDp; in ConstructConfigurationObject()
DShadowArscAssetManager9.java578 configuration.smallestScreenWidthDp = (short) (smallest_screen_width_dp); in nativeSetConfiguration()
1286 result.smallestScreenWidthDp = config.smallestScreenWidthDp; in ConstructConfigurationObject()