Searched refs:dataBuffer (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/graphics/java/android/renderscript/ |
D | Type.java | 182 int[] dataBuffer = new int[6]; in updateFromNative() local 183 mRS.nTypeGetNativeData(getID(mRS), dataBuffer); in updateFromNative() local 185 mDimX = dataBuffer[0]; in updateFromNative() 186 mDimY = dataBuffer[1]; in updateFromNative() 187 mDimZ = dataBuffer[2]; in updateFromNative() 188 mDimMipmaps = dataBuffer[3] == 1 ? true : false; in updateFromNative() 189 mDimFaces = dataBuffer[4] == 1 ? true : false; in updateFromNative() 191 int elementID = dataBuffer[5]; in updateFromNative()
|
D | Element.java | 793 int[] dataBuffer = new int[5]; in updateFromNative() local 794 mRS.nElementGetNativeData(getID(mRS), dataBuffer); in updateFromNative() local 796 mNormalized = dataBuffer[2] == 1 ? true : false; in updateFromNative() 797 mVectorSize = dataBuffer[3]; in updateFromNative() 800 if(dt.mID == dataBuffer[0]){ in updateFromNative() 806 if(dk.mID == dataBuffer[1]){ in updateFromNative() 811 int numSubElements = dataBuffer[4]; in updateFromNative()
|
/frameworks/base/opengl/java/android/opengl/ |
D | ETC1Util.java | 170 … ByteBuffer dataBuffer = ByteBuffer.allocateDirect(encodedSize).order(ByteOrder.nativeOrder()); in createTexture() local 176 dataBuffer.put(ioBuffer, 0, chunkSize); in createTexture() 179 dataBuffer.position(0); in createTexture() 180 return new ETC1Texture(width, height, dataBuffer); in createTexture() 207 ByteBuffer dataBuffer = texture.getData(); in writeTexture() local 208 int originalPosition = dataBuffer.position(); in writeTexture() 220 dataBuffer.get(ioBuffer, 0, chunkSize); in writeTexture() 225 dataBuffer.position(originalPosition); in writeTexture()
|
/frameworks/av/drm/common/ |
D | IDrmManagerService.cpp | 253 const DrmBuffer dataBuffer = drmInfo->getData(); in processDrmInfo() local 254 const int dataBufferSize = dataBuffer.length; in processDrmInfo() 257 data.write(dataBuffer.data, dataBufferSize); in processDrmInfo() 351 const DrmBuffer dataBuffer = drmRights.getData(); in saveRights() local 352 data.writeInt32(dataBuffer.length); in saveRights() 353 data.write(dataBuffer.data, dataBuffer.length); in saveRights()
|
/frameworks/base/libs/hwui/ |
D | FontRenderer.cpp | 1024 uint8_t* dataBuffer = new uint8_t[paddedWidth * paddedHeight]; in renderDropShadow() local 1027 dataBuffer[i] = 0; in renderDropShadow() 1034 dataBuffer, paddedWidth, paddedHeight); in renderDropShadow() 1035 blurImage(dataBuffer, paddedWidth, paddedHeight, radius); in renderDropShadow() 1040 image.image = dataBuffer; in renderDropShadow()
|