Home
last modified time | relevance | path

Searched refs:TYPE_DIMENSION (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/tools/aapt2/link/
DXmlCompatVersioner_test.cpp24 constexpr auto TYPE_DIMENSION = android::ResTable_map::TYPE_DIMENSION; variable
51 util::make_unique<Attribute>(false, TYPE_DIMENSION)) in SetUp()
53 util::make_unique<Attribute>(false, TYPE_DIMENSION)) in SetUp()
55 util::make_unique<Attribute>(false, TYPE_DIMENSION)) in SetUp()
57 util::make_unique<Attribute>(false, TYPE_DIMENSION)) in SetUp()
59 util::make_unique<Attribute>(false, TYPE_DIMENSION)) in SetUp()
DXmlReferenceLinker_test.cpp34 android::ResTable_map::TYPE_DIMENSION) in SetUp()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DContentFrameLayout.java106 if (tvw.type == TypedValue.TYPE_DIMENSION) { in onMeasure()
125 if (tvh.type == TypedValue.TYPE_DIMENSION) { in onMeasure()
150 if (tv.type == TypedValue.TYPE_DIMENSION) { in onMeasure()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java334 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/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java538 new UnitEntry("px", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_PX, 1.0f),
539 new UnitEntry("dip", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f),
540 new UnitEntry("dp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f),
541 new UnitEntry("sp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_SP, 1.0f),
542 new UnitEntry("pt", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_PT, 1.0f),
543 new UnitEntry("in", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_IN, 1.0f),
544 new UnitEntry("mm", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_MM, 1.0f),
/frameworks/base/core/java/android/util/
DTypedValue.java45 public static final int TYPE_DIMENSION = 0x05; field in TypedValue
491 case TYPE_DIMENSION: in coerceToString()
/frameworks/base/core/java/android/content/res/
DTypedArray.java621 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimension()
670 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset()
720 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize()
765 } else if (type == TypedValue.TYPE_DIMENSION) { in getLayoutDimension()
804 } else if (type == TypedValue.TYPE_DIMENSION) { in getLayoutDimension()
DResources.java649 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimension()
683 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset()
719 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize()
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
DAnimatorInflaterCompat.java265 if (fromType == TypedValue.TYPE_DIMENSION) { in getPVH()
271 if (toType == TypedValue.TYPE_DIMENSION) { in getPVH()
282 if (toType == TypedValue.TYPE_DIMENSION) { in getPVH()
293 if (fromType == TypedValue.TYPE_DIMENSION) { in getPVH()
301 if (toType == TypedValue.TYPE_DIMENSION) { in getPVH()
314 if (toType == TypedValue.TYPE_DIMENSION) { in getPVH()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteDialogHelper.java49 if (value.type == TypedValue.TYPE_DIMENSION) { in getDialogWidth()
/frameworks/base/tools/aapt2/cmd/
DLink.cpp379 Attribute(false, android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener()
381 Attribute(false, android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener()
390 Attribute(false, android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener()
392 Attribute(false, android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener()
401 Attribute(false, android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener()
403 Attribute(false, android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener()
412 Attribute(false, android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener()
414 Attribute(false, android::ResTable_map::TYPE_DIMENSION)}, in ResourceFileFlattener()
/frameworks/base/tools/aapt2/
DResourceUtils.cpp547 case android::Res_value::TYPE_DIMENSION: in AndroidTypeToAttributeTypeMask()
548 return android::ResTable_map::TYPE_DIMENSION; in AndroidTypeToAttributeTypeMask()
617 ResTable_map::TYPE_FLOAT | ResTable_map::TYPE_DIMENSION | ResTable_map::TYPE_FRACTION; in TryParseItemForAttribute()
DResourceParser.cpp58 return android::ResTable_map::TYPE_DIMENSION; in ParseFormatTypeNoEnumsOrFlags()
379 android::ResTable_map::TYPE_DIMENSION}}, in ParseResource()
384 android::ResTable_map::TYPE_DIMENSION}}, in ParseResource()
DResourceValues.cpp478 if ((type_mask & android::ResTable_map::TYPE_DIMENSION) != 0) { in PrintMask()
548 if (attr->type_mask & android::ResTable_map::TYPE_DIMENSION) { in BuildAttributeMismatchMessage()
/frameworks/base/core/java/android/view/animation/
DScaleAnimation.java264 } else if (type == TypedValue.TYPE_DIMENSION) { in resolveScale()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java46 import static android.util.TypedValue.TYPE_DIMENSION;
826 return TYPE_DIMENSION; in getType()
DResources_Delegate.java542 tmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimension()
570 tmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset()
599 tmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h284 TYPE_DIMENSION = 0x05, enumerator
1535 TYPE_DIMENSION = 1<<6, enumerator
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.cpp139 if (type_mask & android::ResTable_map::TYPE_DIMENSION) { in AddAttributeFormatDoc()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4919 { "px", strlen("px"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_PX, 1.0f },
4920 { "dip", strlen("dip"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f },
4921 { "dp", strlen("dp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f },
4922 { "sp", strlen("sp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_SP, 1.0f },
4923 { "pt", strlen("pt"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_PT, 1.0f },
4924 { "in", strlen("in"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_IN, 1.0f },
4925 { "mm", strlen("mm"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_MM, 1.0f },
5528 if (outValue->dataType == Res_value::TYPE_DIMENSION) { in stringToValue()
5529 if ((attrType&ResTable_map::TYPE_DIMENSION) != 0) { in stringToValue()
7033 } else if (value.dataType == Res_value::TYPE_DIMENSION) { in print_value()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java655 if (tvw.type == TypedValue.TYPE_DIMENSION) {
683 if (tvh.type == TypedValue.TYPE_DIMENSION) {
732 if (tv.type == TypedValue.TYPE_DIMENSION) {
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java899 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimensionOrFraction()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java1630 } else if (tv.type == TypedValue.TYPE_DIMENSION) {
/frameworks/base/tools/aapt/
DResourceTable.cpp196 { dimensionArray, sizeof(dimensionArray)/2, ResTable_map::TYPE_DIMENSION,
1432 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_DIMENSION; in compileResourceFile()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java4548 } else if (widthType == TypedValue.TYPE_DIMENSION) {
4559 } else if (heightType == TypedValue.TYPE_DIMENSION) {

12