Home
last modified time | relevance | path

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

/frameworks/native/libs/nativedisplay/
DADisplay.cpp35 struct DisplayConfigImpl { struct
75 static_assert(std::is_trivially_destructible<DisplayConfigImpl>::value);
110 DisplayConfigImpl* configs;
143 std::vector<DisplayConfigImpl> modesPerDisplay[size]; in ADisplay_acquirePhysicalDisplays()
170 DisplayConfigImpl{static_cast<size_t>(mode.id), mode.resolution.getWidth(), in ADisplay_acquirePhysicalDisplays()
203 sizeof(DisplayConfigImpl) * numModes)); in ADisplay_acquirePhysicalDisplays()
205 DisplayConfigImpl* configData = reinterpret_cast<DisplayConfigImpl*>(displayData + size); in ADisplay_acquirePhysicalDisplays()
211 const std::vector<DisplayConfigImpl>& configs = modesPerDisplay[i]; in ADisplay_acquirePhysicalDisplays()
212 memcpy(configData, configs.data(), sizeof(DisplayConfigImpl) * configs.size()); in ADisplay_acquirePhysicalDisplays()
289 return reinterpret_cast<DisplayConfigImpl*>(config)->density; in ADisplayConfig_getDensity()
[all …]