commit | eb3b38e22cb29c6a7fccb7031263f50663cc76d0 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Tue Mar 20 11:11:13 2018 -0400 |
committer | Leon Scroggins III <scroggo@google.com> | Wed Mar 21 09:28:00 2018 -0400 |
tree | 020068ada31d756c10864558c63da49f37a8fe10 | |
parent | bf190fd9641cd3ad76bc7bb289b4a3de83d0335a [diff] |
Report native allocation size of AnimatedImageDrawable Bug: 73641604 Test: infeasible Fix nNativeByteSize's return value to be jlong, instead of long. Add up the bytes used by the SkAnimatedImage and SkPictures and store them on the AnimatedImageDrawable for registration. Note that this is an approximation, and it assumes it will be drawn to a hardware canvas and animated.