Searched refs:xBytesSize (Results 1 - 7 of 7) sorted by relevance

/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocation.java526 int xBytesSize = mType.getX() * mType.getElement().getBytesSize();
536 data = new byte[xBytesSize * mType.getY()];
538 Element.DataType.SIGNED_8, xBytesSize * mType.getY());
541 data = new byte[xBytesSize];
545 mByteBufferStride = xBytesSize;
550 mByteBuffer = mRS.nAllocationGetByteBuffer(getID(mRS), xBytesSize, mType.getY(), mType.getZ());
H A DScript.java50 int xBytesSize = inType.getX() * inType.getElement().getBytesSize();
51 dummyAlloc = mRS.nIncAllocationCreateTyped(ain.getID(mRS), dInType, xBytesSize);
H A DRenderScript.java438 native ByteBuffer rsnAllocationGetByteBuffer(long con, long alloc, int xBytesSize, int dimY, int dimZ); argument
439 synchronized ByteBuffer nAllocationGetByteBuffer(long alloc, int xBytesSize, int dimY, int dimZ) { argument
441 return rsnAllocationGetByteBuffer(mContext, alloc, xBytesSize, dimY, dimZ);
1027 native long rsnIncAllocationCreateTyped(long con, long incCon, long alloc, long type, int xBytesSize); argument
1028 synchronized long nIncAllocationCreateTyped(long alloc, long type, int xBytesSize) { argument
1030 return rsnIncAllocationCreateTyped(mContext, mIncCon, alloc, type, xBytesSize);
/frameworks/base/rs/java/android/renderscript/
H A DRenderScript.java486 native ByteBuffer rsnAllocationGetByteBuffer(long con, long alloc, long[] stride, int xBytesSize, int dimY, int dimZ); argument
487 synchronized ByteBuffer nAllocationGetByteBuffer(long alloc, long[] stride, int xBytesSize, int dimY, int dimZ) { argument
489 return rsnAllocationGetByteBuffer(mContext, alloc, stride, xBytesSize, dimY, dimZ);
H A DAllocation.java2862 int xBytesSize = mType.getX() * mType.getElement().getBytesSize();
2864 mByteBuffer = mRS.nAllocationGetByteBuffer(getID(mRS), stride, xBytesSize, mType.getY(), mType.getZ());
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp2190 nIncAllocationCreateTyped(JNIEnv *_env, jobject _this, jlong con, jlong incCon, jlong alloc, jlong type, jint xBytesSize) argument
2202 * By definition stride is a roundup of xBytesSize with requiredAlignment, so requiredAlignment must
2203 * be strictly larger than the difference of (stride - xBytesSize).
2213 size_t minRequiredAlignment = strideIn - xBytesSize;
2226 nAllocationGetByteBuffer(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xBytesSize, jint dimY, jint dimZ) argument
2229 size_t strideIn = xBytesSize;
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp2765 jlongArray strideArr, jint xBytesSize,
2777 size_t strideIn = xBytesSize;
2764 nAllocationGetByteBuffer(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jlongArray strideArr, jint xBytesSize, jint dimY, jint dimZ) argument

Completed in 184 milliseconds