Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java331 new UnitEntry("px", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_PX, 1.0f),
332 new UnitEntry("dip", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f),
333 new UnitEntry("dp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f),
334 new UnitEntry("sp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_SP, 1.0f),
335 new UnitEntry("pt", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_PT, 1.0f),
336 new UnitEntry("in", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_IN, 1.0f),
337 new UnitEntry("mm", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_MM, 1.0f),
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java437 if (fromType == TypedValue.TYPE_DIMENSION) { in setupValues()
443 if (toType == TypedValue.TYPE_DIMENSION) { in setupValues()
453 if (toType == TypedValue.TYPE_DIMENSION) { in setupValues()
464 if (fromType == TypedValue.TYPE_DIMENSION) { in setupValues()
473 if (toType == TypedValue.TYPE_DIMENSION) { in setupValues()
487 if (toType == TypedValue.TYPE_DIMENSION) { in setupValues()
/frameworks/base/core/java/android/util/
DTypedValue.java42 public static final int TYPE_DIMENSION = 0x05; field in TypedValue
441 case TYPE_DIMENSION: in coerceToString()
/frameworks/base/core/java/android/content/res/
DTypedArray.java488 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimension()
526 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset()
565 } else if (type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize()
599 } else if (type == TypedValue.TYPE_DIMENSION) { in getLayoutDimension()
634 } else if (type == TypedValue.TYPE_DIMENSION) { in getLayoutDimension()
DResources.java577 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimension()
612 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset()
649 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DVerticalGridView.java54 if (typedValue != null && typedValue.type == TypedValue.TYPE_DIMENSION) { in setColumnWidth()
DHorizontalGridView.java81 if (typedValue != null && typedValue.type == TypedValue.TYPE_DIMENSION) { in setRowHeight()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeResources.java348 mTmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimension()
375 mTmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset()
403 mTmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelSize()
/frameworks/base/core/java/android/view/animation/
DScaleAnimation.java264 } else if (type == TypedValue.TYPE_DIMENSION) { in resolveScale()
/frameworks/base/include/androidfw/
DResourceTypes.h270 TYPE_DIMENSION = 0x05, enumerator
1396 TYPE_DIMENSION = 1<<6, enumerator
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4345 { "px", strlen("px"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_PX, 1.0f },
4346 { "dip", strlen("dip"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f },
4347 { "dp", strlen("dp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f },
4348 { "sp", strlen("sp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_SP, 1.0f },
4349 { "pt", strlen("pt"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_PT, 1.0f },
4350 { "in", strlen("in"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_IN, 1.0f },
4351 { "mm", strlen("mm"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_MM, 1.0f },
4907 if (outValue->dataType == Res_value::TYPE_DIMENSION) { in stringToValue()
4908 if ((attrType&ResTable_map::TYPE_DIMENSION) != 0) { in stringToValue()
6279 } else if (value.dataType == Res_value::TYPE_DIMENSION) { in print_value()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBarActivityDelegateBase.java412 if (tvw.type == TypedValue.TYPE_DIMENSION) { in applyFixedSizeWindow()
421 if (tvh.type == TypedValue.TYPE_DIMENSION) { in applyFixedSizeWindow()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java886 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimensionOrFraction()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindow.java2515 if (tvw.type == TypedValue.TYPE_DIMENSION) {
2536 if (tvh.type == TypedValue.TYPE_DIMENSION) {
2571 if (tv.type == TypedValue.TYPE_DIMENSION) {
/frameworks/base/tools/aapt/
DResourceTable.cpp157 { dimensionArray, sizeof(dimensionArray)/2, ResTable_map::TYPE_DIMENSION,
1391 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_DIMENSION; in compileResourceFile()
/frameworks/base/core/java/android/view/
DViewRootImpl.java1134 if (mTmpValue.type == TypedValue.TYPE_DIMENSION) { in measureHierarchy()
/frameworks/base/api/
Dcurrent.txt31765 field public static final int TYPE_DIMENSION = 5; // 0x5