summaryrefslogtreecommitdiffstats
path: root/core/java/android/transition/TransitionSet.java
diff options
context:
space:
mode:
authorBen Wagner <bungeman@google.com>2015-01-12 14:26:14 -0500
committerBen Wagner <bungeman@google.com>2015-01-12 15:19:18 -0500
commitf462c2491bae67815ae9e4a2ff7ce77db97b49c6 (patch)
tree56d010a882738c3e107230ae0971deec429077c0 /core/java/android/transition/TransitionSet.java
parent91a9bfc346848359d4946ac970748b48454ece32 (diff)
downloadframeworks_base-f462c2491bae67815ae9e4a2ff7ce77db97b49c6.zip
frameworks_base-f462c2491bae67815ae9e4a2ff7ce77db97b49c6.tar.gz
frameworks_base-f462c2491bae67815ae9e4a2ff7ce77db97b49c6.tar.bz2
Use at least SkStreamAsset for SkTypefaces.
The existing AssetStreamAdapter is only SkStreamRewindable, and does not support 'duplicate'. This is needed in order for SkTypeface to be used properly. Also, SkTypeface is moving to require SkStreamAsset for creating typefaces for performance and code reasons. In the previous code, Asset::getBuffer is called on creation of the typeface, so do so explicitly and manage the memory directly. This also prevents additional copies being made of the asset data. BUG: 18867034 Change-Id: I458a8ec024efefb761138178b87b88b48cb4a773
Diffstat (limited to 'core/java/android/transition/TransitionSet.java')
0 files changed, 0 insertions, 0 deletions