/** * Returns whether the specified {@link AnimatableValue} is of a type allowed * by this animation. */ protected boolean checkValueType(AnimatableValue v) { if (v instanceof AnimatablePaintValue) { return ((AnimatablePaintValue) v).getPaintType() == AnimatablePaintValue.PAINT_COLOR; } return v instanceof AnimatableColorValue; } }
/** * Returns whether the specified {@link AnimatableValue} is of a type allowed * by this animation. */ protected boolean checkValueType(AnimatableValue v) { if (v instanceof AnimatablePaintValue) { return ((AnimatablePaintValue) v).getPaintType() == AnimatablePaintValue.PAINT_COLOR; } return v instanceof AnimatableColorValue; } }
/** * Returns whether the specified {@link AnimatableValue} is of a type allowed * by this animation. */ protected boolean checkValueType(AnimatableValue v) { if (v instanceof AnimatablePaintValue) { return ((AnimatablePaintValue) v).getPaintType() == AnimatablePaintValue.PAINT_COLOR; } return v instanceof AnimatableColorValue; } }