Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DUtils.cpp23 AssetStreamAdaptor::AssetStreamAdaptor(Asset* asset) in AssetStreamAdaptor() function in AssetStreamAdaptor
28 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()
DUtils.h29 class AssetStreamAdaptor : public SkStreamRewindable {
31 explicit AssetStreamAdaptor(Asset*);
DMovie.cpp86 android::AssetStreamAdaptor stream(asset); in movie_decodeAsset()
DBitmapFactory.cpp591 return doDecode(env, skstd::make_unique<AssetStreamAdaptor>(asset), padding, options, in nativeDecodeAsset()
DImageDecoder.cpp168 std::unique_ptr<SkStream> stream(new AssetStreamAdaptor(asset)); in ImageDecoder_nCreateAsset()