Loading bootanimation/bootanimation.tar −8.04 MiB (1.75 MiB) File changed.No diff preview for this file type. View original file View changed file bootanimation/desc.txt +1 −5 Original line number Diff line number Diff line c 1 0 part0 c 0 0 part1 c 1 0 part2 c 1 1 part3 c 1 0 part4 c 0 0 part0 bootanimation/generate-bootanimation.sh +4 −16 Original line number Diff line number Diff line Loading @@ -11,26 +11,14 @@ else IMAGEWIDTH="$WIDTH" fi IMAGESCALEWIDTH="$IMAGEWIDTH" IMAGESCALEHEIGHT=$(expr $IMAGESCALEWIDTH / 3) RESOLUTION=""$WIDTH"x"$HEIGHT"" if [ "$HALF_RES" = "true" ]; then IMAGEWIDTH=$(expr $IMAGEWIDTH / 2) fi IMAGEHEIGHT=$(expr $IMAGEWIDTH / 3) RESOLUTION=""$IMAGEWIDTH"x"$IMAGEHEIGHT"" for part_cnt in 0 1 2 3 4 do mkdir -p $ANDROID_PRODUCT_OUT/obj/BOOTANIMATION/bootanimation/part$part_cnt done mkdir -p $ANDROID_PRODUCT_OUT/obj/BOOTANIMATION/bootanimation/part0 tar xfp "vendor/cm/bootanimation/bootanimation.tar" -C "$OUT/bootanimation/" mogrify -resize $RESOLUTION -colors 250 "$OUT/bootanimation/"*"/"*".png" mogrify -resize $RESOLUTION -colors 250 -background white -gravity center -extent $RESOLUTION "$OUT/bootanimation/"*"/"*".png" # Create desc.txt echo "$IMAGESCALEWIDTH $IMAGESCALEHEIGHT" 60 > "$OUT/bootanimation/desc.txt" echo "$WIDTH $HEIGHT" 60 > "$OUT/bootanimation/desc.txt" cat "vendor/cm/bootanimation/desc.txt" >> "$OUT/bootanimation/desc.txt" # Create bootanimation.zip Loading Loading
bootanimation/bootanimation.tar −8.04 MiB (1.75 MiB) File changed.No diff preview for this file type. View original file View changed file
bootanimation/desc.txt +1 −5 Original line number Diff line number Diff line c 1 0 part0 c 0 0 part1 c 1 0 part2 c 1 1 part3 c 1 0 part4 c 0 0 part0
bootanimation/generate-bootanimation.sh +4 −16 Original line number Diff line number Diff line Loading @@ -11,26 +11,14 @@ else IMAGEWIDTH="$WIDTH" fi IMAGESCALEWIDTH="$IMAGEWIDTH" IMAGESCALEHEIGHT=$(expr $IMAGESCALEWIDTH / 3) RESOLUTION=""$WIDTH"x"$HEIGHT"" if [ "$HALF_RES" = "true" ]; then IMAGEWIDTH=$(expr $IMAGEWIDTH / 2) fi IMAGEHEIGHT=$(expr $IMAGEWIDTH / 3) RESOLUTION=""$IMAGEWIDTH"x"$IMAGEHEIGHT"" for part_cnt in 0 1 2 3 4 do mkdir -p $ANDROID_PRODUCT_OUT/obj/BOOTANIMATION/bootanimation/part$part_cnt done mkdir -p $ANDROID_PRODUCT_OUT/obj/BOOTANIMATION/bootanimation/part0 tar xfp "vendor/cm/bootanimation/bootanimation.tar" -C "$OUT/bootanimation/" mogrify -resize $RESOLUTION -colors 250 "$OUT/bootanimation/"*"/"*".png" mogrify -resize $RESOLUTION -colors 250 -background white -gravity center -extent $RESOLUTION "$OUT/bootanimation/"*"/"*".png" # Create desc.txt echo "$IMAGESCALEWIDTH $IMAGESCALEHEIGHT" 60 > "$OUT/bootanimation/desc.txt" echo "$WIDTH $HEIGHT" 60 > "$OUT/bootanimation/desc.txt" cat "vendor/cm/bootanimation/desc.txt" >> "$OUT/bootanimation/desc.txt" # Create bootanimation.zip Loading