Home
last modified time | relevance | path

Searched refs:tempView (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/ability/ability_lite/frameworks/ability_lite/example/entry/src/main/cpp/
H A Droot_view_helper.cpp26 UIView *tempView = view; in DeleteViewChildren() local
28 if (tempView->IsViewGroup()) { in DeleteViewChildren()
29 DeleteViewChildren(dynamic_cast<UIViewGroup *>(tempView)->GetChildrenHead()); in DeleteViewChildren()
31 if (tempView->GetParent()) { in DeleteViewChildren()
32 dynamic_cast<UIViewGroup *>(tempView->GetParent())->Remove(tempView); in DeleteViewChildren()
34 delete tempView; in DeleteViewChildren()
/ohos5.0/foundation/arkui/ui_lite/frameworks/dock/
H A Dpointer_input_device.h67 UIView* tempView = targetView; in GetDraggableView() local
68 while ((tempView != nullptr) && tempView->IsDragParentInstead()) { in GetDraggableView()
69 tempView = tempView->GetParent(); in GetDraggableView()
71 if ((tempView == nullptr) || !tempView->IsDraggable()) { in GetDraggableView()
74 return tempView; in GetDraggableView()
H A Dpointer_input_device.cpp79 UIView* tempView = nullptr; in DispatchPressEvent() local
80 rootView->GetTargetView(curPos_, &tempView, &targetView_); in DispatchPressEvent()
81 if (tempView != touchableView_) { in DispatchPressEvent()
164 UIView* tempView = nullptr; in DispatchReleaseEvent() local
165 rootView->GetTargetView(curPos_, &tempView, &targetView_); in DispatchReleaseEvent()
166 if (tempView != touchableView_) { in DispatchReleaseEvent()
/ohos5.0/foundation/arkui/ui_lite/test/framework/include/
H A Dui_test.h82 UIView* tempView = view; in DeleteChildren() local
84 if (tempView->IsViewGroup() && (tempView->GetViewType() != UI_DIGITAL_CLOCK)) { in DeleteChildren()
85 DeleteChildren(static_cast<UIViewGroup*>(tempView)->GetChildrenHead()); in DeleteChildren()
87 if (tempView->GetParent()) { in DeleteChildren()
88 static_cast<UIViewGroup*>(tempView->GetParent())->Remove(tempView); in DeleteChildren()
90 delete tempView; in DeleteChildren() local
/ohos5.0/foundation/arkui/ui_lite/test/framework/src/
H A Dtest_case_list_adapter.cpp59 UIView* tempView = rootView_->GetChildById(g_uiTestId); in OnClick() local
60 if (tempView != nullptr) { in OnClick()
61 rootView_->Remove(tempView); in OnClick()
119 UIView* tempView = const_cast<UIView*>(uiTest_->GetTestView()); in OnClick() local
120 if (tempView != nullptr) { in OnClick()
121 tempView->SetViewId(g_uiTestId); in OnClick()
122 tempView->SetPosition(tempView->GetX(), tempView->GetY() + backBtn_->GetHeight()); in OnClick()
123 rootView_->Add(tempView); in OnClick()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_input_event/
H A Dui_test_input_event.cpp49 UIView* tempView = view; in DeleteChildrenAndListener() local
51 if (tempView->IsViewGroup()) { in DeleteChildrenAndListener()
54 if (tempView->GetParent()) { in DeleteChildrenAndListener()
55 static_cast<UIViewGroup*>(tempView->GetParent())->Remove(tempView); in DeleteChildrenAndListener()
58 if (tempView->GetOnClickListener()) { in DeleteChildrenAndListener()
61 if (tempView->GetOnDragListener()) { in DeleteChildrenAndListener()
62 delete tempView->GetOnDragListener(); in DeleteChildrenAndListener()
64 if (tempView->GetOnLongPressListener()) { in DeleteChildrenAndListener()
67 if (tempView->GetTouchListener()) { in DeleteChildrenAndListener()
68 delete tempView->GetTouchListener(); in DeleteChildrenAndListener()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_chart/
H A Dui_test_chart_pillar.cpp58 UIView* tempView = view; in InnerDeleteChildren() local
60 if (tempView->IsViewGroup()) { in InnerDeleteChildren()
61 InnerDeleteChildren(static_cast<UIViewGroup*>(tempView)->GetChildrenHead()); in InnerDeleteChildren()
63 if (tempView->GetViewType() == UI_AXIS) { in InnerDeleteChildren()
66 if (tempView->GetParent()) { in InnerDeleteChildren()
67 static_cast<UIViewGroup*>(tempView->GetParent())->Remove(tempView); in InnerDeleteChildren()
69 delete tempView; in InnerDeleteChildren()
H A Dui_test_chart_polyline.cpp69 UIView* tempView = view; in InnerDeleteChildren() local
71 if (tempView->IsViewGroup()) { in InnerDeleteChildren()
72 InnerDeleteChildren(static_cast<UIViewGroup*>(tempView)->GetChildrenHead()); in InnerDeleteChildren()
74 if (tempView->GetViewType() == UI_AXIS) { in InnerDeleteChildren()
77 if (tempView->GetParent()) { in InnerDeleteChildren()
78 static_cast<UIViewGroup*>(tempView->GetParent())->Remove(tempView); in InnerDeleteChildren()
80 delete tempView; in InnerDeleteChildren()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_digital_clock/
H A Dui_test_digital_clock.cpp46 UIView* tempView = view; in TearDown() local
48 if (tempView->GetParent()) { in TearDown()
49 static_cast<UIViewGroup*>(tempView->GetParent())->Remove(tempView); in TearDown()
51 delete tempView; in TearDown()
/ohos5.0/foundation/arkui/ui_lite/test/unittest/events/
H A Devent_bubble_unit_test.cpp218 UIView* tempView = view; in DeleteChildren() local
220 if (tempView->IsViewGroup()) { in DeleteChildren()
221 DeleteChildren(static_cast<UIViewGroup*>(tempView)->GetChildrenHead()); in DeleteChildren()
223 if (tempView->GetParent()) { in DeleteChildren()
224 static_cast<UIViewGroup*>(tempView->GetParent())->Remove(tempView); in DeleteChildren()
226 delete tempView; in DeleteChildren()
/ohos5.0/foundation/arkui/ui_lite/test/unittest/dfx/
H A Devent_injector_unit_test.cpp191 UIView* tempView = view; in DeleteChildren() local
193 if (tempView->IsViewGroup()) { in DeleteChildren()
194 DeleteChildren(static_cast<UIViewGroup*>(tempView)->GetChildrenHead()); in DeleteChildren()
196 if (tempView->GetParent()) { in DeleteChildren()
197 static_cast<UIViewGroup*>(tempView->GetParent())->Remove(tempView); in DeleteChildren()
199 delete tempView; in DeleteChildren()
/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_view_unit_test.cpp185 UIView* tempView = new UIView(); variable
186 if (tempView == nullptr) {
190 view_->SetNextSibling(tempView);
191 EXPECT_EQ(view_->GetNextSibling(), tempView);
193 delete tempView;
1214 UIView* tempView = new UIView(); variable
1215 view->SetNextRenderSibling(tempView);
1216 EXPECT_EQ(view->GetNextRenderSibling(), tempView);
1219 viewGroup->SetNextRenderSibling(tempView);
1220 EXPECT_EQ(viewGroup->GetNextRenderSibling(), tempView);
[all …]
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Droot_view.cpp784 UIView* tempView = parentView; in Render() local
786 if (!tempView->IsTransInvalid()) { in Render()