/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/base/core/java/android/animation/ |
D | AnimatorInflater.java | 334 if (fromType == TypedValue.TYPE_DIMENSION) { in getPVH() 340 if (toType == TypedValue.TYPE_DIMENSION) { in getPVH() 351 if (toType == TypedValue.TYPE_DIMENSION) { in getPVH() 362 if (fromType == TypedValue.TYPE_DIMENSION) { in getPVH() 370 if (toType == TypedValue.TYPE_DIMENSION) { in getPVH() 383 if (toType == TypedValue.TYPE_DIMENSION) { in getPVH() 578 if (fromType == TypedValue.TYPE_DIMENSION) { in setupValues() 584 if (toType == TypedValue.TYPE_DIMENSION) { in setupValues() 594 if (toType == TypedValue.TYPE_DIMENSION) { in setupValues() 605 if (fromType == TypedValue.TYPE_DIMENSION) { in setupValues() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 544 new UnitEntry("px", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_PX, 1.0f), 545 new UnitEntry("dip", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f), 546 new UnitEntry("dp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f), 547 new UnitEntry("sp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_SP, 1.0f), 548 new UnitEntry("pt", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_PT, 1.0f), 549 new UnitEntry("in", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_IN, 1.0f), 550 new UnitEntry("mm", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_MM, 1.0f),
|
/frameworks/base/core/java/android/util/ |
D | TypedValue.java | 45 public static final int TYPE_DIMENSION = 0x05; field in TypedValue 509 case TYPE_DIMENSION: in coerceToString()
|
/frameworks/base/core/java/android/content/res/ |
D | TypedArray.java | 680 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimension() 728 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset() 777 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize() 821 } else if (type == TypedValue.TYPE_DIMENSION) { in getLayoutDimension() 859 } else if (type == TypedValue.TYPE_DIMENSION) { in getLayoutDimension()
|
D | Resources.java | 753 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimension() 787 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset() 823 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 228 Attribute attr1(TYPE_DIMENSION); in TEST()
|
D | ResourceUtils.cpp | 603 case android::Res_value::TYPE_DIMENSION: in AndroidTypeToAttributeTypeMask() 604 return android::ResTable_map::TYPE_DIMENSION; in AndroidTypeToAttributeTypeMask() 673 ResTable_map::TYPE_FLOAT | ResTable_map::TYPE_DIMENSION | ResTable_map::TYPE_FRACTION; in TryParseItemForAttribute()
|
D | ResourceValues.cpp | 508 case Res_value::TYPE_DIMENSION: in PrettyPrint() 655 if ((type_mask & android::ResTable_map::TYPE_DIMENSION) != 0) { in MaskString() 724 if (attr.type_mask & android::ResTable_map::TYPE_DIMENSION) { in BuildAttributeMismatchMessage()
|
D | ResourceParser.cpp | 67 return android::ResTable_map::TYPE_DIMENSION; in ParseFormatTypeNoEnumsOrFlags() 503 android::ResTable_map::TYPE_DIMENSION}}, in ParseResource() 508 android::ResTable_map::TYPE_DIMENSION}}, in ParseResource()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | ResourceUtils.cpp | 52 case Res_value::TYPE_DIMENSION: in DataTypeToString()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize_test.cpp | 202 ResourceUtils::TryParseItemForAttribute(attr.value, android::ResTable_map::TYPE_DIMENSION); in TEST() 251 EXPECT_THAT(prim->value.dataType, Eq(android::Res_value::TYPE_DIMENSION)); in TEST() 401 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_DIMENSION)); in TEST() 413 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_DIMENSION)); in TEST()
|
D | ProtoDeserialize.cpp | 851 val.dataType = android::Res_value::TYPE_DIMENSION; in DeserializeItemFromPb() 887 val.dataType = android::Res_value::TYPE_DIMENSION; in DeserializeItemFromPb()
|
D | ProtoSerialize.cpp | 532 case android::Res_value::TYPE_DIMENSION: { in Visit()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link.cpp | 372 {"paddingLeft", R::attr::paddingLeft, Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 373 {"paddingRight", R::attr::paddingRight, Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 381 {"paddingTop", R::attr::paddingTop, Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 382 {"paddingBottom", R::attr::paddingBottom, Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 391 Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 393 Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 402 Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 404 Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener()
|
/frameworks/base/core/java/android/view/animation/ |
D | ScaleAnimation.java | 264 } else if (type == TypedValue.TYPE_DIMENSION) { in resolveScale()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 54 import static android.util.TypedValue.TYPE_DIMENSION; 858 return TYPE_DIMENSION; in getType()
|
D | Resources_Delegate.java | 592 tmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimension() 620 tmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset() 649 tmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize()
|
/frameworks/base/core/java/android/content/pm/parsing/component/ |
D | ParsedActivityUtils.java | 472 } else if (widthType == TypedValue.TYPE_DIMENSION) { in parseLayout() 480 } else if (heightType == TypedValue.TYPE_DIMENSION) { in parseLayout()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 291 TYPE_DIMENSION = 0x05, enumerator 1565 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 | 5150 { "px", strlen("px"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_PX, 1.0f }, 5151 { "dip", strlen("dip"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f }, 5152 { "dp", strlen("dp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f }, 5153 { "sp", strlen("sp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_SP, 1.0f }, 5154 { "pt", strlen("pt"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_PT, 1.0f }, 5155 { "in", strlen("in"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_IN, 1.0f }, 5156 { "mm", strlen("mm"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_MM, 1.0f }, 5759 if (outValue->dataType == Res_value::TYPE_DIMENSION) { in stringToValue() 5760 if ((attrType&ResTable_map::TYPE_DIMENSION) != 0) { in stringToValue() 7400 } else if (value.dataType == Res_value::TYPE_DIMENSION) { in print_value()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 910 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimensionOrFraction()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 699 if (tvw.type == TypedValue.TYPE_DIMENSION) { 727 if (tvh.type == TypedValue.TYPE_DIMENSION) { 758 if (tv.type == TypedValue.TYPE_DIMENSION) {
|