/frameworks/base/tools/aapt2/link/ |
D | XmlCompatVersioner_test.cpp | 31 constexpr auto TYPE_DIMENSION = android::ResTable_map::TYPE_DIMENSION; variable 58 util::make_unique<Attribute>(TYPE_DIMENSION)) in SetUp() 60 util::make_unique<Attribute>(TYPE_DIMENSION)) in SetUp() 62 util::make_unique<Attribute>(TYPE_DIMENSION)) in SetUp() 64 util::make_unique<Attribute>(TYPE_DIMENSION)) in SetUp() 66 util::make_unique<Attribute>(TYPE_DIMENSION)) in SetUp()
|
D | XmlReferenceLinker_test.cpp | 37 android::ResTable_map::TYPE_DIMENSION) in SetUp()
|
/frameworks/layoutlib/bridge/tests/src/android/content/res/ |
D | BridgeTypedArrayTest.java | 22 import static android.util.TypedValue.TYPE_DIMENSION; 53 assertEquals(TYPE_DIMENSION, BridgeTypedArray.getType("16dp")); in getType() 54 assertEquals(TYPE_DIMENSION, BridgeTypedArray.getType(".16dp")); in getType() 55 assertEquals(TYPE_DIMENSION, BridgeTypedArray.getType("9999.dp")); in getType()
|
/frameworks/base/core/java/android/animation/ |
D | AnimatorInflater.java | 337 if (fromType == TypedValue.TYPE_DIMENSION) { in getPVH() 343 if (toType == TypedValue.TYPE_DIMENSION) { in getPVH() 354 if (toType == TypedValue.TYPE_DIMENSION) { in getPVH() 365 if (fromType == TypedValue.TYPE_DIMENSION) { in getPVH() 373 if (toType == TypedValue.TYPE_DIMENSION) { in getPVH() 386 if (toType == TypedValue.TYPE_DIMENSION) { in getPVH() 581 if (fromType == TypedValue.TYPE_DIMENSION) { in setupValues() 587 if (toType == TypedValue.TYPE_DIMENSION) { in setupValues() 597 if (toType == TypedValue.TYPE_DIMENSION) { in setupValues() 608 if (fromType == TypedValue.TYPE_DIMENSION) { in setupValues() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 732 new UnitEntry("px", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_PX, 1.0f), 733 new UnitEntry("dip", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f), 734 new UnitEntry("dp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f), 735 new UnitEntry("sp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_SP, 1.0f), 736 new UnitEntry("pt", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_PT, 1.0f), 737 new UnitEntry("in", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_IN, 1.0f), 738 new UnitEntry("mm", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_MM, 1.0f),
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | ResourceUtils.cpp | 48 case Res_value::TYPE_DIMENSION: in DataTypeToString()
|
/frameworks/base/core/java/android/content/res/ |
D | TypedArray.java | 689 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimension() 738 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset() 788 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize() 833 } else if (type == TypedValue.TYPE_DIMENSION) { in getLayoutDimension() 872 } else if (type == TypedValue.TYPE_DIMENSION) { in getLayoutDimension()
|
D | Resources.java | 775 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimension() 809 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset() 845 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize()
|
/frameworks/base/tools/aapt2/ |
D | ResourceValues_test.cpp | 30 constexpr const uint32_t TYPE_DIMENSION = android::ResTable_map::TYPE_DIMENSION; variable 232 Attribute attr1(TYPE_DIMENSION); in TEST()
|
D | ResourceUtils.cpp | 595 case android::Res_value::TYPE_DIMENSION: in AndroidTypeToAttributeTypeMask() 596 return android::ResTable_map::TYPE_DIMENSION; in AndroidTypeToAttributeTypeMask() 668 ResTable_map::TYPE_FLOAT | ResTable_map::TYPE_DIMENSION | ResTable_map::TYPE_FRACTION; in TryParseItemForAttribute()
|
D | ResourceValues.cpp | 493 case Res_value::TYPE_DIMENSION: in PrettyPrint() 636 if ((type_mask & android::ResTable_map::TYPE_DIMENSION) != 0) { in MaskString() 709 if (attr.type_mask & android::ResTable_map::TYPE_DIMENSION) { in BuildAttributeMismatchMessage()
|
D | ResourceParser.cpp | 71 return android::ResTable_map::TYPE_DIMENSION; in ParseFormatTypeNoEnumsOrFlags() 514 android::ResTable_map::TYPE_DIMENSION}}, in ParseResource() 519 android::ResTable_map::TYPE_DIMENSION}}, in ParseResource()
|
/frameworks/base/core/java/android/util/ |
D | TypedValue.java | 52 public static final int TYPE_DIMENSION = 0x05; field in TypedValue 780 case TYPE_DIMENSION: in coerceToString()
|
/frameworks/base/core/java/android/view/animation/ |
D | ScaleAnimation.java | 264 } else if (type == TypedValue.TYPE_DIMENSION) { in resolveScale()
|
D | Animation.java | 1318 } else if (value.type == TypedValue.TYPE_DIMENSION) { in parseValue()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link.cpp | 395 {"paddingLeft", R::attr::paddingLeft, Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 396 {"paddingRight", R::attr::paddingRight, Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 404 {"paddingTop", R::attr::paddingTop, Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 405 {"paddingBottom", R::attr::paddingBottom, Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 414 Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 416 Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 425 Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 427 Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 53 import static android.util.TypedValue.TYPE_DIMENSION; 1036 return TYPE_DIMENSION; in getType()
|
D | Resources_Delegate.java | 599 tmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimension() 627 tmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset() 656 tmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize_test.cpp | 274 context->GetDiagnostics(), attr.value, android::ResTable_map::TYPE_DIMENSION); in TEST() 323 EXPECT_THAT(prim->value.dataType, Eq(android::Res_value::TYPE_DIMENSION)); in TEST() 473 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_DIMENSION)); in TEST() 485 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_DIMENSION)); in TEST()
|
D | ProtoDeserialize.cpp | 910 val.dataType = android::Res_value::TYPE_DIMENSION; in DeserializeItemFromPb() 946 val.dataType = android::Res_value::TYPE_DIMENSION; in DeserializeItemFromPb()
|
/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
D | ParsedActivityUtils.java | 586 } else if (widthType == TypedValue.TYPE_DIMENSION) { in parseActivityWindowLayout() 594 } else if (heightType == TypedValue.TYPE_DIMENSION) { in parseActivityWindowLayout()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/ |
D | BridgeContextTest.java | 273 assertEquals(TypedValue.TYPE_DIMENSION, outValue.type); in testTypedValue()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 312 TYPE_DIMENSION = 0x05, enumerator 1705 TYPE_DIMENSION = 1<<6, enumerator
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator.cpp | 141 if (type_mask & android::ResTable_map::TYPE_DIMENSION) { in AddAttributeFormatDoc()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 5388 { "px", strlen("px"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_PX, 1.0f }, 5389 { "dip", strlen("dip"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f }, 5390 { "dp", strlen("dp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f }, 5391 { "sp", strlen("sp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_SP, 1.0f }, 5392 { "pt", strlen("pt"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_PT, 1.0f }, 5393 { "in", strlen("in"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_IN, 1.0f }, 5394 { "mm", strlen("mm"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_MM, 1.0f }, 6026 if (outValue->dataType == Res_value::TYPE_DIMENSION) { in stringToValue() 6027 if ((attrType&ResTable_map::TYPE_DIMENSION) != 0) { in stringToValue() 7674 } else if (value.dataType == Res_value::TYPE_DIMENSION) { in print_value()
|