Searched refs:byteBuffer (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DInputStreamSource.java65 ByteBuffer byteBuffer = null;
76 byteBuffer = ByteBuffer.wrap(byteStream.toByteArray());
85 output.setData(byteBuffer);
/frameworks/base/media/java/android/media/videoeditor/
H A DTransitionAlpha.java126 ByteBuffer byteBuffer = ByteBuffer.allocate(framingBuffer.length * 4);
129 byte[] array = byteBuffer.array();
133 intBuffer = byteBuffer.asIntBuffer();
H A DOverlayFrame.java444 ByteBuffer byteBuffer = ByteBuffer.allocate(framingBuffer.length * 4);
447 byte[] array = byteBuffer.array();
451 intBuffer = byteBuffer.asIntBuffer();
H A DMediaItem.java768 ByteBuffer byteBuffer = ByteBuffer.allocate(framingBuffer.length * 4);
771 byte[] array = byteBuffer.array();
774 intBuffer = byteBuffer.asIntBuffer();
H A DMediaImageItem.java185 final ByteBuffer byteBuffer = ByteBuffer.allocate(framingBuffer.length * 4);
187 final byte[] array = byteBuffer.array();
192 intBuffer = byteBuffer.asIntBuffer();
/frameworks/base/core/jni/
H A Dandroid_net_LocalSocketImpl.cpp692 jbyte* byteBuffer; local
716 byteBuffer = env->GetByteArrayElements(buffer, NULL);
718 if (NULL == byteBuffer) {
724 fd, byteBuffer + off, len);
728 env->ReleaseByteArrayElements(buffer, byteBuffer, 0);
760 jbyte* byteBuffer; local
778 byteBuffer = env->GetByteArrayElements(buffer,NULL);
780 if (NULL == byteBuffer) {
786 byteBuffer + off, len);
790 env->ReleaseByteArrayElements(buffer, byteBuffer, JNI_ABOR
[all...]
/frameworks/native/libs/utils/
H A DBlobCache.cpp202 uint8_t* byteBuffer = reinterpret_cast<uint8_t*>(buffer); local
218 &byteBuffer[byteOffset]);
258 const uint8_t* byteBuffer = reinterpret_cast<const uint8_t*>(buffer); local
269 &byteBuffer[byteOffset]);
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp244 jobject byteBuffer = local
250 byteBuffer, orderID, nativeByteOrderObj);
255 *bufArray, i, byteBuffer);
257 env->DeleteLocalRef(byteBuffer);
258 byteBuffer = NULL;
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardUtils.java817 final ByteBuffer byteBuffer = charset.encode(originalString);
818 // byteBuffer.array() "may" return byte array which is larger than
819 // byteBuffer.remaining(). Here, we keep on the safe side.
820 final byte[] bytes = new byte[byteBuffer.remaining()];
821 byteBuffer.get(bytes);
/frameworks/base/opengl/java/android/opengl/
H A DGLLogWrapper.java1030 ByteBuffer byteBuffer = toByteBuffer(count, indices);
1031 byte[] array = byteBuffer.array();
1032 int offset = byteBuffer.arrayOffset();
1043 ByteBuffer byteBuffer = toByteBuffer(count * 2, indices);
1044 charBuffer = byteBuffer.asCharBuffer();
1077 ByteBuffer byteBuffer = pointer.mTempByteBuffer;
1088 byte d = byteBuffer.get(byteOffset);
1093 byte d = byteBuffer.get(byteOffset);
1098 ShortBuffer shortBuffer = byteBuffer.asShortBuffer();
1104 IntBuffer intBuffer = byteBuffer
[all...]

Completed in 99 milliseconds