/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 | 543 new UnitEntry("px", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_PX, 1.0f), 544 new UnitEntry("dip", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f), 545 new UnitEntry("dp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f), 546 new UnitEntry("sp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_SP, 1.0f), 547 new UnitEntry("pt", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_PT, 1.0f), 548 new UnitEntry("in", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_IN, 1.0f), 549 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 | 679 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimension() 727 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset() 776 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize() 820 } else if (type == TypedValue.TYPE_DIMENSION) { in getLayoutDimension() 858 } else if (type == TypedValue.TYPE_DIMENSION) { in getLayoutDimension()
|
D | Resources.java | 676 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimension() 710 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset() 746 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 | 602 case android::Res_value::TYPE_DIMENSION: in AndroidTypeToAttributeTypeMask() 603 return android::ResTable_map::TYPE_DIMENSION; in AndroidTypeToAttributeTypeMask() 672 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() 659 if ((type_mask & android::ResTable_map::TYPE_DIMENSION) != 0) { in MaskString() 728 if (attr.type_mask & android::ResTable_map::TYPE_DIMENSION) { in BuildAttributeMismatchMessage()
|
D | ResourceParser.cpp | 63 return android::ResTable_map::TYPE_DIMENSION; in ParseFormatTypeNoEnumsOrFlags() 499 android::ResTable_map::TYPE_DIMENSION}}, in ParseResource() 504 android::ResTable_map::TYPE_DIMENSION}}, in ParseResource()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize_test.cpp | 198 ResourceUtils::TryParseItemForAttribute(attr.value, android::ResTable_map::TYPE_DIMENSION); in TEST() 247 EXPECT_THAT(prim->value.dataType, Eq(android::Res_value::TYPE_DIMENSION)); in TEST() 397 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_DIMENSION)); in TEST() 409 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_DIMENSION)); in TEST()
|
D | ProtoDeserialize.cpp | 843 val.dataType = android::Res_value::TYPE_DIMENSION; in DeserializeItemFromPb() 879 val.dataType = android::Res_value::TYPE_DIMENSION; in DeserializeItemFromPb()
|
D | ProtoSerialize.cpp | 511 case android::Res_value::TYPE_DIMENSION: { in Visit()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link.cpp | 345 {"paddingLeft", R::attr::paddingLeft, Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 346 {"paddingRight", R::attr::paddingRight, Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 354 {"paddingTop", R::attr::paddingTop, Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 355 {"paddingBottom", R::attr::paddingBottom, Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 364 Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 366 Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 375 Attribute(android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener() 377 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 | 51 import static android.util.TypedValue.TYPE_DIMENSION; 835 return TYPE_DIMENSION; in getType()
|
D | Resources_Delegate.java | 591 tmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimension() 619 tmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset() 648 tmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize()
|
/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 | 5147 { "px", strlen("px"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_PX, 1.0f }, 5148 { "dip", strlen("dip"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f }, 5149 { "dp", strlen("dp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f }, 5150 { "sp", strlen("sp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_SP, 1.0f }, 5151 { "pt", strlen("pt"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_PT, 1.0f }, 5152 { "in", strlen("in"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_IN, 1.0f }, 5153 { "mm", strlen("mm"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_MM, 1.0f }, 5756 if (outValue->dataType == Res_value::TYPE_DIMENSION) { in stringToValue() 5757 if ((attrType&ResTable_map::TYPE_DIMENSION) != 0) { in stringToValue() 7397 } else if (value.dataType == Res_value::TYPE_DIMENSION) { in print_value()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 676 if (tvw.type == TypedValue.TYPE_DIMENSION) { 704 if (tvh.type == TypedValue.TYPE_DIMENSION) { 753 if (tv.type == TypedValue.TYPE_DIMENSION) {
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | GradientDrawable.java | 1776 } else if (tv.type == TypedValue.TYPE_DIMENSION) {
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.cpp | 193 { dimensionArray, sizeof(dimensionArray)/2, ResTable_map::TYPE_DIMENSION, 1429 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_DIMENSION; in compileResourceFile()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 4805 } else if (widthType == TypedValue.TYPE_DIMENSION) { in parseLayout() 4816 } else if (heightType == TypedValue.TYPE_DIMENSION) { in parseLayout()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 1798 if (mTmpValue.type == TypedValue.TYPE_DIMENSION) { in measureHierarchy()
|