Searched refs:GetContentRect (Results 1 – 17 of 17) sorted by relevance
/foundation/graphic/ui/test/unittest/components/ |
D | ui_button_unit_test.cpp | 217 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 …]
|
D | ui_view_unit_test.cpp | 1089 Rect rect = view_->GetContentRect(); 1115 Rect rect = view_->GetContentRect();
|
/foundation/graphic/ui/frameworks/components/ |
D | ui_label.cpp | 292 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()
|
D | ui_label_button.cpp | 31 Rect textRect = GetContentRect(); in OnDraw()
|
D | ui_axis.cpp | 62 Rect current = GetContentRect(); in UpdateAxisPoints() 140 Rect current = GetContentRect(); in UpdateAxisPoints()
|
D | ui_toggle_button.cpp | 67 Rect contentRect = GetContentRect(); in CalculateSize() 95 Rect contentRect = GetContentRect(); in OnDraw()
|
D | ui_checkbox.cpp | 184 Rect contentRect = GetContentRect(); in UnSelectedStateSoftwareDrawing() 226 Rect coords = GetContentRect(); in OnDraw() 238 Rect contentRect = GetContentRect(); in OnDraw()
|
D | ui_list.cpp | 364 … (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()
|
D | ui_radio_button.cpp | 91 Rect contentRect = GetContentRect(); in OnDraw()
|
D | ui_digital_clock.cpp | 205 Rect rect = GetContentRect(); in SetHorizontal()
|
D | ui_chart.cpp | 385 Rect refresh = chart_->GetContentRect(); in Refresh() 404 Rect rect = GetContentRect(); in RefreshChart() 718 Rect currentRect = GetContentRect(); in DrawGradientColor() 818 Rect currentRect = GetContentRect(); in GradientColor()
|
D | ui_view.cpp | 422 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
|
D | ui_button.cpp | 78 Rect viewRect = GetContentRect(); in DrawImg()
|
D | ui_image_view.cpp | 431 Rect viewRect = GetContentRect(); in OnDraw()
|
D | root_view.cpp | 674 mask = par->GetContentRect(); in Render()
|
/foundation/graphic/ui/interfaces/kits/components/ |
D | ui_button.h | 316 virtual Rect GetContentRect() override in GetContentRect() function
|
D | ui_view.h | 872 virtual Rect GetContentRect();
|