Home
last modified time | relevance | path

Searched refs:jbyteBuffer (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/jni/
DByteBufferStreamAdaptor.cpp14 ByteBufferStream(JavaVM* jvm, jobject jbyteBuffer, size_t initialPosition, size_t length, in ByteBufferStream() argument
17 , mByteBuffer(jbyteBuffer) in ByteBufferStream()
24 static ByteBufferStream* Create(JavaVM* jvm, JNIEnv* env, jobject jbyteBuffer, in Create() argument
27 jbyteBuffer = env->NewGlobalRef(jbyteBuffer); in Create()
28 if (!jbyteBuffer) { in Create()
34 env->DeleteGlobalRef(jbyteBuffer); in Create()
41 env->DeleteGlobalRef(jbyteBuffer); in Create()
45 return new ByteBufferStream(jvm, jbyteBuffer, position, length, storage); in Create()
269 jobject jbyteBuffer; member
272 std::unique_ptr<SkStream> CreateByteBufferStreamAdaptor(JNIEnv* env, jobject jbyteBuffer, in CreateByteBufferStreamAdaptor() argument
[all …]
DByteBufferStreamAdaptor.h23 std::unique_ptr<SkStream> CreateByteBufferStreamAdaptor(JNIEnv*, jobject jbyteBuffer,
DImageDecoder.cpp203 jobject jbyteBuffer, jint initialPosition, jint limit, in ImageDecoder_nCreateByteBuffer() argument
205 std::unique_ptr<SkStream> stream = CreateByteBufferStreamAdaptor(env, jbyteBuffer, in ImageDecoder_nCreateByteBuffer()