Home
last modified time | relevance | path

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

12

/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_button_unit_test.cpp218 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 Dui_view_unit_test.cpp1088 Rect rect = view_->GetContentRect();
1114 Rect rect = view_->GetContentRect();
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_edit_text.cpp145 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 Dui_label.cpp336 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 Dui_axis.cpp62 Rect current = GetContentRect(); in UpdateAxisPoints()
140 Rect current = GetContentRect(); in UpdateAxisPoints()
H A Dui_toggle_button.cpp67 Rect contentRect = GetContentRect(); in CalculateSize()
104 Rect contentRect = GetContentRect(); in OnDraw()
H A Dui_label_button.cpp31 Rect textRect = GetContentRect(); in OnDraw()
H A Dui_checkbox.cpp228 Rect coords = GetContentRect(); in OnDraw()
240 Rect contentRect = GetContentRect(); in OnDraw()
H A 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()
H A Dui_digital_clock.cpp205 Rect rect = GetContentRect(); in SetHorizontal()
H A Dui_radio_button.cpp92 Rect contentRect = GetContentRect(); in OnDraw()
H A Dui_chart.cpp403 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 Dui_button.cpp78 Rect viewRect = GetContentRect(); in DrawImg()
H A Dui_view.cpp470 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 Dtext_field_content_modifier_test.cpp262 auto contentRectWidth = pattern_->GetContentRect().Width();
263 auto contentRectHeight = pattern_->GetContentRect().Height();
H A Dtext_area_test.cpp696 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 Dtext_field_select_overlay.cpp208 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 Dtext_field_overlay_modifier.cpp153 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 Dtext_base.h153 const RectF& GetContentRect() const in GetContentRect() function
H A Dbase_text_select_overlay.cpp379 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 Dui_button.h316 Rect GetContentRect() override in GetContentRect() function
H A Dui_view.h802 virtual Rect GetContentRect();
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dgeometry_node.h228 RectF GetContentRect() const in GetContentRect() function
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_common_test_ng.cpp175 auto contentRect = richEditorNode_->GetGeometryNode()->GetContentRect(); in OnDrawVerify()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_layout_algorithm.cpp205 auto contentRect = layoutWrapper->GetGeometryNode()->GetContentRect(); in Layout()

12