|
Posted at 3/5/2015 10:21:10
1#
Re: Requesting simple summary of steps required to modify boot animation
you can see the code in frameworks/base/cmds/bootanimation/BootAnimation.cpp- bool BootAnimation::threadLoop()
- {
- bool r;
- if (mAndroidAnimation) {
- r = android();
- } else {
- r = movie();
- }
Copy the code
if have bootanimation.zip will run movie(),if not will run android();
- bool BootAnimation::android()
- {
- initTexture(&mAndroid[0], mAssets, "images/android-logo-mask.png");
- initTexture(&mAndroid[1], mAssets, "images/android-logo-shine.png");
Copy the code
We can see from the code,the boot animation composed of only two pictures。
you can found the pictures in frameworks/base/core/res/assets/images。
|
|