Home
last modified time | relevance | path

Searched refs:childRect (Results 1 - 13 of 13) sorted by relevance

/foundation/arkui/ui_lite/frameworks/components/
H A Dui_scroll_view.cpp98 Rect childRect = GetAllChildRelativeRect(); in OnRotateEvent() local
99 SetIsEdge(lastIsEdge, childRect); in OnRotateEvent()
109 childRect = GetAllChildRelativeRect(); in OnRotateEvent()
112 if (childRect.GetLeft() - scrollBlankSize_ >= 0 || childRect.GetRight() + scrollBlankSize_ <= GetWidth()) { in OnRotateEvent()
116 if (childRect.GetTop() - scrollBlankSize_ >= 0 || childRect.GetBottom() + scrollBlankSize_ <= GetHeight()) { in OnRotateEvent()
149 void UIScrollView::SetIsEdge(bool& lastIsEdge, Rect childRect) in SetIsEdge() argument
152 if (childRect.GetLeft() - scrollBlankSize_ >= 0 || childRect in SetIsEdge()
180 Rect childRect = GetAllChildRelativeRect(); DragXInner() local
212 Rect childRect = GetAllChildRelativeRect(); DragYInner() local
[all...]
H A Dui_swipe_view.cpp488 Rect childRect = GetAllChildRelativeRect(); in IsNeedLoop() local
490 if ((childRect.GetWidth() - childrenHead_->GetWidth() >= GetWidth()) && in IsNeedLoop()
491 (childRect.GetWidth() - childrenTail_->GetWidth() >= GetWidth())) { in IsNeedLoop()
495 if ((childRect.GetHeight() - childrenHead_->GetHeight() >= GetHeight()) && in IsNeedLoop()
496 (childRect.GetHeight() - childrenTail_->GetHeight() >= GetHeight())) { in IsNeedLoop()
/foundation/arkui/ace_engine/frameworks/core/components/flex/
H A Dflex_element.cpp56 Rect childRect; in AcceptFocusByRectOfLastFocus() local
57 if (!CalculateRect(*it, childRect)) { in AcceptFocusByRectOfLastFocus()
61 Offset vec = childRect.Center() - rect.Center(); in AcceptFocusByRectOfLastFocus()
66 offset = childRect.GetOffset(); in AcceptFocusByRectOfLastFocus()
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/
H A Dgrid_layout_test_ng.cpp56 RectF childRect = GetChildRect(frameNode_, index); in HWTEST_F() local
60 EXPECT_TRUE(IsEqual(childRect, expectRect)) << "index: " << index; in HWTEST_F()
260 RectF childRect = GetChildRect(frameNode_, index); in HWTEST_F() local
264 EXPECT_TRUE(IsEqual(childRect, expectRect)) << "index: " << index; in HWTEST_F()
292 RectF childRect = GetChildRect(frameNode_, index); in HWTEST_F() local
296 EXPECT_TRUE(IsEqual(childRect, expectRect)) << "index: " << index; in HWTEST_F()
325 RectF childRect = GetChildRect(frameNode_, index); in HWTEST_F() local
329 EXPECT_TRUE(IsEqual(childRect, expectRect)) << "index: " << index; in HWTEST_F()
357 RectF childRect = GetChildRect(frameNode_, index); in HWTEST_F() local
361 EXPECT_TRUE(IsEqual(childRect, expectRec in HWTEST_F()
390 RectF childRect = GetChildRect(frameNode_, index); HWTEST_F() local
420 RectF childRect = GetChildRect(frameNode_, index); HWTEST_F() local
[all...]
H A Dgrid_cache_layout_test_ng.cpp123 RectF childRect = GetChildRect(frameNode_, index); in HWTEST_F() local
127 EXPECT_TRUE(IsEqual(childRect, expectRect)) << "index: " << index; in HWTEST_F()
153 RectF childRect = GetChildRect(frameNode_, index); in HWTEST_F() local
163 EXPECT_TRUE(IsEqual(childRect, expectRect)) << "index: " << index; in HWTEST_F()
189 RectF childRect = GetChildRect(frameNode_, index); in HWTEST_F() local
199 EXPECT_TRUE(IsEqual(childRect, expectRect)) << "index: " << index; in HWTEST_F()
H A Dgrid_scroll_layout_test_ng.cpp995 RectF childRect = GetChildRect(frameNode_, index); in HWTEST_F() local
999 EXPECT_TRUE(IsEqual(childRect, expectRect)) << "index: " << index; in HWTEST_F()
1019 RectF childRect = GetChildRect(frameNode_, index); in HWTEST_F() local
1023 EXPECT_TRUE(IsEqual(childRect, expectRect)) << "index: " << index; in HWTEST_F()
1130 RectF childRect = GetChildRect(frameNode_, index); in HWTEST_F() local
1134 EXPECT_TRUE(IsEqual(childRect, expectRect)) << "index: " << index; in HWTEST_F()
1159 RectF childRect = GetChildRect(frameNode_, index); in HWTEST_F() local
1163 EXPECT_TRUE(IsEqual(childRect, expectRect)) << "index: " << index; in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/focus/
H A Dfocus_node.cpp694 Rect childRect;
695 if (!CalculateRect(*itLastFocusNode_, childRect)) {
705 Rect rect(childRect.GetOffset(), renderNode->GetLayoutSize());
709 SetRect((*itLastFocusNode_)->GetRect() + childRect.GetOffset());
763 Rect childRect;
764 if (!CalculateRect(focusNode, childRect) ||
765 !focusNode->AcceptFocusByRectOfLastFocus(rect - childRect.GetOffset())) {
786 Rect childRect;
787 if (!CalculateRect(*itLastFocusNode_, childRect)) {
791 if ((*itLastFocusNode_)->AcceptFocusByRectOfLastFocus(rect - childRect
[all...]
/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_scroll_view.h251 void SetIsEdge(bool& lastIsEdge, Rect childRect);
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dfocus_hub.cpp1251 RectF childRect;
1252 if (!CalculateRect(focusNode, childRect) ||
1253 !focusNode->AcceptFocusByRectOfLastFocus(rect - childRect.GetOffset())) {
1265 RectF childRect;
1266 if (!CalculateRect(lastFocusNode, childRect)) {
1273 RectF rect(childRect.GetOffset(), lastFocusGeometryNode->GetFrameSize());
1277 SetRect(lastFocusNode->GetRect() + childRect.GetOffset());
1857 RectF childRect;
1858 if (!CalculateRect(child, childRect)) {
1861 if (!childRect
[all...]
/foundation/arkui/ace_engine/test/unittest/core/event/
H A Dfocus_hub_test_ng_new.cpp79 RectF childRect; in HWTEST_F() local
81 parent->TryRequestFocus(focusHub, childRect, FocusStep::TAB); in HWTEST_F()
84 childRect.width_ = -1; in HWTEST_F()
86 parent->TryRequestFocus(focusHub, childRect, FocusStep::NONE); in HWTEST_F()
422 RectF childRect; in HWTEST_F() local
428 EXPECT_FALSE(focusHub->RequestNextFocus(FocusStep::LEFT, childRect)); in HWTEST_F()
429 EXPECT_FALSE(focusHub->RequestNextFocus(FocusStep::SHIFT_TAB, childRect)); in HWTEST_F()
431 EXPECT_FALSE(focusHub->RequestNextFocus(FocusStep::TAB, childRect)); in HWTEST_F()
H A Dfocus_hub_test_ng.cpp1891 RectF childRect; in HWTEST_F() local
1894 EXPECT_FALSE(focusHub->AcceptFocusByRectOfLastFocus(childRect)); in HWTEST_F()
1897 EXPECT_FALSE(focusHub->AcceptFocusByRectOfLastFocus(childRect)); in HWTEST_F()
1900 EXPECT_FALSE(focusHub->AcceptFocusByRectOfLastFocus(childRect)); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
H A Drender_node.cpp264 for (auto& childRect : childTouchRectList) { in CompareTouchRectList()
266 auto rect = childRect; in CompareTouchRectList()
269 rect.SetOffset(childRect.GetOffset() + GetPaintRect().GetOffset()); in CompareTouchRectList()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_render_node.cpp1804 auto childRect = selfDrawRect_; in MapAndUpdateChildrenRect() local
1808 childRect = childRect.JoinRect(childrenRect_.ConvertTo<float>()); in MapAndUpdateChildrenRect()
1825 RectI childRectMapped = geoPtr->MapRect(childRect, childRelativeToParentMatrix); in MapAndUpdateChildrenRect()
1831 childRect = childRectMapped.ConvertTo<float>(); in MapAndUpdateChildrenRect()
1832 if (!childRect.IsInsideOf(parentNode->GetSelfDrawRect())) { in MapAndUpdateChildrenRect()

Completed in 23 milliseconds