OSDN Git Service

Support trimmed images in BootAnimation
authorGeoffrey Pitsch <gpitsch@google.com>
Mon, 27 Jun 2016 21:14:30 +0000 (17:14 -0400)
committerGeoffrey Pitsch <gpitsch@google.com>
Wed, 29 Jun 2016 13:35:21 +0000 (09:35 -0400)
commitdd214a796f8b97070645226d6a61f8651f9e13a0
treef71f1440203bdf1c2c98c13f08c462d3175f4549
parent0e792f567ac1b37a75e94e1ff1017f2f152494ef
Support trimmed images in BootAnimation

Each frame directory may optionally contain a `trim.txt` to specify
how the image was trimmed relative to the animation's full size.
See FORMAT.md for more details.

Bug: 29055299
Change-Id: I7a291e9a52b4bbe50a29c519f6a4d0e2cc0389d7
cmds/bootanimation/BootAnimation.cpp
cmds/bootanimation/BootAnimation.h
cmds/bootanimation/FORMAT.md [new file with mode: 0644]