Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DTextDropShadowCache.h37 ShadowText(): glyphCount(0), radius(0.0f), textSize(0.0f), typeface(nullptr), in ShadowText()
42 ShadowText(const SkPaint* paint, float radius, uint32_t glyphCount, const glyph_t* srcGlyphs, in ShadowText()
44 : glyphCount(glyphCount) in ShadowText()
71 str.setTo(reinterpret_cast<const char16_t*>(glyphs), glyphCount); in copyTextLocally()
75 positionsCopy.appendArray(positions, glyphCount * 2); in copyTextLocally()
80 uint32_t glyphCount; member
DTextDropShadowCache.cpp33 uint32_t hash = JenkinsHashMix(0, glyphCount); in hash()
42 hash, reinterpret_cast<const uint16_t*>(glyphs), glyphCount); in hash()
45 for (uint32_t i = 0; i < glyphCount * 2; i++) { in hash()
53 int deltaInt = int(lhs.glyphCount) - int(rhs.glyphCount); in compare()
78 deltaInt = memcmp(lhs.glyphs, rhs.glyphs, lhs.glyphCount * sizeof(glyph_t)); in compare()
86 return memcmp(lhs.positions, rhs.positions, lhs.glyphCount * sizeof(float) * 2); in compare()
DRecordedOp.h385 TextOp(BASE_PARAMS, const glyph_t* glyphs, const float* positions, int glyphCount, in TextOp()
390 , glyphCount(glyphCount) in TextOp()
395 const int glyphCount; member
403 const glyph_t* glyphs, int glyphCount, const SkPath* path, float hOffset, float vOffset) in TextOnPathOp()
406 , glyphCount(glyphCount) in TextOnPathOp()
411 const int glyphCount; member
DRecordingCanvas.cpp528 void RecordingCanvas::drawGlyphs(const uint16_t* glyphs, const float* positions, int glyphCount, in drawGlyphs() argument
531 if (!glyphs || !positions || glyphCount <= 0 || PaintUtils::paintWillNotDrawText(paint)) return; in drawGlyphs()
532 glyphs = refBuffer<glyph_t>(glyphs, glyphCount); in drawGlyphs()
533 positions = refBuffer<float>(positions, glyphCount * 2); in drawGlyphs()
540 refPaint(&paint), glyphs, positions, glyphCount, x, y)); in drawGlyphs()
544 void RecordingCanvas::drawGlyphsOnPath(const uint16_t* glyphs, int glyphCount, const SkPath& path, in drawGlyphsOnPath() argument
546 if (!glyphs || glyphCount <= 0 || PaintUtils::paintWillNotDrawText(paint)) return; in drawGlyphsOnPath()
547 glyphs = refBuffer<glyph_t>(glyphs, glyphCount); in drawGlyphsOnPath()
551 refPaint(&paint), glyphs, glyphCount, refPath(&path), hOffset, vOffset)); in drawGlyphsOnPath()
DFrameBuilder.cpp766 fontRenderer.precache(op.paint, op.glyphs, op.glyphCount, SkMatrix::I()); in deferTextOp()
771 fontRenderer.precache(op.paint, op.glyphs, op.glyphCount, SkMatrix::MakeScale( in deferTextOp()
783 op.paint, op.glyphs, op.glyphCount, SkMatrix::I()); in deferTextOnPathOp()
DBakedOpDispatcher.cpp212 op.paint, op.glyphs, op.glyphCount, textShadow.radius, op.positions); in renderTextShadow()
309 fontRenderer.renderPosText(op.paint, localOpClip, op.glyphs, op.glyphCount, x, y, in renderText()
769 if (fontRenderer.renderTextOnPath(op.paint, &localSpaceClip, op.glyphs, op.glyphCount, in onTextOnPathOp()
/frameworks/base/libs/hwui/hwui/
DCanvas.cpp110 size_t glyphCount = end - start; in operator ()() local
122 canvas->drawGlyphs(glyphs + start, pos + (2 * start), glyphCount, outlinePaint, x, y, in operator ()()
129 canvas->drawGlyphs(glyphs + start, pos + (2 * start), glyphCount, innerPaint, x, y, in operator ()()
133 canvas->drawGlyphs(glyphs + start, pos + (2 * start), glyphCount, paint, x, y, in operator ()()