Home
last modified time | relevance | path

Searched refs:dataBuffer (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/graphics/java/android/renderscript/
DType.java182 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()
DElement.java793 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/
DETC1Util.java170 … 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/
DIDrmManagerService.cpp253 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/
DFontRenderer.cpp1024 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()