Searched refs:Clone (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/tools/aapt2/
H A DResourceValues.h79 // Clone the value. `new_pool` is the new StringPool that
81 virtual Value* Clone(StringPool* new_pool) const = 0;
103 // Clone the Item.
104 virtual Item* Clone(StringPool* new_pool) const override = 0;
138 Reference* Clone(StringPool* new_pool) const override;
150 Id* Clone(StringPool* new_pool) const override;
163 RawString* Clone(StringPool* new_pool) const override;
197 String* Clone(StringPool* new_pool) const override;
213 StyledString* Clone(StringPool* new_pool) const override;
229 FileReference* Clone(StringPoo
[all...]
H A DResourceValues.cpp57 RawString* RawString::Clone(StringPool* new_pool) const { function in class:aapt::RawString
117 Reference* Reference::Clone(StringPool* /*new_pool*/) const { function in class:aapt::Reference
158 Id* Id::Clone(StringPool* /*new_pool*/) const { return new Id(*this); } function in class:aapt::Id
199 String* String::Clone(StringPool* new_pool) const { function in class:aapt::String
247 StyledString* StyledString::Clone(StringPool* new_pool) const { function in class:aapt::StyledString
282 FileReference* FileReference::Clone(StringPool* new_pool) const { function in class:aapt::FileReference
316 BinaryPrimitive* BinaryPrimitive::Clone(StringPool* /*new_pool*/) const { function in class:aapt::BinaryPrimitive
412 Attribute* Attribute::Clone(StringPool* /*new_pool*/) const { function in class:Attribute
718 Style* Style::Clone(StringPool* new_pool) const {
725 style->entries.push_back(Entry{entry.key, std::unique_ptr<Item>(entry.value->Clone(new_poo
[all...]
H A DResourceValues_test.cpp53 std::unique_ptr<Plural> b(a.Clone(&pool));
88 std::unique_ptr<Array> b(a.Clone(&pool));
151 std::unique_ptr<Style> b(a->Clone(nullptr));
165 std::unique_ptr<String> str_b(str_a.Clone(&pool_b));
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_frame.h67 NativeFrame* Clone() const;
H A Dnative_frame.cpp45 NativeFrame* NativeFrame::Clone() const { function in class:android::filterfw::NativeFrame
H A Dgl_frame.h72 // Clone the current frame by creating a new GL frame and copying all data to it.
73 GLFrame* Clone() const;
H A Dgl_frame.cpp195 GLFrame* GLFrame::Clone() const { function in class:android::filterfw::GLFrame
/frameworks/base/tools/aapt2/link/
H A DXmlCompatVersioner.cpp28 dst.compiled_value.reset(src.compiled_value->Clone(out_string_pool));
44 dst_attr->compiled_value.reset(src_attr.compiled_value->Clone(out_string_pool));
161 return std::unique_ptr<Item>(src->Clone(out_string_pool));
H A DAutoVersioner.cpp127 std::unique_ptr<Style> new_style(style->Clone(&table->string_pool));
H A DTableMerger.cpp314 new_file_ref = std::unique_ptr<FileReference>(f->Clone(&master_table_->string_pool));
327 src_config_value->value->Clone(&master_table_->string_pool));
347 return std::unique_ptr<FileReference>(file_ref.Clone(&master_table_->string_pool));
/frameworks/base/tools/aapt2/xml/
H A DXmlDom.h54 virtual std::unique_ptr<Node> Clone(const ElementCloneFunc& el_cloner) const = 0;
108 // Due to overriding of subtypes not working with unique_ptr, define a convenience Clone method
112 std::unique_ptr<Node> Clone(const ElementCloneFunc& el_cloner) const override;
122 std::unique_ptr<Node> Clone(const ElementCloneFunc& el_cloner) const override;
H A DXmlDom.cpp431 std::unique_ptr<Node> Element::Clone(const ElementCloneFunc& el_cloner) const { function in class:aapt::xml::Element
443 el->AppendChild(child->Clone(el_cloner));
449 return std::unique_ptr<Element>(static_cast<Element*>(Clone(el_cloner).release()));
458 std::unique_ptr<Node> Text::Clone(const ElementCloneFunc&) const { function in class:aapt::xml::Text
/frameworks/base/tools/aapt2/split/
H A DTableSplitter.cpp268 config_value->value->Clone(&split_table->string_pool));
/frameworks/base/tools/aapt2/test/
H A DContext.h192 clone->attribute = std::unique_ptr<Attribute>(sym->attribute->Clone(nullptr));
/frameworks/base/tools/aapt2/flatten/
H A DTableFlattener_test.cpp265 std::unique_ptr<Value>(value->Clone(nullptr)),
271 std::unique_ptr<Value>(value->Clone(nullptr)),
/frameworks/base/tools/aapt2/compile/
H A DPseudolocaleGenerator.cpp236 localized->values[i] = std::unique_ptr<Item>(plural->values[i]->Clone(pool_));
/frameworks/base/tools/aapt2/java/
H A DJavaClassGenerator_test.cpp312 std::unique_ptr<Styleable>(styleable.Clone(nullptr)))

Completed in 371 milliseconds