summaryrefslogtreecommitdiff
path: root/libs/input/KeyCharacterMap.cpp
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2020-01-15 15:32:59 -0500
committer Leon Scroggins III <scroggo@google.com> 2020-01-21 19:11:08 -0500
commit20d480ce9c6bfdd54d2b1e5e34306744968a4f37 (patch)
tree5430b564fb2b222c5036b9ec7967185143bd3dd2 /libs/input/KeyCharacterMap.cpp
parent46bb0aec07de33d13c545c39f5e2720450a50731 (diff)
Add AImageDecoder HeaderInfo_get/_setDataSpace
Bug: 135133301 Test: Iffe659e50078139188c3325545624640ae177cc2 Default to ADATASPACE_UNKNOWN for images that do not have a matching ADataSpace. This matches the behavior of android.graphics.ImageDecoder and BitmapFactory, which would use an "Unknown" ColorSpace for the same images. It also means that a client who knows the true underlying profile information to treat it as if it came from that profile. Further, it means that if we add more ADataSpace values in the future, the decode will be unchanged. A client can still choose to use a known ADataSpace using _setDataSpace. Change-Id: Id3ecf3bab17e4905fb2b75410ec756233d600c97
Diffstat (limited to 'libs/input/KeyCharacterMap.cpp')
0 files changed, 0 insertions, 0 deletions