summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2018-12-18 09:51:45 -0700
committerJeff Sharkey <jsharkey@android.com>2018-12-18 10:03:10 -0700
commit32f6c7c09755a9017de033a0a0cfe97182494d87 (patch)
tree571e3c9e8f77cdae9ef2e0d60b9d991bb67328d6 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentb0c363b21e2ab5bc8bc2f153442ce0e79f6011d7 (diff)
Improve thumbnail generation utilities.
The existing APIs were pretty limited by only accepting a "kind" value, so improve them to accept an arbitrary size, and offer a way to cancel requests when no longer needed. The older APIs were a mix of both public and @UnsupportedAppUsage, so mark them all both public and deprecated so we can clearly steer developers towards better options. (The deprecated methods are implemented using the new APIs internally for sanity.) Use modern ImageDecode internally, which is more robust than BitmapFactory. Add CTS to confirm that we generate thumbnails of reasonable sizes. Bug: 119887587 Test: atest android.media.cts.ThumbnailUtilsTest Change-Id: I4ca35569ad5c661b327a0cb24a48ebc21f6087b7
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions