/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_button_unit_test.cpp | 218 EXPECT_EQ(button_->GetContentRect().GetWidth(), releasedWidth); 219 EXPECT_EQ(button_->GetContentRect().GetHeight(), releasedHeight); 220 EXPECT_EQ(button_->GetContentRect().GetX(), posX + paddingdLeft + borderWidth); 221 EXPECT_EQ(button_->GetContentRect().GetY(), posY + paddingdTop + borderWidth); 254 EXPECT_EQ(button_->GetContentRect().GetWidth(), pressWidth); 255 EXPECT_EQ(button_->GetContentRect().GetHeight(), pressHeight); 256 EXPECT_EQ(button_->GetContentRect().GetX(), posX + paddingdLeft + borderWidth); 257 EXPECT_EQ(button_->GetContentRect().GetY(), posY + paddingdTop + borderWidth); 289 EXPECT_EQ(button_->GetContentRect().GetWidth(), inactiveWidth); 290 EXPECT_EQ(button_->GetContentRect().GetHeight(), inactiveHeight); [all …]
|
H A D | ui_view_unit_test.cpp | 1088 Rect rect = view_->GetContentRect(); 1114 Rect rect = view_->GetContentRect();
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_edit_text.cpp | 145 GetContentRect().GetWidth(), pressPos.x, offsetX_); in DealPressEvents() 336 Rect contentRect = GetContentRect(); in ReMeasure() 353 Rect contentRect = GetContentRect(); in UpdateOffsetX() 397 Rect contentRect = GetContentRect(); in GetFirstVisibleIndex() 416 Rect contentRect = GetContentRect(); in GetLastVisibleIndex() 432 Rect contentRect = GetContentRect(); in UpdateExtraOffsetX() 567 Rect contentRect = GetContentRect(); in InsertTextByCursorIndex() 589 Rect contentRect = GetContentRect(); in CalculatedCursorPos() 630 Rect contentRect = GetContentRect(); in UpdateOffsetBySetCursorIndex() 663 deleteTextWidth_ = inputText_->GetNextCharacterFullDispalyOffset(GetContentRect(), in DeleteBackward() [all …]
|
H A D | ui_label.cpp | 336 labelText_->ReMeasureTextSize(GetContentRect(), style); in ReMeasure() 349 ellipsisIndex_ = labelText_->GetEllipsisIndex(GetContentRect(), style); in ReMeasure() 350 labelText_->ReMeasureTextWidthInEllipsisMode(GetContentRect(), style, ellipsisIndex_); in ReMeasure() 430 GetContentRect(), offsetX_, style, ellipsisIndex_, opa); in OnDraw()
|
H A D | ui_axis.cpp | 62 Rect current = GetContentRect(); in UpdateAxisPoints() 140 Rect current = GetContentRect(); in UpdateAxisPoints()
|
H A D | ui_toggle_button.cpp | 67 Rect contentRect = GetContentRect(); in CalculateSize() 104 Rect contentRect = GetContentRect(); in OnDraw()
|
H A D | ui_label_button.cpp | 31 Rect textRect = GetContentRect(); in OnDraw()
|
H A D | ui_checkbox.cpp | 228 Rect coords = GetContentRect(); in OnDraw() 240 Rect contentRect = GetContentRect(); in OnDraw()
|
H A 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()
|
H A D | ui_digital_clock.cpp | 205 Rect rect = GetContentRect(); in SetHorizontal()
|
H A D | ui_radio_button.cpp | 92 Rect contentRect = GetContentRect(); in OnDraw()
|
H A D | ui_chart.cpp | 403 Rect refresh = chart_->GetContentRect(); in Refresh() 422 Rect rect = GetContentRect(); in RefreshChart() 804 Rect currentRect = GetContentRect(); in DrawGradientColor() 914 Rect currentRect = GetContentRect(); in GradientColor()
|
H A D | ui_button.cpp | 78 Rect viewRect = GetContentRect(); in DrawImg()
|
H A D | ui_view.cpp | 470 isIntersect = trunc.Intersect(par->GetContentRect(), trunc); in InvalidateRect() 721 rect.Intersect(par->GetContentRect(), rect); in GetTargetView() 798 Rect UIView::GetContentRect() in GetContentRect() function in OHOS::UIView
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_field_content_modifier_test.cpp | 262 auto contentRectWidth = pattern_->GetContentRect().Width(); 263 auto contentRectHeight = pattern_->GetContentRect().Height();
|
H A D | text_area_test.cpp | 696 auto contentRect = pattern_->GetContentRect(); 745 auto contentRect = pattern_->GetContentRect(); 798 auto contentRect = pattern_->GetContentRect();
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_select_overlay.cpp | 208 auto contentRect = pattern->GetContentRect(); in CheckHandleVisible() 323 auto contentRect = pattern->GetContentRect(); in GetSelectArea() 378 auto contentRect = pattern->GetContentRect(); in GetTextAreaCaretPosition() 396 auto contentRect = pattern->GetContentRect(); in GetTextInputCaretPosition()
|
H A D | text_field_overlay_modifier.cpp | 153 auto contentRect = textFieldPattern->GetContentRect(); in PaintUnderline() 203 auto paintOffset = textFieldPattern->GetContentRect().GetOffset(); in PaintSelection()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_base.h | 153 const RectF& GetContentRect() const in GetContentRect() function
|
H A D | base_text_select_overlay.cpp | 379 auto contentRect = geometryNode->GetContentRect(); in CheckHandleIsVisibleWithTransform() 429 visibleContentRect = geometryNode->GetContentRect(); in GetVisibleContentRectWithTransform() 1160 contentRect = geometryNode->GetContentRect(); in GetFrameNodeContentRect()
|
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_button.h | 316 Rect GetContentRect() override in GetContentRect() function
|
H A D | ui_view.h | 802 virtual Rect GetContentRect();
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | geometry_node.h | 228 RectF GetContentRect() const in GetContentRect() function
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_common_test_ng.cpp | 175 auto contentRect = richEditorNode_->GetGeometryNode()->GetContentRect(); in OnDrawVerify()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/ |
H A D | slider_layout_algorithm.cpp | 205 auto contentRect = layoutWrapper->GetGeometryNode()->GetContentRect(); in Layout()
|