Lines Matching refs:w
240 …std::shared_ptr<HdiTestLayer> layer = display->CreateHdiTestLayer(setting.bufferSize.w, setting.bu… in CreateTestLayer()
288 static void AdjustLayerSettings(std::vector<LayerSettings> &settings, uint32_t w, uint32_t h) in AdjustLayerSettings() argument
293 DISPLAY_TEST_LOGD(" ratio w: %f ratio h: %f", setting.rectRatio.w, setting.rectRatio.h); in AdjustLayerSettings()
294 if ((setting.rectRatio.w > 0.0f) && (setting.rectRatio.h > 0.0f)) { in AdjustLayerSettings()
296 setting.displayRect.w = static_cast<uint32_t>(setting.rectRatio.w * w); in AdjustLayerSettings()
297 setting.displayRect.x = static_cast<uint32_t>(setting.rectRatio.x * w); in AdjustLayerSettings()
300 setting.rectRatio.x, setting.rectRatio.y, setting.rectRatio.w, setting.rectRatio.h, in AdjustLayerSettings()
301 … setting.displayRect.x, setting.displayRect.y, setting.displayRect.w, setting.displayRect.h); in AdjustLayerSettings()
304 if ((setting.bufferRatio.h > 0.0f) || (setting.bufferRatio.w > 0.0f)) { in AdjustLayerSettings()
306 setting.bufferSize.w = static_cast<uint32_t>(setting.bufferRatio.w * w); in AdjustLayerSettings()
308 … setting.bufferRatio.w, setting.bufferRatio.h, setting.bufferSize.w, setting.bufferSize.h); in AdjustLayerSettings()
311 if ((setting.bufferSize.w == 0) || (setting.bufferSize.h == 0)) { in AdjustLayerSettings()
313 … setting.bufferSize.w, setting.bufferSize.h, setting.displayRect.w, setting.displayRect.h); in AdjustLayerSettings()
315 setting.bufferSize.w = setting.displayRect.w; in AdjustLayerSettings()