Searched refs:SkMemoryStream (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/libs/hwui/jni/ |
D | BitmapRegionDecoder.cpp | 58 std::unique_ptr<SkMemoryStream> stream(new SkMemoryStream(ar.ptr() + offset, length, true)); in nativeNewInstanceFromByteArray() 78 std::unique_ptr<SkMemoryStream> stream(new SkMemoryStream(std::move(data))); in nativeNewInstanceFromFileDescriptor() 104 std::unique_ptr<SkMemoryStream> stream(CopyAssetToStream(asset)); in nativeNewInstanceFromAsset()
|
D | Utils.cpp | 117 SkMemoryStream* android::CopyAssetToStream(Asset* asset) { in CopyAssetToStream() 141 return new SkMemoryStream(std::move(data)); in CopyAssetToStream()
|
D | CreateJavaOutputStreamAdaptor.h | 6 class SkMemoryStream; variable
|
D | CreateJavaOutputStreamAdaptor.cpp | 180 static SkMemoryStream* adaptor_to_mem_stream(SkStream* stream) { in adaptor_to_mem_stream() 197 SkMemoryStream* streamMem = new SkMemoryStream(); in adaptor_to_mem_stream()
|
D | Utils.h | 54 SkMemoryStream* CopyAssetToStream(Asset*);
|
D | MovieImpl.cpp | 87 SkMemoryStream stream(data, length, false); in DecodeMemory()
|
D | FontFamily.cpp | 114 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(std::move(data))); in addSkTypeface()
|
D | ByteBufferStreamAdaptor.cpp | 295 return std::unique_ptr<SkStream>(new SkMemoryStream(std::move(data))); in CreateByteBufferStreamAdaptor()
|
D | BitmapFactory.cpp | 590 return doDecode(env, std::make_unique<SkMemoryStream>(ar.ptr() + offset, length, false), in nativeDecodeByteArray()
|
/frameworks/base/libs/hwui/jni/fonts/ |
D | Font.cpp | 101 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(std::move(data))); in Font_Builder_build()
|
/frameworks/base/libs/hwui/hwui/ |
D | Typeface.cpp | 184 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(data, st.st_size)); in setRobotoTypefaceForTest()
|
/frameworks/base/native/graphics/jni/ |
D | imagedecoder.cpp | 137 new SkMemoryStream(buffer, length, false /* copyData */)); in AImageDecoder_createFromBuffer()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 53 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(skData)); in buildFamily()
|