Home
last modified time | relevance | path

Searched refs:node_ (Results 1 - 25 of 55) sorted by relevance

123

/foundation/window/window_manager/wmserver/test/unittest/
H A Dwindow_system_effect_test.cpp38 sptr<WindowNode> node_ = nullptr; member in OHOS::Rosen::WindowSystemEffectTest
58 node_ = new WindowNode(); // 101 is windowId in SetUp()
59 node_->SetWindowProperty(property); in SetUp()
60 node_->SetWindowRect({0, 0, 100, 100}); // 100 test data in SetUp()
61 node_->leashWinSurfaceNode_ = CreateRSSurfaceNode("leashSurfaceNodeTest"); in SetUp()
62 node_->surfaceNode_ = CreateRSSurfaceNode("SurfaceNodeTest"); in SetUp()
76 node_ = nullptr; in TearDown()
102 ASSERT_EQ(WMError::WM_OK, WindowSystemEffect::SetWindowEffect(node_)); in HWTEST_F()
104 node_->SetWindowMode(WindowMode::WINDOW_MODE_FULLSCREEN); in HWTEST_F()
105 ASSERT_EQ(WMError::WM_OK, WindowSystemEffect::SetCornerRadius(node_)); in HWTEST_F()
[all...]
H A Dstarting_window_test.cpp45 sptr<WindowNode> node_; member in OHOS::Rosen::StartingWindowTest
74 node_ = StartingWindow::CreateWindowNode(transitionInfo_, 101); // 101 is windowId in SetUp()
75 node_->SetWindowRect({0, 0, 100, 100}); // 100 test data in SetUp()
83 node_ = nullptr; in TearDown()
234 node_->leashWinSurfaceNode_ = nullptr; in HWTEST_F()
236 ASSERT_EQ(WMError::WM_OK, StartingWindow::DrawStartingWindow(node_, pixelMap, 0x00FFFFFF, true)); in HWTEST_F()
248 ASSERT_EQ(WMError::WM_OK, StartingWindow::DrawStartingWindow(node_, pixelMap, 0x00FFFFFF, false)); in HWTEST_F()
259 node_->startingWinSurfaceNode_ = nullptr; in HWTEST_F()
261 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, StartingWindow::DrawStartingWindow(node_, pixelMap, 0x00FFFFFF, true)); in HWTEST_F()
272 ASSERT_EQ(WMError::WM_OK, StartingWindow::DrawStartingWindow(node_, nullpt in HWTEST_F()
[all...]
H A Dremote_animation_test.cpp52 sptr<WindowNode> node_ = nullptr; member in OHOS::Rosen::RemoteAnimationTest
77 node_ = windowRoot_->FindWindowNodeWithToken(transitionInfo_->GetAbilityToken()); in SetUp()
78 EXPECT_NE(nullptr, node_); in SetUp()
83 if (node_ != nullptr) { in TearDown()
84 windowController_->DestroyWindow(node_->GetWindowId(), false); in TearDown()
85 node_ = nullptr; in TearDown()
306 node_->stateMachine_.TransitionTo(WindowNodeState::SHOW_ANIMATION_PLAYING); in HWTEST_F()
310 EXPECT_EQ(true, node_->stateMachine_.currState_ == WindowNodeState::SHOW_ANIMATION_DONE); in HWTEST_F()
326 EXPECT_NE(nullptr, RemoteAnimation::CreateWindowAnimationTarget(transitionInfo_, node_)); in HWTEST_F()
327 node_ in HWTEST_F()
[all...]
H A Dwindow_controller_test.cpp41 static sptr<WindowNode> node_; member in OHOS::Rosen::WindowControllerTest
48 sptr<WindowNode> WindowControllerTest::node_ = nullptr; member in OHOS::Rosen::WindowControllerTest
64 node_ = StartingWindow::CreateWindowNode(transitionInfo_, 101); // 101 is windowId in SetUpTestCase()
65 node_->SetWindowMode(WindowMode::WINDOW_MODE_FULLSCREEN); in SetUpTestCase()
120 windowRoot_->windowNodeMap_.insert(std::make_pair(node_->GetWindowId(), node_)); in HWTEST_F()
121 node_->abilityToken_ = abilityTokenMocker; in HWTEST_F()
122 node_->stateMachine_.currState_ = WindowNodeState::SHOW_ANIMATION_PLAYING; in HWTEST_F()
126 node_->stateMachine_.currState_ = WindowNodeState::STARTING_CREATED; in HWTEST_F()
131 node_ in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/scrollable/
H A Dscrollable_event_test.cpp35 RefPtr<FrameNode> node_; member in OHOS::Ace::NG::ScrollableEventTest
53 node_ = FrameNode::CreateFrameNode(V2::SCROLL_ETS_TAG, nodeId, pattern_); in SetUp()
56 stack->Push(node_); in SetUp()
61 node_.Reset(); in TearDown()
112 ScrollableModelNG::SetOnScroll(AceType::RawPtr(node_), std::move(onScrollCallback)); in HWTEST_F()
114 auto eventHub = node_->GetEventHub<ScrollableEventHub>(); in HWTEST_F()
159 auto eventHub = node_->GetEventHub<ScrollableEventHub>(); in HWTEST_F()
180 ScrollableModelNG::SetOnWillScroll(AceType::RawPtr(node_), std::move(onWillScroll)); in HWTEST_F()
181 eventHub = node_->GetEventHub<ScrollableEventHub>(); in HWTEST_F()
221 auto eventHub = node_ in HWTEST_F()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/evt/
H A Dhci_evt.h29 ListNode *node_ = ListGetFirstNode(HciGetEventCallbackList()); \
30 while (node_ != NULL) { \
31 x = ListGetNodeData(node_); \
36 node_ = ListGetNextNode(node_); \
/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/backend/
H A Djson_output.cpp38 return BASE_NS::move(node_); in GetValue()
48 node_ = json_value::null {};
72 node_ = BASE_NS::move(object);
84 node_ = BASE_NS::move(array);
95 node_ = BASE_NS::move(object);
99 node_ = json_value { n.GetValue() };
103 node_ = json_value { n.GetValue() };
107 node_ = json_value { n.GetValue() };
111 node_ = json_value { n.GetValue() };
115 node_
129 json_value node_; global() member
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dextension_handler.cpp146 } else if (node_) { in InvalidateRender()
147 node_->MarkNeedRenderOnly(); in InvalidateRender()
156 } else if (node_) { in OverlayRender()
157 node_->MarkNeedRenderOnly(); in OverlayRender()
166 } else if (node_) { in ForegroundRender()
167 node_->MarkNeedRenderOnly(); in ForegroundRender()
H A Dextension_handler.h138 node_ = node; in AttachFrameNode()
160 FrameNode* node_; member in OHOS::Ace::NG::ExtensionHandler
/foundation/arkui/ace_engine/adapter/ohos/capability/window_connection/
H A Dwindow_extension_connection_ohos.cpp31 ConnectionCallback(WeakPtr<RenderNode> node, int32_t instanceId) : node_(std::move(node)), instanceId_(instanceId) in ConnectionCallback()
37 auto nodeStrong = node_.Upgrade();
51 auto task = [weak = node_, instanceId = instanceId_]() {
66 auto ability = AceType::DynamicCast<V2::RenderAbilityComponent>(node_.Upgrade());
72 auto task = [weak = node_, instanceId = instanceId_]() {
102 WeakPtr<RenderNode> node_; member in OHOS::Ace::ConnectionCallback
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/parallel_render/
H A Drs_render_task.h34 explicit RSRenderTaskBase(std::shared_ptr<RSBaseRenderNode> node) : node_(node), loadId_(node->GetId()) {} in RSRenderTaskBase()
46 return node_; in GetNode()
50 std::shared_ptr<RSBaseRenderNode> node_; member in OHOS::Rosen::RSRenderTaskBase
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/interface/src/
H A Dprojection_tree.cpp52 ProjectionNode *node = &node_; in ParseTree()
57 node = &node_; in ParseTree()
68 ProjectionNode *node = &node_; in SearchTree()
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/pipeline/
H A Drs_base_render_util_unit_test.cpp95 std::shared_ptr<RSSurfaceRenderNode> node_ = nullptr; member
102 node_ = std::make_shared<RSSurfaceRenderNode>(config); in SetUpTestCase()
108 node_ = nullptr; in TearDownTestCase()
362 bool result = RSBaseRenderUtil::WriteCacheRenderNodeToPng(*node_); in HWTEST_F()
602 bool needClient = RSBaseRenderUtil::IsNeedClient(*node_, info); in HWTEST_F()
633 node_->GetMutableRenderProperties().SetCornerRadius(cornerRadius); in HWTEST_F()
634 bool needClient = RSBaseRenderUtil::IsNeedClient(*node_, info); in HWTEST_F()
647 node_->GetMutableRenderProperties().SetShadowAlpha(1.0f); in HWTEST_F()
648 bool needClient = RSBaseRenderUtil::IsNeedClient(*node_, info); in HWTEST_F()
661 node_ in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_base_render_util_test.cpp96 std::shared_ptr<RSSurfaceRenderNode> node_ = nullptr; member
103 node_ = std::make_shared<RSSurfaceRenderNode>(config); in SetUpTestCase()
109 node_ = nullptr; in TearDownTestCase()
412 bool result = RSBaseRenderUtil::WriteCacheRenderNodeToPng(*node_); in HWTEST_F()
669 bool needClient = RSBaseRenderUtil::IsNeedClient(*node_, info); in HWTEST_F()
683 node_->GetMutableRenderProperties().SetCornerRadius(cornerRadius); in HWTEST_F()
684 bool needClient = RSBaseRenderUtil::IsNeedClient(*node_, info); in HWTEST_F()
697 node_->GetMutableRenderProperties().SetShadowAlpha(1.0f); in HWTEST_F()
698 bool needClient = RSBaseRenderUtil::IsNeedClient(*node_, info); in HWTEST_F()
711 node_ in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dtarget_component.cpp23 node_ = uiNode; in SetNode()
38 return node_; in GetUINode()
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dsubmeshhandler.cpp36 node_ = node;
148 if (auto node = node_.lock()) {
176 if (auto node = node_.lock()) {
202 if (auto node = node_.lock()) {
219 node_),
235 if (auto node = node_.lock()) {
268 if (auto node = node_.lock()) {
308 if (auto node = node_.lock()) {
321 node_),
337 INodeEcsInterfacePrivate::WeakPtr node_ {};
[all...]
H A Dnode_impl.h251 NodeMonitor(SCENE_NS::INode::Ptr& node, NodeImpl& observer) : node_(node), observer_(observer) in NodeMonitor()
255 if (auto node = static_pointer_cast<NodeImpl>(node_.lock())) { in NodeMonitor()
265 if (auto node = node_.lock()) { in ~NodeMonitor()
272 if (auto node = node_.lock()) { in Ready()
280 if (auto node = node_.lock()) { in Valid()
290 if (auto node = node_.lock()) { in operator ==()
298 SCENE_NS::INode::WeakPtr node_; member
/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/
H A Dimporter.cpp441 return node_ && node_->FindNode(name); in HasMember()
446 if (node_) { in Import()
447 if (auto n = node_->FindNode(name)) { in Import()
457 if (node_) { in ImportAny()
458 if (auto n = node_->FindNode(name)) { in ImportAny()
469 if (node_) { in ImportWeakPtr()
470 if (auto n = node_->FindNode(name)) { in ImportWeakPtr()
488 if (node_) { in AutoImport()
489 return importer_.AutoImportObject(*node_, object in AutoImport()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/
H A Drs_modifier_extractor.cpp29 RSModifierExtractor::RSModifierExtractor(RSNode* node) : node_(node) {} in RSModifierExtractor()
33 if (!node_) { \
36 std::unique_lock<std::recursive_mutex> lock(node_->GetPropertyMutex()); \
38 if (node_->modifiers_.size() > DEBUG_MODIFIER_SIZE) { \
39 ROSEN_LOGD("RSModifierExtractor modifier size is %{public}zu", node_->modifiers_.size()); \
41 for (auto& [_, modifier] : node_->modifiers_) { \
51 if (node_ == nullptr) { \
54 std::unique_lock<std::recursive_mutex> lock(node_->GetPropertyMutex()); \
55 auto typeIter = node_->modifiersTypeMap_.find((int16_t)RSModifierType::propertyType); \
56 if (typeIter != node_
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/option/
H A Doption_component.cpp133 if (node_) { in Initialize()
134 node_->SetAttr(GetAttr()); in Initialize()
135 node_->SetStyle(GetStyle()); in Initialize()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dnative_view.cpp108 node_ = node; in CreateUI()
147 needsUpdate_ = ViewPartialUpdateModel::GetInstance()->MarkNeedUpdate(node_); in MarkNeedUpdate()
152 auto node = node_.Upgrade(); in FlushReload()
166 ViewPartialUpdateModel::GetInstance()->FinishUpdate(node_, elmtId, [weakThis](const UpdateTask& task) { in FinishUpdateFunc()
H A Dnative_view.h180 return node_.Upgrade(); in GetViewNode()
204 WeakPtr<AceType> node_ = nullptr; member in OHOS::Ace::Framework::NativeView
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/rsmodifierextractor_fuzzer/
H A Drsmodifierextractor_fuzzer.cpp67 modifierExtractor.node_ = &nodeTest; in DoGet001()
119 modifierExtractor.node_ = &nodeTest; in DoGet002()
169 modifierExtractor.node_ = &nodeTest; in DoGet003()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
H A Dbtm_pm.c30 ListNode *node_ = ListGetFirstNode(g_pmCallbackList); \
31 while (node_ != NULL) { \
32 x = ListGetNodeData(node_); \
37 node_ = ListGetNextNode(node_); \
/foundation/arkui/ace_engine/frameworks/core/components/select_popup/
H A Dselect_popup_component.h260 return node_; in GetNode()
270 node_ = value; in SetNode()
326 RefPtr<AccessibilityNode> node_; member in OHOS::Ace::SelectPopupComponent

Completed in 19 milliseconds

123