Home
last modified time | relevance | path

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

/frameworks/native/libs/nativedisplay/
DADisplay.cpp34 struct DisplayConfigImpl { struct
69 static_assert(std::is_trivially_destructible<DisplayConfigImpl>::value);
104 DisplayConfigImpl* configs;
137 std::vector<DisplayConfigImpl> configsPerDisplay[size]; in ADisplay_acquirePhysicalDisplays()
162 DisplayConfigImpl{config.resolution.getWidth(), config.resolution.getHeight(), in ADisplay_acquirePhysicalDisplays()
195 sizeof(DisplayConfigImpl) * numConfigs)); in ADisplay_acquirePhysicalDisplays()
197 DisplayConfigImpl* configData = reinterpret_cast<DisplayConfigImpl*>(displayData + size); in ADisplay_acquirePhysicalDisplays()
203 const std::vector<DisplayConfigImpl>& configs = configsPerDisplay[i]; in ADisplay_acquirePhysicalDisplays()
204 memcpy(configData, configs.data(), sizeof(DisplayConfigImpl) * configs.size()); in ADisplay_acquirePhysicalDisplays()
274 return reinterpret_cast<DisplayConfigImpl*>(config)->density; in ADisplayConfig_getDensity()
[all …]