Home
last modified time | relevance | path

Searched refs:attributes_ (Results 1 - 25 of 50) sorted by relevance

12

/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dresource_theme_style.cpp156 attributes_[attrName] = { .type = ThemeConstantsType::STRING, .value = attrValue }; in ParseContent()
161 attributes_[attrName] = { .type = ThemeConstantsType::COLOR, .value = Color::FromString(attrValue) }; in ParseContent()
165 attributes_[attrName] = { .type = ThemeConstantsType::REFERENCE_ATTR, .value = attrValue }; in ParseContent()
174 attributes_[attrName] = { .type = ThemeConstantsType::DIMENSION, in ParseContent()
177 attributes_[attrName] = { .type = ThemeConstantsType::INT, .value = std::atoi(number.c_str()) }; in ParseContent()
179 attributes_[attrName] = { .type = ThemeConstantsType::DOUBLE, .value = std::atof(number.c_str()) }; in ParseContent()
194 attributes_[patternName] = { .type = ThemeConstantsType::PATTERN, in OnParseStyle()
225 attributes_[attrName] = { .type = ThemeConstantsType::STRING, .value = mediaPath }; in OnParseResourceMedia()
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_use.cpp42 if (attributes_.href.empty()) { in AsPath()
46 auto refSvgNode = svgContext->GetSvgNodeById(attributes_.href); in AsPath()
50 refSvgNode->InheritAttr(attributes_); in AsPath()
58 if (attributes_.href.empty()) { in OnDraw()
61 auto refSvgNode = svgContext->GetSvgNodeById(attributes_.href); in OnDraw()
75 refSvgNode->InheritUseAttr(attributes_); in OnDraw()
137 attributes_ = nodeAttr; in AttributeScope()
144 node->SetBaseAttributes(attributes_); in ~AttributeScope()
H A Dsvg_polygon.cpp50 if (attributes_.clipState.IsEvenodd()) { in AsPath()
68 if (attributes_.clipState.IsEvenodd()) { in AsPath()
74 if (attributes_.fillState.IsEvenodd()) { in AsPath()
H A Dsvg_path.cpp45 if (attributes_.fillState.IsEvenodd()) { in AsPath()
57 if (attributes_.fillState.IsEvenodd()) { in AsPath()
H A Dsvg_node.h77 attributes_.Inherit(parent); in InheritAttr()
82 attributes_.InheritFromUse(parent); in InheritUseAttr()
149 return attributes_; in GetBaseAttributes()
154 attributes_ = attr; in SetBaseAttributes()
222 SvgBaseAttribute attributes_; member in OHOS::Ace::NG::SvgNode
H A Dsvg_use.h46 SvgBaseAttribute attributes_; member in OHOS::Ace::NG::SvgUse::AttributeScope
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/
H A Davrcp_ct_vendor_player_application_settings.h106 return attributes_; in GetAttributes()
112 std::vector<uint8_t> attributes_ {}; // A set of values of the "PlayerApplicationSettingAttributeID".
342 return attributes_; in GetAttributes()
352 attributes_.clear(); in ClearAttributes()
377 std::vector<uint8_t> attributes_ {}; // The value of the "PlayerApplicationSettingAttributeID".
483 return attributes_; in GetAttributes()
508 std::vector<uint8_t> attributes_ {}; // The value of the "PlayerApplicationSettingAttributeID".
612 return attributes_; in GetAttributes()
622 attributes_.clear(); in ClearAttributes()
648 std::vector<uint8_t> attributes_ {};
[all...]
H A Davrcp_ct_vendor.cpp281 attributes_.clear(); in ~AvrcCtLpasaPacket()
327 attributes_.push_back(static_cast<uint8_t>(payload)); in DisassembleParameters()
469 attributes_ = attributes; in AvrcCtGcpasvPacket()
486 attributes_.clear(); in ~AvrcCtGcpasvPacket()
495 AVRC_CT_VENDOR_PARAMETER_LENGTH_SIZE + AVRC_CT_GCPASV_NUM_OF_ATTRIBUTES_SIZE + attributes_.size(); in AssembleParameters()
510 numOfAttributes_ = attributes_.size(); in AssembleParameters()
514 for (auto attribute : attributes_) { in AssembleParameters()
549 attributes_.push_back(static_cast<uint8_t>(payload)); in DisassembleParameters()
550 HILOGI("attribute: %{public}x", attributes_.back()); in DisassembleParameters()
572 for (auto attribute : attributes_) { in IsValidAttribute()
[all...]
H A Davrcp_ct_notification.h137 attributes_.clear(); in ClearAttributes()
187 return attributes_; in GetAttributes()
236 std::vector<uint8_t> attributes_ {};
H A Davrcp_ct_browse.cpp292 attributes_ = attributes; in AvrcCtGfiPacket()
309 attributes_.clear(); in ~AvrcCtGfiPacket()
318 attributeCount_ = attributes_.size(); in AssemblePacket()
342 if (attributes_.size() == 0) { in AssemblePacket()
345 attributeCount_ = attributes_.size(); in AssemblePacket()
350 for (auto attribute : attributes_) { in AssemblePacket()
644 attributes_ = attributes; in AvrcCtGiaPacket()
660 attributes_.clear(); in ~AvrcCtGiaPacket()
668 numOfAttributes_ = attributes_.size(); in AssemblePacket()
695 for (auto attribute : attributes_) { in AssemblePacket()
[all...]
H A Davrcp_ct_notification.cpp53 attributes_.clear(); in ~AvrcCtNotifyPacket()
212 attributes_.push_back(static_cast<uint8_t>(payload)); in DisassemblePlayerApplicationSettingChanged()
213 HILOGI("attribute: %{public}x", attributes_.back()); in DisassemblePlayerApplicationSettingChanged()
H A Davrcp_ct_vendor.h430 return attributes_.size(); in GetNumberOfAttribute()
440 return attributes_; in GetAttributes()
450 attributes_.clear(); in ClearAttributes()
477 std::vector<uint32_t> attributes_ {}; // Specifies the attribute ID for the attributes to be retrieved.
/foundation/arkui/ace_engine/frameworks/core/components/theme/
H A Dtheme_style.h91 attributes_.clear();
109 attributes_ = attributes; in SetAttributes()
115 return attributes_; in GetAttributes()
121 return attributes_.find(attr) != attributes_.end(); in HasAttr()
127 attributes_[attr] = value; in SetAttr()
134 auto findIter = attributes_.find(attr); in GetAttr()
135 if (findIter == attributes_.end()) { in GetAttr()
161 std::unordered_map<std::string, ResValueWrapper> attributes_; member in OHOS::Ace::ThemeStyle
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/
H A Davrcp_tg_vendor_player_application_settings.h121 std::deque<uint8_t> attributes_ {}; // A set of the "PlayerApplicationSettingAttributeID".
352 return attributes_; in GetAttributes()
367 std::deque<uint8_t> attributes_ {}; // The value of the "PlayerApplicationSettingAttributeID".
480 return attributes_; in GetAttributes()
504 std::deque<uint8_t> attributes_ {}; // The value of the "PlayerApplicationSettingAttributeID".
613 return attributes_; in GetAttributes()
623 attributes_.clear(); in ClearAttributes()
659 std::vector<uint8_t> attributes_ {}; // A set of values of the "PlayerApplicationSettingAttributeID".
H A Davrcp_tg_vendor.cpp484 attributes_ = attributes; in AvrcTgLpasaPacket()
505 attributes_.clear(); in ~AvrcTgLpasaPacket()
512 numOfAttributes_ = attributes_.size(); in AssembleParameters()
535 for (auto attribute : attributes_) { in AssembleParameters()
566 if (attributes_.size() > 0) { in GetNumberOfPackets()
750 attributes_ = attributes; in AvrcTgGcpasvPacket()
772 attributes_.clear(); in ~AvrcTgGcpasvPacket()
808 offset += PushOctets1((bufferPtr + offset), attributes_.at(i)); in AssembleParameters()
809 HILOGI("attribute: %{public}x", attributes_.at(i)); in AssembleParameters()
814 HILOGI("before erase attributes_ in AssembleParameters()
[all...]
H A Davrcp_tg_browse.cpp383 attributes_.clear(); in ~AvrcTgGfiPacket()
544 for (size_t i = 0; i < item.attributes_.size(); i++) { in CountMeFrameSize()
644 newOffset += PushOctets1((buffer + newOffset), item.attributes_.size()); in AssembleMeItem()
646 for (size_t i = 0; i < item.attributes_.size(); i++) { in AssembleMeItem()
647 newOffset += PushOctets4((buffer + newOffset), item.attributes_.at(i)); in AssembleMeItem()
729 attributes_.push_back(AVRC_MEDIA_ATTRIBUTE_TITLE); in DisassemblePacketAttributes()
730 attributes_.push_back(AVRC_MEDIA_ATTRIBUTE_ARTIST_NAME); in DisassemblePacketAttributes()
731 attributes_.push_back(AVRC_MEDIA_ATTRIBUTE_ALBUM_NAME); in DisassemblePacketAttributes()
732 attributes_.push_back(AVRC_MEDIA_ATTRIBUTE_TRACK_NUMBER); in DisassemblePacketAttributes()
733 attributes_ in DisassemblePacketAttributes()
[all...]
H A Davrcp_tg_notification.cpp53 attributes_.clear(); in ~AvrcTgNotifyPacket()
240 offset += PushOctets1((bufferPtr + offset), attributes_.at(i)); in AssemblePlayerApplicationSettingChanged()
241 HILOGI("attribute: %{public}u", attributes_.at(i)); in AssemblePlayerApplicationSettingChanged()
245 attributes_.erase(attributes_.begin(), attributes_.begin() + numOfAttributes); in AssemblePlayerApplicationSettingChanged()
248 HILOGI("attributes_.size: %{public}zu", attributes_.size()); in AssemblePlayerApplicationSettingChanged()
442 double paramSize = attributes_.size() + values_.size(); in GetNumberOfPackets()
H A Davrcp_tg_notification.h179 attributes_ = attributes; in InitPlayerApplicationSettingChanged()
259 std::deque<uint8_t> attributes_ {};
H A Davrcp_tg_browse.h499 return attributes_; in GetAttributes()
507 std::vector<uint32_t> attributes_ {}; // The value of the "Attribute ID".
722 return attributes_; in GetAttributes()
730 std::vector<uint32_t> attributes_ {}; // The value of the "Attribute ID".
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_avrcp_ct.h90 explicit PlayerSettingAttributes(std::vector<uint8_t> attributes) : attributes_(attributes) in PlayerSettingAttributes()
94 attributes_.clear(); in ~PlayerSettingAttributes()
96 std::vector<uint8_t> attributes_; // The attribute of the player application setting. member in OHOS::Bluetooth::AvrcpCtResponse::PlayerSettingAttributes
131 : attributes_(attributes), values_(values) in PlayerSettingCurrentValue()
135 attributes_.clear(); in ~PlayerSettingCurrentValue()
138 std::vector<uint8_t> attributes_; // The attribute of the player application settings. member in OHOS::Bluetooth::AvrcpCtResponse::PlayerSettingCurrentValue
153 : attributes_(attributes), attrStr_(attrStr) in PlayerGettingText()
157 attributes_.clear(); in ~PlayerGettingText()
160 std::vector<uint8_t> attributes_; // The attribute of the player application settings. member in OHOS::Bluetooth::AvrcpCtResponse::PlayerGettingText
175 : attributes_(attribute in ElementAttributes()
182 std::vector<uint32_t> attributes_; // The attribute of the player application settings. global() member in OHOS::Bluetooth::AvrcpCtResponse::ElementAttributes
227 std::vector<uint32_t> attributes_; global() member
363 std::vector<uint8_t> attributes_; // The value of the "PlayerApplicationSettingAttributeID". global() member in OHOS::Bluetooth::AvrcpCtResponse::Notification
[all...]
/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/
H A Dbluetooth_avrcp_meItem.cpp38 if (!parcel.WriteUint32(attributes_.size())) { in Marshalling()
41 for (auto &attribute : attributes_) { in Marshalling()
98 attributes_.push_back(attribute); in ReadFromParcel()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_database.cpp61 attributes_.emplace(ccc.valueHandle_, std::move(cccAttributeValue)); in AddService()
71 attributes_.emplace(descriptor.handle_, std::move(descAttributeValue)); in AddService()
97 attributes_.erase(ccc.second.valueHandle_); in DeleteService()
100 attributes_.erase(descriptor.second.handle_); in DeleteService()
114 attributes_.clear(); in RemoveAllServices()
310 auto it = attributes_.find(handle); in SetValueByHandle()
311 if (it == attributes_.end()) { in SetValueByHandle()
320 auto it = attributes_.find(handle); in GetValueByHandle()
321 if (it == attributes_.end()) { in GetValueByHandle()
/foundation/ability/idl_tool/metadata/
H A Dmeta_patameter.h23 unsigned int attributes_; member
/foundation/ability/idl_tool/idl_tool_2/metadata/
H A Dmeta_patameter.h23 unsigned int attributes_; member
/foundation/arkui/ace_engine/adapter/preview/osal/
H A Dresource_adapter_impl.cpp215 attributes_[attrName] = { .type = ThemeConstantsType::COLOR, .value = Color(attrValue->GetColorValue()) }; in ParseContent()
218 attributes_[attrName] = { .type = ThemeConstantsType::STRING, .value = rawString }; in ParseContent()
226 attributes_[attrName] = { .type = ThemeConstantsType::PATTERN, in ParseContent()
239 attributes_[attrName] = { .type = ThemeConstantsType::STATE_RESOURCE, .value = stateResource }; in ParseContent()
241 attributes_[attrName] = { .type = ThemeConstantsType::REFERENCE_ATTR, .value = rawString }; in ParseContent()
247 attributes_[attrName] = { .type = ThemeConstantsType::DOUBLE, .value = doubleValue }; in ParseContent()
249 attributes_[attrName] = { .type = ThemeConstantsType::DIMENSION, in ParseContent()

Completed in 18 milliseconds

12