Searched refs:inOutConfig (Results 1 – 3 of 3) sorted by relevance
740 final Configuration inOutConfig = new Configuration(); in testComputeConfigResourceOverrides() local761 inOutConfig.setToDefaults(); in testComputeConfigResourceOverrides()774 inOutConfig.setToDefaults(); in testComputeConfigResourceOverrides()799 assertEquals(expectedWidthDp, inOutConfig.screenWidthDp); in testComputeConfigResourceOverrides()809 final Configuration inOutConfig = new Configuration(); in testComputeConfigResourceLayoutOverrides() local870 final Configuration inOutConfig = new Configuration(); in testInsetDisregardedWhenFreeformOverlapsNavBar() local899 inOutConfig.screenWidthDp); in testInsetDisregardedWhenFreeformOverlapsNavBar()901 inOutConfig.screenHeightDp); in testInsetDisregardedWhenFreeformOverlapsNavBar()904 inOutConfig.setToDefaults(); in testInsetDisregardedWhenFreeformOverlapsNavBar()916 inOutConfig.screenWidthDp); in testInsetDisregardedWhenFreeformOverlapsNavBar()[all …]
2103 invalidateAppBoundsConfig(inOutConfig); in computeConfigResourceOverrides()2114 invalidateAppBoundsConfig(inOutConfig); in computeConfigResourceOverrides()2150 float density = inOutConfig.densityDpi; in computeConfigResourceOverrides()2252 if (inOutConfig.smallestScreenWidthDp in computeConfigResourceOverrides()2265 inOutConfig.smallestScreenWidthDp = (int) (0.5f in computeConfigResourceOverrides()2271 inOutConfig.smallestScreenWidthDp = in computeConfigResourceOverrides()2272 Math.min(inOutConfig.screenWidthDp, inOutConfig.screenHeightDp); in computeConfigResourceOverrides()2278 if (inOutConfig.orientation == ORIENTATION_UNDEFINED) { in computeConfigResourceOverrides()2279 inOutConfig.orientation = (inOutConfig.screenWidthDp <= inOutConfig.screenHeightDp) in computeConfigResourceOverrides()2291 compatScreenWidthDp = inOutConfig.screenWidthDp; in computeConfigResourceOverrides()[all …]
9076 private static void offsetBounds(Configuration inOutConfig, int offsetX, int offsetY) { in offsetBounds() argument9077 inOutConfig.windowConfiguration.getBounds().offset(offsetX, offsetY); in offsetBounds()9078 inOutConfig.windowConfiguration.getAppBounds().offset(offsetX, offsetY); in offsetBounds()