Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DContentFrameLayout.java93 } else if (tvw.type == TypedValue.TYPE_FRACTION) { in onMeasure()
112 } else if (tvh.type == TypedValue.TYPE_FRACTION) { in onMeasure()
137 } else if (tv.type == TypedValue.TYPE_FRACTION) { in onMeasure()
/frameworks/base/core/java/android/util/
DTypedValue.java47 public static final int TYPE_FRACTION = 0x06; field in TypedValue
470 case TYPE_FRACTION: in coerceToString()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedRotateDrawable.java157 state.mPivotXRel = tv.type == TypedValue.TYPE_FRACTION; in updateStateFromTypedArray()
163 state.mPivotYRel = tv.type == TypedValue.TYPE_FRACTION; in updateStateFromTypedArray()
DRotateDrawable.java97 state.mPivotXRel = tv.type == TypedValue.TYPE_FRACTION; in updateStateFromTypedArray()
103 state.mPivotYRel = tv.type == TypedValue.TYPE_FRACTION; in updateStateFromTypedArray()
DScaleDrawable.java129 if (type == TypedValue.TYPE_FRACTION || type == TypedValue.TYPE_NULL) { in getPercent()
DGradientDrawable.java1416 if (tv.type == TypedValue.TYPE_FRACTION) {
1462 boolean vIsFraction = tv.type == TypedValue.TYPE_FRACTION;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java375 new UnitEntry("%", TypedValue.TYPE_FRACTION, TypedValue.COMPLEX_UNIT_FRACTION, 1.0f/100),
376 … new UnitEntry("%p", TypedValue.TYPE_FRACTION, TypedValue.COMPLEX_UNIT_FRACTION_PARENT, 1.0f/100),
/frameworks/base/core/java/android/text/style/
DTtsSpan.java90 public static final String TYPE_FRACTION = "android.type.fraction"; field in TtsSpan
898 super(TtsSpan.TYPE_FRACTION); in FractionBuilder()
/frameworks/base/tools/aapt2/
DResourceParser.cpp369 case android::Res_value::TYPE_FRACTION: in androidTypeToAttributeTypeMask()
370 return android::ResTable_map::TYPE_FRACTION; in androidTypeToAttributeTypeMask()
435 android::ResTable_map::TYPE_FRACTION; in parseItemForAttribute()
855 | android::ResTable_map::TYPE_FRACTION; in parsePrimitive()
937 else if (piece == u"fraction") return android::ResTable_map::TYPE_FRACTION; in parseFormatType()
DResourceValues.cpp304 if ((typeMask & android::ResTable_map::TYPE_FRACTION) != 0) { in printMask()
/frameworks/base/core/java/android/view/animation/
DScaleAnimation.java262 if (type == TypedValue.TYPE_FRACTION) { in resolveScale()
DAnimation.java1106 if (value.type == TypedValue.TYPE_FRACTION) { in parseValue()
/frameworks/base/include/androidfw/
DResourceTypes.h285 TYPE_FRACTION = 0x06, enumerator
1449 TYPE_FRACTION = 1<<7, enumerator
/frameworks/base/services/core/java/com/android/server/wm/
DTaskStack.java402 if (tv.type == TypedValue.TYPE_FRACTION) { in getDimBehindFadeDuration()
/frameworks/base/core/java/android/content/res/
DTypedArray.java774 } else if (type == TypedValue.TYPE_FRACTION) { in getFraction()
DResources.java727 if (value.type == TypedValue.TYPE_FRACTION) { in getFraction()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java901 } else if (value.type == TypedValue.TYPE_FRACTION) { in getDimensionOrFraction()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4660 { "%", strlen("%"), Res_value::TYPE_FRACTION, Res_value::COMPLEX_UNIT_FRACTION, 1.0f/100 },
4661 …{ "%p", strlen("%p"), Res_value::TYPE_FRACTION, Res_value::COMPLEX_UNIT_FRACTION_PARENT, 1.0f/100 …
5265 } else if (outValue->dataType == Res_value::TYPE_FRACTION) { in stringToValue()
5266 if ((attrType&ResTable_map::TYPE_FRACTION) != 0) { in stringToValue()
6653 } else if (value.dataType == Res_value::TYPE_FRACTION) { in print_value()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java2591 } else if (tvw.type == TypedValue.TYPE_FRACTION) {
2612 } else if (tvh.type == TypedValue.TYPE_FRACTION) {
2656 } else if (tv.type == TypedValue.TYPE_FRACTION) {
/frameworks/base/tools/aapt/
DResourceTable.cpp184 { fractionArray, sizeof(fractionArray)/2, ResTable_map::TYPE_FRACTION,
1430 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_FRACTION; in compileResourceFile()
/frameworks/base/api/
Dcurrent.txt33308 field public static final java.lang.String TYPE_FRACTION = "android.type.fraction";
34459 field public static final int TYPE_FRACTION = 6; // 0x6
Dsystem-current.txt35600 field public static final java.lang.String TYPE_FRACTION = "android.type.fraction";
36751 field public static final int TYPE_FRACTION = 6; // 0x6