Documentation
¶
Overview ¶
Package animation provides Go bindings for android.view.animation.
Index ¶
- Constants
- func Init(env *jni.Env) error
- type AccelerateDecelerateInterpolator
- type AccelerateInterpolator
- type AlphaAnimation
- type Animation
- func (m *Animation) Cancel() error
- func (m *Animation) ComputeDurationHint() (int64, error)
- func (m *Animation) GetBackdropColor() (int32, error)
- func (m *Animation) GetBackgroundColor() (int32, error)
- func (m *Animation) GetDetachWallpaper() (bool, error)
- func (m *Animation) GetDuration() (int64, error)
- func (m *Animation) GetFillAfter() (bool, error)
- func (m *Animation) GetFillBefore() (bool, error)
- func (m *Animation) GetInterpolator() (*jni.Object, error)
- func (m *Animation) GetRepeatCount() (int32, error)
- func (m *Animation) GetRepeatMode() (int32, error)
- func (m *Animation) GetShowBackdrop() (bool, error)
- func (m *Animation) GetStartOffset() (int64, error)
- func (m *Animation) GetStartTime() (int64, error)
- func (m *Animation) GetTransformation2(arg0 int64, arg1 *jni.Object) (bool, error)
- func (m *Animation) GetTransformation3_1(arg0 int64, arg1 *jni.Object, arg2 float32) (bool, error)
- func (m *Animation) GetZAdjustment() (int32, error)
- func (m *Animation) HasEnded() (bool, error)
- func (m *Animation) HasStarted() (bool, error)
- func (m *Animation) Initialize(arg0 int32, arg1 int32, arg2 int32, arg3 int32) error
- func (m *Animation) IsFillEnabled() (bool, error)
- func (m *Animation) IsInitialized() (bool, error)
- func (m *Animation) Reset() error
- func (m *Animation) RestrictDuration(arg0 int64) error
- func (m *Animation) ScaleCurrentDuration(arg0 float32) error
- func (m *Animation) SetAnimationListener(arg0 *jni.Object) error
- func (m *Animation) SetBackdropColor(arg0 int32) error
- func (m *Animation) SetBackgroundColor(arg0 int32) error
- func (m *Animation) SetDetachWallpaper(arg0 bool) error
- func (m *Animation) SetDuration(arg0 int64) error
- func (m *Animation) SetFillAfter(arg0 bool) error
- func (m *Animation) SetFillBefore(arg0 bool) error
- func (m *Animation) SetFillEnabled(arg0 bool) error
- func (m *Animation) SetInterpolator1_1(arg0 *jni.Object) error
- func (m *Animation) SetInterpolator2(arg0 *jni.Object, arg1 int32) error
- func (m *Animation) SetRepeatCount(arg0 int32) error
- func (m *Animation) SetRepeatMode(arg0 int32) error
- func (m *Animation) SetShowBackdrop(arg0 bool) error
- func (m *Animation) SetStartOffset(arg0 int64) error
- func (m *Animation) SetStartTime(arg0 int64) error
- func (m *Animation) SetZAdjustment(arg0 int32) error
- func (m *Animation) Start() error
- func (m *Animation) StartNow() error
- func (m *Animation) ToString() (string, error)
- func (m *Animation) WillChangeBounds() (bool, error)
- func (m *Animation) WillChangeTransformationMatrix() (bool, error)
- type AnimationListener
- type AnticipateInterpolator
- type AnticipateOvershootInterpolator
- type BaseInterpolator
- type BounceInterpolator
- type CycleInterpolator
- type DecelerateInterpolator
- type Description
- type GridLayoutAnimationController
- func (m *GridLayoutAnimationController) GetColumnDelay() (float32, error)
- func (m *GridLayoutAnimationController) GetDirection() (int32, error)
- func (m *GridLayoutAnimationController) GetDirectionPriority() (int32, error)
- func (m *GridLayoutAnimationController) GetRowDelay() (float32, error)
- func (m *GridLayoutAnimationController) SetColumnDelay(arg0 float32) error
- func (m *GridLayoutAnimationController) SetDirection(arg0 int32) error
- func (m *GridLayoutAnimationController) SetDirectionPriority(arg0 int32) error
- func (m *GridLayoutAnimationController) SetRowDelay(arg0 float32) error
- func (m *GridLayoutAnimationController) ToString() (string, error)
- func (m *GridLayoutAnimationController) WillOverlap() (bool, error)
- type GridLayoutAnimationControllerAnimationParameters
- type Interpolator
- type LayoutAnimationController
- func (m *LayoutAnimationController) GetAnimation() (*jni.Object, error)
- func (m *LayoutAnimationController) GetAnimationForView(arg0 *jni.Object) (*jni.Object, error)
- func (m *LayoutAnimationController) GetDelay() (float32, error)
- func (m *LayoutAnimationController) GetInterpolator() (*jni.Object, error)
- func (m *LayoutAnimationController) GetOrder() (int32, error)
- func (m *LayoutAnimationController) IsDone() (bool, error)
- func (m *LayoutAnimationController) SetAnimation1_1(arg0 *jni.Object) error
- func (m *LayoutAnimationController) SetAnimation2(arg0 *jni.Object, arg1 int32) error
- func (m *LayoutAnimationController) SetDelay(arg0 float32) error
- func (m *LayoutAnimationController) SetInterpolator1_1(arg0 *jni.Object) error
- func (m *LayoutAnimationController) SetInterpolator2(arg0 *jni.Object, arg1 int32) error
- func (m *LayoutAnimationController) SetOrder(arg0 int32) error
- func (m *LayoutAnimationController) Start() error
- func (m *LayoutAnimationController) ToString() (string, error)
- func (m *LayoutAnimationController) WillOverlap() (bool, error)
- type LayoutAnimationControllerAnimationParameters
- type LinearInterpolator
- type OvershootInterpolator
- type PathInterpolator
- type RotateAnimation
- type ScaleAnimation
- type Set
- func (m *Set) AddAnimation(arg0 *jni.Object) error
- func (m *Set) ComputeDurationHint() (int64, error)
- func (m *Set) GetAnimations() (*jni.Object, error)
- func (m *Set) GetDuration() (int64, error)
- func (m *Set) GetStartTime() (int64, error)
- func (m *Set) GetTransformation(arg0 int64, arg1 *jni.Object) (bool, error)
- func (m *Set) Initialize(arg0 int32, arg1 int32, arg2 int32, arg3 int32) error
- func (m *Set) Reset() error
- func (m *Set) RestrictDuration(arg0 int64) error
- func (m *Set) ScaleCurrentDuration(arg0 float32) error
- func (m *Set) SetDuration(arg0 int64) error
- func (m *Set) SetFillAfter(arg0 bool) error
- func (m *Set) SetFillBefore(arg0 bool) error
- func (m *Set) SetRepeatMode(arg0 int32) error
- func (m *Set) SetStartOffset(arg0 int64) error
- func (m *Set) SetStartTime(arg0 int64) error
- func (m *Set) ToString() (string, error)
- func (m *Set) WillChangeBounds() (bool, error)
- func (m *Set) WillChangeTransformationMatrix() (bool, error)
- type Transformation
- func (m *Transformation) Clear() error
- func (m *Transformation) Compose(arg0 *jni.Object) error
- func (m *Transformation) GetAlpha() (float32, error)
- func (m *Transformation) GetMatrix() (*jni.Object, error)
- func (m *Transformation) GetTransformationType() (int32, error)
- func (m *Transformation) Set(arg0 *jni.Object) error
- func (m *Transformation) SetAlpha(arg0 float32) error
- func (m *Transformation) SetTransformationType(arg0 int32) error
- func (m *Transformation) ToShortString() (string, error)
- func (m *Transformation) ToString() (string, error)
- type TranslateAnimation
- type Utils
- func (m *Utils) CurrentAnimationTimeMillis() (int64, error)
- func (m *Utils) LoadAnimation(arg0 *jni.Object, arg1 int32) (*jni.Object, error)
- func (m *Utils) LoadInterpolator(arg0 *jni.Object, arg1 int32) (*jni.Object, error)
- func (m *Utils) LoadLayoutAnimation(arg0 *jni.Object, arg1 int32) (*jni.Object, error)
- func (m *Utils) MakeInAnimation(arg0 *jni.Object, arg1 bool) (*jni.Object, error)
- func (m *Utils) MakeInChildBottomAnimation(arg0 *jni.Object) (*jni.Object, error)
- func (m *Utils) MakeOutAnimation(arg0 *jni.Object, arg1 bool) (*jni.Object, error)
- func (m *Utils) ToString() (string, error)
Constants ¶
const ( DirectionBottomToTop = consts.DirectionBottomToTop DirectionHorizontalMask = consts.DirectionHorizontalMask DirectionLeftToRight = consts.DirectionLeftToRight DirectionRightToLeft = consts.DirectionRightToLeft DirectionTopToBottom = consts.DirectionTopToBottom DirectionVerticalMask = consts.DirectionVerticalMask PriorityColumn = consts.PriorityColumn PriorityNone = consts.PriorityNone PriorityRow = consts.PriorityRow TypeAlpha = consts.TypeAlpha TypeBoth = consts.TypeBoth TypeIdentity = consts.TypeIdentity TypeMatrix = consts.TypeMatrix OrderNormal = consts.OrderNormal OrderRandom = consts.OrderRandom OrderReverse = consts.OrderReverse Absolute = consts.Absolute Infinite = consts.Infinite RelativeToParent = consts.RelativeToParent RelativeToSelf = consts.RelativeToSelf Restart = consts.Restart Reverse = consts.Reverse StartOnFirstFrame = consts.StartOnFirstFrame ZorderBottom = consts.ZorderBottom ZorderNormal = consts.ZorderNormal ZorderTop = consts.ZorderTop )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccelerateDecelerateInterpolator ¶
AccelerateDecelerateInterpolator wraps android.view.animation.AccelerateDecelerateInterpolator.
func NewAccelerateDecelerateInterpolator ¶
func NewAccelerateDecelerateInterpolator(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object) (*AccelerateDecelerateInterpolator, error)
NewAccelerateDecelerateInterpolator creates a new android.view.animation.AccelerateDecelerateInterpolator instance.
func (*AccelerateDecelerateInterpolator) GetInterpolation ¶
func (m *AccelerateDecelerateInterpolator) GetInterpolation(arg0 float32) (float32, error)
GetInterpolation calls android.view.animation.AccelerateDecelerateInterpolator.getInterpolation.
func (*AccelerateDecelerateInterpolator) ToString ¶ added in v0.0.8
func (m *AccelerateDecelerateInterpolator) ToString() (string, error)
ToString calls android.view.animation.AccelerateDecelerateInterpolator.toString.
type AccelerateInterpolator ¶
AccelerateInterpolator wraps android.view.animation.AccelerateInterpolator.
func NewAccelerateInterpolator ¶
func NewAccelerateInterpolator(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object) (*AccelerateInterpolator, error)
NewAccelerateInterpolator creates a new android.view.animation.AccelerateInterpolator instance.
func (*AccelerateInterpolator) GetInterpolation ¶
func (m *AccelerateInterpolator) GetInterpolation(arg0 float32) (float32, error)
GetInterpolation calls android.view.animation.AccelerateInterpolator.getInterpolation.
func (*AccelerateInterpolator) ToString ¶ added in v0.0.8
func (m *AccelerateInterpolator) ToString() (string, error)
ToString calls android.view.animation.AccelerateInterpolator.toString.
type AlphaAnimation ¶
AlphaAnimation wraps android.view.animation.AlphaAnimation.
func NewAlphaAnimation ¶
NewAlphaAnimation creates a new android.view.animation.AlphaAnimation instance.
func (*AlphaAnimation) ToString ¶ added in v0.0.8
func (m *AlphaAnimation) ToString() (string, error)
ToString calls android.view.animation.AlphaAnimation.toString.
func (*AlphaAnimation) WillChangeBounds ¶
func (m *AlphaAnimation) WillChangeBounds() (bool, error)
WillChangeBounds calls android.view.animation.AlphaAnimation.willChangeBounds.
func (*AlphaAnimation) WillChangeTransformationMatrix ¶
func (m *AlphaAnimation) WillChangeTransformationMatrix() (bool, error)
WillChangeTransformationMatrix calls android.view.animation.AlphaAnimation.willChangeTransformationMatrix.
type Animation ¶
Animation wraps android.view.animation.Animation.
func (*Animation) ComputeDurationHint ¶
ComputeDurationHint calls android.view.animation.Animation.computeDurationHint.
func (*Animation) GetBackdropColor ¶
GetBackdropColor calls android.view.animation.Animation.getBackdropColor.
func (*Animation) GetBackgroundColor ¶
GetBackgroundColor calls android.view.animation.Animation.getBackgroundColor.
func (*Animation) GetDetachWallpaper ¶
GetDetachWallpaper calls android.view.animation.Animation.getDetachWallpaper.
func (*Animation) GetDuration ¶
GetDuration calls android.view.animation.Animation.getDuration.
func (*Animation) GetFillAfter ¶
GetFillAfter calls android.view.animation.Animation.getFillAfter.
func (*Animation) GetFillBefore ¶
GetFillBefore calls android.view.animation.Animation.getFillBefore.
func (*Animation) GetInterpolator ¶
GetInterpolator calls android.view.animation.Animation.getInterpolator.
func (*Animation) GetRepeatCount ¶
GetRepeatCount calls android.view.animation.Animation.getRepeatCount.
func (*Animation) GetRepeatMode ¶
GetRepeatMode calls android.view.animation.Animation.getRepeatMode.
func (*Animation) GetShowBackdrop ¶
GetShowBackdrop calls android.view.animation.Animation.getShowBackdrop.
func (*Animation) GetStartOffset ¶
GetStartOffset calls android.view.animation.Animation.getStartOffset.
func (*Animation) GetStartTime ¶
GetStartTime calls android.view.animation.Animation.getStartTime.
func (*Animation) GetTransformation2 ¶
GetTransformation2 calls android.view.animation.Animation.getTransformation.
func (*Animation) GetTransformation3_1 ¶
func (m *Animation) GetTransformation3_1( arg0 int64, arg1 *jni.Object, arg2 float32, ) (bool, error)
GetTransformation3_1 calls android.view.animation.Animation.getTransformation.
func (*Animation) GetZAdjustment ¶
GetZAdjustment calls android.view.animation.Animation.getZAdjustment.
func (*Animation) HasStarted ¶
HasStarted calls android.view.animation.Animation.hasStarted.
func (*Animation) Initialize ¶
Initialize calls android.view.animation.Animation.initialize.
func (*Animation) IsFillEnabled ¶
IsFillEnabled calls android.view.animation.Animation.isFillEnabled.
func (*Animation) IsInitialized ¶
IsInitialized calls android.view.animation.Animation.isInitialized.
func (*Animation) RestrictDuration ¶
RestrictDuration calls android.view.animation.Animation.restrictDuration.
func (*Animation) ScaleCurrentDuration ¶
ScaleCurrentDuration calls android.view.animation.Animation.scaleCurrentDuration.
func (*Animation) SetAnimationListener ¶
SetAnimationListener calls android.view.animation.Animation.setAnimationListener.
func (*Animation) SetBackdropColor ¶
SetBackdropColor calls android.view.animation.Animation.setBackdropColor.
func (*Animation) SetBackgroundColor ¶
SetBackgroundColor calls android.view.animation.Animation.setBackgroundColor.
func (*Animation) SetDetachWallpaper ¶
SetDetachWallpaper calls android.view.animation.Animation.setDetachWallpaper.
func (*Animation) SetDuration ¶
SetDuration calls android.view.animation.Animation.setDuration.
func (*Animation) SetFillAfter ¶
SetFillAfter calls android.view.animation.Animation.setFillAfter.
func (*Animation) SetFillBefore ¶
SetFillBefore calls android.view.animation.Animation.setFillBefore.
func (*Animation) SetFillEnabled ¶
SetFillEnabled calls android.view.animation.Animation.setFillEnabled.
func (*Animation) SetInterpolator1_1 ¶
SetInterpolator1_1 calls android.view.animation.Animation.setInterpolator.
func (*Animation) SetInterpolator2 ¶
SetInterpolator2 calls android.view.animation.Animation.setInterpolator.
func (*Animation) SetRepeatCount ¶
SetRepeatCount calls android.view.animation.Animation.setRepeatCount.
func (*Animation) SetRepeatMode ¶
SetRepeatMode calls android.view.animation.Animation.setRepeatMode.
func (*Animation) SetShowBackdrop ¶
SetShowBackdrop calls android.view.animation.Animation.setShowBackdrop.
func (*Animation) SetStartOffset ¶
SetStartOffset calls android.view.animation.Animation.setStartOffset.
func (*Animation) SetStartTime ¶
SetStartTime calls android.view.animation.Animation.setStartTime.
func (*Animation) SetZAdjustment ¶
SetZAdjustment calls android.view.animation.Animation.setZAdjustment.
func (*Animation) ToString ¶ added in v0.0.8
ToString calls android.view.animation.Animation.toString.
func (*Animation) WillChangeBounds ¶
WillChangeBounds calls android.view.animation.Animation.willChangeBounds.
func (*Animation) WillChangeTransformationMatrix ¶
WillChangeTransformationMatrix calls android.view.animation.Animation.willChangeTransformationMatrix.
type AnimationListener ¶
AnimationListener wraps android.view.animation.Animation$AnimationListener.
func (*AnimationListener) OnAnimationEnd ¶
func (m *AnimationListener) OnAnimationEnd(arg0 *jni.Object) error
OnAnimationEnd calls android.view.animation.Animation$AnimationListener.onAnimationEnd.
func (*AnimationListener) OnAnimationRepeat ¶
func (m *AnimationListener) OnAnimationRepeat(arg0 *jni.Object) error
OnAnimationRepeat calls android.view.animation.Animation$AnimationListener.onAnimationRepeat.
func (*AnimationListener) OnAnimationStart ¶
func (m *AnimationListener) OnAnimationStart(arg0 *jni.Object) error
OnAnimationStart calls android.view.animation.Animation$AnimationListener.onAnimationStart.
func (*AnimationListener) ToString ¶ added in v0.0.8
func (m *AnimationListener) ToString() (string, error)
ToString calls android.view.animation.Animation$AnimationListener.toString.
type AnticipateInterpolator ¶
AnticipateInterpolator wraps android.view.animation.AnticipateInterpolator.
func NewAnticipateInterpolator ¶
func NewAnticipateInterpolator(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object) (*AnticipateInterpolator, error)
NewAnticipateInterpolator creates a new android.view.animation.AnticipateInterpolator instance.
func (*AnticipateInterpolator) GetInterpolation ¶
func (m *AnticipateInterpolator) GetInterpolation(arg0 float32) (float32, error)
GetInterpolation calls android.view.animation.AnticipateInterpolator.getInterpolation.
func (*AnticipateInterpolator) ToString ¶ added in v0.0.8
func (m *AnticipateInterpolator) ToString() (string, error)
ToString calls android.view.animation.AnticipateInterpolator.toString.
type AnticipateOvershootInterpolator ¶
AnticipateOvershootInterpolator wraps android.view.animation.AnticipateOvershootInterpolator.
func NewAnticipateOvershootInterpolator ¶
func NewAnticipateOvershootInterpolator(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object) (*AnticipateOvershootInterpolator, error)
NewAnticipateOvershootInterpolator creates a new android.view.animation.AnticipateOvershootInterpolator instance.
func (*AnticipateOvershootInterpolator) GetInterpolation ¶
func (m *AnticipateOvershootInterpolator) GetInterpolation(arg0 float32) (float32, error)
GetInterpolation calls android.view.animation.AnticipateOvershootInterpolator.getInterpolation.
func (*AnticipateOvershootInterpolator) ToString ¶ added in v0.0.8
func (m *AnticipateOvershootInterpolator) ToString() (string, error)
ToString calls android.view.animation.AnticipateOvershootInterpolator.toString.
type BaseInterpolator ¶ added in v0.0.8
BaseInterpolator wraps android.view.animation.BaseInterpolator.
func (*BaseInterpolator) ToString ¶ added in v0.0.8
func (m *BaseInterpolator) ToString() (string, error)
ToString calls android.view.animation.BaseInterpolator.toString.
type BounceInterpolator ¶
BounceInterpolator wraps android.view.animation.BounceInterpolator.
func NewBounceInterpolator ¶
func NewBounceInterpolator(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object) (*BounceInterpolator, error)
NewBounceInterpolator creates a new android.view.animation.BounceInterpolator instance.
func (*BounceInterpolator) GetInterpolation ¶
func (m *BounceInterpolator) GetInterpolation(arg0 float32) (float32, error)
GetInterpolation calls android.view.animation.BounceInterpolator.getInterpolation.
func (*BounceInterpolator) ToString ¶ added in v0.0.8
func (m *BounceInterpolator) ToString() (string, error)
ToString calls android.view.animation.BounceInterpolator.toString.
type CycleInterpolator ¶
CycleInterpolator wraps android.view.animation.CycleInterpolator.
func NewCycleInterpolator ¶
func NewCycleInterpolator(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object) (*CycleInterpolator, error)
NewCycleInterpolator creates a new android.view.animation.CycleInterpolator instance.
func (*CycleInterpolator) GetInterpolation ¶
func (m *CycleInterpolator) GetInterpolation(arg0 float32) (float32, error)
GetInterpolation calls android.view.animation.CycleInterpolator.getInterpolation.
func (*CycleInterpolator) ToString ¶ added in v0.0.8
func (m *CycleInterpolator) ToString() (string, error)
ToString calls android.view.animation.CycleInterpolator.toString.
type DecelerateInterpolator ¶
DecelerateInterpolator wraps android.view.animation.DecelerateInterpolator.
func NewDecelerateInterpolator ¶
func NewDecelerateInterpolator(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object) (*DecelerateInterpolator, error)
NewDecelerateInterpolator creates a new android.view.animation.DecelerateInterpolator instance.
func (*DecelerateInterpolator) GetInterpolation ¶
func (m *DecelerateInterpolator) GetInterpolation(arg0 float32) (float32, error)
GetInterpolation calls android.view.animation.DecelerateInterpolator.getInterpolation.
func (*DecelerateInterpolator) ToString ¶ added in v0.0.8
func (m *DecelerateInterpolator) ToString() (string, error)
ToString calls android.view.animation.DecelerateInterpolator.toString.
type Description ¶ added in v0.0.8
Description wraps android.view.animation.Animation$Description.
func (*Description) ToString ¶ added in v0.0.8
func (m *Description) ToString() (string, error)
ToString calls android.view.animation.Animation$Description.toString.
type GridLayoutAnimationController ¶
GridLayoutAnimationController wraps android.view.animation.GridLayoutAnimationController.
func NewGridLayoutAnimationController ¶
func NewGridLayoutAnimationController(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object) (*GridLayoutAnimationController, error)
NewGridLayoutAnimationController creates a new android.view.animation.GridLayoutAnimationController instance.
func (*GridLayoutAnimationController) GetColumnDelay ¶
func (m *GridLayoutAnimationController) GetColumnDelay() (float32, error)
GetColumnDelay calls android.view.animation.GridLayoutAnimationController.getColumnDelay.
func (*GridLayoutAnimationController) GetDirection ¶
func (m *GridLayoutAnimationController) GetDirection() (int32, error)
GetDirection calls android.view.animation.GridLayoutAnimationController.getDirection.
func (*GridLayoutAnimationController) GetDirectionPriority ¶
func (m *GridLayoutAnimationController) GetDirectionPriority() (int32, error)
GetDirectionPriority calls android.view.animation.GridLayoutAnimationController.getDirectionPriority.
func (*GridLayoutAnimationController) GetRowDelay ¶
func (m *GridLayoutAnimationController) GetRowDelay() (float32, error)
GetRowDelay calls android.view.animation.GridLayoutAnimationController.getRowDelay.
func (*GridLayoutAnimationController) SetColumnDelay ¶
func (m *GridLayoutAnimationController) SetColumnDelay(arg0 float32) error
SetColumnDelay calls android.view.animation.GridLayoutAnimationController.setColumnDelay.
func (*GridLayoutAnimationController) SetDirection ¶
func (m *GridLayoutAnimationController) SetDirection(arg0 int32) error
SetDirection calls android.view.animation.GridLayoutAnimationController.setDirection.
func (*GridLayoutAnimationController) SetDirectionPriority ¶
func (m *GridLayoutAnimationController) SetDirectionPriority(arg0 int32) error
SetDirectionPriority calls android.view.animation.GridLayoutAnimationController.setDirectionPriority.
func (*GridLayoutAnimationController) SetRowDelay ¶
func (m *GridLayoutAnimationController) SetRowDelay(arg0 float32) error
SetRowDelay calls android.view.animation.GridLayoutAnimationController.setRowDelay.
func (*GridLayoutAnimationController) ToString ¶ added in v0.0.8
func (m *GridLayoutAnimationController) ToString() (string, error)
ToString calls android.view.animation.GridLayoutAnimationController.toString.
func (*GridLayoutAnimationController) WillOverlap ¶
func (m *GridLayoutAnimationController) WillOverlap() (bool, error)
WillOverlap calls android.view.animation.GridLayoutAnimationController.willOverlap.
type GridLayoutAnimationControllerAnimationParameters ¶ added in v0.0.8
GridLayoutAnimationControllerAnimationParameters wraps android.view.animation.GridLayoutAnimationController$AnimationParameters.
func (*GridLayoutAnimationControllerAnimationParameters) ToString ¶ added in v0.0.8
func (m *GridLayoutAnimationControllerAnimationParameters) ToString() (string, error)
ToString calls android.view.animation.GridLayoutAnimationController$AnimationParameters.toString.
type Interpolator ¶ added in v0.0.8
Interpolator wraps android.view.animation.Interpolator.
func (*Interpolator) ToString ¶ added in v0.0.8
func (m *Interpolator) ToString() (string, error)
ToString calls android.view.animation.Interpolator.toString.
type LayoutAnimationController ¶
LayoutAnimationController wraps android.view.animation.LayoutAnimationController.
func NewLayoutAnimationController ¶
func NewLayoutAnimationController(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object) (*LayoutAnimationController, error)
NewLayoutAnimationController creates a new android.view.animation.LayoutAnimationController instance.
func (*LayoutAnimationController) GetAnimation ¶
func (m *LayoutAnimationController) GetAnimation() (*jni.Object, error)
GetAnimation calls android.view.animation.LayoutAnimationController.getAnimation.
func (*LayoutAnimationController) GetAnimationForView ¶
GetAnimationForView calls android.view.animation.LayoutAnimationController.getAnimationForView.
func (*LayoutAnimationController) GetDelay ¶
func (m *LayoutAnimationController) GetDelay() (float32, error)
GetDelay calls android.view.animation.LayoutAnimationController.getDelay.
func (*LayoutAnimationController) GetInterpolator ¶
func (m *LayoutAnimationController) GetInterpolator() (*jni.Object, error)
GetInterpolator calls android.view.animation.LayoutAnimationController.getInterpolator.
func (*LayoutAnimationController) GetOrder ¶
func (m *LayoutAnimationController) GetOrder() (int32, error)
GetOrder calls android.view.animation.LayoutAnimationController.getOrder.
func (*LayoutAnimationController) IsDone ¶
func (m *LayoutAnimationController) IsDone() (bool, error)
IsDone calls android.view.animation.LayoutAnimationController.isDone.
func (*LayoutAnimationController) SetAnimation1_1 ¶
func (m *LayoutAnimationController) SetAnimation1_1(arg0 *jni.Object) error
SetAnimation1_1 calls android.view.animation.LayoutAnimationController.setAnimation.
func (*LayoutAnimationController) SetAnimation2 ¶
func (m *LayoutAnimationController) SetAnimation2(arg0 *jni.Object, arg1 int32) error
SetAnimation2 calls android.view.animation.LayoutAnimationController.setAnimation.
func (*LayoutAnimationController) SetDelay ¶
func (m *LayoutAnimationController) SetDelay(arg0 float32) error
SetDelay calls android.view.animation.LayoutAnimationController.setDelay.
func (*LayoutAnimationController) SetInterpolator1_1 ¶
func (m *LayoutAnimationController) SetInterpolator1_1(arg0 *jni.Object) error
SetInterpolator1_1 calls android.view.animation.LayoutAnimationController.setInterpolator.
func (*LayoutAnimationController) SetInterpolator2 ¶
func (m *LayoutAnimationController) SetInterpolator2(arg0 *jni.Object, arg1 int32) error
SetInterpolator2 calls android.view.animation.LayoutAnimationController.setInterpolator.
func (*LayoutAnimationController) SetOrder ¶
func (m *LayoutAnimationController) SetOrder(arg0 int32) error
SetOrder calls android.view.animation.LayoutAnimationController.setOrder.
func (*LayoutAnimationController) Start ¶
func (m *LayoutAnimationController) Start() error
Start calls android.view.animation.LayoutAnimationController.start.
func (*LayoutAnimationController) ToString ¶ added in v0.0.8
func (m *LayoutAnimationController) ToString() (string, error)
ToString calls android.view.animation.LayoutAnimationController.toString.
func (*LayoutAnimationController) WillOverlap ¶
func (m *LayoutAnimationController) WillOverlap() (bool, error)
WillOverlap calls android.view.animation.LayoutAnimationController.willOverlap.
type LayoutAnimationControllerAnimationParameters ¶ added in v0.0.8
LayoutAnimationControllerAnimationParameters wraps android.view.animation.LayoutAnimationController$AnimationParameters.
func (*LayoutAnimationControllerAnimationParameters) ToString ¶ added in v0.0.8
func (m *LayoutAnimationControllerAnimationParameters) ToString() (string, error)
ToString calls android.view.animation.LayoutAnimationController$AnimationParameters.toString.
type LinearInterpolator ¶
LinearInterpolator wraps android.view.animation.LinearInterpolator.
func NewLinearInterpolator ¶
func NewLinearInterpolator(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object) (*LinearInterpolator, error)
NewLinearInterpolator creates a new android.view.animation.LinearInterpolator instance.
func (*LinearInterpolator) GetInterpolation ¶
func (m *LinearInterpolator) GetInterpolation(arg0 float32) (float32, error)
GetInterpolation calls android.view.animation.LinearInterpolator.getInterpolation.
func (*LinearInterpolator) ToString ¶ added in v0.0.8
func (m *LinearInterpolator) ToString() (string, error)
ToString calls android.view.animation.LinearInterpolator.toString.
type OvershootInterpolator ¶
OvershootInterpolator wraps android.view.animation.OvershootInterpolator.
func NewOvershootInterpolator ¶
func NewOvershootInterpolator(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object) (*OvershootInterpolator, error)
NewOvershootInterpolator creates a new android.view.animation.OvershootInterpolator instance.
func (*OvershootInterpolator) GetInterpolation ¶
func (m *OvershootInterpolator) GetInterpolation(arg0 float32) (float32, error)
GetInterpolation calls android.view.animation.OvershootInterpolator.getInterpolation.
func (*OvershootInterpolator) ToString ¶ added in v0.0.8
func (m *OvershootInterpolator) ToString() (string, error)
ToString calls android.view.animation.OvershootInterpolator.toString.
type PathInterpolator ¶
PathInterpolator wraps android.view.animation.PathInterpolator.
func NewPathInterpolator ¶
NewPathInterpolator creates a new android.view.animation.PathInterpolator instance.
func (*PathInterpolator) GetInterpolation ¶
func (m *PathInterpolator) GetInterpolation(arg0 float32) (float32, error)
GetInterpolation calls android.view.animation.PathInterpolator.getInterpolation.
func (*PathInterpolator) ToString ¶ added in v0.0.8
func (m *PathInterpolator) ToString() (string, error)
ToString calls android.view.animation.PathInterpolator.toString.
type RotateAnimation ¶
RotateAnimation wraps android.view.animation.RotateAnimation.
func NewRotateAnimation ¶
NewRotateAnimation creates a new android.view.animation.RotateAnimation instance.
func (*RotateAnimation) Initialize ¶
Initialize calls android.view.animation.RotateAnimation.initialize.
func (*RotateAnimation) ToString ¶ added in v0.0.8
func (m *RotateAnimation) ToString() (string, error)
ToString calls android.view.animation.RotateAnimation.toString.
type ScaleAnimation ¶
ScaleAnimation wraps android.view.animation.ScaleAnimation.
func NewScaleAnimation ¶
NewScaleAnimation creates a new android.view.animation.ScaleAnimation instance.
func (*ScaleAnimation) Initialize ¶
Initialize calls android.view.animation.ScaleAnimation.initialize.
func (*ScaleAnimation) ToString ¶ added in v0.0.8
func (m *ScaleAnimation) ToString() (string, error)
ToString calls android.view.animation.ScaleAnimation.toString.
type Set ¶
Set wraps android.view.animation.AnimationSet.
func (*Set) AddAnimation ¶
AddAnimation calls android.view.animation.AnimationSet.addAnimation.
func (*Set) ComputeDurationHint ¶
ComputeDurationHint calls android.view.animation.AnimationSet.computeDurationHint.
func (*Set) GetAnimations ¶ added in v0.0.8
GetAnimations calls android.view.animation.AnimationSet.getAnimations.
func (*Set) GetDuration ¶
GetDuration calls android.view.animation.AnimationSet.getDuration.
func (*Set) GetStartTime ¶
GetStartTime calls android.view.animation.AnimationSet.getStartTime.
func (*Set) GetTransformation ¶
GetTransformation calls android.view.animation.AnimationSet.getTransformation.
func (*Set) Initialize ¶
Initialize calls android.view.animation.AnimationSet.initialize.
func (*Set) RestrictDuration ¶
RestrictDuration calls android.view.animation.AnimationSet.restrictDuration.
func (*Set) ScaleCurrentDuration ¶
ScaleCurrentDuration calls android.view.animation.AnimationSet.scaleCurrentDuration.
func (*Set) SetDuration ¶
SetDuration calls android.view.animation.AnimationSet.setDuration.
func (*Set) SetFillAfter ¶
SetFillAfter calls android.view.animation.AnimationSet.setFillAfter.
func (*Set) SetFillBefore ¶
SetFillBefore calls android.view.animation.AnimationSet.setFillBefore.
func (*Set) SetRepeatMode ¶
SetRepeatMode calls android.view.animation.AnimationSet.setRepeatMode.
func (*Set) SetStartOffset ¶
SetStartOffset calls android.view.animation.AnimationSet.setStartOffset.
func (*Set) SetStartTime ¶
SetStartTime calls android.view.animation.AnimationSet.setStartTime.
func (*Set) WillChangeBounds ¶
WillChangeBounds calls android.view.animation.AnimationSet.willChangeBounds.
func (*Set) WillChangeTransformationMatrix ¶
WillChangeTransformationMatrix calls android.view.animation.AnimationSet.willChangeTransformationMatrix.
type Transformation ¶
Transformation wraps android.view.animation.Transformation.
func NewTransformation ¶
func NewTransformation(vm *jni.VM) (*Transformation, error)
NewTransformation creates a new android.view.animation.Transformation instance.
func (*Transformation) Clear ¶
func (m *Transformation) Clear() error
Clear calls android.view.animation.Transformation.clear.
func (*Transformation) Compose ¶
func (m *Transformation) Compose(arg0 *jni.Object) error
Compose calls android.view.animation.Transformation.compose.
func (*Transformation) GetAlpha ¶
func (m *Transformation) GetAlpha() (float32, error)
GetAlpha calls android.view.animation.Transformation.getAlpha.
func (*Transformation) GetMatrix ¶
func (m *Transformation) GetMatrix() (*jni.Object, error)
GetMatrix calls android.view.animation.Transformation.getMatrix.
func (*Transformation) GetTransformationType ¶
func (m *Transformation) GetTransformationType() (int32, error)
GetTransformationType calls android.view.animation.Transformation.getTransformationType.
func (*Transformation) Set ¶
func (m *Transformation) Set(arg0 *jni.Object) error
Set calls android.view.animation.Transformation.set.
func (*Transformation) SetAlpha ¶
func (m *Transformation) SetAlpha(arg0 float32) error
SetAlpha calls android.view.animation.Transformation.setAlpha.
func (*Transformation) SetTransformationType ¶
func (m *Transformation) SetTransformationType(arg0 int32) error
SetTransformationType calls android.view.animation.Transformation.setTransformationType.
func (*Transformation) ToShortString ¶
func (m *Transformation) ToShortString() (string, error)
ToShortString calls android.view.animation.Transformation.toShortString.
func (*Transformation) ToString ¶
func (m *Transformation) ToString() (string, error)
ToString calls android.view.animation.Transformation.toString.
type TranslateAnimation ¶
TranslateAnimation wraps android.view.animation.TranslateAnimation.
func NewTranslateAnimation ¶
func NewTranslateAnimation(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object) (*TranslateAnimation, error)
NewTranslateAnimation creates a new android.view.animation.TranslateAnimation instance.
func (*TranslateAnimation) Initialize ¶
Initialize calls android.view.animation.TranslateAnimation.initialize.
func (*TranslateAnimation) ToString ¶ added in v0.0.8
func (m *TranslateAnimation) ToString() (string, error)
ToString calls android.view.animation.TranslateAnimation.toString.
type Utils ¶
Utils wraps android.view.animation.AnimationUtils.
func (*Utils) CurrentAnimationTimeMillis ¶
CurrentAnimationTimeMillis calls android.view.animation.AnimationUtils.currentAnimationTimeMillis.
func (*Utils) LoadAnimation ¶
LoadAnimation calls android.view.animation.AnimationUtils.loadAnimation.
func (*Utils) LoadInterpolator ¶
LoadInterpolator calls android.view.animation.AnimationUtils.loadInterpolator.
func (*Utils) LoadLayoutAnimation ¶
LoadLayoutAnimation calls android.view.animation.AnimationUtils.loadLayoutAnimation.
func (*Utils) MakeInAnimation ¶
MakeInAnimation calls android.view.animation.AnimationUtils.makeInAnimation.
func (*Utils) MakeInChildBottomAnimation ¶
MakeInChildBottomAnimation calls android.view.animation.AnimationUtils.makeInChildBottomAnimation.
func (*Utils) MakeOutAnimation ¶
MakeOutAnimation calls android.view.animation.AnimationUtils.makeOutAnimation.
Source Files
¶
- accelerate_decelerate_interpolator.go
- accelerate_interpolator.go
- alpha_animation.go
- animation.go
- animation_listener.go
- anticipate_interpolator.go
- anticipate_overshoot_interpolator.go
- base_interpolator.go
- bounce_interpolator.go
- constants.go
- cycle_interpolator.go
- decelerate_interpolator.go
- description.go
- doc.go
- grid_layout_animation_controller.go
- grid_layout_animation_controller_animation_parameters.go
- init.go
- interpolator.go
- layout_animation_controller.go
- layout_animation_controller_animation_parameters.go
- linear_interpolator.go
- overshoot_interpolator.go
- path_interpolator.go
- rotate_animation.go
- scale_animation.go
- set.go
- transformation.go
- translate_animation.go
- utils.go