Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java132 HardwareConfig hwConfig = getParams().getHardwareConfig(); in Layout() local
133 Density density = hwConfig.getDensity(); in Layout()
386 HardwareConfig hwConfig = mParams.getHardwareConfig(); in findNavBar() local
389 if (hwConfig.getOrientation() == ScreenOrientation.LANDSCAPE) { in findNavBar()
390 int shortSize = hwConfig.getScreenHeight(); in findNavBar()
392 hwConfig.getDensity().getDpiValue(); in findNavBar()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger_hwc1.cpp605 const HWComposer::DisplayConfig& hwConfig = hwConfigs[c]; in getDisplayConfigs() local
608 float xdpi = hwConfig.xdpi; in getDisplayConfigs()
609 float ydpi = hwConfig.ydpi; in getDisplayConfigs()
637 info.w = hwConfig.width; in getDisplayConfigs()
638 info.h = hwConfig.height; in getDisplayConfigs()
641 info.fps = float(1e9 / hwConfig.refresh); in getDisplayConfigs()
643 info.colorTransform = hwConfig.colorTransform; in getDisplayConfigs()
658 hwConfig.refresh - SF_VSYNC_EVENT_PHASE_OFFSET_NS + 1000000; in getDisplayConfigs()
DSurfaceFlinger.cpp569 for (const auto& hwConfig : getHwComposer().getConfigs(type)) { in getDisplayConfigs() local
572 float xdpi = hwConfig->getDpiX(); in getDisplayConfigs()
573 float ydpi = hwConfig->getDpiY(); in getDisplayConfigs()
601 info.w = hwConfig->getWidth(); in getDisplayConfigs()
602 info.h = hwConfig->getHeight(); in getDisplayConfigs()
605 info.fps = 1e9 / hwConfig->getVsyncPeriod(); in getDisplayConfigs()
623 info.presentationDeadline = hwConfig->getVsyncPeriod() - in getDisplayConfigs()