Searched refs:AssetStreamAdaptor (Results 1 – 5 of 5) sorted by relevance
27 AssetStreamAdaptor::AssetStreamAdaptor(Asset* asset) in AssetStreamAdaptor() function in AssetStreamAdaptor32 bool AssetStreamAdaptor::rewind() { in rewind()41 size_t AssetStreamAdaptor::getLength() const { in getLength()45 bool AssetStreamAdaptor::isAtEnd() const { in isAtEnd()49 SkStreamRewindable* AssetStreamAdaptor::onDuplicate() const { in onDuplicate()56 bool AssetStreamAdaptor::hasPosition() const { in hasPosition()60 size_t AssetStreamAdaptor::getPosition() const { in getPosition()70 bool AssetStreamAdaptor::seek(size_t position) { in seek()79 bool AssetStreamAdaptor::move(long offset) { in move()88 size_t AssetStreamAdaptor::read(void* buffer, size_t size) { in read()
30 class AssetStreamAdaptor : public SkStreamRewindable {32 explicit AssetStreamAdaptor(Asset*);
84 android::AssetStreamAdaptor stream(asset); in movie_decodeAsset()
213 std::unique_ptr<SkStream> stream(new AssetStreamAdaptor(asset)); in ImageDecoder_nCreateAsset()
749 return doDecode(env, std::make_unique<AssetStreamAdaptor>(asset), padding, options, in nativeDecodeAsset()