Home
last modified time | relevance | path

Searched refs:content_ (Results 1 - 25 of 57) sorted by relevance

123

/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/
H A Dcontent_slot_node.h47 // When content_ is held by other slot, the current slot cannot operate the slot held by this content_. in AttachNodeContent()
48 if (content_ && (RawPtr(content_) != content) && (content_->GetContentSlot().Upgrade() == this)) { in AttachNodeContent()
49 content_->DetachFromNode(); in AttachNodeContent()
51 content_ = content; in AttachNodeContent()
52 content_->AttachToNode(this); in AttachNodeContent()
57 if (content_) { in DetachNodeContent()
58 content_ in DetachNodeContent()
80 RefPtr<NodeContent> content_; global() member in OHOS::Ace::NG::ContentSlotNode
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dgeometry_node.h52 (content_ == geometryNode.content_) && (parentGlobalOffset_ == geometryNode.parentGlobalOffset_) && in CheckUnchanged()
214 if (!content_) { in SetContentSize()
215 content_ = std::make_unique<GeometryProperty>(); in SetContentSize()
217 content_->rect_.SetSize(size); in SetContentSize()
222 if (!content_) { in SetContentOffset()
223 content_ = std::make_unique<GeometryProperty>(); in SetContentOffset()
225 content_->rect_.SetOffset(translate); in SetContentOffset()
230 return content_ ? content_ in GetContentRect()
412 std::unique_ptr<GeometryProperty> content_; global() member in OHOS::Ace::NG::GeometryNode
[all...]
H A Dgeometry_node.cpp25 content_.reset(); in Reset()
43 if (content_) { in Clone()
44 node->content_ = std::make_unique<GeometryProperty>(*content_); in Clone()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dcontent_controller.h51 return StringUtils::ToWstring(content_); in GetWideText()
56 return content_; in GetTextValue()
61 return content_.empty(); in IsEmpty()
66 content_ = value; in SetTextValue()
72 content_ = value; in SetTextValue()
78 content_ = value; in SetTextValueOnly()
83 content_ = ""; in Reset()
102 std::string content_; member in OHOS::Ace::NG::ContentController
H A Dcontent_controller.cpp53 property->GetInputFilter().has_value() && !property->GetInputFilter().value().empty() && !content_.empty(); in PreprocessString()
58 if (content_.find(specialChar) != std::string::npos && value.find(specialChar) != std::string::npos && in PreprocessString()
87 auto str = content_; in ReplaceSelectedValue()
88 content_ = StringUtils::ToString(wideText.substr(0, startIndex)) + tmp + in ReplaceSelectedValue()
90 auto len = content_.length(); in ReplaceSelectedValue()
93 if (value.length() == 1 && content_.length() < len) { in ReplaceSelectedValue()
94 content_ = str; in ReplaceSelectedValue()
172 auto result = content_; in FilterValue()
184 property->GetInputFilter().has_value() && !property->GetInputFilter().value().empty() && !content_.empty(); in FilterValue()
194 content_ in FilterValue()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_property_drawable_utilities.cpp33 RSSaveDrawable::RSSaveDrawable(std::shared_ptr<uint32_t> content) : content_(std::move(content)) {} in RSSaveDrawable()
36 *content_ = canvas.Save(); in Draw()
39 RSRestoreDrawable::RSRestoreDrawable(std::shared_ptr<uint32_t> content) : content_(std::move(content)) {} in RSRestoreDrawable()
42 canvas.RestoreToCount(*content_); in Draw()
47 : content_(std::move(content)), type_(type) in RSCustomSaveDrawable()
51 *content_ = canvas.SaveAllStatus(type_); in Draw()
55 : content_(std::move(content)) in RSCustomRestoreDrawable()
59 canvas.RestoreStatus(*content_); in Draw()
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data/
H A Dplain_text.cpp30 this->content_ = content; in PlainText()
38 content_ = std::get<std::string>(value); in PlainText()
41 object->GetValue(CONTENT, content_); in PlainText()
53 return UnifiedDataUtils::GetDetailsSize(this->details_) + this->content_.size() + this->abstract_.size(); in GetSize()
58 return this->content_; in GetContent()
66 this->content_ = text; in SetContent()
69 object->value_[CONTENT] = content_; in SetContent()
97 object->value_[CONTENT] = content_; in InitObject()
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/
H A Dcontent_object.h41 META_FORWARD_READONLY_PROPERTY(IObject::Ptr, Content, content_->PropertyContent())
42 META_FORWARD_PROPERTY(bool, ContentSearchable, content_->PropertyContentSearchable())
43 META_FORWARD_PROPERTY(IContentLoader::Ptr, ContentLoader, content_->PropertyContentLoader())
48 content_ = interface_cast<IContent>(super);
49 assert(content_); variable
72 IContent* content_ {};
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/entity/
H A Dp2p_available_state.cpp58 P2pEntity::GetInstance().currentFrequency_, operation->content_.frequency); in CreateGroup()
59 if (operation->content_.frequency == P2pEntity::GetInstance().currentFrequency_) { in CreateGroup()
68 int ret = P2pAdapter::P2pCreateGroup(operation->content_); in CreateGroup()
76 int ret = P2pAdapter::P2pConnectGroup(operation->content_); in Connect()
86 int ret = P2pAdapter::DestroyGroup(operation->content_); in DestroyGroup()
97 auto ret = P2pAdapter::P2pShareLinkRemoveGroup(operation->content_); in RemoveLink()
H A Dp2p_operation.h42 : P2pOperation(type), content_(content) {}; in P2pOperationWrapper()
43 Content content_; member
H A Dp2p_connect_state.cpp47 if (connectOp->content_.isNeedDhcp) { in Enter()
149 if (operation->content_.isNeedDhcp) { in PreprocessP2pConnectionChangeEvent()
161 operation->content_.gcIp = localIpStr; in PreprocessP2pConnectionChangeEvent()
164 auto ret = P2pAdapter::P2pConfigGcIp(groupInfo->interface, operation->content_.gcIp); in PreprocessP2pConnectionChangeEvent()
206 if (operation != nullptr && !operation->content_.isNeedDhcp) { in OnTimeout()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/picture/
H A Dauxiliary_picture.cpp36 dstAuxPicture->content_ = content; in Create()
71 return content_; in GetContentPixel()
76 content_ = content; in SetContentPixel()
81 if (content_ == nullptr) { in ReadPixels()
84 return content_->ReadPixels(bufferSize, dst); in ReadPixels()
89 if (content_ == nullptr) { in WritePixels()
92 return content_->WritePixels(source, bufferSize); in WritePixels()
116 if (content_ == nullptr) { in Marshalling()
121 if (!content_->Marshalling(data)) { in Marshalling()
/foundation/distributedhardware/device_manager/common/include/ipc/model/
H A Dipc_notify_pin_holder_event_req.h49 return content_; in GetContent()
54 content_ = content; in SetContent()
60 std::string content_; member in OHOS::DistributedHardware::IpcNotifyPinHolderEventReq
H A Dipc_notify_bind_result_req.h95 return content_; in GetContent()
105 content_ = content; in SetContent()
112 std::string content_; member in OHOS::DistributedHardware::IpcNotifyBindResultReq
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/event/
H A Dwifi_direct_event_wrapper.h23 Content content_; member
24 explicit WifiDirectEventWrapper(const Content &content) : content_(content) {}; in WifiDirectEventWrapper()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/
H A Drs_property_drawable_utilities.h44 std::shared_ptr<uint32_t> content_; member in OHOS::Rosen::RSSaveDrawable
54 std::shared_ptr<uint32_t> content_; member in OHOS::Rosen::RSRestoreDrawable
65 std::shared_ptr<RSPaintFilterCanvas::SaveStatus> content_; member in OHOS::Rosen::RSCustomSaveDrawable
76 std::shared_ptr<RSPaintFilterCanvas::SaveStatus> content_; member in OHOS::Rosen::RSCustomRestoreDrawable
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_option.cpp93 if (!content_) { in SetSpecializedAttr()
94 content_ = AceType::MakeRefPtr<TextComponent>(attr.second); in SetSpecializedAttr()
96 content_->SetData(attr.second); in SetSpecializedAttr()
98 selectOptionComponent_->SetText(content_); in SetSpecializedAttr()
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/
H A Dplain_text_test.cpp67 EXPECT_NE(plainText.content_, content); in HWTEST_F()
83 EXPECT_NE(plainText.content_, text); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components/page_transition/
H A Dpage_transition_component.h71 content_ = content; in SetContent()
77 return content_; in GetContent()
176 RefPtr<Component> content_; // page content component, will be wrapped with animation component member in OHOS::Ace::PageTransitionComponent
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_tip_modifier.h55 if (content_) { in SetContent()
56 content_->Set(content); in SetContent()
148 RefPtr<PropertyString> content_; member in OHOS::Ace::NG::SliderTipModifier
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/
H A Dav_trans_message.cpp32 : type_(type), content_(content), dstDevId_(dstDevId) in AVTransMessage()
47 cJSON_AddStringToObject(msgJson, KEY_CONTENT.c_str(), content_.c_str()); in MarshalMessage()
82 content_ = contentObj->valuestring; in UnmarshalMessage()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_misc_drawable.cpp252 RSSaveDrawable::RSSaveDrawable(std::shared_ptr<uint32_t> content) : content_(std::move(content)) {} in RSSaveDrawable()
255 return [content = content_](Drawing::Canvas* canvas, const Drawing::Rect* rect) { in CreateDrawFunc()
261 RSRestoreDrawable::RSRestoreDrawable(std::shared_ptr<uint32_t> content) : content_(std::move(content)) {}
264 return [content = content_](Drawing::Canvas* canvas, const Drawing::Rect* rect) {
272 : content_(std::move(content)), type_(type)
276 return [content = content_, type = type_](Drawing::Canvas* canvas, const Drawing::Rect* rect) {
284 : content_(std::move(content))
288 return [content = content_](Drawing::Canvas* canvas, const Drawing::Rect* rect) {
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/drawable/
H A Drs_misc_drawable.h91 // no need to sync, content_ only used in render thread
96 std::shared_ptr<uint32_t> content_; member in OHOS::Rosen::DrawableV2::RSSaveDrawable
104 // no need to sync, content_ only used in render thread
109 std::shared_ptr<uint32_t> content_; member in OHOS::Rosen::DrawableV2::RSRestoreDrawable
118 // no need to sync, content_ only used in render thread
123 std::shared_ptr<RSPaintFilterCanvas::SaveStatus> content_; member in OHOS::Rosen::DrawableV2::RSCustomSaveDrawable
132 // no need to sync, content_ only used in render thread
137 std::shared_ptr<RSPaintFilterCanvas::SaveStatus> content_; member in OHOS::Rosen::DrawableV2::RSCustomRestoreDrawable
/foundation/arkui/ace_engine/frameworks/core/components/dialog/action_sheet/
H A Daction_sheet_component.cpp122 if (!content_) { in BuildContent()
137 contentPadding->SetChild(content_); in BuildContent()
140 auto scroll = AceType::MakeRefPtr<ScrollComponent>(content_); in BuildContent()
/foundation/arkui/ace_engine/test/unittest/core/base/
H A Dgeometry_node_test_ng.cpp55 geometryNode->content_ = std::make_unique<GeometryProperty>(); in HWTEST_F()

Completed in 10 milliseconds

123