Home
last modified time | relevance | path

Searched refs:hwConfig (Results 1 – 2 of 2) sorted by relevance

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java155 HardwareConfig hwConfig = getParams().getHardwareConfig(); in Layout() local
156 Density density = hwConfig.getDensity(); in Layout()
520 HardwareConfig hwConfig = mParams.getHardwareConfig(); in findNavBar() local
523 if (hwConfig.getOrientation() == ScreenOrientation.LANDSCAPE) { in findNavBar()
524 int shortSize = hwConfig.getScreenHeight(); in findNavBar()
526 hwConfig.getDensity().getDpiValue(); in findNavBar()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp800 for (const auto& hwConfig : getHwComposer().getConfigs(*displayId)) { in getDisplayConfigs() local
803 float xdpi = hwConfig->getDpiX(); in getDisplayConfigs()
804 float ydpi = hwConfig->getDpiY(); in getDisplayConfigs()
806 info.w = hwConfig->getWidth(); in getDisplayConfigs()
807 info.h = hwConfig->getHeight(); in getDisplayConfigs()
847 info.fps = 1e9 / hwConfig->getVsyncPeriod(); in getDisplayConfigs()
849 mRefreshRateConfigs->getRefreshRateTypeFromHwcConfigId(hwConfig->getId()); in getDisplayConfigs()
865 info.presentationDeadline = hwConfig->getVsyncPeriod() - offset.late.sf + 1000000; in getDisplayConfigs()