Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/animation/
DAnimatorInflater.java225 if (fromType == TypedValue.TYPE_DIMENSION) { in loadAnimator()
231 if (toType == TypedValue.TYPE_DIMENSION) { in loadAnimator()
241 if (toType == TypedValue.TYPE_DIMENSION) { in loadAnimator()
252 if (fromType == TypedValue.TYPE_DIMENSION) { in loadAnimator()
261 if (toType == TypedValue.TYPE_DIMENSION) { in loadAnimator()
275 if (toType == TypedValue.TYPE_DIMENSION) { in loadAnimator()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java327 new UnitEntry("px", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_PX, 1.0f),
328 new UnitEntry("dip", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f),
329 new UnitEntry("dp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f),
330 new UnitEntry("sp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_SP, 1.0f),
331 new UnitEntry("pt", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_PT, 1.0f),
332 new UnitEntry("in", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_IN, 1.0f),
333 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.java522 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimension()
554 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset()
588 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/android/content/res/
DBridgeResources.java342 mTmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimension()
369 mTmpValue.type == TypedValue.TYPE_DIMENSION) { in getDimensionPixelOffset()
397 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.h248 TYPE_DIMENSION = 0x05, enumerator
1238 TYPE_DIMENSION = 1<<6, enumerator
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3814 { "px", strlen("px"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_PX, 1.0f },
3815 { "dip", strlen("dip"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f },
3816 { "dp", strlen("dp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_DIP, 1.0f },
3817 { "sp", strlen("sp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_SP, 1.0f },
3818 { "pt", strlen("pt"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_PT, 1.0f },
3819 { "in", strlen("in"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_IN, 1.0f },
3820 { "mm", strlen("mm"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_MM, 1.0f },
4361 if (outValue->dataType == Res_value::TYPE_DIMENSION) { in stringToValue()
4362 if ((attrType&ResTable_map::TYPE_DIMENSION) != 0) { in stringToValue()
5370 } else if (value.dataType == Res_value::TYPE_DIMENSION) { in print_value()
/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.java2111 if (tvw.type == TypedValue.TYPE_DIMENSION) {
2132 if (tvh.type == TypedValue.TYPE_DIMENSION) {
2159 if (tv.type == TypedValue.TYPE_DIMENSION) {
/frameworks/base/tools/aapt/
DResourceTable.cpp145 { dimensionArray, sizeof(dimensionArray)/2, ResTable_map::TYPE_DIMENSION,
1327 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_DIMENSION; in compileResourceFile()
/frameworks/base/core/java/android/view/
DViewRootImpl.java1068 if (mTmpValue.type == TypedValue.TYPE_DIMENSION) { in measureHierarchy()
/frameworks/base/api/
D14.txt21596 field public static final int TYPE_DIMENSION = 5; // 0x5
D15.txt21738 field public static final int TYPE_DIMENSION = 5; // 0x5
Dcurrent.txt22757 field public static final int TYPE_DIMENSION = 5; // 0x5
D16.txt22757 field public static final int TYPE_DIMENSION = 5; // 0x5