/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()
|
/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 | 685 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimension() 734 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset() 784 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize() 829 } else if (type == TypedValue.TYPE_DIMENSION) { in getLayoutDimension() 868 } else if (type == TypedValue.TYPE_DIMENSION) { in getLayoutDimension()
|
D | Resources.java | 764 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimension() 798 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset() 834 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 | 476 case Res_value::TYPE_DIMENSION: in PrettyPrint() 619 if ((type_mask & android::ResTable_map::TYPE_DIMENSION) != 0) { in MaskString() 692 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 | 392 {"paddingLeft", R::attr::paddingLeft, Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 393 {"paddingRight", R::attr::paddingRight, Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 401 {"paddingTop", R::attr::paddingTop, Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 402 {"paddingBottom", R::attr::paddingBottom, Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 411 Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 413 Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 422 Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 424 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 | 597 tmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimension() 625 tmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset() 654 tmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize_test.cpp | 273 ResourceUtils::TryParseItemForAttribute(attr.value, android::ResTable_map::TYPE_DIMENSION); in TEST() 322 EXPECT_THAT(prim->value.dataType, Eq(android::Res_value::TYPE_DIMENSION)); in TEST() 472 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_DIMENSION)); in TEST() 484 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/services/core/java/com/android/server/pm/pkg/component/ |
D | ParsedActivityUtils.java | 579 } else if (widthType == TypedValue.TYPE_DIMENSION) { in parseActivityWindowLayout() 587 } else if (heightType == TypedValue.TYPE_DIMENSION) { in parseActivityWindowLayout()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 311 TYPE_DIMENSION = 0x05, enumerator 1697 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 | 5300 { "px", strlen("px"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_PX, 1.0f }, 5301 { "dip", strlen("dip"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f }, 5302 { "dp", strlen("dp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f }, 5303 { "sp", strlen("sp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_SP, 1.0f }, 5304 { "pt", strlen("pt"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_PT, 1.0f }, 5305 { "in", strlen("in"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_IN, 1.0f }, 5306 { "mm", strlen("mm"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_MM, 1.0f }, 5909 if (outValue->dataType == Res_value::TYPE_DIMENSION) { in stringToValue() 5910 if ((attrType&ResTable_map::TYPE_DIMENSION) != 0) { in stringToValue() 7558 } else if (value.dataType == Res_value::TYPE_DIMENSION) { in print_value()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 911 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimensionOrFraction()
|