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
283 FileReference* FileReference::Clone(StringPool* new_pool) const { function in class:aapt::FileReference
317 BinaryPrimitive* BinaryPrimitive::Clone(StringPool* /*new_pool*/) const { function in class:aapt::BinaryPrimitive
413 Attribute* Attribute::Clone(StringPool* /*new_pool*/) const { function in class:Attribute
675 Style* Style::Clone(StringPool* new_pool) const {
682 style->entries.push_back(Entry{entry.key, std::unique_ptr<Item>(entry.value->Clone(new_poo
[all...]
H A DResourceValues_test.cpp49 std::unique_ptr<Plural> b(a.Clone(&pool));
84 std::unique_ptr<Array> b(a.Clone(&pool));
147 std::unique_ptr<Style> b(a->Clone(nullptr));
/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));
110 cloned_doc->root = doc->root->Clone([&](const xml::Element& el, xml::Element* out_el) {
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.h60 virtual std::unique_ptr<Node> Clone(const ElementCloneFunc& el_cloner) = 0;
81 std::unique_ptr<Node> Clone(const ElementCloneFunc& el_cloner) override;
124 std::unique_ptr<Node> Clone(const ElementCloneFunc& el_cloner) override;
134 std::unique_ptr<Node> Clone(const ElementCloneFunc& el_cloner) override;
H A DXmlDom.cpp359 std::unique_ptr<Node> Namespace::Clone(const ElementCloneFunc& el_cloner) { function in class:aapt::xml::Namespace
368 ns->AppendChild(child->Clone(el_cloner));
475 std::unique_ptr<Node> Element::Clone(const ElementCloneFunc& el_cloner) { function in class:aapt::xml::Element
486 el->AppendChild(child->Clone(el_cloner));
491 std::unique_ptr<Node> Text::Clone(const ElementCloneFunc&) { 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.cpp263 std::unique_ptr<Value>(value->Clone(nullptr)),
269 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.cpp310 std::unique_ptr<Styleable>(styleable.Clone(nullptr)))

Completed in 1325 milliseconds