Home
last modified time | relevance | path

Searched refs:SkMemoryStream (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/libs/hwui/jni/
DBitmapRegionDecoder.cpp58 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()
DUtils.cpp117 SkMemoryStream* android::CopyAssetToStream(Asset* asset) { in CopyAssetToStream()
141 return new SkMemoryStream(std::move(data)); in CopyAssetToStream()
DCreateJavaOutputStreamAdaptor.h6 class SkMemoryStream; variable
DCreateJavaOutputStreamAdaptor.cpp180 static SkMemoryStream* adaptor_to_mem_stream(SkStream* stream) { in adaptor_to_mem_stream()
197 SkMemoryStream* streamMem = new SkMemoryStream(); in adaptor_to_mem_stream()
DUtils.h54 SkMemoryStream* CopyAssetToStream(Asset*);
DMovieImpl.cpp87 SkMemoryStream stream(data, length, false); in DecodeMemory()
DFontFamily.cpp114 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(std::move(data))); in addSkTypeface()
DByteBufferStreamAdaptor.cpp295 return std::unique_ptr<SkStream>(new SkMemoryStream(std::move(data))); in CreateByteBufferStreamAdaptor()
DBitmapFactory.cpp590 return doDecode(env, std::make_unique<SkMemoryStream>(ar.ptr() + offset, length, false), in nativeDecodeByteArray()
/frameworks/base/libs/hwui/jni/fonts/
DFont.cpp101 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(std::move(data))); in Font_Builder_build()
/frameworks/base/libs/hwui/hwui/
DTypeface.cpp184 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(data, st.st_size)); in setRobotoTypefaceForTest()
/frameworks/base/native/graphics/jni/
Dimagedecoder.cpp137 new SkMemoryStream(buffer, length, false /* copyData */)); in AImageDecoder_createFromBuffer()
/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp53 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(skData)); in buildFamily()