/frameworks/base/core/jni/ |
H A D | android_view_TextureView.cpp | 159 ssize_t bytesCount = buffer.stride * bytesPerPixel(buffer.format); 162 bitmap.setInfo(convertPixelFormat(buffer), bytesCount); local
|
H A D | android_view_GraphicBuffer.cpp | 180 ssize_t bytesCount = buffer->getStride() * bytesPerPixel(buffer->getPixelFormat()); local 186 bytesCount);
|
/frameworks/base/libs/hwui/ |
H A D | DisplayListCanvas.cpp | 431 int bytesCount = 2 * count; local 432 DrawOp* op = new (alloc()) DrawTextOnPathOp(refText((const char*) glyphs, bytesCount), 433 bytesCount, count, refPath(&path), 442 int bytesCount = 2 * count; local 445 DrawOp* op = new (alloc()) DrawPosTextOp(refText((const char*) text, bytesCount), 446 bytesCount, count, positions, refPaint(&paint)); 467 int bytesCount = count * 2; local 468 const char* text = refText((const char*) glyphs, bytesCount); 482 addDrawOp(new (alloc()) DrawTextOp(text, bytesCount, count, 489 addDrawOp(new (alloc()) DrawTextOp(text, bytesCount, coun [all...] |
H A D | DisplayListOp.h | 1253 DrawSomeTextOp(const char* text, int bytesCount, int count, const SkPaint* paint) argument 1254 : DrawOp(paint), mText(text), mBytesCount(bytesCount), mCount(count) {}; 1282 DrawTextOnPathOp(const char* text, int bytesCount, int count, argument 1284 : DrawSomeTextOp(text, bytesCount, count, paint), 1304 DrawPosTextOp(const char* text, int bytesCount, int count, argument 1306 : DrawSomeTextOp(text, bytesCount, count, paint), mPositions(positions) { 1322 DrawTextOp(const char* text, int bytesCount, int count, float x, float y, argument 1324 : DrawStrokableOp(bounds, paint), mText(text), mBytesCount(bytesCount), mCount(count),
|
H A D | OpenGLRenderer.cpp | 2023 int bytesCount, int count, const float* positions, 2036 paint, text, bytesCount, count, textShadow.radius, positions); 2062 void OpenGLRenderer::drawPosText(const char* text, int bytesCount, int count, argument 2091 drawTextShadow(paint, text, bytesCount, count, positions, fontRenderer, 2106 if (fontRenderer.renderPosText(paint, &clip, text, 0, bytesCount, count, x, y, 2206 void OpenGLRenderer::drawText(const char* text, int bytesCount, int count, float x, float y, argument 2238 drawTextShadow(paint, text, bytesCount, count, positions, fontRenderer, 2274 status = fontRenderer.renderPosText(&paintCopy, clip, text, 0, bytesCount, count, x, y, 2277 status = fontRenderer.renderPosText(paint, clip, text, 0, bytesCount, count, x, y, 2293 void OpenGLRenderer::drawTextOnPath(const char* text, int bytesCount, in argument 2022 drawTextShadow(const SkPaint* paint, const char* text, int bytesCount, int count, const float* positions, FontRenderer& fontRenderer, int alpha, float x, float y) argument [all...] |