Home
last modified time | relevance | path

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

12

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DContentFrameLayout.java104 } else if (tvw.type == TypedValue.TYPE_FRACTION) { in onMeasure()
123 } else if (tvh.type == TypedValue.TYPE_FRACTION) { in onMeasure()
148 } else if (tv.type == TypedValue.TYPE_FRACTION) { in onMeasure()
/frameworks/base/core/java/android/util/
DTypedValue.java48 public static final int TYPE_FRACTION = 0x06; field in TypedValue
473 case TYPE_FRACTION: in coerceToString()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedRotateDrawable.java189 state.mPivotXRel = tv.type == TypedValue.TYPE_FRACTION; in updateStateFromTypedArray()
195 state.mPivotYRel = tv.type == TypedValue.TYPE_FRACTION; in updateStateFromTypedArray()
DRotateDrawable.java126 state.mPivotXRel = tv.type == TypedValue.TYPE_FRACTION; in updateStateFromTypedArray()
132 state.mPivotYRel = tv.type == TypedValue.TYPE_FRACTION; in updateStateFromTypedArray()
DScaleDrawable.java173 if (type == TypedValue.TYPE_FRACTION || type == TypedValue.TYPE_NULL) { in getPercent()
DGradientDrawable.java1582 if (tv.type == TypedValue.TYPE_FRACTION) {
1628 boolean vIsFraction = tv.type == TypedValue.TYPE_FRACTION;
/frameworks/base/tools/aapt2/
DResourceUtils.cpp454 case android::Res_value::TYPE_FRACTION: in androidTypeToAttributeTypeMask()
455 return android::ResTable_map::TYPE_FRACTION; in androidTypeToAttributeTypeMask()
518 | android::ResTable_map::TYPE_DIMENSION | android::ResTable_map::TYPE_FRACTION; in parseItemForAttribute()
DResourceValues.cpp330 if ((typeMask & android::ResTable_map::TYPE_FRACTION) != 0) { in printMask()
400 if (attr->typeMask & android::ResTable_map::TYPE_FRACTION) { in buildAttributeMismatchMessage()
DResourceParser.cpp48 else if (piece == u"fraction") return android::ResTable_map::TYPE_FRACTION; in parseFormatType()
317 | android::ResTable_map::TYPE_FRACTION in parseResource()
321 | android::ResTable_map::TYPE_FRACTION in parseResource()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteDialogHelper.java51 } else if (value.type == TypedValue.TYPE_FRACTION) { in getDialogWidth()
/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/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java460 new UnitEntry("%", TypedValue.TYPE_FRACTION, TypedValue.COMPLEX_UNIT_FRACTION, 1.0f/100),
461 … 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.java1115 if (value.type == TypedValue.TYPE_FRACTION) { in parseValue()
/frameworks/base/services/core/java/com/android/server/wm/
DDimLayerController.java277 if (tv.type == TypedValue.TYPE_FRACTION) { in getDimLayerFadeDuration()
/frameworks/base/include/androidfw/
DResourceTypes.h288 TYPE_FRACTION = 0x06, enumerator
1474 TYPE_FRACTION = 1<<7, enumerator
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.cpp145 if (typeMask & android::ResTable_map::TYPE_FRACTION) { in addAttributeFormatDoc()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java623 } else if (tvw.type == TypedValue.TYPE_FRACTION) {
651 } else if (tvh.type == TypedValue.TYPE_FRACTION) {
700 } else if (tv.type == TypedValue.TYPE_FRACTION) {
/frameworks/base/core/java/android/content/res/
DTypedArray.java832 } else if (type == TypedValue.TYPE_FRACTION) { in getFraction()
DResources.java695 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.cpp4811 { "%", strlen("%"), Res_value::TYPE_FRACTION, Res_value::COMPLEX_UNIT_FRACTION, 1.0f/100 },
4812 …{ "%p", strlen("%p"), Res_value::TYPE_FRACTION, Res_value::COMPLEX_UNIT_FRACTION_PARENT, 1.0f/100 …
5423 } else if (outValue->dataType == Res_value::TYPE_FRACTION) { in stringToValue()
5424 if ((attrType&ResTable_map::TYPE_FRACTION) != 0) { in stringToValue()
6871 } else if (value.dataType == Res_value::TYPE_FRACTION) { in print_value()
/frameworks/base/tools/aapt/
DResourceTable.cpp189 { fractionArray, sizeof(fractionArray)/2, ResTable_map::TYPE_FRACTION,
1425 curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_FRACTION; in compileResourceFile()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java3700 if (widthType == TypedValue.TYPE_FRACTION) { in parseLayout()
3711 if (heightType == TypedValue.TYPE_FRACTION) { in parseLayout()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt30818 field public static final java.lang.String TYPE_FRACTION = "android.type.fraction";
31940 field public static final int TYPE_FRACTION = 6; // 0x6

12