Home
last modified time | relevance | path

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

12

/frameworks/base/libs/androidfw/tests/
DAppAsLib_test.cpp40 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST()
59 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST()
78 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST()
DAssetManager2_test.cpp159 EXPECT_EQ(Res_value::TYPE_REFERENCE, value.dataType); in TEST_F()
176 EXPECT_EQ(Res_value::TYPE_REFERENCE, value.dataType); in TEST_F()
201 EXPECT_EQ(Res_value::TYPE_REFERENCE, value.dataType); in TEST_F()
290 EXPECT_EQ(Res_value::TYPE_REFERENCE, bag_two->entries[3].value.dataType); in TEST_F()
317 EXPECT_EQ(Res_value::TYPE_REFERENCE, value.dataType); in TEST_F()
340 EXPECT_EQ(Res_value::TYPE_REFERENCE, value.dataType); in TEST_F()
346 EXPECT_EQ(Res_value::TYPE_REFERENCE, value.dataType); in TEST_F()
DResTable_test.cpp120 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST()
144 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST()
184 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST()
189 EXPECT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST()
DTheme_test.cpp155 EXPECT_EQ(Res_value::TYPE_REFERENCE, value.dataType); in TEST_F()
216 EXPECT_EQ(Res_value::TYPE_REFERENCE, value.dataType); in TEST_F()
/frameworks/base/libs/androidfw/
DAttributeResolution.cpp79 if (value.dataType == Res_value::TYPE_REFERENCE) { in ResolveAttrs()
166 if (value.dataType == Res_value::TYPE_REFERENCE && value.data == 0) { in ResolveAttrs()
226 if (value.dataType == Res_value::TYPE_REFERENCE) { in ApplyStyle()
243 if (value.dataType == value.TYPE_REFERENCE) { in ApplyStyle()
372 if (value.dataType == Res_value::TYPE_REFERENCE && value.data == 0) { in ApplyStyle()
463 if (value.dataType == Res_value::TYPE_REFERENCE && value.data == 0) { in RetrieveAttributes()
DAssetManager2.cpp406 out_value->dataType = Res_value::TYPE_REFERENCE; in GetResource()
433 for (size_t iteration = 0u; in_out_value->dataType == Res_value::TYPE_REFERENCE && in ResolveReference()
845 out_value->dataType = Res_value::TYPE_REFERENCE; in GetAttribute()
DResourceTypes.cpp1288 return Res_value::TYPE_REFERENCE; in getAttributeDataType()
4200 while (blockIndex >= 0 && value->dataType == Res_value::TYPE_REFERENCE in resolveReference()
5235 outValue->dataType = outValue->TYPE_REFERENCE; in stringToValue()
6708 uint8_t resolvedType = Res_value::TYPE_REFERENCE; in lookupResourceValue()
6713 case Res_value::TYPE_REFERENCE: in lookupResourceValue()
7007 } else if (value.dataType == Res_value::TYPE_REFERENCE) { in print_value()
/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.cpp182 { referenceArray, sizeof(referenceArray)/2, ResTable_map::TYPE_REFERENCE,
283 if (hadType && (type&ResTable_map::TYPE_REFERENCE) == 0) { in appendTypeInfo()
1410 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_STRING; in compileResourceFile()
1416 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_COLOR; in compileResourceFile()
1420 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_COLOR; in compileResourceFile()
1424 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_BOOLEAN; in compileResourceFile()
1428 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_INTEGER; in compileResourceFile()
1432 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_DIMENSION; in compileResourceFile()
1436 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_FRACTION; in compileResourceFile()
1501 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.cpp488 if (value.dataType == Res_value::TYPE_REFERENCE) { in validateAttr()
/frameworks/base/core/java/android/util/
DTypedValue.java31 public static final int TYPE_REFERENCE = 0x01; field in TypedValue
485 case TYPE_REFERENCE: in coerceToString()
/frameworks/base/tools/aapt2/
DResourceValues.cpp104 out_value->dataType = android::Res_value::TYPE_REFERENCE; in Flatten()
424 if ((type_mask & android::ResTable_map::TYPE_REFERENCE) != 0) { in PrintMask()
572 if (attr->type_mask & android::ResTable_map::TYPE_REFERENCE) { in BuildAttributeMismatchMessage()
588 const uint32_t mask = type_mask | android::ResTable_map::TYPE_REFERENCE; in Matches()
DResourceUtils.cpp535 case android::Res_value::TYPE_REFERENCE: in AndroidTypeToAttributeTypeMask()
539 return android::ResTable_map::TYPE_REFERENCE; in AndroidTypeToAttributeTypeMask()
716 case android::Res_value::TYPE_REFERENCE: in ParseBinaryResValue()
DResourceValues_test.cpp189 EXPECT_EQ(android::Res_value::TYPE_REFERENCE, value.dataType); in TEST()
DResourceParser.cpp46 return android::ResTable_map::TYPE_REFERENCE; in ParseFormatTypeNoEnumsOrFlags()
538 out_resource->value = ParseXml(parser, android::ResTable_map::TYPE_REFERENCE, kNoRawString); in ParseResource()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java56 import static android.util.TypedValue.TYPE_REFERENCE;
787 return TYPE_REFERENCE; in getType()
/frameworks/base/core/jni/
Dandroid_util_XmlBlock.cpp333 return value.dataType == value.TYPE_REFERENCE in android_content_XmlBlock_nativeGetStyleAttribute()
Dandroid_util_AssetManager.cpp1333 if (value.dataType == Res_value::TYPE_REFERENCE && value.data == 0) { in android_content_AssetManager_retrieveArray()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h274 TYPE_REFERENCE = 0x01, enumerator
1516 TYPE_REFERENCE = 1<<0, enumerator
/frameworks/base/core/java/android/content/res/
DXmlBlock.java391 if (t == TypedValue.TYPE_REFERENCE) { in getAttributeResourceValue()
/frameworks/base/tools/aapt2/flatten/
DTableFlattener_test.cpp176 ResourceId(0x7f020002), {}, Res_value::TYPE_REFERENCE, in TEST_F()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.cpp100 if (type_mask & android::ResTable_map::TYPE_REFERENCE) { in AddAttributeFormatDoc()
/frameworks/base/core/java/android/view/
DViewDebug.java915 if (outValue.type == TypedValue.TYPE_REFERENCE) { in getStyleAttributesDump()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java392 outValue.type = TypedValue.TYPE_REFERENCE; in resolveThemeAttribute()

12