Searched refs:SkStream (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/libs/hwui/jni/ |
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 51 static Picture* CreateFromStream(SkStream* stream);
|
D | ByteBufferStreamAdaptor.cpp | 272 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()
|
D | ImageDecoder.cpp | 104 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()
|
D | CreateJavaOutputStreamAdaptor.cpp | 19 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()
|
D | GIFMovie.cpp | 26 explicit GIFMovie(SkStream* stream); 43 SkStream* stream = (SkStream*) fileType->UserData; in Decode() 47 GIFMovie::GIFMovie(SkStream* stream) in GIFMovie()
|
D | Movie.cpp | 95 SkStream* strm = CreateJavaInputStreamAdaptor(env, istream, byteArray); in movie_decodeStream() 104 android::skia::FrontBufferedStream::Make(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 | android_graphics_Picture.cpp | 36 SkStream* strm = CreateJavaInputStreamAdaptor(env, jstream, jstorage); in android_graphics_Picture_deserialize()
|
D | BitmapFactory.cpp | 514 std::unique_ptr<SkStream> stream(CreateJavaInputStreamAdaptor(env, is, storage)); in nativeDecodeStream()
|