AnimationSet AnimationSet Class

Definition

Represents a group of Animations that should be played together.

[Android.Runtime.Register("android/view/animation/AnimationSet", ApiSince=1, DoNotGenerateAcw=true)]
public class AnimationSet : Android.Views.Animations.Animation
type AnimationSet = class
    inherit Animation
Inheritance
Attributes

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

AnimationSet(Boolean) AnimationSet(Boolean)

Constructor to use when building an AnimationSet from code

AnimationSet(Context, IAttributeSet) AnimationSet(Context, IAttributeSet)

Constructor used when an AnimationSet is loaded from a resource.

AnimationSet(IntPtr, JniHandleOwnership) AnimationSet(IntPtr, JniHandleOwnership)

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

Properties

Animations Animations
BackgroundColor BackgroundColor

Returns the background color behind the animation.

(Inherited from Animation)
Class Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
DetachWallpaper DetachWallpaper

Return value of DetachWallpaper.

(Inherited from Animation)
Duration Duration

How long this animation should last

(Inherited from Animation)
FillAfter FillAfter

If fillAfter is true, this animation will apply its transformation after the end time of the animation.

(Inherited from Animation)
FillBefore FillBefore

If fillBefore is true, this animation will apply its transformation before the start time of the animation.

(Inherited from Animation)
FillEnabled FillEnabled

If fillEnabled is true, this animation will apply the value of fillBefore.

(Inherited from Animation)
Handle Handle

The handle to the underlying Android instance.

(Inherited from Object)
HasEnded HasEnded Inherited from Animation
HasStarted HasStarted Inherited from Animation
IJavaObjectEx.IsProxy IJavaObjectEx.IsProxy Inherited from Object
IJavaObjectEx.KeyHandle IJavaObjectEx.KeyHandle Inherited from Object
IJavaObjectEx.NeedsActivation IJavaObjectEx.NeedsActivation Inherited from Object
IJavaPeerable.JniManagedPeerState IJavaPeerable.JniManagedPeerState Inherited from Object
Interpolator Interpolator

Gets the acceleration curve type for this animation.

(Inherited from Animation)
IsInitialized IsInitialized

Whether or not the animation has been initialized.

(Inherited from Animation)
JniIdentityHashCode JniIdentityHashCode Inherited from Object
JniPeerMembers JniPeerMembers
PeerReference PeerReference Inherited from Object
RepeatCount RepeatCount

Defines how many times the animation should repeat.

(Inherited from Animation)
RepeatMode RepeatMode

Defines what this animation should do when it reaches the end.

(Inherited from Animation)
ScaleFactor ScaleFactor

The scale factor is set by the call to getTransformation.

(Inherited from Animation)
StartOffset StartOffset

When this animation should start, relative to StartTime

(Inherited from Animation)
StartTime StartTime

When this animation should start.

(Inherited from Animation)
ThresholdClass ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ZAdjustment ZAdjustment

Returns the Z ordering mode to use while running the animation as previously set by ZAdjustment.

(Inherited from Animation)

Methods

AddAnimation(Animation) AddAnimation(Animation)

Add a child animation to this animation set.

ApplyTransformation(Single, Transformation) ApplyTransformation(Single, Transformation)

Helper for getTransformation.

(Inherited from Animation)
Cancel() Cancel()

Cancel the animation.

(Inherited from Animation)
Clone() Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
ComputeDurationHint() ComputeDurationHint()

Compute a hint at how long the entire animation may last, in milliseconds.

(Inherited from Animation)
Dispose() Dispose() Inherited from Object
Dispose(Boolean) Dispose(Boolean) Inherited from Object
EnsureInterpolator() EnsureInterpolator()

Gurantees that this animation has an interpolator.

(Inherited from Animation)
Equals(Object) Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
GetHashCode() GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
GetTransformation(Int64, Transformation) GetTransformation(Int64, Transformation)

Gets the transformation to apply at a specified point in time.

(Inherited from Animation)
GetTransformation(Int64, Transformation, Single) GetTransformation(Int64, Transformation, Single)

Gets the transformation to apply at a specified point in time.

(Inherited from Animation)
Initialize(Int32, Int32, Int32, Int32) Initialize(Int32, Int32, Int32, Int32)

Initialize this animation with the dimensions of the object being animated as well as the objects parents.

(Inherited from Animation)
JavaFinalize() JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
Notify() Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll() NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
Reset() Reset()

Reset the initialization state of this animation.

(Inherited from Animation)
ResolveSize(Dimension, Single, Int32, Int32) ResolveSize(Dimension, Single, Int32, Int32)

Convert the information in the description of a size to an actual dimension

(Inherited from Animation)
RestrictDuration(Int64) RestrictDuration(Int64)

durationMillis

(Inherited from Animation)
ScaleCurrentDuration(Single) ScaleCurrentDuration(Single)

How much to scale the duration by.

(Inherited from Animation)
SetAnimationListener(Animation+IAnimationListener) SetAnimationListener(Animation+IAnimationListener) Inherited from Animation
SetHandle(IntPtr, JniHandleOwnership) SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetInterpolator(Context, Int32) SetInterpolator(Context, Int32)

Sets the acceleration curve for this animation.

(Inherited from Animation)
Start() Start()

Convenience method to start the animation the first time GetTransformation(Int64, Transformation) is invoked.

(Inherited from Animation)
StartNow() StartNow()

Convenience method to start the animation at the current time in milliseconds.

(Inherited from Animation)
ToArray<T>() ToArray<T>() Inherited from Object
ToString() ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
UnregisterFromRuntime() UnregisterFromRuntime() Inherited from Object
Wait() Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64) Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32) Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
WillChangeBounds() WillChangeBounds() Inherited from Animation
WillChangeTransformationMatrix() WillChangeTransformationMatrix() Inherited from Animation

Events

AnimationEnd AnimationEnd Inherited from Animation
AnimationRepeat AnimationRepeat Inherited from Animation
AnimationStart AnimationStart Inherited from Animation

Fields

Infinite Infinite

Repeat the animation indefinitely.

(Inherited from Animation)
StartOnFirstFrame StartOnFirstFrame

Can be used as the start time to indicate the start time should be the current time when GetTransformation(Int64, Transformation) is invoked for the first animation frame.

(Inherited from Animation)

Explicit Interface Implementations

IJavaObjectEx.ToLocalJniHandle() IJavaObjectEx.ToLocalJniHandle() Inherited from Object
IJavaPeerable.Disposed() IJavaPeerable.Disposed() Inherited from Object
IJavaPeerable.DisposeUnlessReferenced() IJavaPeerable.DisposeUnlessReferenced() Inherited from Object
IJavaPeerable.Finalized() IJavaPeerable.Finalized() Inherited from Object
IJavaPeerable.SetJniIdentityHashCode(Int32) IJavaPeerable.SetJniIdentityHashCode(Int32) Inherited from Object
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) Inherited from Object
IJavaPeerable.SetPeerReference(JniObjectReference) IJavaPeerable.SetPeerReference(JniObjectReference) Inherited from Object

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable) GetJniTypeName(IJavaPeerable)

Applies to