-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a DrawableTransformation that runs wrapped BitmapTransformations.
The transformation uses the same logic used by the ResourceBitmapDecoder to try to convert non-Bitmap Drawables to BitmapDrawables. Exceptions are thrown that will cause the load to fail if the conversion can’t happen. The primary benefit of this approach is that transformations work similarly for the non-Bitmap Drawables that we’re now decoding. Unfortunately this isn’t a super efficient process, so hopefully it’s rare.
- Loading branch information
Showing
10 changed files
with
459 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.