Home
last modified time | relevance | path

Searched refs:AssetStreamAdaptor (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DUtils.cpp22 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()
DUtils.h29 class AssetStreamAdaptor : public SkStreamRewindable {
45 AssetStreamAdaptor(Asset*, OwnAsset, HasMemoryBase);
46 ~AssetStreamAdaptor();
DTypeface.cpp95 SkStream* stream = new AssetStreamAdaptor(asset, in Typeface_createFromAsset()
96 AssetStreamAdaptor::kYes_OwnAsset, in Typeface_createFromAsset()
97 AssetStreamAdaptor::kYes_HasMemoryBase); in Typeface_createFromAsset()
DMovie.cpp88 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()
DBitmapFactory.cpp585 stream = new AssetStreamAdaptor(asset, in nativeDecodeAsset()
586 AssetStreamAdaptor::kNo_OwnAsset, in nativeDecodeAsset()
587 AssetStreamAdaptor::kNo_HasMemoryBase); in nativeDecodeAsset()