summaryrefslogtreecommitdiff
path: root/libs/input/InputWindow.cpp
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2020-10-13 11:30:11 -0400
committer Leon Scroggins III <scroggo@google.com> 2021-01-05 12:37:22 -0500
commit5528700001e411698cbf95e72ab69411e8705309 (patch)
tree4895c304284ef173ba2407530c5d53bffeecb796 /libs/input/InputWindow.cpp
parent3b3700edf4cd5d1eab7cf3de2cd332b2f903258e (diff)
Add AImageDecoder _advanceFrame and _rewind
Bug: 160984428 Test: Iae7d274b69999c471fd5610c6ef4d148cca81bec These enable decoding all frames of an animated image (e.g. GIF). Also add ANDROID_IMAGE_DECODER_FINISHED, which can be returned by AImageDecoder_decodeImage or AImageDecoder_advanceFrame when the end of the animation has been reached. Disallow AImageDecoder_set* methods after the first frame, since changing the settings would interfere with blending and caching for kRestorePrevious frames. Specify that a single frame GIF is not animated. Change-Id: I6a0738d2e8ed27062c86d7b6dce37d54425552f2
Diffstat (limited to 'libs/input/InputWindow.cpp')
0 files changed, 0 insertions, 0 deletions