다음을 통해 공유


GridLayoutAnimationController Class

Definition

A layout animation controller is used to animated a grid layout's children.

[Android.Runtime.Register("android/view/animation/GridLayoutAnimationController", DoNotGenerateAcw=true)]
public class GridLayoutAnimationController : Android.Views.Animations.LayoutAnimationController
[<Android.Runtime.Register("android/view/animation/GridLayoutAnimationController", DoNotGenerateAcw=true)>]
type GridLayoutAnimationController = class
    inherit LayoutAnimationController
Inheritance
GridLayoutAnimationController
Attributes

Remarks

A layout animation controller is used to animated a grid layout's children.

While LayoutAnimationController relies only on the index of the child in the view group to compute the animation delay, this class uses both the X and Y coordinates of the child within a grid.

In addition, the animation direction can be controlled. The default direction is DIRECTION_LEFT_TO_RIGHT | DIRECTION_TOP_TO_BOTTOM. You can also set the animation priority to columns or rows. The default priority is none.

Information used to compute the animation delay of each child are stored in an instance of android.view.animation.GridLayoutAnimationController.AnimationParameters, itself stored in the android.view.ViewGroup.LayoutParams of the view.

Java documentation for android.view.animation.GridLayoutAnimationController.

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

GridLayoutAnimationController(Animation, Single, Single)

Creates a new layout animation controller with the specified delays and the specified animation.

GridLayoutAnimationController(Animation)

Creates a new layout animation controller with a delay of 50% for both rows and columns and the specified animation.

GridLayoutAnimationController(Context, IAttributeSet)

Creates a new grid layout animation controller from external resources.

GridLayoutAnimationController(IntPtr, JniHandleOwnership)

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

Properties

Animation

Returns the animation applied to each child of the view group on which this controller is set. -or- Sets the animation to be run on each child of the view group on which this layout animation controller is .

(Inherited from LayoutAnimationController)
Class

Returns the runtime class of this Object.

(Inherited from Object)
ColumnDelay

Returns the delay by which the children's animation are offset from one column to the other. -or- Sets the delay, as a fraction of the animation duration, by which the children's animations are offset from one column to the other.

Delay

Returns the delay by which the children's animation are offset. -or- Sets the delay, as a fraction of the animation duration, by which the children's animations are offset.

(Inherited from LayoutAnimationController)
Direction

Returns the direction of the animation. -or- Sets the direction of the animation.

DirectionPriority

Returns the direction priority for the animation. -or- Specifies the direction priority of the animation.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
Interpolator

Returns the interpolator used to interpolate the delays between the children. -or- Sets the interpolator used to interpolate the delays between the children.

(Inherited from LayoutAnimationController)
IsDone

Indicates whether the layout animation is over or not.

(Inherited from LayoutAnimationController)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
MAnimation

The animation applied on each child of the view group on which this layout animation controller is set.

(Inherited from LayoutAnimationController)
MInterpolator

The interpolator used to interpolate the delays.

(Inherited from LayoutAnimationController)
MRandomizer

The randomizer used when the order is set to random.

(Inherited from LayoutAnimationController)
Order

Returns the order used to compute the delay of each child's animation. -or- Sets the order used to compute the delay of each child's animation.

(Inherited from LayoutAnimationController)
PeerReference (Inherited from Object)
RowDelay

Returns the delay by which the children's animation are offset from one row to the other. -or- Sets the delay, as a fraction of the animation duration, by which the children's animations are offset from one row to the other.

ThresholdClass

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

ThresholdType

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

Methods

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetAnimationForView(View)

Returns the animation to be applied to the specified view.

(Inherited from LayoutAnimationController)
GetDelayForView(View)

Returns the amount of milliseconds by which the specified view's animation must be delayed or offset.

(Inherited from LayoutAnimationController)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetTransformedIndex(LayoutAnimationController+AnimationParameters)

Transforms the index stored in android.view.animation.LayoutAnimationController.AnimationParameters by the order returned by #getOrder().

(Inherited from LayoutAnimationController)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetAnimation(Context, Int32)

Sets the animation to be run on each child of the view group on which this layout animation controller is .

(Inherited from LayoutAnimationController)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetInterpolator(Context, Int32)

Sets the interpolator used to interpolate the delays between the children.

(Inherited from LayoutAnimationController)
Start()

Starts the animation.

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

Returns a string representation of the object.

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

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
WillOverlap()

Indicates whether two children's animations will overlap.

(Inherited from LayoutAnimationController)

Explicit Interface Implementations

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

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to