Searched refs:screenHeightDp (Results 1 – 15 of 15) sorted by relevance
120 if (resTab.screenHeightDp == 0) { in applyToConfiguration()121 configuration.screenHeightDp = 0; in applyToConfiguration()173 if (resTab.screenHeightDp != 0) { in applyToConfiguration()174 configuration.screenHeightDp = resTab.screenHeightDp; in applyToConfiguration()270 && configuration.screenWidthDp != 0 && configuration.screenHeightDp != 0) { in applyRules()271 configuration.orientation = (configuration.screenWidthDp > configuration.screenHeightDp) in applyRules()280 if (configuration.screenHeightDp == 0) { in applyRules()281 configuration.screenHeightDp = requestedScreenSize.height; in applyRules()285 configuration.screenHeightDp = (int) (configuration.screenHeightDp * 1.25f); in applyRules()289 int lesserDimenPx = Math.min(configuration.screenWidthDp, configuration.screenHeightDp); in applyRules()[all …]
111 if (config.screenHeightDp != 0) { in resourceQualifierString()112 parts.add("h" + config.screenHeightDp + "dp"); in resourceQualifierString()
58 int heightPx = (int) (configuration.screenHeightDp * displayMetrics.density); in fixJellyBean()
146 int screenHeightDp = 0; in createConfig() local161 screenHeightDp = buffer.getShort() & 0xFFFF; in createConfig()183 …screenHeightDp, localeScript, localeVariant, screenLayout2, screenConfigPad1, screenConfigPad2, un… in createConfig()638 smallestScreenWidthDp, screenWidthDp, screenHeightDp, localeScript, localeVariant, in withSdkVersion()645 int uiMode, int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in ResTable_config() argument667 this.screenHeightDp = screenHeightDp; in ResTable_config()738 public int screenHeightDp; field in ResTable_config887 dtohs((short) o.screenHeightDp), in fromDtoH()1086 && screenHeightDp == 0 in isDefault()1132 result.put(Type.SCREEN_HEIGHT_DP, screenHeightDp != 0 ? "h" + screenHeightDp + "dp" : ""); in toStringParts()[all …]
447 out.screenHeightDp = ResTable_config.SCREENWIDTH_ANY; in parseScreenHeightDp()454 out.screenHeightDp = Integer.parseInt(matcher.group(1)); in parseScreenHeightDp()1000 || config.screenHeightDp != ResTable_config.SCREENHEIGHT_ANY) { in applyVersionForCompatibility()
135 int screenHeightDp; field in ResTableConfigTest.ResTableConfigBuilder144 …Version, screenLayout, uiMode, smallestScreenWidthDp, screenWidthDp, screenHeightDp, localeScript,… in build()
142 assertThat(config.screenHeightDp).isEqualTo(1024); in getScreenHeight()
51 int heightPx = (int) (configuration.screenHeightDp * displayMetrics.density); in createDisplayInfo()109 configuration.screenHeightDp = baseDisplayInfo.logicalHeight * DisplayMetrics.DENSITY_DEFAULT in createDisplayInfo()
135 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument140 smallestScreenWidthDp, screenWidthDp, screenHeightDp, in setConfiguration()148 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument176 config.screenHeightDp = screenHeightDp; in setConfiguration()
673 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument678 smallestScreenWidthDp, screenWidthDp, screenHeightDp, in setConfiguration()686 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument708 config.screenHeightDp = screenHeightDp; in setConfiguration()
401 int heightPx = (int) (configuration.screenHeightDp * displayMetrics.density); in configureForJBOnly()
584 configuration.screenHeightDp = (short) (screen_height_dp); in nativeSetConfiguration()1292 result.screenHeightDp = config.screenHeightDp; in ConstructConfigurationObject()
580 configuration.screenHeightDp = (short) (screen_height_dp); in nativeSetConfiguration()1288 result.screenHeightDp = config.screenHeightDp; in ConstructConfigurationObject()
161 assertThat(configuration.screenHeightDp).isEqualTo(470); in applyQualifiers_shouldAddDefaults()230 assertThat(configuration.screenHeightDp).isEqualTo(456); in applyQualifiers_shouldHonorSpecifiedQualifiers()256 assertThat(configuration.screenHeightDp).isEqualTo(587); in applyQualifiers_longShouldMakeScreenTaller()266 assertThat(configuration.screenHeightDp).isEqualTo(200); in whenScreenRationGreatherThan175Percent_applyQualifiers_ShouldSetLong()
229 assertThat(configuration.screenHeightDp).isEqualTo(ScreenSize.xlarge.height); in whenDimensAndSizeSpecified_setQualifiers_should()