Home
last modified time | relevance | path

Searched refs:GetContentRect (Results 1 – 17 of 17) sorted by relevance

/foundation/graphic/ui/test/unittest/components/
Dui_button_unit_test.cpp217 EXPECT_EQ(button_->GetContentRect().GetWidth(), releasedWidth);
218 EXPECT_EQ(button_->GetContentRect().GetHeight(), releasedHeight);
219 EXPECT_EQ(button_->GetContentRect().GetX(), posX + paddingdLeft + borderWidth);
220 EXPECT_EQ(button_->GetContentRect().GetY(), posY + paddingdTop + borderWidth);
253 EXPECT_EQ(button_->GetContentRect().GetWidth(), pressWidth);
254 EXPECT_EQ(button_->GetContentRect().GetHeight(), pressHeight);
255 EXPECT_EQ(button_->GetContentRect().GetX(), posX + paddingdLeft + borderWidth);
256 EXPECT_EQ(button_->GetContentRect().GetY(), posY + paddingdTop + borderWidth);
288 EXPECT_EQ(button_->GetContentRect().GetWidth(), inactiveWidth);
289 EXPECT_EQ(button_->GetContentRect().GetHeight(), inactiveHeight);
[all …]
Dui_view_unit_test.cpp1089 Rect rect = view_->GetContentRect();
1115 Rect rect = view_->GetContentRect();
/foundation/graphic/ui/frameworks/components/
Dui_label.cpp292 labelText_->ReMeasureTextSize(GetContentRect(), style); in ReMeasure()
305 ellipsisIndex_ = labelText_->GetEllipsisIndex(GetContentRect(), style); in ReMeasure()
306 labelText_->ReMeasureTextWidthInEllipsisMode(GetContentRect(), style, ellipsisIndex_); in ReMeasure()
381 GetContentRect(), offsetX_, style, ellipsisIndex_, opa); in OnDraw()
Dui_label_button.cpp31 Rect textRect = GetContentRect(); in OnDraw()
Dui_axis.cpp62 Rect current = GetContentRect(); in UpdateAxisPoints()
140 Rect current = GetContentRect(); in UpdateAxisPoints()
Dui_toggle_button.cpp67 Rect contentRect = GetContentRect(); in CalculateSize()
95 Rect contentRect = GetContentRect(); in OnDraw()
Dui_checkbox.cpp184 Rect contentRect = GetContentRect(); in UnSelectedStateSoftwareDrawing()
226 Rect coords = GetContentRect(); in OnDraw()
238 Rect contentRect = GetContentRect(); in OnDraw()
Dui_list.cpp364 … (childrenTail_->GetRelativeRect().GetBottom() <= GetContentRect().GetHeight() - 1) && in MoveOffset()
365 … (childrenTail_->GetRelativeRect().GetBottom() - y > GetContentRect().GetHeight() - 1)) { in MoveOffset()
374 (childrenTail_->GetRelativeRect().GetRight() <= GetContentRect().GetWidth() - 1) && in MoveOffset()
375 … (childrenTail_->GetRelativeRect().GetRight() - x > GetContentRect().GetWidth() - 1)) { in MoveOffset()
Dui_radio_button.cpp91 Rect contentRect = GetContentRect(); in OnDraw()
Dui_digital_clock.cpp205 Rect rect = GetContentRect(); in SetHorizontal()
Dui_chart.cpp385 Rect refresh = chart_->GetContentRect(); in Refresh()
404 Rect rect = GetContentRect(); in RefreshChart()
718 Rect currentRect = GetContentRect(); in DrawGradientColor()
818 Rect currentRect = GetContentRect(); in GradientColor()
Dui_view.cpp422 isIntersect = trunc.Intersect(par->GetContentRect(), trunc); in InvalidateRect()
552 rect.Intersect(par->GetContentRect(), rect); in GetTargetView()
569 rect.Intersect(par->GetContentRect(), rect); in GetTargetView()
608 Rect UIView::GetContentRect() in GetContentRect() function in OHOS::UIView
Dui_button.cpp78 Rect viewRect = GetContentRect(); in DrawImg()
Dui_image_view.cpp431 Rect viewRect = GetContentRect(); in OnDraw()
Droot_view.cpp674 mask = par->GetContentRect(); in Render()
/foundation/graphic/ui/interfaces/kits/components/
Dui_button.h316 virtual Rect GetContentRect() override in GetContentRect() function
Dui_view.h872 virtual Rect GetContentRect();