Searched refs:glyphCount (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/
H A DTextDropShadowCache.h37 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 DTextDropShadowCache.cpp33 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 DRecordedOp.h385 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 DRecordingCanvas.cpp528 void RecordingCanvas::drawGlyphs(const uint16_t* glyphs, const float* positions, int glyphCount, argument
531 if (!glyphs || !positions || glyphCount <= 0 || PaintUtils::paintWillNotDrawText(paint)) return;
532 glyphs = refBuffer<glyph_t>(glyphs, glyphCount);
533 positions = refBuffer<float>(positions, glyphCount * 2);
540 refPaint(&paint), glyphs, positions, glyphCount, x, y)); local
544 void RecordingCanvas::drawGlyphsOnPath(const uint16_t* glyphs, int glyphCount, const SkPath& path, argument
546 if (!glyphs || glyphCount <= 0 || PaintUtils::paintWillNotDrawText(paint)) return;
547 glyphs = refBuffer<glyph_t>(glyphs, glyphCount);
551 refPaint(&paint), glyphs, glyphCount, refPath(&path), hOffset, vOffset));
H A DFrameBuilder.cpp766 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 DBakedOpDispatcher.cpp212 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 DCanvas.cpp110 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,

Completed in 297 milliseconds