Home
last modified time | relevance | path

Searched refs:sheetContentNode (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/
H A Dsheet_manager.cpp116 CHECK_NULL_RETURN(sheetContentNode, ERROR_CODE_BIND_SHEET_CONTENT_ERROR); in OpenBindSheetByUIContext()
117 SheetContentKey sheetContentKey(currentInstanceId, sheetContentNode->GetId()); in OpenBindSheetByUIContext()
129 auto context = AceType::Claim(sheetContentNode->GetContext()); in OpenBindSheetByUIContext()
152 overlayManager->OpenBindSheetByUIContext(sheetContentNode, std::move(buildTitleNodeFunc), in OpenBindSheetByUIContext()
160 int32_t SheetManager::UpdateBindSheetByUIContext(const RefPtr<NG::FrameNode>& sheetContentNode, in UpdateBindSheetByUIContext() argument
163 CHECK_NULL_RETURN(sheetContentNode, ERROR_CODE_BIND_SHEET_CONTENT_ERROR); in UpdateBindSheetByUIContext()
164 SheetContentKey sheetContentKey(currentInstanceId, sheetContentNode->GetId()); in UpdateBindSheetByUIContext()
169 sheetContentNode, sheetStyle, targetIdMap_[sheetContentKey], isPartialUpdate); in UpdateBindSheetByUIContext()
176 const RefPtr<NG::FrameNode>& sheetContentNode, int32_t currentInstanceId) in CloseBindSheetByUIContext() argument
178 CHECK_NULL_RETURN(sheetContentNode, ERROR_CODE_BIND_SHEET_CONTENT_ERROR); in CloseBindSheetByUIContext()
[all …]
H A Dsheet_manager.h30 int32_t OpenBindSheetByUIContext(const RefPtr<NG::FrameNode>& sheetContentNode,
39 … const RefPtr<NG::FrameNode>& sheetContentNode, NG::SheetStyle& sheetStyle, bool isPartialUpdate,
41 …int32_t CloseBindSheetByUIContext(const RefPtr<NG::FrameNode>& sheetContentNode, int32_t currentIn…
H A Doverlay_manager.h455 … const RefPtr<FrameNode>& sheetContentNode, std::function<RefPtr<UINode>()>&& buildtitleNodeFunc,
466 void UpdateBindSheetByUIContext(const RefPtr<NG::FrameNode>& sheetContentNode,
468 void CloseBindSheetByUIContext(const RefPtr<NG::FrameNode>& sheetContentNode, int32_t targetId);
645 … const RefPtr<UINode>& sheetContentNode, std::function<RefPtr<UINode>()>&& buildtitleNodeFunc,
663 const RefPtr<FrameNode>& sheetPageNode, const RefPtr<UINode>& sheetContentNode,
778 bool CreateSheetKey(const RefPtr<NG::FrameNode>& sheetContentNode, int32_t targetId,
H A Doverlay_manager.cpp4533 RefPtr<UINode> sheetContentNode = buildNodeFunc(); in OnBindSheet() local
4534 CHECK_NULL_VOID(sheetContentNode); in OnBindSheet()
4535 auto frameChildNode = sheetContentNode->GetFrameChildByIndex(0, true); in OnBindSheet()
4567 OnBindSheetInner(nullptr, sheetContentNode, std::move(buildtitleNodeFunc), in OpenBindSheetByUIContext()
4578 if (!CreateSheetKey(sheetContentNode, targetId, sheetKey)) { in UpdateBindSheetByUIContext()
4702 if (!CreateSheetKey(sheetContentNode, targetId, sheetKey)) { in CloseBindSheetByUIContext()
4719 CHECK_NULL_VOID(sheetContentNode); in OnBindSheetInner()
4734 SaveSheePageNode(sheetNode, sheetContentNode, targetNode, isStartByUIContext); in OnBindSheetInner()
4804 sheetKey = SheetKey(isValidTarget, sheetContentNode->GetId(), targetId); in SaveSheePageNode()
4861 CHECK_NULL_RETURN(sheetContentNode, false); in CreateSheetKey()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/view_context/
H A Dview_context_model_ng.cpp52 …const RefPtr<NG::FrameNode>& sheetContentNode, std::function<void()>&& titleBuildFunc, NG::SheetSt… in OpenBindSheet() argument
60 …return SheetManager::GetInstance().OpenBindSheetByUIContext(sheetContentNode, std::move(titleBuild… in OpenBindSheet()
67 int32_t ViewContextModelNG::UpdateBindSheet(const RefPtr<NG::FrameNode>& sheetContentNode, in UpdateBindSheet() argument
71 sheetContentNode, sheetStyle, isPartialUpdate, currentInstanceId); in UpdateBindSheet()
74 int32_t ViewContextModelNG::CloseBindSheet(const RefPtr<NG::FrameNode>& sheetContentNode, int32_t c… in CloseBindSheet() argument
76 … return SheetManager::GetInstance().CloseBindSheetByUIContext(sheetContentNode, currentInstanceId); in CloseBindSheet()
H A Dview_context_model_ng.h27 int32_t OpenBindSheet(const RefPtr<NG::FrameNode>& sheetContentNode,
36 … const RefPtr<NG::FrameNode>& sheetContentNode, NG::SheetStyle& sheetStyle, bool isPartialUpdate,
38 …int32_t CloseBindSheet(const RefPtr<NG::FrameNode>& sheetContentNode, int32_t currentInstanceId) o…
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dview_context_model_impl.h26 int32_t OpenBindSheet(const RefPtr<NG::FrameNode>& sheetContentNode, in OpenBindSheet() argument
34 int32_t UpdateBindSheet(const RefPtr<NG::FrameNode>& sheetContentNode, in UpdateBindSheet() argument
36 int32_t CloseBindSheet(const RefPtr<NG::FrameNode>& sheetContentNode, in CloseBindSheet() argument
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view_context.cpp403 CHECK_NULL_RETURN(sheetContentNode, nullptr); in ParseSheeetContentNode()
404 return AceType::Claim(sheetContentNode); in ParseSheeetContentNode()
829 auto sheetContentNode = ParseSheeetContentNode(info); in JSOpenBindSheet() local
830 if (sheetContentNode == nullptr) { in JSOpenBindSheet()
874 paramCnt, sheetContentNode->GetId(), targetId); in JSOpenBindSheet()
875 auto ret = ViewContextModel::GetInstance()->OpenBindSheet(sheetContentNode, in JSOpenBindSheet()
893 auto sheetContentNode = ParseSheeetContentNode(info); in JSUpdateBindSheet() local
894 if (sheetContentNode == nullptr) { in JSUpdateBindSheet()
920 paramCnt, sheetContentNode->GetId(), isPartialUpdate); in JSUpdateBindSheet()
935 auto sheetContentNode = ParseSheeetContentNode(info); in JSCloseBindSheet() local
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/overlay/
H A Doverlay_manager_test_ng.cpp433 auto sheetContentNode = variable
438 sheetContentNode->AddChild(childFrameNode);
551 auto sheetContentNode = variable
556 sheetContentNode->AddChild(childFrameNode);
572 SheetKey sheetKey = SheetKey(true, sheetContentNode->GetId(), targetId);
641 auto sheetContentNode = variable
646 sheetContentNode->AddChild(childFrameNode);
675 SheetKey sheetKey = SheetKey(true, sheetContentNode->GetId(), targetId);
744 auto sheetContentNode = variable
749 sheetContentNode->AddChild(childFrameNode);
[all …]