Searched refs:MAX_REGION_VALUE (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/ |
H A D | rs_occlusion_region.h | 31 constexpr int MAX_REGION_VALUE = 1000000; // normal region value should not exceed 1000000 variable 50 l, t, t, b, MIN_REGION_VALUE, MAX_REGION_VALUE); 63 … r.left_, r.top_, r.GetRight(), r.GetBottom(), MIN_REGION_VALUE, MAX_REGION_VALUE); 146 right_ = std::min(right_, MAX_REGION_VALUE); in CheckAndCorrectValue() 147 bottom_ = std::min(bottom_, MAX_REGION_VALUE); in CheckAndCorrectValue()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/common/ |
H A D | rs_occlusion_region_test.cpp | 513 const Rect maxRect { MIN_REGION_VALUE, MIN_REGION_VALUE, MAX_REGION_VALUE, MAX_REGION_VALUE }; 516 constexpr int invalidRight = MAX_REGION_VALUE + 1; 517 constexpr int invalidBottom = MAX_REGION_VALUE + 1;
|