public GifDrawable(Movie movie, int height, int width) {
this.movie = movie;
this.height = height;
this.width = width;
setBounds(0, 0, width, height);
scaleX = scaleY = 1.0f;
paint = new Paint();
handler = new Handler(Looper.getMainLooper()) {
@Override
public void handleMessage(Message msg) {
if (msg.what == what && running && textView != null) {
textView.invalidate();
sendEmptyMessageDelayed(what, 33);
}
}
};
}
GifDrawable.java 文件源码
java
阅读 26
收藏 0
点赞 0
评论 0
项目:Aequorea
作者:
评论列表
文章目录