Android.Views.Animations.Animation Members

The members of Android.Views.Animations.Animation are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Creates a new animation with a duration of 0ms, the default interpolator, with fillBefore set to true and fillAfter set to false
Creates a new animation whose parameters come from the specified context and attributes set.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
Infiniteint (-1). Repeat the animation indefinitely.
const
StartOnFirstFrameint (-1). Can be used as the start time to indicate the start time should be the current time when Animation.GetTransformation(long, Android.Views.Animations.Transformation) is invoked for the first animation frame.

Public Properties

BackgroundColorAndroid.Graphics.Color. Returns the background color behind the animation.
DetachWallpaperbool. Return value of Animation.DetachWallpaper.
Durationlong. How long this animation should last
FillAfterbool. If fillAfter is true, this animation will apply its transformation after the end time of the animation.
FillBeforebool. If fillBefore is true, this animation will apply its transformation before the start time of the animation.
FillEnabledbool. If fillEnabled is true, this animation will apply the value of fillBefore.
[read-only]
HasEndedbool.
[read-only]
HasStartedbool.
InterpolatorAndroid.Views.Animations.IInterpolator. Gets the acceleration curve type for this animation.
[read-only]
IsInitializedbool. Whether or not the animation has been initialized.
RepeatCountint. Defines how many times the animation should repeat.
RepeatModeAndroid.Views.Animations.RepeatMode. Defines what this animation should do when it reaches the end.
StartOffsetlong. When this animation should start, relative to StartTime
StartTimelong. When this animation should start.
ZAdjustmentAndroid.Views.Animations.ContentZorder. Returns the Z ordering mode to use while running the animation as previously set by Animation.ZAdjustment.

Protected Properties

[read-only]
ScaleFactorfloat. The scale factor is set by the call to getTransformation.
[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Cancel()
Cancel the animation.
ComputeDurationHint() : long
Compute a hint at how long the entire animation may last, in milliseconds.
GetTransformation(long, Android.Views.Animations.Transformation) : bool
Gets the transformation to apply at a specified point in time.
GetTransformation(long, Android.Views.Animations.Transformation, float) : bool
Gets the transformation to apply at a specified point in time.
Initialize(int, int, int, int)
Initialize this animation with the dimensions of the object being animated as well as the objects parents.
Reset()
Reset the initialization state of this animation.
RestrictDuration(long)
Ensure that the duration that this animation will run is not longer than durationMillis.
ScaleCurrentDuration(float)
How much to scale the duration by.
SetAnimationListener(Android.Views.Animations.Animation.IAnimationListener)
SetInterpolator(Android.Content.Context, int)
Sets the acceleration curve for this animation.
Start()
Convenience method to start the animation the first time Animation.GetTransformation(long, Android.Views.Animations.Transformation) is invoked.
StartNow()
Convenience method to start the animation at the current time in milliseconds.
WillChangeBounds() : bool
WillChangeTransformationMatrix() : bool

Protected Methods

ApplyTransformation(float, Android.Views.Animations.Transformation)
Helper for getTransformation.
EnsureInterpolator()
Gurantees that this animation has an interpolator.
ResolveSize(Android.Views.Animations.Dimension, float, int, int) : float
Convert the information in the description of a size to an actual dimension

Public Events

AnimationEndDocumentation for this section has not yet been entered.
AnimationRepeatDocumentation for this section has not yet been entered.
AnimationStartDocumentation for this section has not yet been entered.