/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/utils/ |
H A D | region_test.cpp | 62 EXPECT_FALSE(region->SetRect(rectI)); in HWTEST_F() 76 EXPECT_TRUE(region->SetRect(rectI)); in HWTEST_F() 135 region->SetRect(rectI); in HWTEST_F() 137 other.SetRect(rectI); in HWTEST_F() 167 region->SetRect(rectI); in HWTEST_F() 169 other.SetRect(otherRectI); in HWTEST_F() 185 region->SetRect(rectI); in HWTEST_F() 187 other.SetRect(otherRectI); in HWTEST_F() 203 region->SetRect(rectI); in HWTEST_F() 205 other.SetRect(otherRect in HWTEST_F() [all...] |
H A D | round_rect_test.cpp | 145 roundRect->SetRect(rect1); in HWTEST_F() 162 roundRect->SetRect(rect2); in HWTEST_F()
|
/foundation/graphic/graphic_utils_lite/test/ |
H A D | rect_unit_test.cpp | 61 rect_->SetRect(0, 0, 0, 0); in SetUp() 80 rect1->SetRect(0, 0, HORIZONTAL_RESOLUTION, VERTICAL_RESOLUTION); in HWTEST_F() 93 * @tc.desc: Verify SetRect function, equal. 103 rect_->SetRect(0, 0, HORIZONTAL_RESOLUTION, VERTICAL_RESOLUTION); in HWTEST_F() 153 rect_->SetRect(TEST_VALUE, 0, 0, 0); in HWTEST_F() 169 rect_->SetRect(0, TEST_VALUE, 0, 0); in HWTEST_F() 185 rect_->SetRect(TEST_VALUE, 0, 0, 0); in HWTEST_F() 201 rect_->SetRect(0, TEST_VALUE, 0, 0); in HWTEST_F() 217 rect_->SetRect(0, 0, TEST_VALUE, 0); in HWTEST_F() 233 rect_->SetRect( in HWTEST_F() [all...] |
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_slider.cpp | 123 knobBar.SetRect(foregroundRect.GetRight() - halfKnobWidth, foregroundRect.GetTop() - offset, in DrawKnob() 129 knobBar.SetRect(foregroundRect.GetLeft() - halfKnobWidth, foregroundRect.GetTop() - offset, in DrawKnob() 135 knobBar.SetRect(foregroundRect.GetLeft() - offset, foregroundRect.GetTop() - halfKnobWidth, in DrawKnob() 141 knobBar.SetRect(foregroundRect.GetLeft() - offset, foregroundRect.GetBottom() - halfKnobWidth, in DrawKnob() 203 foregroundRect.SetRect(startPoint.x, startPoint.y, startPoint.x + progressWidth - 1, in DrawForeground() 208 coords.SetRect(left, startPoint.y, right, startPoint.y + progressHeight_ - 1); in DrawForeground() 213 foregroundRect.SetRect(startPoint.x, startPoint.y, startPoint.x + progressWidth - 1, in DrawForeground() 218 coords.SetRect(left, startPoint.y, right, startPoint.y + progressHeight_ - 1); in DrawForeground() 223 foregroundRect.SetRect(startPoint.x, startPoint.y, startPoint.x + progressWidth_ - 1, in DrawForeground() 228 coords.SetRect(startPoin in DrawForeground() [all...] |
H A D | ui_box_scroll_bar.cpp | 29 backgroundRect_.SetRect(x, y, x + width - 1, y + height - 1); in SetPosition() 51 rect.SetRect(backgroundRect_.GetLeft(), forgroundTop, backgroundRect_.GetRight(), in OnDraw() 60 rect.SetRect(forgroundLeft, backgroundRect_.GetTop(), forgroundLeft + forgroundWidth - 1, in OnDraw()
|
H A D | ui_box_progress.cpp | 264 coords.SetRect(startPoint.x, startPoint.y, startPoint.x + length, startPoint.y + progressHeight - 1); in DrawForeground() 269 coords.SetRect(startPoint.x + progressWidth - 1 - length, in DrawForeground() 275 coords.SetRect(startPoint.x, startPoint.y, startPoint.x + progressWidth - 1, startPoint.y + length); in DrawForeground() 280 coords.SetRect(startPoint.x, startPoint.y + progressHeight - 1 - length, in DrawForeground()
|
/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/ |
H A D | texgine_rect.cpp | 32 rect->SetRect(RSRect { left, top, right, bottom }); in MakeLTRB() 39 rect->SetRect(RSRect { x, y, x + w, y + h }); in MakeXYWH() 46 rect->SetRect(RSRect { 0, 0, w, h }); in MakeWH() 73 void TexgineRect::SetRect(const RSRect &rect) in SetRect() function in OHOS::Rosen::TextEngine::TexgineRect
|
H A D | texgine_rect.h | 79 void SetRect(const RSRect &rect);
|
/foundation/arkui/ace_engine/interfaces/inner_api/ace/ |
H A D | arkui_rect.h | 29 SetRect(x, y, width, height); in RectF() 32 void SetRect(float x, float y, float width, float height) in SetRect() function in OHOS::Ace::RectF
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/utils/ |
H A D | region.cpp | 41 bool Region::SetRect(const RectI& rectI) in SetRect() function in OHOS::Rosen::Drawing::Region 43 return impl_->SetRect(rectI); in SetRect()
|
/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | rrect.h | 43 rect_.SetRect(x, y, width, height); in RRect() 49 rrect.SetRect(rect); in MakeRect() 84 void SetRect(const Rect& rect) in SetRect() function in OHOS::Ace::final
|
H A D | rect.h | 34 SetRect(x, y, width, height); in Rect() 43 void SetRect(double x, double y, double width, double height) in SetRect() function in OHOS::Ace::Rect 51 void SetRect(const Offset& offset, const Size& size) in SetRect() function in OHOS::Ace::Rect
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | focus_state_modifier.h | 45 roundRect.SetRect( 68 roundRect_.SetRect( in SetRoundRect() 83 roundRect_.SetRect( in SetRoundRect() 99 roundRect_.SetRect( in SetRoundRect()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/common/ |
H A D | rs_obj_abs_geometry_test.cpp | 70 rsObjAbsGeometry.SetRect(x, y, w, h); in HWTEST_F() 131 rsObjAbsGeometry.SetRect(x, y, w, h); in HWTEST_F() 137 rsObjAbsGeometry.SetRect(x, y, w, h); in HWTEST_F() 162 rsObjAbsGeometry.SetRect(x, y, w, h); in HWTEST_F()
|
/foundation/arkui/ui_lite/frameworks/render/ |
H A D | render_base.cpp | 28 clipBox_.SetRect(0, 0, ren.GetWidth() - 1, ren.GetHeight() - 1); in Attach() 36 clipBox_.SetRect(cb.GetLeft(), cb.GetTop(), cb.GetRight(), cb.GetBottom()); in ClipBox() 54 clipBox_.SetRect(x1, y1, x2, y2); in ClipBoxNaked()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/calendar_picker/ |
H A D | calendar_picker_pattern_test_ng.cpp | 175 yearMockRenderContext->rect_.SetRect(0, 0, 10, 10); in HWTEST_F() 178 monthMockRenderContext->rect_.SetRect(0, 10, 10, 10); in HWTEST_F() 181 dayMockRenderContext->rect_.SetRect(0, 20, 10, 10); in HWTEST_F() 184 addBtnMockRenderContext->rect_.SetRect(0, 30, 10, 10); in HWTEST_F() 187 subBtnMockRenderContext->rect_.SetRect(0, 40, 10, 10); in HWTEST_F() 235 addBtnMockRenderContext->rect_.SetRect(0, 0, 10, 10); in HWTEST_F() 238 subBtnMockRenderContext->rect_.SetRect(0, 10, 10, 10); in HWTEST_F() 277 yearMockRenderContext->rect_.SetRect(0, 0, 10, 10); in HWTEST_F() 280 monthMockRenderContext->rect_.SetRect(0, 10, 10, 10); in HWTEST_F() 283 dayMockRenderContext->rect_.SetRect( in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/ |
H A D | round_rect.h | 48 inline void SetRect(const Rect& rect); 122 inline void RoundRect::SetRect(const Rect& rect) in SetRect() function in OHOS::Rosen::Drawing::RoundRect
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/ |
H A D | region_impl.h | 34 virtual bool SetRect(const RectI& rectI) = 0;
|
/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_line.cpp | 292 rect.SetRect(MATH_MIN(x0Int, x1Int), y0Int, MATH_MAX(x0Int, x1Int), y1Int); in DrawWuLine() 294 rect.SetRect(MATH_MIN(x2Int, x3Int), y3Int, MATH_MAX(x2Int, x3Int), y2Int); in DrawWuLine() 335 rect.SetRect(edge0, sy, edge1, sy); in DrawWuLine() 390 rect.SetRect(x1Int, MATH_MIN(y0Int, y1Int), x0Int, MATH_MAX(y0Int, y1Int)); in DrawWuLine() 392 rect.SetRect(x3Int, MATH_MIN(y2Int, y3Int), x2Int, MATH_MAX(y2Int, y3Int)); in DrawWuLine() 433 rect.SetRect(sx, edge0, sx, edge1); in DrawWuLine()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_region.h | 38 bool SetRect(const RectI& rectI) override;
|
/foundation/window/window_manager_lite/test/ |
H A D | sample_ui.cpp | 38 config.rect.SetRect(0, 0, Screen::GetInstance().GetWidth() - 1, Screen::GetInstance().GetHeight() - 1); in TestAPP()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/region_napi/ |
H A D | js_region.cpp | 35 DECLARE_NAPI_FUNCTION("setRect", JsRegion::SetRect), in Init() 207 napi_value JsRegion::SetRect(napi_env env, napi_callback_info info) in SetRect() function in OHOS::Rosen::Drawing::JsRegion 233 return CreateJsValue(env, m_region->SetRect(rectI)); in OnSetRect()
|
/foundation/arkui/ace_engine/frameworks/base/geometry/ng/ |
H A D | rect_t.h | 38 SetRect(x, y, width, height); in RectT() 63 void SetRect(T x, T y, T width, T height) in SetRect() function in OHOS::Ace::NG::RectT 71 void SetRect(const OffsetT<T>& offset, const SizeT<T>& size) in SetRect() function in OHOS::Ace::NG::RectT 531 inline void SetRect(const RectF& rect); 582 inline void RoundRect::SetRect(const RectF& rect) in SetRect() function in OHOS::Ace::NG::RoundRect
|
/foundation/arkui/ace_engine/frameworks/core/accessibility/ |
H A D | native_interface_accessibility_impl.cpp | 45 void ArkUI_AccessibilityElementInfo::SetRect(const ArkUI_AccessibleRect& rect) in SetRect() function in ArkUI_AccessibilityElementInfo
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | display_info_utils.cpp | 43 rect.SetRect(item.posX_, item.posY_, item.width_, item.height_); in GetDisplayInfo()
|