Loading core/java/android/widget/ViewAnimator.java +5 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,9 @@ public class ViewAnimator extends FrameLayout { super(context, attrs); TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.ViewAnimator); saveAttributeDataForStyleable(context, com.android.internal.R.styleable.ViewAnimator, attrs, a, 0, 0); int resource = a.getResourceId(com.android.internal.R.styleable.ViewAnimator_inAnimation, 0); if (resource > 0) { setInAnimation(context, resource); Loading Loading @@ -90,6 +93,8 @@ public class ViewAnimator extends FrameLayout { // attribute to override. final TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.FrameLayout); saveAttributeDataForStyleable(context, com.android.internal.R.styleable.FrameLayout, attrs, a, 0, 0); final boolean measureAllChildren = a.getBoolean( com.android.internal.R.styleable.FrameLayout_measureAllChildren, true); setMeasureAllChildren(measureAllChildren); Loading Loading
core/java/android/widget/ViewAnimator.java +5 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,9 @@ public class ViewAnimator extends FrameLayout { super(context, attrs); TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.ViewAnimator); saveAttributeDataForStyleable(context, com.android.internal.R.styleable.ViewAnimator, attrs, a, 0, 0); int resource = a.getResourceId(com.android.internal.R.styleable.ViewAnimator_inAnimation, 0); if (resource > 0) { setInAnimation(context, resource); Loading Loading @@ -90,6 +93,8 @@ public class ViewAnimator extends FrameLayout { // attribute to override. final TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.FrameLayout); saveAttributeDataForStyleable(context, com.android.internal.R.styleable.FrameLayout, attrs, a, 0, 0); final boolean measureAllChildren = a.getBoolean( com.android.internal.R.styleable.FrameLayout_measureAllChildren, true); setMeasureAllChildren(measureAllChildren); Loading