Searched refs:TYPE_DIMENSION (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 332 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/ |
D | TypedArray.java | 393 } 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()
|
D | Resources.java | 457 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/ |
D | TypedValue.java | 42 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/ |
D | BridgeResources.java | 332 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/ |
D | ResourceTypes.cpp | 2638 { "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/ |
D | ResourceTypes.h | 248 TYPE_DIMENSION = 0x05, enumerator 1702 TYPE_DIMENSION = 1<<6, enumerator
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 808 if (value.type == TypedValue.TYPE_DIMENSION) { in getDimensionOrFraction()
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.cpp | 144 { dimensionArray, sizeof(dimensionArray)/2, ResTable_map::TYPE_DIMENSION, 1282 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_DIMENSION; in compileResourceFile()
|