/frameworks/base/libs/hwui/ |
H A D | TextDropShadowCache.h | 37 ShadowText(): glyphCount(0), radius(0.0f), textSize(0.0f), typeface(nullptr), 42 ShadowText(const SkPaint* paint, float radius, uint32_t glyphCount, const glyph_t* srcGlyphs, argument 44 : glyphCount(glyphCount) 71 str.setTo(reinterpret_cast<const char16_t*>(glyphs), glyphCount); local 75 positionsCopy.appendArray(positions, glyphCount * 2); 80 uint32_t glyphCount; member in struct:android::uirenderer::ShadowText
|
H A D | TextDropShadowCache.cpp | 33 uint32_t hash = JenkinsHashMix(0, glyphCount); 42 hash, reinterpret_cast<const uint16_t*>(glyphs), glyphCount); 45 for (uint32_t i = 0; i < glyphCount * 2; i++) { 53 int deltaInt = int(lhs.glyphCount) - int(rhs.glyphCount); 78 deltaInt = memcmp(lhs.glyphs, rhs.glyphs, lhs.glyphCount * sizeof(glyph_t)); 86 return memcmp(lhs.positions, rhs.positions, lhs.glyphCount * sizeof(float) * 2);
|
H A D | RecordedOp.h | 385 TextOp(BASE_PARAMS, const glyph_t* glyphs, const float* positions, int glyphCount, argument 390 , glyphCount(glyphCount) 395 const int glyphCount; member in struct:android::uirenderer::TextOp 403 const glyph_t* glyphs, int glyphCount, const SkPath* path, float hOffset, float vOffset) 406 , glyphCount(glyphCount) 411 const int glyphCount; member in struct:android::uirenderer::TextOnPathOp 402 TextOnPathOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, const glyph_t* glyphs, int glyphCount, const SkPath* path, float hOffset, float vOffset) argument
|
H A D | RecordingCanvas.cpp | 546 void RecordingCanvas::drawGlyphs(const uint16_t* glyphs, const float* positions, int glyphCount, argument 549 if (!glyphs || !positions || glyphCount <= 0 || PaintUtils::paintWillNotDrawText(paint)) return; 550 glyphs = refBuffer<glyph_t>(glyphs, glyphCount); 551 positions = refBuffer<float>(positions, glyphCount * 2); 558 refPaint(&paint), glyphs, positions, glyphCount, x, y)); local 562 void RecordingCanvas::drawGlyphsOnPath(const uint16_t* glyphs, int glyphCount, const SkPath& path, argument 564 if (!glyphs || glyphCount <= 0 || PaintUtils::paintWillNotDrawText(paint)) return; 565 glyphs = refBuffer<glyph_t>(glyphs, glyphCount); 569 refPaint(&paint), glyphs, glyphCount, refPath(&path), hOffset, vOffset));
|
H A D | FrameBuilder.cpp | 766 fontRenderer.precache(op.paint, op.glyphs, op.glyphCount, SkMatrix::I()); 771 fontRenderer.precache(op.paint, op.glyphs, op.glyphCount, SkMatrix::MakeScale( 783 op.paint, op.glyphs, op.glyphCount, SkMatrix::I());
|
H A D | BakedOpDispatcher.cpp | 212 op.paint, op.glyphs, op.glyphCount, textShadow.radius, op.positions); 309 fontRenderer.renderPosText(op.paint, localOpClip, op.glyphs, op.glyphCount, x, y, 769 if (fontRenderer.renderTextOnPath(op.paint, &localSpaceClip, op.glyphs, op.glyphCount,
|
/frameworks/base/libs/hwui/hwui/ |
H A D | Canvas.cpp | 110 size_t glyphCount = end - start; local 122 canvas->drawGlyphs(glyphs + start, pos + (2 * start), glyphCount, outlinePaint, x, y, 129 canvas->drawGlyphs(glyphs + start, pos + (2 * start), glyphCount, innerPaint, x, y, 133 canvas->drawGlyphs(glyphs + start, pos + (2 * start), glyphCount, paint, x, y,
|