Home
last modified time | relevance | path

Searched refs:GetRestoreInfo (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/select/
H A Drender_select.cpp80 if (GetRestoreInfo().empty()) { in ApplyRestoreInfo()
83 index_ = static_cast<size_t>(StringUtils::StringToInt(GetRestoreInfo())); in ApplyRestoreInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/checkable/
H A Drender_radio.cpp257 if (GetRestoreInfo().empty()) { in ApplyRestoreInfo()
260 auto info = JsonUtil::ParseJsonString(GetRestoreInfo()); in ApplyRestoreInfo()
H A Drender_checkbox.cpp327 if (GetRestoreInfo().empty()) { in ApplyRestoreInfo()
330 checked_ = static_cast<size_t>(StringUtils::StringToInt(GetRestoreInfo())); in ApplyRestoreInfo()
H A Drender_switch.cpp535 if (GetRestoreInfo().empty()) { in ApplyRestoreInfo()
538 checked_ = static_cast<size_t>(StringUtils::StringToInt(GetRestoreInfo())); in ApplyRestoreInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/toggle/
H A Drender_toggle.cpp316 if (GetRestoreInfo().empty()) { in ApplyRestoreInfo()
319 auto info = JsonUtil::ParseJsonString(GetRestoreInfo()); in ApplyRestoreInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/
H A Drender_tab_content.cpp514 std::string restoreInfo = grandParent->GetRestoreInfo(); in ApplyRestoreInfo()
518 currentIndex_ = StringUtils::StringToInt(GetRestoreInfo()); in ApplyRestoreInfo()
H A Drender_tab_bar.cpp805 std::string restoreInfo = grandParent->GetRestoreInfo(); in ApplyRestoreInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
H A Drender_element.cpp61 renderNode_->SetRestoreInfo(context->GetRestoreInfo(restoreId)); in Prepare()
H A Drender_node.h1130 const std::string& GetRestoreInfo() const in GetRestoreInfo() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/
H A Drender_scroll.cpp1059 if (GetRestoreInfo().empty()) { in ApplyRestoreInfo()
1063 currentOffset_.SetY(StringUtils::StringToDouble(GetRestoreInfo())); in ApplyRestoreInfo()
1065 currentOffset_.SetX(StringUtils::StringToDouble(GetRestoreInfo())); in ApplyRestoreInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/slider/
H A Drender_slider.cpp836 if (GetRestoreInfo().empty()) { in ApplyRestoreInfo()
839 auto info = JsonUtil::ParseJsonString(GetRestoreInfo()); in ApplyRestoreInfo()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pipeline/
H A Dpipeline_context_test_ng.cpp1259 auto rt = context_->GetRestoreInfo(DEFAULT_RESTORE_ID0, restoreInfo);
1262 rt = context_->GetRestoreInfo(DEFAULT_RESTORE_ID0, restoreInfo);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/grid/
H A Drender_grid_scroll.cpp1735 if (GetRestoreInfo().empty()) { in ApplyRestoreInfo()
1738 currentItemIndex_ = StringUtils::StringToInt(GetRestoreInfo()); in ApplyRestoreInfo()
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/pipeline/
H A Dmock_pipeline_context.cpp509 bool PipelineContext::GetRestoreInfo(int32_t restoreId, std::string& restoreInfo) in GetRestoreInfo() function in OHOS::Ace::NG::PipelineContext
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/
H A Dpipeline_context.h775 std::string GetRestoreInfo(int32_t restoreId);
H A Dpipeline_context.cpp3549 std::string PipelineContext::GetRestoreInfo(int32_t restoreId) in GetRestoreInfo() function in OHOS::Ace::PipelineContext
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/
H A Dpipeline_context.h633 bool GetRestoreInfo(int32_t restoreId, std::string& restoreInfo);
H A Dpipeline_context.cpp4101 bool PipelineContext::GetRestoreInfo(int32_t restoreId, std::string& restoreInfo) in GetRestoreInfo() function in OHOS::Ace::NG::PipelineContext
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Drender_text_field.cpp2864 if (GetRestoreInfo().empty()) { in ApplyRestoreInfo()
2867 auto info = JsonUtil::ParseJsonString(GetRestoreInfo()); in ApplyRestoreInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/
H A Drender_list.cpp3072 if (GetRestoreInfo().empty()) { in ApplyRestoreInfo()
3075 startIndex_ = static_cast<size_t>(StringUtils::StringToInt(GetRestoreInfo())); in ApplyRestoreInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/swiper/
H A Drender_swiper.cpp3437 if (GetRestoreInfo().empty()) { in ApplyRestoreInfo()
3440 auto info = JsonUtil::ParseJsonString(GetRestoreInfo()); in ApplyRestoreInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dframe_node.cpp2273 if (pipeline->GetRestoreInfo(restoreId, restoreInfo)) { in MarkModifyDone()