Home
last modified time | relevance | path

Searched refs:TYPE_REFERENCE (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/tools/aapt2/
DXmlFlattener_test.cpp100 EXPECT_EQ(tree.getAttributeDataType(idx), android::Res_value::TYPE_REFERENCE); in TEST_F()
113 EXPECT_EQ(tree.getAttributeDataType(idx), android::Res_value::TYPE_REFERENCE); in TEST_F()
149 if (tree->getAttributeDataType(index) != Res_value::TYPE_REFERENCE) { in attributeNameAndValueEquals()
154 << Res_value::TYPE_REFERENCE << std::dec << ")"; in attributeNameAndValueEquals()
DResourceValues.cpp68 ? android::Res_value::TYPE_REFERENCE in flatten()
241 if ((typeMask & android::ResTable_map::TYPE_REFERENCE) != 0) { in printMask()
DManifestValidator.cpp72 if (value.dataType == android::Res_value::TYPE_REFERENCE) { in getAttributeValue()
DBinaryResourceParser.cpp702 if (value->dataType == Res_value::TYPE_REFERENCE || in parseValue()
704 const Reference::Type type = (value->dataType == Res_value::TYPE_REFERENCE) ? in parseValue()
720 nullType.dataType = Res_value::TYPE_REFERENCE; in parseValue()
DLinker.cpp225 const uint32_t typeMask = attr.typeMask | android::ResTable_map::TYPE_REFERENCE; in processAttributeValue()
DResourceParser.cpp200 value.dataType = android::Res_value::TYPE_REFERENCE; in tryParseNullOrEmpty()
355 case android::Res_value::TYPE_REFERENCE: in androidTypeToAttributeTypeMask()
358 return android::ResTable_map::TYPE_REFERENCE; in androidTypeToAttributeTypeMask()
930 if (piece == u"reference") return android::ResTable_map::TYPE_REFERENCE; in parseFormatType()
DResourceParser_test.cpp205 EXPECT_EQ(uint16_t(android::Res_value::TYPE_REFERENCE), integer->value.dataType); in TEST_F()
/frameworks/base/libs/androidfw/tests/
DResTable_test.cpp85 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST()
105 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST()
131 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST()
136 EXPECT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST()
/frameworks/base/tools/aapt/
DAaptXml.cpp149 if (value.dataType == Res_value::TYPE_REFERENCE) { in getResolvedIntegerAttribute()
173 if (outValue->dataType == Res_value::TYPE_REFERENCE) { in getResolvedResourceAttribute()
DResourceTable.cpp166 { referenceArray, sizeof(referenceArray)/2, ResTable_map::TYPE_REFERENCE,
267 if (hadType && (type&ResTable_map::TYPE_REFERENCE) == 0) { in appendTypeInfo()
1404 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_STRING; in compileResourceFile()
1410 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_COLOR; in compileResourceFile()
1414 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_COLOR; in compileResourceFile()
1418 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_BOOLEAN; in compileResourceFile()
1422 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_INTEGER; in compileResourceFile()
1426 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_DIMENSION; in compileResourceFile()
1430 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_FRACTION; in compileResourceFile()
1495 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_STRING; in compileResourceFile()
[all …]
DXMLNode.cpp479 } else if (value.dataType == Res_value::TYPE_REFERENCE) { in printXMLBlock()
DResource.cpp487 if (value.dataType == Res_value::TYPE_REFERENCE) { in validateAttr()
/frameworks/base/core/java/android/util/
DTypedValue.java30 public static final int TYPE_REFERENCE = 0x01; field in TypedValue
461 case TYPE_REFERENCE: in coerceToString()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp1129 if (value.dataType == Res_value::TYPE_REFERENCE) { in android_content_AssetManager_resolveAttrs()
1221 if (value.dataType == Res_value::TYPE_REFERENCE && value.data == 0) { in android_content_AssetManager_resolveAttrs()
1331 if (value.dataType == Res_value::TYPE_REFERENCE) { in android_content_AssetManager_applyStyle()
1348 if (value.dataType == value.TYPE_REFERENCE) { in android_content_AssetManager_applyStyle()
1477 if (value.dataType == Res_value::TYPE_REFERENCE && value.data == 0) { in android_content_AssetManager_applyStyle()
1627 if (value.dataType == Res_value::TYPE_REFERENCE && value.data == 0) { in android_content_AssetManager_retrieveAttributes()
1741 if (value.dataType == Res_value::TYPE_REFERENCE && value.data == 0) { in android_content_AssetManager_retrieveArray()
Dandroid_util_XmlBlock.cpp333 return value.dataType == value.TYPE_REFERENCE in android_content_XmlBlock_nativeGetStyleAttribute()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java59 import static android.util.TypedValue.TYPE_REFERENCE;
788 return TYPE_REFERENCE; in getType()
/frameworks/base/include/androidfw/
DResourceTypes.h272 TYPE_REFERENCE = 0x01, enumerator
1427 TYPE_REFERENCE = 1<<0, enumerator
/frameworks/base/core/java/android/content/res/
DXmlBlock.java389 if (t == TypedValue.TYPE_REFERENCE) { in getAttributeResourceValue()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1280 return Res_value::TYPE_REFERENCE; in getAttributeDataType()
3968 while (blockIndex >= 0 && value->dataType == Res_value::TYPE_REFERENCE in resolveReference()
4969 outValue->dataType = outValue->TYPE_REFERENCE; in stringToValue()
6353 value->dataType = Res_value::TYPE_REFERENCE; in lookupResourceValue()
6625 } else if (value.dataType == Res_value::TYPE_REFERENCE) { in print_value()
/frameworks/base/core/java/android/view/
DViewDebug.java904 if (outValue.type == TypedValue.TYPE_REFERENCE) { in getStyleAttributesDump()
/frameworks/base/api/
Dcurrent.txt34470 field public static final int TYPE_REFERENCE = 1; // 0x1
Dsystem-current.txt36762 field public static final int TYPE_REFERENCE = 1; // 0x1