Home
last modified time | relevance | path

Searched refs:bufferOffset (Results 1 – 3 of 3) sorted by relevance

/frameworks/layoutlib/bridge/src/android/view/
DShadowPainter.java112 for (int y = 0, bufferOffset = 0; y < dstHeight; y++, bufferOffset = y * dstWidth) { in createDropShadow()
115 for (int x = 0; x < shadowSize; x++, bufferOffset++) { in createDropShadow()
116 int a = dataBuffer[bufferOffset] >>> 24; in createDropShadow()
121 bufferOffset -= right; in createDropShadow()
123 for (int x = xStart; x < xStop; x++, bufferOffset++) { in createDropShadow()
125 dataBuffer[bufferOffset] = a << 24 | shadowRgb; in createDropShadow()
131 a = dataBuffer[bufferOffset + right] >>> 24; in createDropShadow()
141 for (int x = 0, bufferOffset = 0; x < dstWidth; x++, bufferOffset = x) { in createDropShadow()
144 for (int y = 0; y < shadowSize; y++, bufferOffset += dstWidth) { in createDropShadow()
145 int a = dataBuffer[bufferOffset] >>> 24; in createDropShadow()
[all …]
/frameworks/av/media/libstagefright/tests/writer/
DWriterTest.cpp381 int32_t bufferOffset = 0; in extract() local
394 memcpy(buffer + bufferOffset, csdBuf, csdSize); in extract()
395 bufferOffset += csdSize; in extract()
418 ASSERT_LE(bufferOffset + bytesRead, bufSize) in extract()
421 memcpy(buffer + bufferOffset, sampleBuffer, bytesRead); in extract()
422 bufferOffset += bytesRead; in extract()
427 *bytesExtracted = bufferOffset; in extract()
/frameworks/native/opengl/tools/glgen/src/
DJniCodeEmitter.java1363 String bufferOffset = numBufferArgs <= 1 ? "_bufferOffset" : in emitJniCode() local
1401 … "_buf, (jarray*)&" + array + ", &" + remaining + ", &" + bufferOffset + in emitJniCode()
1425 String bufferOffset = numBufferArgs <= 1 ? "_bufferOffset" : in emitJniCode() local
1441 …= (" +cfunc.getArgType(cIndex).getDeclaration() +") (_" + cname + "Base + " + bufferOffset + ");"); in emitJniCode()
1445 …= (" +cfunc.getArgType(cIndex).getDeclaration() +") (_" + cname + "Base + " + bufferOffset + ");"); in emitJniCode()
1569 String bufferOffset = numBufferArgs <= 1 ? "_bufferOffset" : in emitJniCode() local
1572 String withOffset = "(void *)(" + typeCast + " - " + bufferOffset + ")"; in emitJniCode()