Home
last modified time | relevance | path

Searched refs:TYPE_FRACTION (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/util/
DTypedValue.java45 public static final int TYPE_FRACTION = 0x06; field in TypedValue
448 case TYPE_FRACTION: in coerceToString()
/frameworks/base/graphics/java/android/graphics/drawable/
DRotateDrawable.java218 pivotXRel = tv.type == TypedValue.TYPE_FRACTION; in inflate()
229 pivotYRel = tv.type == TypedValue.TYPE_FRACTION; in inflate()
DAnimatedRotateDrawable.java229 final boolean pivotXRel = tv.type == TypedValue.TYPE_FRACTION; in inflate()
233 final boolean pivotYRel = tv.type == TypedValue.TYPE_FRACTION; in inflate()
DGradientDrawable.java934 boolean radiusRel = tv.type == TypedValue.TYPE_FRACTION;
1040 boolean vIsFraction = tv.type == TypedValue.TYPE_FRACTION;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java334 new UnitEntry("%", TypedValue.TYPE_FRACTION, TypedValue.COMPLEX_UNIT_FRACTION, 1.0f/100),
335 … new UnitEntry("%p", TypedValue.TYPE_FRACTION, TypedValue.COMPLEX_UNIT_FRACTION_PARENT, 1.0f/100),
/frameworks/base/core/java/android/view/animation/
DScaleAnimation.java262 if (type == TypedValue.TYPE_FRACTION) { in resolveScale()
DAnimation.java1103 if (value.type == TypedValue.TYPE_FRACTION) { in parseValue()
/frameworks/base/include/androidfw/
DResourceTypes.h251 TYPE_FRACTION = 0x06, enumerator
1250 TYPE_FRACTION = 1<<7, enumerator
/frameworks/base/core/java/android/content/res/
DTypedArray.java544 } else if (type == TypedValue.TYPE_FRACTION) { in getFraction()
DResources.java648 if (value.type == TypedValue.TYPE_FRACTION) { in getFraction()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java888 } else if (value.type == TypedValue.TYPE_FRACTION) { in getDimensionOrFraction()
/frameworks/base/services/java/com/android/server/wm/
DWindowAnimator.java507 if (tv.type == TypedValue.TYPE_FRACTION) { in getDimBehindFadeDuration()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindow.java2154 } else if (tvw.type == TypedValue.TYPE_FRACTION) {
2175 } else if (tvh.type == TypedValue.TYPE_FRACTION) {
2202 } else if (tv.type == TypedValue.TYPE_FRACTION) {
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3866 { "%", strlen("%"), Res_value::TYPE_FRACTION, Res_value::COMPLEX_UNIT_FRACTION, 1.0f/100 },
3867 …{ "%p", strlen("%p"), Res_value::TYPE_FRACTION, Res_value::COMPLEX_UNIT_FRACTION_PARENT, 1.0f/100 …
4416 } else if (outValue->dataType == Res_value::TYPE_FRACTION) { in stringToValue()
4417 if ((attrType&ResTable_map::TYPE_FRACTION) != 0) { in stringToValue()
5429 } else if (value.dataType == Res_value::TYPE_FRACTION) { in print_value()
/frameworks/base/tools/aapt/
DResourceTable.cpp150 { fractionArray, sizeof(fractionArray)/2, ResTable_map::TYPE_FRACTION,
1332 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_FRACTION; in compileResourceFile()
/frameworks/base/api/
Dcurrent.txt24589 field public static final int TYPE_FRACTION = 6; // 0x6