原 android动画(一)Interpolator
发表于2年前(2013-06-04 23:19) 阅读(
16135) | 评论(
15)
45人收藏此文章, 我要收藏我要收藏
赞
19
一:简介
interpolator可以翻译成插值器。
Android中interpolator最底层的接口如下:
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
package
android.animation;
/**
* 时间插值器定义了一个动画的变化率。
* 这让动画让非线性的移动轨迹,例如加速和减速。
* <hr/>
* A time interpolator defines the rate of change of an animation. This allows animations
* to have non-linear motion, such as acceleration and deceleration.
*/
public
interface
TimeInterpolator {
<div class="line number11 index10 alt2" style="padding: 0px 1em !important; margin: 0px !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !importa
|