Home
last modified time | relevance | path

Searched refs:SetRect (Results 1 – 25 of 43) sorted by relevance

12

/foundation/graphic/ui/frameworks/components/
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(startPoint.x, top, startPoint.x + progressWidth_ - 1, bottom); in DrawForeground()
[all …]
Dui_box_scroll_bar.cpp29 backgroundRect_.SetRect(x, y, x + width - 1, y + height - 1); in SetPosition()
50 rect.SetRect(backgroundRect_.GetLeft(), forgroundTop, backgroundRect_.GetRight(), in OnDraw()
59 rect.SetRect(forgroundLeft, backgroundRect_.GetTop(), forgroundLeft + forgroundWidth - 1, in OnDraw()
Dui_box_progress.cpp264 …coords.SetRect(startPoint.x, startPoint.y, startPoint.x + length, startPoint.y + progressHeight - … 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()
Dui_toggle_button.cpp85 rectMid_.SetRect(x, y, x + rectWidth_, y + (corner_ << 1) + 1); in CalculateSize()
/foundation/graphic/utils/test/
Drect_unit_test.cpp61 rect_->SetRect(0, 0, 0, 0); in SetUp()
80 rect1->SetRect(0, 0, HORIZONTAL_RESOLUTION, VERTICAL_RESOLUTION);
103 rect_->SetRect(0, 0, HORIZONTAL_RESOLUTION, VERTICAL_RESOLUTION);
153 rect_->SetRect(TEST_VALUE, 0, 0, 0);
169 rect_->SetRect(0, TEST_VALUE, 0, 0);
185 rect_->SetRect(TEST_VALUE, 0, 0, 0);
201 rect_->SetRect(0, TEST_VALUE, 0, 0);
217 rect_->SetRect(0, 0, TEST_VALUE, 0);
233 rect_->SetRect(0, 0, 0, TEST_VALUE);
/foundation/ace/ace_engine/frameworks/base/geometry/
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
Drect.h34 SetRect(x, y, width, height); in Rect()
43 void SetRect(double x, double y, double width, double height) in SetRect() function
51 void SetRect(const Offset& offset, const Size& size) in SetRect() function
/foundation/graphic/standard/rosen/modules/2d_graphics/include/utils/
Dround_rect.h46 inline void SetRect(const Rect& rect);
95 inline void RoundRect::SetRect(const Rect& rect) in SetRect() function
/foundation/ace/ace_engine/frameworks/core/components/clip/
Dflutter_render_clip.cpp34 rrect.SetRect(GetClipRect(offset)); in Paint()
/foundation/graphic/wms/test/
Dsample_ui.cpp38 …config.rect.SetRect(0, 0, Screen::GetInstance().GetWidth() - 1, Screen::GetInstance().GetHeight() … in TestAPP()
/foundation/graphic/standard/frameworks/wm/src/client/
Dvideo_window.cpp145 ret = display->SetRect(layerId_, rect); in Move()
174 ret = display->SetRect(layerId_, rect); in SetSubWindowSize()
/foundation/multimedia/media_standard/frameworks/videodisplaymanager/include/
Dvideodisplaymanager.h55 int32_t SetRect(uint32_t layerId, IRect rect);
/foundation/graphic/ui/frameworks/draw/
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/ace/ace_engine/frameworks/core/focus/
Dfocus_node.cpp516 (*itLastFocusNode_)->SetRect(rect); in CalculatePosition()
517 SetRect(rect); in CalculatePosition()
519 SetRect((*itLastFocusNode_)->GetRect() + childRect.GetOffset()); in CalculatePosition()
616 rect.SetRect(childOffset - nowOffset, renderNode->GetLayoutSize()); in CalculateRect()
Dfocus_node.h131 void SetRect(const Rect& rect) in SetRect() function
/foundation/graphic/standard/frameworks/wm/src/
Dsubwindow_video_impl.cpp199 ret = display->SetRect(layerId, rect); in Move()
228 ret = display->SetRect(layerId, rect); in Resize()
/foundation/graphic/standard/rosen/modules/render_service_base/include/common/
Drs_obj_geometry.h92 void SetRect(float x, float y, float w, float h) in SetRect() function
278 SetRect(geo.x_, geo.y_, geo.width_, geo.height_);
/foundation/ace/ace_engine/frameworks/core/components/picker/
Drender_picker_value.cpp124 rrect.SetRect(Rect(0, 0, width, height)); in HandleAnimation()
/foundation/ace/ace_engine/frameworks/core/components/image/
Drender_image.cpp130 srcRect_.SetRect(Offset(), pictureSize); in PerformLayout()
131 dstRect_.SetRect(Offset(), GetLayoutSize()); in PerformLayout()
312 dstRect.SetRect(Alignment::GetAlignPosition(layoutSize, srcSize, alignment_), srcSize); in ApplyNone()
313 srcRect.SetRect(Alignment::GetAlignPosition(rawPicSize, srcSize, alignment_), srcSize); in ApplyNone()
/foundation/graphic/utils/interfaces/kits/gfx_utils/
Drect.h123 void SetRect(T left, T top, T right, T bottom) in SetRect() function
/foundation/multimedia/media_standard/frameworks/videodisplaymanager/src/
Dvideodisplaymanager.cpp204 int32_t VideoDisplayManager::SetRect(uint32_t layerId, IRect rect) in SetRect() function in OHOS::VideoDisplayManager
/foundation/graphic/standard/rosen/modules/render_service_base/src/property/
Drs_properties.cpp49 boundsGeo_->SetRect(bounds.x_, bounds.y_, bounds.z_, bounds.w_); in SetBounds()
133 frameGeo_->SetRect(frame.x_, frame.y_, frame.z_, frame.w_); in SetFrame()
909 boundsGeo_->SetRect(0.f, 0.f, 0.f, 0.f); in ResetBounds()
/foundation/ace/ace_engine/frameworks/core/components/list/
Drender_list_item.cpp112 focusAnimationRRect_.SetRect(Rect(Offset(0, 0), GetPaintSize() * TV_ITEM_SCALE)); in PerformLayout()
406 focusAnimationRRect_.SetRect(Rect(Offset(0.0, 0.0), GetPaintSize() * scale)); in ResetFocusEffect()
/foundation/ace/ace_engine/frameworks/core/accessibility/
Daccessibility_node.h572 void SetRect(const Rect& rect) in SetRect() function
817 SetRect(children_.front()->GetRect()); in UpdateRectWithChildRect()
/foundation/ace/ace_engine_lite/test/moduletest/common/
Dbasic_tdd_test.cpp59 config.rect.SetRect(0, 0, width - 1, height - 1); in SetUpTestCase()

12