Searched refs:totalAdvance (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/libs/hwui/tests/microbench/
H A DFontBench.cpp38 float totalAdvance;
41 &glyphs, &positions, &totalAdvance, &bounds);
/frameworks/base/libs/hwui/tests/unit/
H A DFontRendererTests.cpp41 float totalAdvance; local
44 &glyphs, &positions, &totalAdvance, &bounds);
H A DTextDropShadowCacheTests.cpp41 float totalAdvance; local
44 &glyphs, &positions, &totalAdvance, &bounds);
/frameworks/base/libs/hwui/hwui/
H A DCanvas.cpp85 float totalAdvance)
94 , totalAdvance(totalAdvance) {
125 bounds.mLeft, bounds.mTop, bounds.mRight, bounds.mBottom, totalAdvance);
132 bounds.mLeft, bounds.mTop, bounds.mRight, bounds.mBottom, totalAdvance);
136 bounds.mLeft, bounds.mTop, bounds.mRight, bounds.mBottom, totalAdvance);
148 float totalAdvance; member in class:android::DrawTextFunctor
83 DrawTextFunctor(const minikin::Layout& layout, Canvas* canvas, uint16_t* glyphs, float* pos, const SkPaint& paint, float x, float y, minikin::MinikinRect& bounds, float totalAdvance) argument
H A DCanvas.h278 * totalAdvance: used to define width of text decorations (underlines, strikethroughs).
283 float totalAdvance) = 0;
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.cpp89 float totalAdvance = 0; local
102 outPositions->push_back(totalAdvance);
108 glyphBounds.translate(totalAdvance + skGlyph.fLeft, skGlyph.fTop);
114 totalAdvance += skWidth;
117 *outTotalAdvance = totalAdvance;
/frameworks/base/core/java/android/text/
H A DMeasuredText.java191 float totalAdvance = 0;
197 totalAdvance +=
203 totalAdvance += mBuilder.addStyleRun(paint, q, i, isRtl);
212 return totalAdvance;
/frameworks/base/libs/hwui/
H A DSkiaCanvas.h165 float totalAdvance) override;
H A DRecordingCanvas.h197 float totalAdvance) override;
H A DRecordingCanvas.cpp545 float boundsRight, float boundsBottom, float totalAdvance) {
556 drawTextDecorations(x, y, totalAdvance, paint);
543 drawGlyphs(const uint16_t* glyphs, const float* positions, int glyphCount, const SkPaint& paint, float x, float y, float boundsLeft, float boundsTop, float boundsRight, float boundsBottom, float totalAdvance) argument
H A DSkiaCanvas.cpp691 float totalAdvance) {
711 drawTextDecorations(x, y, totalAdvance, paintCopy);
688 drawGlyphs(const uint16_t* text, const float* positions, int count, const SkPaint& paint, float x, float y, float boundsLeft, float boundsTop, float boundsRight, float boundsBottom, float totalAdvance) argument
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java2325 float totalAdvance = nGetTextAdvances(mNativePaint, mNativeTypeface, text, start,
2335 return totalAdvance * mInvCompatScaling; // assume errors are insignificant

Completed in 285 milliseconds