Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DUtils.cpp27 AssetStreamAdaptor::AssetStreamAdaptor(Asset* asset) in AssetStreamAdaptor() function in AssetStreamAdaptor
32 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()
DUtils.h30 class AssetStreamAdaptor : public SkStreamRewindable {
32 explicit AssetStreamAdaptor(Asset*);
DMovie.cpp84 android::AssetStreamAdaptor stream(asset); in movie_decodeAsset()
DImageDecoder.cpp213 std::unique_ptr<SkStream> stream(new AssetStreamAdaptor(asset)); in ImageDecoder_nCreateAsset()
DBitmapFactory.cpp749 return doDecode(env, std::make_unique<AssetStreamAdaptor>(asset), padding, options, in nativeDecodeAsset()