[Android] Boot Animation 開機動畫
Android系統開機動畫包括三部分: bootloader部份 bootloader bootloader在開機階段會show一個小機器人的圖片 fastboot/main.c BootMenuImagesLOGO[0] = (Icon *)&s_logo; BootMenu_LOGO = FastbootCreateRadioMenu(1, 0, 3, NVIDIA_GREEN, BootMenuImagesLOGO); FastbootDrawRadioMenu(&s_Frontbuffer, s_FrontbufferPixels, BootMenu_LOGO); fastboot/logo_h #ifndef logo_h #define logo_h typedef struct _logo { NvU16 width; NvU16 height; NvS32 stride; NvU8 bpp; NvU32 data[65536]; } logo_t; static const logo_t s_logo = { 256, 256, 768, 24, { 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, 0x000000, ... ...