Searched refs:TYPE_DIMENSION (Results 1 - 23 of 23) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DContentFrameLayout.java106 if (tvw.type == TypedValue.TYPE_DIMENSION) {
125 if (tvh.type == TypedValue.TYPE_DIMENSION) {
150 if (tv.type == TypedValue.TYPE_DIMENSION) {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A 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/
H A DAnimatorInflater.java334 if (fromType == TypedValue.TYPE_DIMENSION) {
340 if (toType == TypedValue.TYPE_DIMENSION) {
351 if (toType == TypedValue.TYPE_DIMENSION) {
362 if (fromType == TypedValue.TYPE_DIMENSION) {
370 if (toType == TypedValue.TYPE_DIMENSION) {
383 if (toType == TypedValue.TYPE_DIMENSION) {
574 if (fromType == TypedValue.TYPE_DIMENSION) {
580 if (toType == TypedValue.TYPE_DIMENSION) {
590 if (toType == TypedValue.TYPE_DIMENSION) {
601 if (fromType == TypedValue.TYPE_DIMENSION) {
[all...]
/frameworks/base/core/java/android/util/
H A DTypedValue.java45 public static final int TYPE_DIMENSION = 0x05; field in class:TypedValue
98 /** {@link #TYPE_DIMENSION} complex unit: Value is raw pixels. */
100 /** {@link #TYPE_DIMENSION} complex unit: Value is Device Independent
103 /** {@link #TYPE_DIMENSION} complex unit: Value is a scaled pixel. */
105 /** {@link #TYPE_DIMENSION} complex unit: Value is in points. */
107 /** {@link #TYPE_DIMENSION} complex unit: Value is in inches. */
109 /** {@link #TYPE_DIMENSION} complex unit: Value is in millimeters. */
234 * {@link #TYPE_DIMENSION}.
258 * {@link #TYPE_DIMENSION}.
285 * {@link #TYPE_DIMENSION}
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteDialogHelper.java49 if (value.type == TypedValue.TYPE_DIMENSION) {
/frameworks/base/core/java/android/content/res/
H A DTypedArray.java611 } else if (type == TypedValue.TYPE_DIMENSION) {
660 } else if (type == TypedValue.TYPE_DIMENSION) {
710 } else if (type == TypedValue.TYPE_DIMENSION) {
755 } else if (type == TypedValue.TYPE_DIMENSION) {
794 } else if (type == TypedValue.TYPE_DIMENSION) {
H A DResources.java598 if (value.type == TypedValue.TYPE_DIMENSION) {
632 if (value.type == TypedValue.TYPE_DIMENSION) {
668 if (value.type == TypedValue.TYPE_DIMENSION) {
/frameworks/base/tools/aapt2/
H A DResourceUtils.cpp451 case android::Res_value::TYPE_DIMENSION:
452 return android::ResTable_map::TYPE_DIMENSION;
518 | android::ResTable_map::TYPE_DIMENSION | android::ResTable_map::TYPE_FRACTION;
H A DResourceValues.cpp385 if ((typeMask & android::ResTable_map::TYPE_DIMENSION) != 0) {
456 if (attr->typeMask & android::ResTable_map::TYPE_DIMENSION) {
H A DResourceParser.cpp47 else if (piece == u"dimension") return android::ResTable_map::TYPE_DIMENSION;
318 | android::ResTable_map::TYPE_DIMENSION } },
322 | android::ResTable_map::TYPE_DIMENSION } },
/frameworks/base/core/java/android/view/animation/
H A DScaleAnimation.java264 } else if (type == TypedValue.TYPE_DIMENSION) {
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeTypedArray.java45 import static android.util.TypedValue.TYPE_DIMENSION;
790 return TYPE_DIMENSION;
H A DResources_Delegate.java514 tmpValue.type == TypedValue.TYPE_DIMENSION) {
542 tmpValue.type == TypedValue.TYPE_DIMENSION) {
571 tmpValue.type == TypedValue.TYPE_DIMENSION) {
/frameworks/base/tools/aapt2/link/
H A DXmlReferenceLinker_test.cpp34 android::ResTable_map::TYPE_DIMENSION)
/frameworks/base/include/androidfw/
H A DResourceTypes.h285 TYPE_DIMENSION = 0x05, enumerator in enum:android::Res_value::__anon978
333 // TYPE_DIMENSION: Value is raw pixels.
335 // TYPE_DIMENSION: Value is Device Independent Pixels.
337 // TYPE_DIMENSION: Value is a Scaled device independent Pixels.
339 // TYPE_DIMENSION: Value is in points.
341 // TYPE_DIMENSION: Value is in inches.
343 // TYPE_DIMENSION: Value is in millimeters.
1471 TYPE_DIMENSION = 1<<6, enumerator in enum:android::ResTable_map::__anon1020
/frameworks/base/tools/aapt2/java/
H A DJavaClassGenerator.cpp136 if (typeMask & android::ResTable_map::TYPE_DIMENSION) {
/frameworks/base/libs/androidfw/
H A 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) {
5414 if ((attrType&ResTable_map::TYPE_DIMENSION) != 0) {
6867 } else if (value.dataType == Res_value::TYPE_DIMENSION) {
[all...]
/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java623 if (tvw.type == TypedValue.TYPE_DIMENSION) {
651 if (tvh.type == TypedValue.TYPE_DIMENSION) {
700 if (tv.type == TypedValue.TYPE_DIMENSION) {
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java899 if (value.type == TypedValue.TYPE_DIMENSION) {
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java1620 } else if (tv.type == TypedValue.TYPE_DIMENSION) {
/frameworks/base/tools/aapt/
H A DResourceTable.cpp185 { dimensionArray, sizeof(dimensionArray)/2, ResTable_map::TYPE_DIMENSION,
1421 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_DIMENSION;
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java3713 } else if (widthType == TypedValue.TYPE_DIMENSION) {
3724 } else if (heightType == TypedValue.TYPE_DIMENSION) {
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java1331 if (mTmpValue.type == TypedValue.TYPE_DIMENSION) {

Completed in 784 milliseconds