/frameworks/rs/cpp/ |
D | Type.cpp | 93 uintptr_t dataBuffer[6]; in updateFromNative() local 94 RS::dispatch->TypeGetNativeData(mRS->getContext(), getID(), dataBuffer, 6); in updateFromNative() 96 mDimX = (uint32_t)dataBuffer[0]; in updateFromNative() 97 mDimY = (uint32_t)dataBuffer[1]; in updateFromNative() 98 mDimZ = (uint32_t)dataBuffer[2]; in updateFromNative() 99 mDimMipmaps = dataBuffer[3] == 1 ? true : false; in updateFromNative() 100 mDimFaces = dataBuffer[4] == 1 ? true : false; in updateFromNative() 102 uintptr_t elementID = dataBuffer[5]; 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/rs/java/android/renderscript/ |
D | Type.java | 236 long[] dataBuffer = new long[6]; in updateFromNative() local 237 mRS.nTypeGetNativeData(getID(mRS), dataBuffer); in updateFromNative() local 239 mDimX = (int)dataBuffer[0]; in updateFromNative() 240 mDimY = (int)dataBuffer[1]; in updateFromNative() 241 mDimZ = (int)dataBuffer[2]; in updateFromNative() 242 mDimMipmaps = dataBuffer[3] == 1 ? true : false; in updateFromNative() 243 mDimFaces = dataBuffer[4] == 1 ? true : false; in updateFromNative() 245 long elementID = dataBuffer[5]; in updateFromNative()
|
D | Element.java | 1106 int[] dataBuffer = new int[5]; in updateFromNative() local 1107 mRS.nElementGetNativeData(getID(mRS), dataBuffer); in updateFromNative() local 1109 mNormalized = dataBuffer[2] == 1 ? true : false; in updateFromNative() 1110 mVectorSize = dataBuffer[3]; in updateFromNative() 1113 if(dt.mID == dataBuffer[0]){ in updateFromNative() 1119 if(dk.mID == dataBuffer[1]){ in updateFromNative() 1124 int numSubElements = dataBuffer[4]; in updateFromNative()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | ShaderCacheTests.cpp | 177 std::vector<uint8_t> dataBuffer(dataSize); in TEST() local 178 genRandomData(dataBuffer); in TEST() 179 setShader(inVS, dataBuffer); in TEST() 184 ASSERT_TRUE(checkShader(outVS2, dataBuffer)); in TEST() 219 std::vector<uint8_t> dataBuffer(dataSize); in TEST() local 221 genRandomData(dataBuffer); in TEST() 225 setShader(data, dataBuffer); in TEST()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | ShadowPainter.java | 107 int[] dataBuffer = ((DataBufferInt) image.getRaster().getDataBuffer()).getData(); in createDropShadow() local 116 int a = dataBuffer[bufferOffset] >>> 24; in createDropShadow() 125 dataBuffer[bufferOffset] = a << 24 | shadowRgb; in createDropShadow() 131 a = dataBuffer[bufferOffset + right] >>> 24; in createDropShadow() 145 int a = dataBuffer[bufferOffset] >>> 24; in createDropShadow() 154 dataBuffer[bufferOffset] = a << 24 | shadowRgb; in createDropShadow() 160 a = dataBuffer[bufferOffset + lastPixelOffset] >>> 24; in createDropShadow()
|
/frameworks/base/cmds/statsd/tests/shell/ |
D | ShellSubscriber_test.cpp | 119 vector<uint8_t> dataBuffer(dataSize); in runShellTest() local 120 EXPECT_EQ((int)dataSize, read(fds_data[0], dataBuffer.data(), dataSize)); in runShellTest() 124 EXPECT_TRUE(receivedAtom.ParseFromArray(dataBuffer.data(), dataSize) != 0); in runShellTest() 129 EXPECT_EQ(atomBuffer, dataBuffer); in runShellTest()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PersistentDataBlockService.java | 689 ByteBuffer dataBuffer = ByteBuffer.allocate(dataLength + 4); 690 dataBuffer.putInt(data == null ? 0 : data.length); 692 dataBuffer.put(data); 694 dataBuffer.flip(); 696 writeDataBuffer(offset, dataBuffer); 699 private void writeDataBuffer(long offset, ByteBuffer dataBuffer) { 715 channel.write(dataBuffer);
|
/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/message/ |
D | IkeAuthPayload.java | 104 ByteBuffer dataBuffer = ByteBuffer.wrap(dataToSign); in signWithPrf() local 107 prfMac.update(dataBuffer); in signWithPrf()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | SweepGradient_Delegate.java | 201 DataBufferInt dataBuffer = new DataBufferInt(data, data.length); in getRaster() local 203 return Raster.createWritableRaster(colorModel, dataBuffer, null); in getRaster()
|
D | RadialGradient_Delegate.java | 190 DataBufferInt dataBuffer = new DataBufferInt(data, data.length); in getRaster() local 192 return Raster.createWritableRaster(colorModel, dataBuffer, null); in getRaster()
|
D | LinearGradient_Delegate.java | 193 DataBufferInt dataBuffer = new DataBufferInt(data, data.length); in getRaster() local 195 return Raster.createWritableRaster(colorModel, dataBuffer, null); in getRaster()
|
D | BitmapShader_Delegate.java | 194 DataBufferInt dataBuffer = new DataBufferInt(data, data.length); in getRaster() local 196 return Raster.createWritableRaster(colorModel, dataBuffer, null); in getRaster()
|
/frameworks/av/drm/common/ |
D | IDrmManagerService.cpp | 244 const DrmBuffer dataBuffer = drmInfo->getData(); in processDrmInfo() local 245 const int dataBufferSize = dataBuffer.length; in processDrmInfo() 248 data.write(dataBuffer.data, dataBufferSize); in processDrmInfo() 350 const DrmBuffer dataBuffer = drmRights.getData(); in saveRights() local 351 data.writeInt32(dataBuffer.length); in saveRights() 352 data.write(dataBuffer.data, dataBuffer.length); in saveRights()
|