Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
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
50 static Picture* CreateFromStream(SkStream* stream);
DByteBufferStreamAdaptor.cpp291 std::unique_ptr<SkStream> CreateByteBufferStreamAdaptor(JNIEnv* env, jobject jbyteBuffer, in CreateByteBufferStreamAdaptor()
314 return std::unique_ptr<SkStream>(new SkMemoryStream(std::move(data))); in CreateByteBufferStreamAdaptor()
318 return std::unique_ptr<SkStream>(ByteBufferStream::Create(jvm, env, jbyteBuffer, position, in CreateByteBufferStreamAdaptor()
322 std::unique_ptr<SkStream> CreateByteArrayStreamAdaptor(JNIEnv* env, jbyteArray array, size_t offset, in CreateByteArrayStreamAdaptor()
327 return std::unique_ptr<SkStream>(ByteArrayStream::Create(jvm, env, array, offset, length)); in CreateByteArrayStreamAdaptor()
DCreateJavaOutputStreamAdaptor.cpp18 class JavaInputStreamAdaptor : public SkStream {
174 SkStream* CreateJavaInputStreamAdaptor(JNIEnv* env, jobject stream, jbyteArray storage, in CreateJavaInputStreamAdaptor()
179 static SkMemoryStream* adaptor_to_mem_stream(SkStream* stream) { in adaptor_to_mem_stream()
203 std::unique_ptr<SkStream> adaptor(CreateJavaInputStreamAdaptor(env, stream, storage)); in CopyJavaInputStream()
DImageDecoder.cpp83 static jobject native_create(JNIEnv* env, std::unique_ptr<SkStream> stream, jobject source) { in native_create()
152 std::unique_ptr<SkStream> stream(CreateJavaInputStreamAdaptor(env, is, storage, false)); in ImageDecoder_nCreateInputStream()
159 std::unique_ptr<SkStream> bufferedStream( in ImageDecoder_nCreateInputStream()
168 std::unique_ptr<SkStream> stream(new AssetStreamAdaptor(asset)); in ImageDecoder_nCreateAsset()
174 std::unique_ptr<SkStream> stream = CreateByteBufferStreamAdaptor(env, jbyteBuffer, in ImageDecoder_nCreateByteBuffer()
185 std::unique_ptr<SkStream> stream(CreateByteArrayStreamAdaptor(env, byteArray, offset, length)); in ImageDecoder_nCreateByteArray()
DGIFMovie.cpp24 explicit GIFMovie(SkStream* stream);
41 SkStream* stream = (SkStream*) fileType->UserData; in Decode()
45 GIFMovie::GIFMovie(SkStream* stream) in GIFMovie()
DMovie.cpp97 SkStream* strm = CreateJavaInputStreamAdaptor(env, istream, byteArray); in movie_decodeStream()
108 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()
DBitmapFactory.cpp522 std::unique_ptr<SkStream> stream(CreateJavaInputStreamAdaptor(env, is, storage)); in nativeDecodeStream()
/frameworks/base/media/jni/
Dandroid_media_Streams.h35 SkStream *mStream;
39 explicit AssetStream(SkStream* stream);
54 SkStream *mStream;
62 explicit BufferedStream(SkStream* stream);
Dandroid_media_Streams.cpp31 AssetStream::AssetStream(SkStream* stream) in AssetStream()
54 BufferedStream::BufferedStream(SkStream* stream) in BufferedStream()
/frameworks/base/core/jni/
Dandroid_graphics_Picture.cpp36 SkStream* strm = CreateJavaInputStreamAdaptor(env, jstream, jstorage); in android_graphics_Picture_deserialize()