/frameworks/base/libs/androidfw/tests/ |
D | AppAsLib_test.cpp | 40 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()
|
D | DynamicRefTable_test.cpp | 28 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()
|
D | Idmap_test.cpp | 106 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()
|
D | AssetManager2_test.cpp | 169 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 …]
|
D | ResTable_test.cpp | 93 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()
|
D | Theme_test.cpp | 156 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/ |
D | ResourceUtils.cpp | 33 return data_type == Res_value::TYPE_REFERENCE || data_type == Res_value::TYPE_DYNAMIC_REFERENCE; in IsReference() 40 case Res_value::TYPE_REFERENCE: in DataTypeToString()
|
D | RawPrintVisitor.cpp | 106 (value.data_value == Res_value::TYPE_REFERENCE || in visit()
|
/frameworks/layoutlib/bridge/tests/src/android/content/res/ |
D | BridgeTypedArrayTest.java | 32 import static android.util.TypedValue.TYPE_REFERENCE; 42 assertEquals(TYPE_REFERENCE, BridgeTypedArray.getType("@drawable/my_drawable")); in getType()
|
/frameworks/base/tools/aapt2/ |
D | ResourceValues_test.cpp | 34 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()
|
D | ResourceValues.cpp | 131 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()
|
D | ResourceUtils.cpp | 583 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/ |
D | AaptXml.cpp | 165 if (value.dataType == Res_value::TYPE_REFERENCE) { in getResolvedIntegerAttribute() 189 if (outValue->dataType == Res_value::TYPE_REFERENCE) { in getResolvedResourceAttribute()
|
D | ResourceTable.cpp | 181 { 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/ |
D | AttributeResolution.cpp | 112 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()
|
D | AssetManager2.cpp | 1105 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/ |
D | FabricatedOverlayTests.cpp | 56 "string/int3", Res_value::TYPE_REFERENCE, 0x7f010000, "xxhdpi-v7") in TEST() 103 ASSERT_EQ(Res_value::TYPE_REFERENCE, entry->value.data_type); in TEST()
|
D | ResourceMappingTests.cpp | 213 .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()
|
D | IdmapTests.cpp | 270 .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/ |
D | PartnerConfigHelper.java | 139 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/ |
D | TypedValue.java | 38 public static final int TYPE_REFERENCE = 0x01; field in TypedValue 774 case TYPE_REFERENCE: in coerceToString()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 63 import static android.util.TypedValue.TYPE_REFERENCE; 791 case TYPE_REFERENCE: in getValue() 995 return TYPE_REFERENCE; in getType()
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Lookup.cpp | 122 if (value->type == Res_value::TYPE_REFERENCE) { in GetValue()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | TableFlattener_test.cpp | 181 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/ |
D | android_util_XmlBlock.cpp | 303 return value.dataType == value.TYPE_REFERENCE in android_content_XmlBlock_nativeGetStyleAttribute()
|