Home
last modified time | relevance | path

Searched refs:bytesCount (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/hwui/
DDisplayListRenderer.cpp358 status_t DisplayListRenderer::drawTextOnPath(const char* text, int bytesCount, int count, in drawTextOnPath() argument
362 text = refText(text, bytesCount); in drawTextOnPath()
366 DrawOp* op = new (alloc()) DrawTextOnPathOp(text, bytesCount, count, path, in drawTextOnPath()
372 status_t DisplayListRenderer::drawPosText(const char* text, int bytesCount, int count, in drawPosText() argument
376 text = refText(text, bytesCount); in drawPosText()
380 DrawOp* op = new (alloc()) DrawPosTextOp(text, bytesCount, count, positions, paint); in drawPosText()
395 status_t DisplayListRenderer::drawText(const char* text, int bytesCount, int count, in drawText() argument
401 text = refText(text, bytesCount); in drawText()
414 addDrawOp(new (alloc()) DrawTextOp(text, bytesCount, count, in drawText()
421 addDrawOp(new (alloc()) DrawTextOp(text, bytesCount, count, in drawText()
[all …]
DRenderer.h212 virtual status_t drawText(const char* text, int bytesCount, int count, float x, float y,
215 virtual status_t drawTextOnPath(const char* text, int bytesCount, int count, const SkPath* path,
217 virtual status_t drawPosText(const char* text, int bytesCount, int count,
DDisplayListRenderer.h144 virtual status_t drawText(const char* text, int bytesCount, int count, float x, float y,
147 virtual status_t drawTextOnPath(const char* text, int bytesCount, int count, const SkPath* path,
149 virtual status_t drawPosText(const char* text, int bytesCount, int count,
DOpenGLRenderer.h189 virtual status_t drawTextOnPath(const char* text, int bytesCount, int count, const SkPath* path,
191 virtual status_t drawPosText(const char* text, int bytesCount, int count,
193 virtual status_t drawText(const char* text, int bytesCount, int count, float x, float y,
770 void drawTextShadow(const SkPaint* paint, const char* text, int bytesCount, int count,
DDisplayListOp.h1301 DrawSomeTextOp(const char* text, int bytesCount, int count, const SkPaint* paint) in DrawSomeTextOp() argument
1302 : DrawOp(paint), mText(text), mBytesCount(bytesCount), mCount(count) {}; in DrawSomeTextOp()
1331 DrawTextOnPathOp(const char* text, int bytesCount, int count, in DrawTextOnPathOp() argument
1333 : DrawSomeTextOp(text, bytesCount, count, paint), in DrawTextOnPathOp()
1353 DrawPosTextOp(const char* text, int bytesCount, int count, in DrawPosTextOp() argument
1355 : DrawSomeTextOp(text, bytesCount, count, paint), mPositions(positions) { in DrawPosTextOp()
1371 DrawTextOp(const char* text, int bytesCount, int count, float x, float y, in DrawTextOp() argument
1373 : DrawStrokableOp(bounds, paint), mText(text), mBytesCount(bytesCount), mCount(count), in DrawTextOp()
DOpenGLRenderer.cpp2620 int bytesCount, int count, const float* positions,
2633 paint, text, bytesCount, count, textShadow.radius, positions);
2670 status_t OpenGLRenderer::drawPosText(const char* text, int bytesCount, int count,
2699 drawTextShadow(paint, text, bytesCount, count, positions, fontRenderer,
2716 if (fontRenderer.renderPosText(paint, clip, text, 0, bytesCount, count, x, y,
2750 status_t OpenGLRenderer::drawText(const char* text, int bytesCount, int count, float x, float y,
2782 drawTextShadow(paint, text, bytesCount, count, positions, fontRenderer,
2818 status = fontRenderer.renderPosText(&paintCopy, clip, text, 0, bytesCount, count, x, y,
2821 status = fontRenderer.renderPosText(paint, clip, text, 0, bytesCount, count, x, y,
2837 status_t OpenGLRenderer::drawTextOnPath(const char* text, int bytesCount, int count,
[all …]
/frameworks/base/core/jni/
Dandroid_view_TextureView.cpp159 ssize_t bytesCount = buffer.stride * bytesPerPixel(buffer.format); in android_view_TextureView_lockCanvas() local
162 bitmap.setInfo(convertPixelFormat(buffer), bytesCount); in android_view_TextureView_lockCanvas()
Dandroid_view_GraphicBuffer.cpp188 ssize_t bytesCount = buffer->getStride() * bytesPerPixel(buffer->getPixelFormat()); in android_view_GraphicBuffer_lockCanvas() local
194 bytesCount); in android_view_GraphicBuffer_lockCanvas()
Dandroid_view_GLES20Canvas.cpp608 int bytesCount = glyphsCount * sizeof(jchar); in operator ()() local
609 renderer->drawText((const char*) (glyphs + start), bytesCount, glyphsCount, in operator ()()