Home
last modified time | relevance | path

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

12

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java453 new UnitEntry("px", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_PX, 1.0f),
454 new UnitEntry("dip", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f),
455 new UnitEntry("dp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f),
456 new UnitEntry("sp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_SP, 1.0f),
457 new UnitEntry("pt", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_PT, 1.0f),
458 new UnitEntry("in", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_IN, 1.0f),
459 new UnitEntry("mm", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_MM, 1.0f),
/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()
574 if (fromType == TypedValue.TYPE_DIMENSION) { in setupValues()
580 if (toType == TypedValue.TYPE_DIMENSION) { in setupValues()
590 if (toType == TypedValue.TYPE_DIMENSION) { in setupValues()
601 if (fromType == TypedValue.TYPE_DIMENSION) { in setupValues()
[all …]
/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/util/
DTypedValue.java45 public static final int TYPE_DIMENSION = 0x05; field in TypedValue
470 case TYPE_DIMENSION: in coerceToString()
/frameworks/base/core/java/android/content/res/
DTypedArray.java611 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimension()
660 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset()
710 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize()
755 } else if (type == TypedValue.TYPE_DIMENSION) { in getLayoutDimension()
794 } else if (type == TypedValue.TYPE_DIMENSION) { in getLayoutDimension()
DResources.java598 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimension()
632 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset()
668 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize()
/frameworks/base/tools/aapt2/
DResourceUtils.cpp451 case android::Res_value::TYPE_DIMENSION: in androidTypeToAttributeTypeMask()
452 return android::ResTable_map::TYPE_DIMENSION; in androidTypeToAttributeTypeMask()
518 | android::ResTable_map::TYPE_DIMENSION | android::ResTable_map::TYPE_FRACTION; in parseItemForAttribute()
DResourceValues.cpp385 if ((typeMask & android::ResTable_map::TYPE_DIMENSION) != 0) { in printMask()
456 if (attr->typeMask & android::ResTable_map::TYPE_DIMENSION) { in buildAttributeMismatchMessage()
DResourceParser.cpp47 else if (piece == u"dimension") return android::ResTable_map::TYPE_DIMENSION; in parseFormatType()
318 | android::ResTable_map::TYPE_DIMENSION } }, in parseResource()
322 | android::ResTable_map::TYPE_DIMENSION } }, in parseResource()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteDialogHelper.java49 if (value.type == TypedValue.TYPE_DIMENSION) { in getDialogWidth()
/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.java45 import static android.util.TypedValue.TYPE_DIMENSION;
790 return TYPE_DIMENSION; in getType()
DResources_Delegate.java514 tmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimension()
542 tmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset()
571 tmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize()
/frameworks/base/tools/aapt2/link/
DXmlReferenceLinker_test.cpp34 android::ResTable_map::TYPE_DIMENSION) in SetUp()
/frameworks/base/include/androidfw/
DResourceTypes.h285 TYPE_DIMENSION = 0x05, enumerator
1471 TYPE_DIMENSION = 1<<6, enumerator
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.cpp136 if (typeMask & android::ResTable_map::TYPE_DIMENSION) { in addAttributeFormatDoc()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4804 { "px", strlen("px"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_PX, 1.0f },
4805 { "dip", strlen("dip"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f },
4806 { "dp", strlen("dp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f },
4807 { "sp", strlen("sp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_SP, 1.0f },
4808 { "pt", strlen("pt"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_PT, 1.0f },
4809 { "in", strlen("in"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_IN, 1.0f },
4810 { "mm", strlen("mm"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_MM, 1.0f },
5413 if (outValue->dataType == Res_value::TYPE_DIMENSION) { in stringToValue()
5414 if ((attrType&ResTable_map::TYPE_DIMENSION) != 0) { in stringToValue()
6867 } else if (value.dataType == Res_value::TYPE_DIMENSION) { in print_value()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java624 if (tvw.type == TypedValue.TYPE_DIMENSION) {
652 if (tvh.type == TypedValue.TYPE_DIMENSION) {
701 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.java1620 } else if (tv.type == TypedValue.TYPE_DIMENSION) {
/frameworks/base/tools/aapt/
DResourceTable.cpp185 { dimensionArray, sizeof(dimensionArray)/2, ResTable_map::TYPE_DIMENSION,
1421 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_DIMENSION; in compileResourceFile()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java3713 } else if (widthType == TypedValue.TYPE_DIMENSION) { in parseLayout()
3724 } else if (heightType == TypedValue.TYPE_DIMENSION) { in parseLayout()
/frameworks/base/core/java/android/view/
DViewRootImpl.java1331 if (mTmpValue.type == TypedValue.TYPE_DIMENSION) { in measureHierarchy()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31936 field public static final int TYPE_DIMENSION = 5; // 0x5
/frameworks/base/api/
Dcurrent.txt40770 field public static final int TYPE_DIMENSION = 5; // 0x5

12