Lines Matching refs:DisplayConfigImpl
35 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()
295 return reinterpret_cast<DisplayConfigImpl*>(config)->width; in ADisplayConfig_getWidth()
301 return reinterpret_cast<DisplayConfigImpl*>(config)->height; in ADisplayConfig_getHeight()
307 return reinterpret_cast<DisplayConfigImpl*>(config)->fps; in ADisplayConfig_getFps()
313 return reinterpret_cast<DisplayConfigImpl*>(config)->sfOffset; in ADisplayConfig_getCompositorOffsetNanos()
319 return reinterpret_cast<DisplayConfigImpl*>(config)->appOffset; in ADisplayConfig_getAppVsyncOffsetNanos()