Searched refs:baseDisplayInfo (Results 1 – 1 of 1) sorted by relevance
97 private static DisplayInfo createDisplayInfo(String qualifiersStr, DisplayInfo baseDisplayInfo) { in createDisplayInfo() argument101 if (qualifiersStr.startsWith("+") && baseDisplayInfo != null) { in createDisplayInfo()103 (baseDisplayInfo.rotation == Surface.ROTATION_0 in createDisplayInfo()104 || baseDisplayInfo.rotation == Surface.ROTATION_180) in createDisplayInfo()107 configuration.screenWidthDp = baseDisplayInfo.logicalWidth * DisplayMetrics.DENSITY_DEFAULT in createDisplayInfo()108 / baseDisplayInfo.logicalDensityDpi; in createDisplayInfo()109 configuration.screenHeightDp = baseDisplayInfo.logicalHeight * DisplayMetrics.DENSITY_DEFAULT in createDisplayInfo()110 / baseDisplayInfo.logicalDensityDpi; in createDisplayInfo()111 configuration.densityDpi = baseDisplayInfo.logicalDensityDpi; in createDisplayInfo()112 displayMetrics.densityDpi = baseDisplayInfo.logicalDensityDpi; in createDisplayInfo()[all …]