Home
last modified time | relevance | path

Searched refs:GetContent (Results 1 - 25 of 104) sorted by relevance

12345

/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dhyperlink_composed_element.cpp26 { "content", [](const HyperlinkComposedElement& inspector) { return inspector.GetContent(); } },
38 std::string("content: ").append(GetContent())); in Dump()
61 std::string HyperlinkComposedElement::GetContent() const in GetContent() function in OHOS::Ace::V2::HyperlinkComposedElement
H A Dhyperlink_composed_element.h36 std::string GetContent() const;
/foundation/arkui/ace_engine/frameworks/core/components/piece/
H A Dpiece_component.cpp51 if (GetContent().empty()) { in BuildChild()
68 const std::string& PieceComponent::GetContent() const in GetContent() function in OHOS::Ace::PieceComponent
70 return declaration_->GetContent(); in GetContent()
214 auto text = MakeRefPtr<TextComponent>(GetContent()); in SetText()
H A Dpiece_component.h50 const std::string& GetContent() const;
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/
H A Dsecurity_component_layout_element.cpp184 auto tempSize = GetMeasureTextSize(property->GetContent().value_or(""), in ChooseExactFontSize()
237 if (!textProp->GetContent().has_value()) { in GetCurrentTextSize()
240 currentTextSize = GetMeasureTextSize(textProp->GetContent().value(), textProp->GetFontSize().value(), in GetCurrentTextSize()
265 auto tempSize = GetMeasureTextSize(textProp->GetContent().value(), textProp->GetFontSize().value(), in TryShrinkTextWidth()
307 minTextSize_ = GetMeasureTextSize(textProp->GetContent().value_or(""), in MeasureMinTextSize()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/marquee/
H A Dmarquee_accessibility_property.cpp28 return textLayoutProperty->GetContent().value_or(""); in GetText()
H A Dmarquee_layout_property.h80 json->PutFixedAttr("src", textLayoutProperty->GetContent().value_or("").c_str(), filter, FIXED_ATTR_SRC);
/foundation/distributeddatamgr/udmf/framework/jskitsimpl/data/
H A Dplain_text_napi.cpp34 DECLARE_NAPI_GETTER_SETTER("textContent", GetContent, SetContent), in Constructor()
81 napi_value PlainTextNapi::GetContent(napi_env env, napi_callback_info info) in GetContent() function in OHOS::UDMF::PlainTextNapi
88 ctxt->status = NapiDataUtils::SetValue(env, plainText->value_->GetContent(), ctxt->output); in GetContent()
/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/
H A Dmenu_patternMore_test_ng.cpp191 ASSERT_TRUE(textProperty->GetContent().has_value()); in CheckTestResult()
192 EXPECT_EQ(textProperty->GetContent().value(), "content"); in CheckTestResult()
204 ASSERT_TRUE(labelProperty->GetContent().has_value()); in CheckTestResult()
205 EXPECT_EQ(labelProperty->GetContent().value(), "label"); in CheckTestResult()
H A Dmenu_patternEx_test_ng.cpp384 ASSERT_TRUE(textProperty->GetContent().has_value()); in HWTEST_F()
385 EXPECT_EQ(textProperty->GetContent().value(), "content"); in HWTEST_F()
397 ASSERT_TRUE(labelProperty->GetContent().has_value()); in HWTEST_F()
398 EXPECT_EQ(labelProperty->GetContent().value(), "label"); in HWTEST_F()
512 ASSERT_TRUE(textProperty->GetContent().has_value()); in HWTEST_F()
513 EXPECT_EQ(textProperty->GetContent().value(), "content"); in HWTEST_F()
525 ASSERT_TRUE(labelProperty->GetContent().has_value()); in HWTEST_F()
526 EXPECT_EQ(labelProperty->GetContent().value(), "label"); in HWTEST_F()
584 ASSERT_TRUE(textProperty->GetContent().has_value()); in HWTEST_F()
585 EXPECT_EQ(textProperty->GetContent() in HWTEST_F()
[all...]
H A Dmenuitem_test_ng.cpp287 * @tc.desc: Verify GetContent.
293 EXPECT_FALSE(property.GetContent().has_value()); in HWTEST_F()
295 ASSERT_TRUE(property.GetContent().has_value()); in HWTEST_F()
296 EXPECT_EQ(property.GetContent().value(), "content"); in HWTEST_F()
460 EXPECT_TRUE(property.GetContent().has_value()); in HWTEST_F()
473 EXPECT_FALSE(property.GetContent().has_value()); in HWTEST_F()
510 EXPECT_EQ(property.GetContent().value(), cloneProperty->GetContent().value()); in HWTEST_F()
687 ASSERT_TRUE(itemProperty->GetContent().has_value()); in HWTEST_F()
688 EXPECT_EQ(itemProperty->GetContent() in HWTEST_F()
[all...]
/foundation/distributedhardware/device_manager/common/include/ipc/model/
H A Dipc_notify_pin_holder_event_req.h47 const std::string &GetContent() const in GetContent() function in OHOS::DistributedHardware::IpcNotifyPinHolderEventReq
H A Dipc_notify_bind_result_req.h93 const std::string &GetContent() const in GetContent() function in OHOS::DistributedHardware::IpcNotifyBindResultReq
/foundation/distributeddatamgr/udmf/interfaces/innerkits/data/
H A Dplain_text.h31 std::string GetContent() const;
/foundation/distributeddatamgr/udmf/interfaces/jskits/data/
H A Dplain_text_napi.h40 static napi_value GetContent(napi_env env, napi_callback_info info);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/
H A Dmenu_item_layout_property.h145 json->PutFixedAttr("content", GetContent().value_or("").c_str(), filter, FIXED_ATTR_CONTENT);
151 json->PutFixedAttr("content", GetContent().value_or("").c_str(), filter, FIXED_ATTR_CONTENT);
188 json->PutFixedAttr("label", GetContent().value_or("").c_str(), filter, FIXED_ATTR_CONTENT);
/foundation/arkui/ace_engine/frameworks/core/components_ng/layout/
H A Dbox_layout_algorithm.cpp96 const auto& content = layoutWrapper->GetGeometryNode()->GetContent(); in PerformMeasureSelfWithChildList()
171 const auto& content = layoutWrapper->GetGeometryNode()->GetContent(); in PerformLayout()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/checkbox/
H A Dcheckbox_layout_algorithm.cpp95 const auto& content = layoutWrapper->GetGeometryNode()->GetContent(); in Measure()
151 const auto& content = layoutWrapper->GetGeometryNode()->GetContent(); in Layout()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/radio/
H A Dradio_layout_algorithm.cpp84 const auto& content = layoutWrapper->GetGeometryNode()->GetContent(); in Measure()
133 const auto& content = layoutWrapper->GetGeometryNode()->GetContent(); in Layout()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dnavigation_content_layout_algorithm.cpp65 const auto& content = layoutWrapper->GetGeometryNode()->GetContent(); in Layout()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stack/
H A Dstack_layout_algorithm.cpp62 const auto& content = layoutWrapper->GetGeometryNode()->GetContent(); in PerformLayout()
/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/
H A Dtool_bar_test_ng.cpp498 ASSERT_TRUE(textLayoutProperty->GetContent().has_value()); in HWTEST_F()
499 EXPECT_TRUE(textLayoutProperty->GetContent().value().empty()); in HWTEST_F()
506 ASSERT_TRUE(textLayoutProperty->GetContent().has_value()); in HWTEST_F()
507 EXPECT_FALSE(textLayoutProperty->GetContent().value().empty()); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_layout_algorithm.cpp144 if (host->GetTag() == V2::TEXT_ETS_TAG && textLayoutProperty->GetContent().value_or("").empty() && in MeasureContent()
575 textStyle, layoutProperty->GetContent().value_or(""), contentConstraint, layoutWrapper)) { in BuildParagraph()
580 if (!AdaptMinTextSize(textStyle, layoutProperty->GetContent().value_or(""), contentConstraint, layoutWrapper)) { in BuildParagraph()
591 if (!AdaptMaxTextSize(textStyle, layoutProperty->GetContent().value_or(""), contentConstraint, layoutWrapper)) { in BuildParagraphAdaptUseMinFontSize()
653 std::string content = layoutProperty->GetContent().value_or(""); in BuildTextRaceParagraph()
/foundation/arkui/ace_engine/frameworks/core/components/page_transition/
H A Dpage_transition_component.h75 const RefPtr<Component>& GetContent() const in GetContent() function in OHOS::Ace::PageTransitionComponent
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/
H A Drating_layout_algorithm.cpp77 CHECK_NULL_VOID(layoutWrapper->GetGeometryNode()->GetContent()); in Layout()

Completed in 15 milliseconds

12345