Home
last modified time | relevance | path

Searched refs:TYPE_REFERENCE (Results 1 – 25 of 40) 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()
DDynamicRefTable_test.cpp28 value.dataType = Res_value::TYPE_REFERENCE; in TEST()
37 value2.dataType = Res_value::TYPE_REFERENCE; in TEST()
100 value.dataType = Res_value::TYPE_REFERENCE; in TEST()
DIdmap_test.cpp106 ASSERT_EQ(value->type, Res_value::TYPE_REFERENCE); in TEST_F()
139 ASSERT_EQ(value->type, Res_value::TYPE_REFERENCE); in TEST_F()
165 ASSERT_EQ(xml_tree->getAttributeDataType(0), Res_value::TYPE_REFERENCE); in TEST_F()
171 ASSERT_EQ(xml_tree->getAttributeDataType(1), Res_value::TYPE_REFERENCE); in TEST_F()
DAssetManager2_test.cpp169 EXPECT_EQ(Res_value::TYPE_REFERENCE, value->type); in TEST_F()
184 EXPECT_EQ(Res_value::TYPE_REFERENCE, value->type); in TEST_F()
202 EXPECT_EQ(Res_value::TYPE_REFERENCE, value->type); in TEST_F()
379 EXPECT_EQ(Res_value::TYPE_REFERENCE, (*bag_two)->entries[3].value.dataType); in TEST_F()
414 EXPECT_EQ(Res_value::TYPE_REFERENCE, value->type); in TEST_F()
430 EXPECT_EQ(Res_value::TYPE_REFERENCE, value->type); in TEST_F()
435 EXPECT_EQ(Res_value::TYPE_REFERENCE, value->type); in TEST_F()
457 EXPECT_EQ(Res_value::TYPE_REFERENCE, value->type); in TEST_F()
510 value.type = Res_value::TYPE_REFERENCE; in TEST_F()
523 value.type = Res_value::TYPE_REFERENCE; in TEST_F()
[all …]
DResTable_test.cpp93 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST()
117 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST()
157 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST()
162 EXPECT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST()
DTheme_test.cpp156 EXPECT_EQ(Res_value::TYPE_REFERENCE, value->type); in TEST_F()
208 EXPECT_EQ(Res_value::TYPE_REFERENCE, value->type); in TEST_F()
/frameworks/base/cmds/idmap2/libidmap2/
DResourceUtils.cpp33 return data_type == Res_value::TYPE_REFERENCE || data_type == Res_value::TYPE_DYNAMIC_REFERENCE; in IsReference()
40 case Res_value::TYPE_REFERENCE: in DataTypeToString()
DRawPrintVisitor.cpp106 (value.data_value == Res_value::TYPE_REFERENCE || in visit()
/frameworks/layoutlib/bridge/tests/src/android/content/res/
DBridgeTypedArrayTest.java32 import static android.util.TypedValue.TYPE_REFERENCE;
42 assertEquals(TYPE_REFERENCE, BridgeTypedArray.getType("@drawable/my_drawable")); in getType()
/frameworks/base/tools/aapt2/
DResourceValues_test.cpp34 constexpr const uint32_t TYPE_REFERENCE = android::Res_value::TYPE_REFERENCE; variable
225 EXPECT_THAT(value.dataType, Eq(android::Res_value::TYPE_REFERENCE)); in TEST()
274 Attribute attr_one(TYPE_STRING | TYPE_REFERENCE); in TEST()
277 Attribute attr_four(TYPE_REFERENCE); in TEST()
DResourceValues.cpp131 out_value->dataType = android::Res_value::TYPE_REFERENCE; in Flatten()
570 uint32_t this_type_mask = type_mask | android::ResTable_map::TYPE_REFERENCE; in IsCompatibleWith()
571 uint32_t that_type_mask = attr.type_mask | android::ResTable_map::TYPE_REFERENCE; in IsCompatibleWith()
582 if ((type_mask & android::ResTable_map::TYPE_REFERENCE) != 0) { in MaskString()
733 if (attr.type_mask & android::ResTable_map::TYPE_REFERENCE) { in BuildAttributeMismatchMessage()
748 constexpr const uint32_t TYPE_REFERENCE = android::ResTable_map::TYPE_REFERENCE; in Matches() local
759 if ((actual_type & (type_mask | TYPE_REFERENCE)) == 0) { in Matches()
DResourceUtils.cpp583 case android::Res_value::TYPE_REFERENCE: in AndroidTypeToAttributeTypeMask()
587 return android::ResTable_map::TYPE_REFERENCE; in AndroidTypeToAttributeTypeMask()
760 if (res_value.dataType != android::Res_value::TYPE_REFERENCE && in ParseBinaryResValue()
811 case android::Res_value::TYPE_REFERENCE: in ParseBinaryResValue()
/frameworks/base/tools/aapt/
DAaptXml.cpp165 if (value.dataType == Res_value::TYPE_REFERENCE) { in getResolvedIntegerAttribute()
189 if (outValue->dataType == Res_value::TYPE_REFERENCE) { in getResolvedResourceAttribute()
DResourceTable.cpp181 { referenceArray, sizeof(referenceArray)/2, ResTable_map::TYPE_REFERENCE,
282 if (hadType && (type&ResTable_map::TYPE_REFERENCE) == 0) { in appendTypeInfo()
1409 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_STRING; in compileResourceFile()
1415 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_COLOR; in compileResourceFile()
1419 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_COLOR; in compileResourceFile()
1423 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_BOOLEAN; in compileResourceFile()
1427 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_INTEGER; in compileResourceFile()
1431 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_DIMENSION; in compileResourceFile()
1435 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_FRACTION; in compileResourceFile()
1500 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_STRING; in compileResourceFile()
[all …]
/frameworks/base/libs/androidfw/
DAttributeResolution.cpp112 if (value.dataType == Res_value::TYPE_REFERENCE) { in GetXmlStyleBag()
189 if (value.type == Res_value::TYPE_REFERENCE && value.data == 0) { in ResolveAttrs()
322 if (value.type == Res_value::TYPE_REFERENCE && value.data == 0U) { in ApplyStyle()
395 if (value.type == Res_value::TYPE_REFERENCE && value.data == 0U) { in RetrieveAttributes()
DAssetManager2.cpp1105 return SelectedValue(Res_value::TYPE_REFERENCE, resid, result->cookie, result->type_flags, in GetResource()
1119 if (value.type != Res_value::TYPE_REFERENCE || value.data == 0U) { in ResolveReference()
1150 if (result->type != Res_value::TYPE_REFERENCE || in ResolveReference()
1186 if (UNLIKELY(value.type != Res_value::TYPE_REFERENCE)) { in ResolveBag()
1786 || entry.value.dataType == Res_value::TYPE_REFERENCE in SetTo()
/frameworks/base/cmds/idmap2/tests/
DFabricatedOverlayTests.cpp56 "string/int3", Res_value::TYPE_REFERENCE, 0x7f010000, "xxhdpi-v7") in TEST()
103 ASSERT_EQ(Res_value::TYPE_REFERENCE, entry->value.data_type); in TEST()
DResourceMappingTests.cpp213 .SetResourceValue("string/str1", Res_value::TYPE_REFERENCE, 0x7f010000, "") in TEST()
239 ASSERT_RESULT(MappingExists(res, R::target::string::str1, Res_value::TYPE_REFERENCE, 0x7f010000)); in TEST()
DIdmapTests.cpp270 .SetResourceValue("string/str1", Res_value::TYPE_REFERENCE, 0x7f010000, "land") in TEST()
313 Res_value::TYPE_REFERENCE, 0x7f010000); in TEST()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/
DPartnerConfigHelper.java139 if (outValue.type == TypedValue.TYPE_REFERENCE && outValue.data == 0) { in getColorStateList()
182 if (outValue.type == TypedValue.TYPE_REFERENCE && outValue.data == 0) { in getDrawable()
/frameworks/base/core/java/android/util/
DTypedValue.java38 public static final int TYPE_REFERENCE = 0x01; field in TypedValue
774 case TYPE_REFERENCE: in coerceToString()
/frameworks/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java63 import static android.util.TypedValue.TYPE_REFERENCE;
791 case TYPE_REFERENCE: in getValue()
995 return TYPE_REFERENCE; in getType()
/frameworks/base/cmds/idmap2/idmap2/
DLookup.cpp122 if (value->type == Res_value::TYPE_REFERENCE) { in GetValue()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp181 Res_value::TYPE_REFERENCE, 0x7f020000u, 0u)); in TEST_F()
649 ResourceId(0x7f020002), {}, Res_value::TYPE_REFERENCE, 0x7f020000u, 0u)); in TEST_F()
707 ResourceId(0x7f020002), {}, Res_value::TYPE_REFERENCE, 0x7f020000u, 0u)); in TEST_F()
784 ResourceId(0x7f020002), {}, Res_value::TYPE_REFERENCE, 0x7f020000u, 0u)); in TEST_F()
/frameworks/base/core/jni/
Dandroid_util_XmlBlock.cpp303 return value.dataType == value.TYPE_REFERENCE in android_content_XmlBlock_nativeGetStyleAttribute()

12