android深入了解开机动画 1:View绘制 2:逐帧动画:比较主流的方式,一般动画的文件打包成 bootanimation.zip 存储到 /system/media/ 下。一般.zip文件 > 5M 就会有明显的卡顿,所以一般开机动画只有中间一块有图案,四周是黑色,这样可以采用更小分辨率的图片。 3:OpenGL:定义了跨平台语言,跨平台的应用接口API规范,用于生成二维、三维图像。 代码路径介绍 bootanimation: /frameworks/base/cmds/bootanimation/ surfaceflinger: /frameworks/native/services/surfaceflinger/ init: /system/core/init/ 内核启动之后启动的第一个进程就是 init 进程,init进程会根据 init.rc 的配置启动 surfaceflinger 进程,在/frameworks/native/services/surfaceflinger/ 下有 surfaceflinger.rc 如下: 1 service...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile