Searched refs:dataBuffer (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/rs/java/android/renderscript/ |
D | Type.java | 195 long[] dataBuffer = new long[6]; in updateFromNative() local 196 mRS.nTypeGetNativeData(getID(mRS), dataBuffer); in updateFromNative() local 198 mDimX = (int)dataBuffer[0]; in updateFromNative() 199 mDimY = (int)dataBuffer[1]; in updateFromNative() 200 mDimZ = (int)dataBuffer[2]; in updateFromNative() 201 mDimMipmaps = dataBuffer[3] == 1 ? true : false; in updateFromNative() 202 mDimFaces = dataBuffer[4] == 1 ? true : false; in updateFromNative() 204 long elementID = dataBuffer[5]; in updateFromNative()
|
D | Element.java | 812 int[] dataBuffer = new int[5]; in updateFromNative() local 813 mRS.nElementGetNativeData(getID(mRS), dataBuffer); in updateFromNative() local 815 mNormalized = dataBuffer[2] == 1 ? true : false; in updateFromNative() 816 mVectorSize = dataBuffer[3]; in updateFromNative() 819 if(dt.mID == dataBuffer[0]){ in updateFromNative() 825 if(dk.mID == dataBuffer[1]){ in updateFromNative() 830 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/base/tools/layoutlib/bridge/src/android/view/ |
D | ShadowPainter.java | 98 int[] dataBuffer = ((DataBufferInt) image.getRaster().getDataBuffer()).getData(); in createDropShadow() local 107 int a = dataBuffer[bufferOffset] >>> 24; in createDropShadow() 116 dataBuffer[bufferOffset] = a << 24 | shadowRgb; in createDropShadow() 122 a = dataBuffer[bufferOffset + right] >>> 24; in createDropShadow() 136 int a = dataBuffer[bufferOffset] >>> 24; in createDropShadow() 145 dataBuffer[bufferOffset] = a << 24 | shadowRgb; in createDropShadow() 151 a = dataBuffer[bufferOffset + lastPixelOffset] >>> 24; in createDropShadow()
|
/frameworks/base/libs/hwui/ |
D | FontRenderer.cpp | 631 uint8_t* dataBuffer = (uint8_t*) memalign(RS_CPU_ALLOCATION_ALIGNMENT, size); in renderDropShadow() local 634 uint8_t* dataBuffer = (uint8_t*) malloc(size); in renderDropShadow() local 637 memset(dataBuffer, 0, size); in renderDropShadow() 647 Font::BITMAP, dataBuffer, paddedWidth, paddedHeight, NULL, positions); in renderDropShadow() 652 blurImage(&dataBuffer, paddedWidth, paddedHeight, radius); in renderDropShadow() 657 image.image = dataBuffer; in renderDropShadow()
|
/frameworks/av/drm/common/ |
D | IDrmManagerService.cpp | 243 const DrmBuffer dataBuffer = drmInfo->getData(); in processDrmInfo() local 244 const int dataBufferSize = dataBuffer.length; in processDrmInfo() 247 data.write(dataBuffer.data, dataBufferSize); in processDrmInfo() 347 const DrmBuffer dataBuffer = drmRights.getData(); in saveRights() local 348 data.writeInt32(dataBuffer.length); in saveRights() 349 data.write(dataBuffer.data, dataBuffer.length); in saveRights()
|