Searched refs:SkStream (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
D | ByteBufferStreamAdaptor.h | 7 class SkStream; variable 23 std::unique_ptr<SkStream> CreateByteBufferStreamAdaptor(JNIEnv*, jobject jbyteBuffer, 34 std::unique_ptr<SkStream> CreateByteArrayStreamAdaptor(JNIEnv*, jbyteArray array, size_t offset,
|
D | CreateJavaOutputStreamAdaptor.h | 8 class SkStream; variable 27 SkStream* CreateJavaInputStreamAdaptor(JNIEnv* env, jobject stream, jbyteArray storage,
|
D | Picture.h | 26 class SkStream; variable 50 static Picture* CreateFromStream(SkStream* stream);
|
D | ByteBufferStreamAdaptor.cpp | 291 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()
|
D | CreateJavaOutputStreamAdaptor.cpp | 18 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()
|
D | ImageDecoder.cpp | 83 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()
|
D | GIFMovie.cpp | 24 explicit GIFMovie(SkStream* stream); 41 SkStream* stream = (SkStream*) fileType->UserData; in Decode() 45 GIFMovie::GIFMovie(SkStream* stream) in GIFMovie()
|
D | Movie.cpp | 97 SkStream* strm = CreateJavaInputStreamAdaptor(env, istream, byteArray); in movie_decodeStream() 108 std::unique_ptr<SkStream>(strm), 6)); in movie_decodeStream()
|
D | MovieImpl.cpp | 92 std::unique_ptr<SkStreamRewindable> stream = SkStream::MakeFromFile(path); in DecodeFile()
|
D | Picture.cpp | 70 Picture* Picture::CreateFromStream(SkStream* stream) { in CreateFromStream()
|
D | BitmapFactory.cpp | 522 std::unique_ptr<SkStream> stream(CreateJavaInputStreamAdaptor(env, is, storage)); in nativeDecodeStream()
|
/frameworks/base/media/jni/ |
D | android_media_Streams.h | 35 SkStream *mStream; 39 explicit AssetStream(SkStream* stream); 54 SkStream *mStream; 62 explicit BufferedStream(SkStream* stream);
|
D | android_media_Streams.cpp | 31 AssetStream::AssetStream(SkStream* stream) in AssetStream() 54 BufferedStream::BufferedStream(SkStream* stream) in BufferedStream()
|
/frameworks/base/core/jni/ |
D | android_graphics_Picture.cpp | 36 SkStream* strm = CreateJavaInputStreamAdaptor(env, jstream, jstorage); in android_graphics_Picture_deserialize()
|