Searched refs:AssetStreamAdaptor (Results 1 – 5 of 5) sorted by relevance
23 AssetStreamAdaptor::AssetStreamAdaptor(Asset* asset) in AssetStreamAdaptor() function in AssetStreamAdaptor28 bool AssetStreamAdaptor::rewind() { in rewind()37 size_t AssetStreamAdaptor::getLength() const { in getLength()41 bool AssetStreamAdaptor::isAtEnd() const { in isAtEnd()45 SkStreamRewindable* AssetStreamAdaptor::onDuplicate() const { in onDuplicate()52 bool AssetStreamAdaptor::hasPosition() const { in hasPosition()56 size_t AssetStreamAdaptor::getPosition() const { in getPosition()66 bool AssetStreamAdaptor::seek(size_t position) { in seek()75 bool AssetStreamAdaptor::move(long offset) { in move()84 size_t AssetStreamAdaptor::read(void* buffer, size_t size) { in read()
29 class AssetStreamAdaptor : public SkStreamRewindable {31 explicit AssetStreamAdaptor(Asset*);
86 android::AssetStreamAdaptor stream(asset); in movie_decodeAsset()
591 return doDecode(env, skstd::make_unique<AssetStreamAdaptor>(asset), padding, options, in nativeDecodeAsset()
168 std::unique_ptr<SkStream> stream(new AssetStreamAdaptor(asset)); in ImageDecoder_nCreateAsset()