Home
last modified time | relevance | path

Searched refs:SkStream (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/libs/hwui/jni/
DByteBufferStreamAdaptor.h7 class SkStream; variable
23 std::unique_ptr<SkStream> CreateByteBufferStreamAdaptor(JNIEnv*, jobject jbyteBuffer,
34 std::unique_ptr<SkStream> CreateByteArrayStreamAdaptor(JNIEnv*, jbyteArray array, size_t offset,
DCreateJavaOutputStreamAdaptor.h8 class SkStream; variable
27 SkStream* CreateJavaInputStreamAdaptor(JNIEnv* env, jobject stream, jbyteArray storage,
DPicture.h26 class SkStream; variable
51 static Picture* CreateFromStream(SkStream* stream);
DByteBufferStreamAdaptor.cpp272 std::unique_ptr<SkStream> CreateByteBufferStreamAdaptor(JNIEnv* env, jobject jbyteBuffer, in CreateByteBufferStreamAdaptor()
295 return std::unique_ptr<SkStream>(new SkMemoryStream(std::move(data))); in CreateByteBufferStreamAdaptor()
299 return std::unique_ptr<SkStream>(ByteBufferStream::Create(jvm, env, jbyteBuffer, position, in CreateByteBufferStreamAdaptor()
303 std::unique_ptr<SkStream> CreateByteArrayStreamAdaptor(JNIEnv* env, jbyteArray array, size_t offset, in CreateByteArrayStreamAdaptor()
308 return std::unique_ptr<SkStream>(ByteArrayStream::Create(jvm, env, array, offset, length)); in CreateByteArrayStreamAdaptor()
DImageDecoder.cpp104 static jobject native_create(JNIEnv* env, std::unique_ptr<SkStream> stream, in native_create()
186 std::unique_ptr<SkStream> stream(CreateJavaInputStreamAdaptor(env, is, storage, false)); in ImageDecoder_nCreateInputStream()
193 std::unique_ptr<SkStream> bufferedStream( in ImageDecoder_nCreateInputStream()
201 std::unique_ptr<SkStream> stream(new AssetStreamAdaptor(asset)); in ImageDecoder_nCreateAsset()
208 std::unique_ptr<SkStream> stream = CreateByteBufferStreamAdaptor(env, jbyteBuffer, in ImageDecoder_nCreateByteBuffer()
220 std::unique_ptr<SkStream> stream(CreateByteArrayStreamAdaptor(env, byteArray, offset, length)); in ImageDecoder_nCreateByteArray()
DCreateJavaOutputStreamAdaptor.cpp19 class JavaInputStreamAdaptor : public SkStream {
175 SkStream* CreateJavaInputStreamAdaptor(JNIEnv* env, jobject stream, jbyteArray storage, in CreateJavaInputStreamAdaptor()
181 std::unique_ptr<SkStream> stream(CreateJavaInputStreamAdaptor(env, inputStream, storage)); in CopyJavaInputStream()
DGIFMovie.cpp26 explicit GIFMovie(SkStream* stream);
43 SkStream* stream = (SkStream*) fileType->UserData; in Decode()
47 GIFMovie::GIFMovie(SkStream* stream) in GIFMovie()
DMovie.cpp95 SkStream* strm = CreateJavaInputStreamAdaptor(env, istream, byteArray); in movie_decodeStream()
104 android::skia::FrontBufferedStream::Make(std::unique_ptr<SkStream>(strm), 6)); in movie_decodeStream()
DMovieImpl.cpp92 std::unique_ptr<SkStreamRewindable> stream = SkStream::MakeFromFile(path); in DecodeFile()
DPicture.cpp70 Picture* Picture::CreateFromStream(SkStream* stream) { in CreateFromStream()
Dandroid_graphics_Picture.cpp36 SkStream* strm = CreateJavaInputStreamAdaptor(env, jstream, jstorage); in android_graphics_Picture_deserialize()
DBitmapFactory.cpp514 std::unique_ptr<SkStream> stream(CreateJavaInputStreamAdaptor(env, is, storage)); in nativeDecodeStream()