Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java332 new UnitEntry("px", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_PX, 1.0f),
333 new UnitEntry("dip", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f),
334 new UnitEntry("dp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f),
335 new UnitEntry("sp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_SP, 1.0f),
336 new UnitEntry("pt", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_PT, 1.0f),
337 new UnitEntry("in", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_IN, 1.0f),
338 new UnitEntry("mm", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_MM, 1.0f),
/frameworks/base/core/java/android/content/res/
DTypedArray.java393 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimension()
425 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset()
458 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize()
486 } else if (type == TypedValue.TYPE_DIMENSION) { in getLayoutDimension()
515 } else if (type == TypedValue.TYPE_DIMENSION) { in getLayoutDimension()
DResources.java457 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimension()
489 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset()
523 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize()
/frameworks/base/core/java/android/util/
DTypedValue.java42 public static final int TYPE_DIMENSION = 0x05; field in TypedValue
445 case TYPE_DIMENSION: in coerceToString()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeResources.java332 mTmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimension()
354 mTmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset()
376 mTmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize()
/frameworks/base/libs/utils/
DResourceTypes.cpp2638 { "px", strlen("px"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_PX, 1.0f },
2639 { "dip", strlen("dip"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f },
2640 { "dp", strlen("dp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f },
2641 { "sp", strlen("sp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_SP, 1.0f },
2642 { "pt", strlen("pt"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_PT, 1.0f },
2643 { "in", strlen("in"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_IN, 1.0f },
2644 { "mm", strlen("mm"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_MM, 1.0f },
3185 if (outValue->dataType == Res_value::TYPE_DIMENSION) { in stringToValue()
3186 if ((attrType&ResTable_map::TYPE_DIMENSION) != 0) { in stringToValue()
4067 } else if (value.dataType == Res_value::TYPE_DIMENSION) { in print_value()
/frameworks/base/include/utils/
DResourceTypes.h248 TYPE_DIMENSION = 0x05, enumerator
1702 TYPE_DIMENSION = 1<<6, enumerator
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java808 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimensionOrFraction()
/frameworks/base/tools/aapt/
DResourceTable.cpp144 { dimensionArray, sizeof(dimensionArray)/2, ResTable_map::TYPE_DIMENSION,
1282 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_DIMENSION; in compileResourceFile()