Home
last modified time | relevance | path

Searched refs:SetRect (Results 1 - 25 of 140) sorted by relevance

123456

/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/utils/
H A Dregion_test.cpp62 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 Dround_rect_test.cpp145 roundRect->SetRect(rect1); in HWTEST_F()
162 roundRect->SetRect(rect2); in HWTEST_F()
/foundation/graphic/graphic_utils_lite/test/
H A Drect_unit_test.cpp61 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 Dui_slider.cpp123 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 Dui_box_scroll_bar.cpp29 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 Dui_box_progress.cpp264 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 Dtexgine_rect.cpp32 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 Dtexgine_rect.h79 void SetRect(const RSRect &rect);
/foundation/arkui/ace_engine/interfaces/inner_api/ace/
H A Darkui_rect.h29 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 Dregion.cpp41 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 Drrect.h43 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 Drect.h34 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 Dfocus_state_modifier.h45 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 Drs_obj_abs_geometry_test.cpp70 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 Drender_base.cpp28 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 Dcalendar_picker_pattern_test_ng.cpp175 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 Dround_rect.h48 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 Dregion_impl.h34 virtual bool SetRect(const RectI& rectI) = 0;
/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_line.cpp292 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 Dskia_region.h38 bool SetRect(const RectI& rectI) override;
/foundation/window/window_manager_lite/test/
H A Dsample_ui.cpp38 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 Djs_region.cpp35 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 Drect_t.h38 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 Dnative_interface_accessibility_impl.cpp45 void ArkUI_AccessibilityElementInfo::SetRect(const ArkUI_AccessibleRect& rect) in SetRect() function in ArkUI_AccessibilityElementInfo
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Ddisplay_info_utils.cpp43 rect.SetRect(item.posX_, item.posY_, item.width_, item.height_); in GetDisplayInfo()

Completed in 17 milliseconds

123456