/frameworks/base/libs/hwui/ |
D | TextDropShadowCache.h | 38 : glyphCount(0) in ShadowText() 49 ShadowText(const SkPaint* paint, float radius, uint32_t glyphCount, const glyph_t* srcGlyphs, in ShadowText() 51 : glyphCount(glyphCount) in ShadowText() 72 str.setTo(reinterpret_cast<const char16_t*>(glyphs), glyphCount); in copyTextLocally() 76 positionsCopy.appendArray(positions, glyphCount * 2); in copyTextLocally() 81 uint32_t glyphCount; member
|
D | TextDropShadowCache.cpp | 33 uint32_t hash = JenkinsHashMix(0, glyphCount); in hash() 41 hash = JenkinsHashMixShorts(hash, reinterpret_cast<const uint16_t*>(glyphs), glyphCount); in hash() 44 for (uint32_t i = 0; i < glyphCount * 2; i++) { in hash() 52 int deltaInt = int(lhs.glyphCount) - int(rhs.glyphCount); in compare() 77 deltaInt = memcmp(lhs.glyphs, rhs.glyphs, lhs.glyphCount * sizeof(glyph_t)); in compare() 85 return memcmp(lhs.positions, rhs.positions, lhs.glyphCount * sizeof(float) * 2); in compare()
|
D | RecordedOp.h | 361 TextOp(BASE_PARAMS, const glyph_t* glyphs, const float* positions, int glyphCount, float x, in TextOp() 366 , glyphCount(glyphCount) in TextOp() 371 const int glyphCount; member 379 const glyph_t* glyphs, int glyphCount, const SkPath* path, float hOffset, in TextOnPathOp() 383 , glyphCount(glyphCount) in TextOnPathOp() 388 const int glyphCount; member
|
D | SkiaCanvasProxy.cpp | 421 size_t textLen = it.glyphCount() * sizeof(uint16_t); in onDrawTextBlob() 432 std::unique_ptr<SkPoint[]> pts(new SkPoint[it.glyphCount()]); in onDrawTextBlob() 433 for (size_t i = 0; i < it.glyphCount(); i++) { in onDrawTextBlob() 440 std::unique_ptr<SkPoint[]> pts(new SkPoint[it.glyphCount()]); in onDrawTextBlob() 441 for (size_t i = 0; i < it.glyphCount(); i++) { in onDrawTextBlob()
|
D | RecordingCanvas.cpp | 504 void RecordingCanvas::drawGlyphs(ReadGlyphFunc glyphFunc, int glyphCount, const SkPaint& paint, in drawGlyphs() argument 507 if (glyphCount <= 0 || paint.nothingToDraw()) return; in drawGlyphs() 508 uint16_t* glyphs = (glyph_t*)alloc().alloc<glyph_t>(glyphCount * sizeof(glyph_t)); in drawGlyphs() 509 float* positions = (float*)alloc().alloc<float>(2 * glyphCount * sizeof(float)); in drawGlyphs() 515 refPaint(&paint), glyphs, positions, glyphCount, x, y)); in drawGlyphs()
|
D | FrameBuilder.cpp | 749 fontRenderer.precache(op.paint, op.glyphs, op.glyphCount, SkMatrix::I()); in deferTextOp() 755 op.paint, op.glyphs, op.glyphCount, in deferTextOp() 765 mCaches.fontRenderer.getFontRenderer().precache(op.paint, op.glyphs, op.glyphCount, in deferTextOnPathOp()
|
D | BakedOpDispatcher.cpp | 203 op.paint, op.glyphs, op.glyphCount, textShadow.radius, op.positions); in renderTextShadow() 295 fontRenderer.renderPosText(op.paint, localOpClip, op.glyphs, op.glyphCount, x, y, op.positions, in renderText() 767 if (fontRenderer.renderTextOnPath(op.paint, &localSpaceClip, op.glyphs, op.glyphCount, op.path, in onTextOnPathOp()
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.cpp | 121 size_t glyphCount = end - start; in operator ()() local 133 canvas->drawGlyphs(glyphFunc, glyphCount, outlinePaint, x, y, bounds.mLeft, bounds.mTop, in operator ()() 140 canvas->drawGlyphs(glyphFunc, glyphCount, innerPaint, x, y, bounds.mLeft, bounds.mTop, in operator ()() 144 canvas->drawGlyphs(glyphFunc, glyphCount, paint, x, y, bounds.mLeft, bounds.mTop, in operator ()()
|