Android包(android.view.animation)的简介

官方网址:http://developer.android.com/reference/android/view/animation/package-summary.html

android.view.animation包提供处理补间动画的各种类。
Android提供两种可以用来创建简单的机制:
1、补间(Tween)动画,你告诉Android去为View执行一系列简单的变形(位置,大小,旋转等等);
2、逐帧(Frame)动画,它装载一系列有先后关系Drawable资源。
两种动画类型都可用在任意的View对象中,来提供简单的旋转定时器,activity图标和其他有用的UI元素。
补间动画,由该包(android.view.animation)处理;逐帧动画由AnimationDrawable类处理。
更多创建补间动画或逐帧动画的信息,请阅读2D图像开发指南的讨论。

Interfaces


Animation.AnimationListener

An animation listener receives notifications from an animation. 接收动画通知的监听器

Interpolator An interpolator defines the rate of change of an animation. 定义动画变化率的插值器

Classes


AccelerateDecelerateInterpolator An interpolator where the rate of change starts and ends slowly but accelerates through the middle. 
开始和结束时的变化率很慢,但中间过程加速的插值器
AccelerateInterpolator An interpolator where the rate of change starts out slowly and and then accelerates. 
开始时的变化率很慢,但随后就加速的插值器
AlphaAnimation An animation that controls the alpha level of an object. 
控制对象的Alpha值(即透明度)的动画
Animation Abstraction for an Animation that can be applied to Views, Surfaces, or other objects.
可以应用在Views,Surfaces或其他对象的动画的抽象类 
Animation.Description Utility class to parse a string description of a size. 
解析尺寸大小的字符串描述的工具类
AnimationSet Represents a group of Animations that should be played together. 
它代表了应该一起播放的一组动画
AnimationUtils Defines common utilities for working with animations. 
定义了处理动画的通用工具类
AnticipateInterpolator An interpolator where the change starts backward then flings forward. 
开始时向后,然后猛冲向前,这种变化的插值器
AnticipateOvershootInterpolator An interpolator where the change starts backward then flings forward and overshoots the target value and finally goes back to the final value. 
开始时向后,然后猛冲向前,超越目标值并且最终返回目标值,这种变化的插值器
BounceInterpolator An interpolator where the change bounces at the end. 
跳到最后,这种变化的插值器
CycleInterpolator Repeats the animation for a specified number of cycles. 
指定循环数目的重复动画
DecelerateInterpolator An interpolator where the rate of change starts out quickly and then decelerates. 
开始时的变化率很快,然后减速的插值器
GridLayoutAnimationController A layout animation controller is used to animated a grid layout's children. 
用于模拟表格布局项的布局动画控制器
GridLayoutAnimationController.AnimationParameters The set of parameters that has to be attached to each view contained in the view group animated by the grid layout animation controller. 
必须附加到viewgroup中的每个view(通过表格布局动画控制器模拟)的参数的集合
LayoutAnimationController A layout animation controller is used to animated a layout's, or a view group's, children. 
用于模拟布局或view group的子控件的布局动画控制器
LayoutAnimationController.AnimationParameters The set of parameters that has to be attached to each view contained in the view group animated by the layout animation controller. 
必须附加到viewgroup中的每个view(通过布局动画控制器模拟)的参数的集合
LinearInterpolator An interpolator where the rate of change is constant  
变化率固定的插值器
OvershootInterpolator An interpolator where the change flings forward and overshoots the last value then comes back. 
猛冲向前,并且越过目标值,然后回来,这种变化的插值器
RotateAnimation An animation that controls the rotation of an object. 
控制对象旋转的动画
ScaleAnimation

An animation that controls the scale of an object. 

控制对象缩放比例的动画
Transformation Defines the transformation to be applied at one point in time of an Animation. 
定义变形,用于动画的某个时间的某个点
TranslateAnimation An animation that controls the position of an object. 
控制对象位置的动画
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值