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.java145 HardwareConfig hwConfig = getParams().getHardwareConfig(); in Layout() local
146 Density density = hwConfig.getDensity(); in Layout()
491 HardwareConfig hwConfig = mParams.getHardwareConfig(); in findNavBar() local
494 if (hwConfig.getOrientation() == ScreenOrientation.LANDSCAPE) { in findNavBar()
495 int shortSize = hwConfig.getScreenHeight(); in findNavBar()
497 hwConfig.getDensity().getDpiValue(); in findNavBar()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp850 for (const auto& hwConfig : getHwComposer().getConfigs(type)) { in getDisplayConfigs() local
853 float xdpi = hwConfig->getDpiX(); in getDisplayConfigs()
854 float ydpi = hwConfig->getDpiY(); in getDisplayConfigs()
882 info.w = hwConfig->getWidth(); in getDisplayConfigs()
883 info.h = hwConfig->getHeight(); in getDisplayConfigs()
886 info.fps = 1e9 / hwConfig->getVsyncPeriod(); in getDisplayConfigs()
901 info.presentationDeadline = hwConfig->getVsyncPeriod() - in getDisplayConfigs()