Searched refs:AssetStreamAdaptor (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
D | Utils.cpp | 22 AssetStreamAdaptor::AssetStreamAdaptor(Asset* asset, OwnAsset ownAsset, in AssetStreamAdaptor() function in AssetStreamAdaptor 31 AssetStreamAdaptor::~AssetStreamAdaptor() { in ~AssetStreamAdaptor() 37 bool AssetStreamAdaptor::rewind() { in rewind() 46 size_t AssetStreamAdaptor::getLength() const { in getLength() 50 bool AssetStreamAdaptor::isAtEnd() const { in isAtEnd() 54 SkStreamRewindable* AssetStreamAdaptor::duplicate() const { in duplicate() 62 size_t AssetStreamAdaptor::read(void* buffer, size_t size) { in read()
|
D | Utils.h | 29 class AssetStreamAdaptor : public SkStreamRewindable { 45 AssetStreamAdaptor(Asset*, OwnAsset, HasMemoryBase); 46 ~AssetStreamAdaptor();
|
D | Typeface.cpp | 95 SkStream* stream = new AssetStreamAdaptor(asset, in Typeface_createFromAsset() 96 AssetStreamAdaptor::kYes_OwnAsset, in Typeface_createFromAsset() 97 AssetStreamAdaptor::kYes_HasMemoryBase); in Typeface_createFromAsset()
|
D | Movie.cpp | 88 SkAutoTUnref<SkStreamRewindable> stream (new android::AssetStreamAdaptor(asset, in movie_decodeAsset() 89 android::AssetStreamAdaptor::kNo_OwnAsset, in movie_decodeAsset() 90 android::AssetStreamAdaptor::kNo_HasMemoryBase)); in movie_decodeAsset()
|
D | BitmapFactory.cpp | 585 stream = new AssetStreamAdaptor(asset, in nativeDecodeAsset() 586 AssetStreamAdaptor::kNo_OwnAsset, in nativeDecodeAsset() 587 AssetStreamAdaptor::kNo_HasMemoryBase); in nativeDecodeAsset()
|