Searched refs:Attribute (Results 51 - 75 of 99) sorted by relevance

1234

/frameworks/base/tools/aapt2/
H A DResources.proto190 optional Attribute attr = 1;
271 message Attribute {
299 ENUM = 0x00010000; // Allows enums that are defined in the Attribute's symbols.
301 FLAGS = 0x00020000; // Allows flags that are defined in the Attribute's symbols.
H A DResourceTable.cpp218 * Attributes: There are two types of Attribute values: USE and DECL.
220 * USE is anywhere an Attribute is declared without a format, and in a place
222 * be legal to declare if the Attribute already existed. This is typically in a
226 * DECL is an absolute declaration of an Attribute and specifies an explicit
235 Attribute* existing_attr = ValueCast<Attribute>(existing);
236 Attribute* incoming_attr = ValueCast<Attribute>(incoming);
265 // Attribute specific handling. At this point we know both
H A DResourceParser.cpp940 bool operator()(const Attribute::Symbol& a, const Attribute::Symbol& b) const {
945 std::set<Attribute::Symbol, SymbolComparator> items;
983 if (Maybe<Attribute::Symbol> s =
985 Attribute::Symbol& symbol = s.value();
997 const Attribute::Symbol& existing_symbol = *insert_result.first;
1021 std::unique_ptr<Attribute> attr = util::make_unique<Attribute>(weak);
1022 attr->symbols = std::vector<Attribute::Symbol>(items.begin(), items.end());
1036 Maybe<Attribute
[all...]
H A DDebug.cpp42 void Visit(Attribute* attr) override {
283 for (const xml::Attribute& attr : el->attributes) {
H A DResourceUtils.cpp329 std::unique_ptr<BinaryPrimitive> TryParseEnumSymbol(const Attribute* enum_attr,
332 for (const Attribute::Symbol& symbol : enum_attr->symbols) {
346 std::unique_ptr<BinaryPrimitive> TryParseFlagSymbol(const Attribute* flag_attr,
361 for (const Attribute::Symbol& symbol : flag_attr->symbols) {
631 * We successively try to parse the string as a resource type that the Attribute
635 const StringPiece& str, const Attribute* attr,
/frameworks/base/tools/aapt2/unflatten/
H A DBinaryResourceParser.h77 std::unique_ptr<Attribute> ParseAttr(const ResourceNameRef& name,
H A DBinaryResourceParser.cpp498 std::unique_ptr<Attribute> BinaryResourceParser::ParseAttr(
503 std::unique_ptr<Attribute> attr = util::make_unique<Attribute>(is_weak);
531 Attribute::Symbol symbol;
/frameworks/base/tools/aapt2/compile/
H A DInlineXmlFormatParser.cpp52 xml::Attribute* attr = el->FindAttribute({}, "name");
165 parent_el->attributes.push_back(xml::Attribute{decl.attr_namespace_uri, decl.attr_name,
/frameworks/base/tools/aapt2/process/
H A DSymbolTable.h58 explicit Symbol(const Maybe<ResourceId>& i, const std::shared_ptr<Attribute>& attr = {},
69 std::shared_ptr<Attribute> attribute;
/frameworks/base/tools/aapt2/test/
H A DBuilders.h113 std::unique_ptr<Attribute> Build();
118 std::unique_ptr<Attribute> attr_;
H A DCommon.h122 template std::ostream& operator<<<Attribute>(std::ostream&, const Attribute&);
/frameworks/compile/slang/BitWriter_2_9/
H A DValueEnumerator.h72 std::vector<llvm::AttributeSet> Attribute; member in class:llvm_2_9::ValueEnumerator
132 assert(I != AttributeMap.end() && "Attribute not in ValueEnumerator!");
139 assert(I != AttributeGroupMap.end() && "Attribute not in ValueEnumerator!");
160 return Attribute;
/frameworks/compile/slang/BitWriter_2_9_func/
H A DValueEnumerator.h72 std::vector<llvm::AttributeSet> Attribute; member in class:llvm_2_9_func::ValueEnumerator
132 assert(I != AttributeMap.end() && "Attribute not in ValueEnumerator!");
139 assert(I != AttributeGroupMap.end() && "Attribute not in ValueEnumerator!");
160 return Attribute;
/frameworks/compile/slang/BitWriter_3_2/
H A DValueEnumerator.h75 std::vector<llvm::AttributeSet> Attribute; member in class:llvm_3_2::ValueEnumerator
135 assert(I != AttributeMap.end() && "Attribute not in ValueEnumerator!");
142 assert(I != AttributeGroupMap.end() && "Attribute not in ValueEnumerator!");
163 return Attribute;
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2.cpp650 int32_t Display::getAttribute(hwc2_config_t configId, Attribute attribute)
654 static_cast<Hwc2::IComposerClient::Attribute>(attribute),
671 .setWidth(getAttribute(configId, Attribute::Width))
672 .setHeight(getAttribute(configId, Attribute::Height))
673 .setVsyncPeriod(getAttribute(configId, Attribute::VsyncPeriod))
674 .setDpiX(getAttribute(configId, Attribute::DpiX))
675 .setDpiY(getAttribute(configId, Attribute::DpiY))
/frameworks/base/tools/aapt2/flatten/
H A DTableFlattener_test.cpp227 Attribute attr(false);
235 util::make_unique<Attribute>(attr))
241 Attribute* actual_attr = test::GetValue<Attribute>(&result, "android:attr/foo");
/frameworks/base/tools/aapt2/java/
H A DJavaClassGenerator.cpp98 static void AddAttributeFormatDoc(AnnotationProcessor* processor, Attribute* attr) {
175 for (const Attribute::Symbol& symbol : attr->symbols) {
286 "<tr><th>Attribute</th><th>Description</th></tr>\n";
449 // If this is an Attribute, append the format Javadoc.
451 if (Attribute* attr = ValueCast<Attribute>(entry.values.front()->value.get())) {
H A DManifestClassGenerator.cpp67 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name");
/frameworks/base/tools/aapt2/proto/
H A DTableProtoDeserializer.cpp216 const pb::Attribute& pb_attr = pb_compound_value.attr();
217 std::unique_ptr<Attribute> attr = util::make_unique<Attribute>();
222 Attribute::Symbol symbol;
/frameworks/native/services/vr/hardware_composer/impl/
H A Dvr_composer_client.h58 Display display, Config config, Attribute attribute,
H A Dvr_hwc.cpp322 IComposerClient::Attribute attribute,
334 case IComposerClient::Attribute::WIDTH:
337 case IComposerClient::Attribute::HEIGHT:
340 case IComposerClient::Attribute::VSYNC_PERIOD:
355 case IComposerClient::Attribute::DPI_X:
356 case IComposerClient::Attribute::DPI_Y:
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DDelegateMethodAdapter.java22 import org.objectweb.asm.Attribute;
332 public void visitAttribute(Attribute attr) {
H A DStubMethodAdapter.java20 import org.objectweb.asm.Attribute;
237 public void visitAttribute(Attribute attr) {
/frameworks/base/tools/aapt2/cmd/
H A DLink.cpp380 Attribute(false, android::ResTable_map::TYPE_DIMENSION)},
382 Attribute(false, android::ResTable_map::TYPE_DIMENSION)},
391 Attribute(false, android::ResTable_map::TYPE_DIMENSION)},
393 Attribute(false, android::ResTable_map::TYPE_DIMENSION)},
402 Attribute(false, android::ResTable_map::TYPE_DIMENSION)},
404 Attribute(false, android::ResTable_map::TYPE_DIMENSION)},
413 Attribute(false, android::ResTable_map::TYPE_DIMENSION)},
415 Attribute(false, android::ResTable_map::TYPE_DIMENSION)},
778 xml::Attribute* package_attr = manifest_el->FindAttribute({}, "package");
786 if (xml::Attribute* version_code_att
[all...]
/frameworks/native/libs/hwc2on1adapter/include/hwc2on1adapter/
H A DHWC2On1Adapter.h207 HWC2::Attribute attribute, int32_t* outValue);
293 void setAttribute(HWC2::Attribute attribute, int32_t value);
294 int32_t getAttribute(HWC2::Attribute attribute) const;
319 std::unordered_map<HWC2::Attribute, int32_t> mAttributes;
487 auto attribute = static_cast<HWC2::Attribute>(intAttribute);

Completed in 740 milliseconds

1234