/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | ContentFrameLayout.java | 112 } else if (tvw.type == TypedValue.TYPE_FRACTION) { 131 } else if (tvh.type == TypedValue.TYPE_FRACTION) { 156 } else if (tv.type == TypedValue.TYPE_FRACTION) {
|
/frameworks/base/core/java/android/util/ |
H A D | TypedValue.java | 48 public static final int TYPE_FRACTION = 0x06; field in class:TypedValue 112 /** {@link #TYPE_FRACTION} complex unit: A basic fraction of the overall 115 /** {@link #TYPE_FRACTION} complex unit: A fraction of the parent size. */ 404 * {@link #TYPE_FRACTION}. 430 * type is {@link #TYPE_FRACTION}. 494 case TYPE_FRACTION:
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimatedRotateDrawable.java | 189 state.mPivotXRel = tv.type == TypedValue.TYPE_FRACTION; 195 state.mPivotYRel = tv.type == TypedValue.TYPE_FRACTION;
|
H A D | RotateDrawable.java | 126 state.mPivotXRel = tv.type == TypedValue.TYPE_FRACTION; 132 state.mPivotYRel = tv.type == TypedValue.TYPE_FRACTION;
|
H A D | ScaleDrawable.java | 173 if (type == TypedValue.TYPE_FRACTION || type == TypedValue.TYPE_NULL) {
|
H A D | InsetDrawable.java | 206 if (tv.type == TypedValue.TYPE_FRACTION) {
|
H A D | GradientDrawable.java | 1639 if (tv.type == TypedValue.TYPE_FRACTION) { 1685 boolean vIsFraction = tv.type == TypedValue.TYPE_FRACTION;
|
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/ |
H A D | MediaRouteDialogHelper.java | 54 } else if (value.type == TypedValue.TYPE_FRACTION) {
|
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/ |
H A D | MediaRouteDialogHelper.java | 52 } else if (value.type == TypedValue.TYPE_FRACTION) {
|
/frameworks/base/core/java/android/text/style/ |
H A D | TtsSpan.java | 90 public static final String TYPE_FRACTION = "android.type.fraction"; field in class:TtsSpan 96 * {@link #TYPE_DECIMAL} or {@link #TYPE_FRACTION}. The unit can be 242 * Can be used with {@link #TYPE_DECIMAL} and {@link #TYPE_FRACTION}. 275 * Can be used with {@link #TYPE_FRACTION}. 282 * Can be used with {@link #TYPE_FRACTION}. 889 * A builder for TtsSpans of type {@link #TYPE_FRACTION}. 895 * Creates a builder for a TtsSpan of type {@link #TYPE_FRACTION}. 898 super(TtsSpan.TYPE_FRACTION); 902 * Creates a TtsSpan of type {@link #TYPE_FRACTION} and sets the
|
/frameworks/base/core/java/android/view/animation/ |
H A D | ScaleAnimation.java | 262 if (type == TypedValue.TYPE_FRACTION) {
|
H A D | Animation.java | 1143 if (value.type == TypedValue.TYPE_FRACTION) {
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | ResourceHelper.java | 498 new UnitEntry("%", TypedValue.TYPE_FRACTION, TypedValue.COMPLEX_UNIT_FRACTION, 1.0f/100), 499 new UnitEntry("%p", TypedValue.TYPE_FRACTION, TypedValue.COMPLEX_UNIT_FRACTION_PARENT, 1.0f/100),
|
/frameworks/base/tools/aapt2/ |
H A D | ResourceUtils.cpp | 559 case android::Res_value::TYPE_FRACTION: 560 return android::ResTable_map::TYPE_FRACTION; 626 ResTable_map::TYPE_FLOAT | ResTable_map::TYPE_DIMENSION | ResTable_map::TYPE_FRACTION;
|
H A D | ResourceValues.cpp | 512 case Res_value::TYPE_FRACTION: 664 if ((type_mask & android::ResTable_map::TYPE_FRACTION) != 0) { 740 if (attr.type_mask & android::ResTable_map::TYPE_FRACTION) {
|
H A D | ResourceParser.cpp | 64 return android::ResTable_map::TYPE_FRACTION; 496 android::ResTable_map::TYPE_FLOAT | android::ResTable_map::TYPE_FRACTION | 501 android::ResTable_map::TYPE_FLOAT | android::ResTable_map::TYPE_FRACTION |
|
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | ResourceTypes.h | 290 TYPE_FRACTION = 0x06, member in struct:android::Res_value 328 // Structure of complex data values (TYPE_UNIT and TYPE_FRACTION) 348 // TYPE_FRACTION: A basic fraction of the overall size. 350 // TYPE_FRACTION: A fraction of the parent size. 1562 TYPE_FRACTION = 1<<7, enumerator in enum:ResTable_map::__anon996
|
/frameworks/base/tools/aapt2/format/proto/ |
H A D | ProtoSerialize_test.cpp | 354 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_FRACTION));
|
H A D | ProtoDeserialize.cpp | 786 val.dataType = android::Res_value::TYPE_FRACTION; 823 val.dataType = android::Res_value::TYPE_FRACTION;
|
H A D | ProtoSerialize.cpp | 457 case android::Res_value::TYPE_FRACTION: {
|
/frameworks/base/tools/aapt2/java/ |
H A D | JavaClassGenerator.cpp | 151 if (type_mask & android::ResTable_map::TYPE_FRACTION) {
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | DecorView.java | 652 } else if (tvw.type == TypedValue.TYPE_FRACTION) { 680 } else if (tvh.type == TypedValue.TYPE_FRACTION) { 729 } else if (tv.type == TypedValue.TYPE_FRACTION) {
|
/frameworks/base/core/java/android/content/res/ |
H A D | Resources.java | 759 if (value.type == TypedValue.TYPE_FRACTION) {
|
H A D | TypedArray.java | 845 } else if (type == TypedValue.TYPE_FRACTION) {
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | Keyboard.java | 901 } else if (value.type == TypedValue.TYPE_FRACTION) {
|