Searched refs:rectRatio (Results 1 – 4 of 4) sorted by relevance
/test/xts/hats/hdf/display/composer/moduletest/ |
D | hdi_device_test.cpp | 42 .rectRatio = { 0, 0, 1.0f, 0.125f }, 48 .rectRatio = { 0, 0.875f, 1.0f, 0.125f }, 54 .rectRatio = { 0, 0.0, 1.0f, 1.0f }, 65 .rectRatio = { 0, 0, 1.0f, 1.0f }, 69 .rectRatio = { 0, 0, 1.0f, 0.125f }, 73 .rectRatio = { 0, 0.875f, 1.0f, 0.125f }, 84 .rectRatio = { 0, 0, 1.0f, 1.0f }, 91 .rectRatio = { 0, 0, 1.0f, 0.125f }, 98 .rectRatio = { 0, 0.875f, 1.0f, 0.125f }, 109 .rectRatio = { 0, 0, 1.0f, 0.125f }, [all …]
|
/test/xts/hats/hdf/display/composer/unittest/ |
D | hdi_composer_ut.cpp | 120 DISPLAY_TEST_LOGE(" ratio w: %f ratio h: %f", setting.rectRatio.w, setting.rectRatio.h); in AdjustLayerSettings() 121 if ((setting.rectRatio.w > 0.0f) && (setting.rectRatio.h > 0.0f)) { in AdjustLayerSettings() 122 setting.displayRect.h = static_cast<uint32_t>(setting.rectRatio.h * h); in AdjustLayerSettings() 123 setting.displayRect.w = static_cast<uint32_t>(setting.rectRatio.w * w); in AdjustLayerSettings() 124 setting.displayRect.x = static_cast<uint32_t>(setting.rectRatio.x * w); in AdjustLayerSettings() 125 setting.displayRect.y = static_cast<uint32_t>(setting.rectRatio.y * h); in AdjustLayerSettings() 127 …setting.rectRatio.x, setting.rectRatio.y, setting.rectRatio.w, setting.rectRatio.h, setting.displa… in AdjustLayerSettings() 430 .rectRatio = { 0, 0, 1.0f, 1.0f }, 457 .rectRatio = { 0, 0, 1.0f, 1.0f }, 461 .rectRatio = { 0, 0, 1.0f, 1.0f }, [all …]
|
/test/xts/hats/hdf/display/composer/benchmark/ |
D | display_benchmark_test.cpp | 137 DISPLAY_TEST_LOGE(" ratio w: %f ratio h: %f", setting.rectRatio.w, setting.rectRatio.h); in AdjustLayerSettings() 138 if ((setting.rectRatio.w > 0.0f) && (setting.rectRatio.h > 0.0f)) { in AdjustLayerSettings() 139 setting.displayRect.h = static_cast<uint32_t>(setting.rectRatio.h * h); in AdjustLayerSettings() 140 setting.displayRect.w = static_cast<uint32_t>(setting.rectRatio.w * w); in AdjustLayerSettings() 141 setting.displayRect.x = static_cast<uint32_t>(setting.rectRatio.x * w); in AdjustLayerSettings() 142 setting.displayRect.y = static_cast<uint32_t>(setting.rectRatio.y * h); in AdjustLayerSettings() 144 setting.rectRatio.x, setting.rectRatio.y, setting.rectRatio.w, in AdjustLayerSettings() 145 setting.rectRatio.h,setting.displayRect.x,setting.displayRect.y, in AdjustLayerSettings() 814 .rectRatio = { 0, 0, 1.0f, 1.0f }, in BENCHMARK_F() 818 .rectRatio = { 0, 0, 1.0f, 1.0f }, in BENCHMARK_F() [all …]
|
/test/xts/hats/hdf/display/composer/common/ |
D | display_test_utils.h | 59 FRect rectRatio = { 0.0f }; member
|