Loading bootanimation/bootanimation.tar −1.09 MiB (5.17 MiB) File changed.No diff preview for this file type. View original file View changed file bootanimation/generate-bootanimation.sh +10 −7 Original line number Diff line number Diff line Loading @@ -6,18 +6,21 @@ HALF_RES="$3" OUT="$ANDROID_PRODUCT_OUT/obj/BOOTANIMATION" if [ "$HEIGHT" -lt "$WIDTH" ]; then SIZE="$HEIGHT" IMAGEWIDTH="$HEIGHT" else SIZE="$WIDTH" IMAGEWIDTH="$WIDTH" fi IMAGESCALEWIDTH="$IMAGEWIDTH" IMAGESCALEHEIGHT=$(expr $IMAGESCALEWIDTH / 3) if [ "$HALF_RES" = "true" ]; then IMAGESIZE=$(expr $SIZE / 2) else IMAGESIZE="$SIZE" IMAGEWIDTH=$(expr $IMAGEWIDTH / 2) fi RESOLUTION=""$IMAGESIZE"x"$IMAGESIZE"" IMAGEHEIGHT=$(expr $IMAGEWIDTH / 3) RESOLUTION=""$IMAGEWIDTH"x"$IMAGEHEIGHT"" for part_cnt in 0 1 2 do Loading @@ -26,7 +29,7 @@ done tar xfp "vendor/cm/bootanimation/bootanimation.tar" --to-command="convert - -resize '$RESOLUTION' \"png8:$OUT/bootanimation/\$TAR_FILENAME\"" # Create desc.txt echo "$SIZE" "$SIZE" 30 > "$OUT/bootanimation/desc.txt" echo "$IMAGESCALEWIDTH $IMAGESCALEHEIGHT" 30 > "$OUT/bootanimation/desc.txt" cat "vendor/cm/bootanimation/desc.txt" >> "$OUT/bootanimation/desc.txt" # Create bootanimation.zip Loading config/common.mk +2 −2 Original line number Diff line number Diff line Loading @@ -93,8 +93,8 @@ include vendor/cm/config/cmsdk_common.mk endif # Bootanimation #PRODUCT_PACKAGES += \ # bootanimation.zip PRODUCT_PACKAGES += \ bootanimation.zip # Required CM packages PRODUCT_PACKAGES += \ Loading Loading
bootanimation/bootanimation.tar −1.09 MiB (5.17 MiB) File changed.No diff preview for this file type. View original file View changed file
bootanimation/generate-bootanimation.sh +10 −7 Original line number Diff line number Diff line Loading @@ -6,18 +6,21 @@ HALF_RES="$3" OUT="$ANDROID_PRODUCT_OUT/obj/BOOTANIMATION" if [ "$HEIGHT" -lt "$WIDTH" ]; then SIZE="$HEIGHT" IMAGEWIDTH="$HEIGHT" else SIZE="$WIDTH" IMAGEWIDTH="$WIDTH" fi IMAGESCALEWIDTH="$IMAGEWIDTH" IMAGESCALEHEIGHT=$(expr $IMAGESCALEWIDTH / 3) if [ "$HALF_RES" = "true" ]; then IMAGESIZE=$(expr $SIZE / 2) else IMAGESIZE="$SIZE" IMAGEWIDTH=$(expr $IMAGEWIDTH / 2) fi RESOLUTION=""$IMAGESIZE"x"$IMAGESIZE"" IMAGEHEIGHT=$(expr $IMAGEWIDTH / 3) RESOLUTION=""$IMAGEWIDTH"x"$IMAGEHEIGHT"" for part_cnt in 0 1 2 do Loading @@ -26,7 +29,7 @@ done tar xfp "vendor/cm/bootanimation/bootanimation.tar" --to-command="convert - -resize '$RESOLUTION' \"png8:$OUT/bootanimation/\$TAR_FILENAME\"" # Create desc.txt echo "$SIZE" "$SIZE" 30 > "$OUT/bootanimation/desc.txt" echo "$IMAGESCALEWIDTH $IMAGESCALEHEIGHT" 30 > "$OUT/bootanimation/desc.txt" cat "vendor/cm/bootanimation/desc.txt" >> "$OUT/bootanimation/desc.txt" # Create bootanimation.zip Loading
config/common.mk +2 −2 Original line number Diff line number Diff line Loading @@ -93,8 +93,8 @@ include vendor/cm/config/cmsdk_common.mk endif # Bootanimation #PRODUCT_PACKAGES += \ # bootanimation.zip PRODUCT_PACKAGES += \ bootanimation.zip # Required CM packages PRODUCT_PACKAGES += \ Loading