Home
last modified time | relevance | path

Searched refs:totalAdvance (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/libs/hwui/tests/common/
DTestUtils.cpp67 float totalAdvance = 0; in layoutTextUnscaled() local
77 outPositions->push_back(totalAdvance); in layoutTextUnscaled()
83 glyphBounds.translate(totalAdvance + skGlyph.fLeft, skGlyph.fTop); in layoutTextUnscaled()
89 totalAdvance += skWidth; in layoutTextUnscaled()
92 *outTotalAdvance = totalAdvance; in layoutTextUnscaled()
/frameworks/base/libs/hwui/hwui/
DCanvas.cpp83 const SkPaint& paint, float x, float y, MinikinRect& bounds, float totalAdvance) in DrawTextFunctor() argument
92 , totalAdvance(totalAdvance) { in DrawTextFunctor()
123 bounds.mLeft, bounds.mTop, bounds.mRight, bounds.mBottom, totalAdvance); in operator ()()
130 bounds.mLeft, bounds.mTop, bounds.mRight, bounds.mBottom, totalAdvance); in operator ()()
134 bounds.mLeft, bounds.mTop, bounds.mRight, bounds.mBottom, totalAdvance); in operator ()()
146 float totalAdvance; member in android::DrawTextFunctor
DCanvas.h245 float totalAdvance) = 0;
/frameworks/base/libs/hwui/tests/microbench/
DFontBench.cpp38 float totalAdvance; in BM_FontRenderer_precache_cachehits() local
41 &glyphs, &positions, &totalAdvance, &bounds); in BM_FontRenderer_precache_cachehits()
/frameworks/base/libs/hwui/tests/unit/
DTextDropShadowCacheTests.cpp41 float totalAdvance; in RENDERTHREAD_TEST() local
44 &glyphs, &positions, &totalAdvance, &bounds); in RENDERTHREAD_TEST()
DFontRendererTests.cpp41 float totalAdvance; in RENDERTHREAD_TEST() local
44 &glyphs, &positions, &totalAdvance, &bounds); in RENDERTHREAD_TEST()
/frameworks/base/core/java/android/text/
DMeasuredText.java191 float totalAdvance = 0; in addStyleRun() local
197 totalAdvance += in addStyleRun()
203 totalAdvance += mBuilder.addStyleRun(paint, q, i, isRtl); in addStyleRun()
212 return totalAdvance; in addStyleRun()
/frameworks/base/libs/hwui/
DDisplayListCanvas.cpp438 float totalAdvance) { in drawGlyphs() argument
447 x, y, positions, refPaint(&paint), totalAdvance, bounds); in drawGlyphs()
449 drawTextDecorations(x, y, totalAdvance, paint); in drawGlyphs()
DSkiaCanvas.cpp170 float totalAdvance) override;
761 float totalAdvance) { in drawGlyphs() argument
764 drawTextDecorations(x, y, totalAdvance, paint); in drawGlyphs()
DRecordingCanvas.cpp548 float boundsRight, float boundsBottom, float totalAdvance) { in drawGlyphs() argument
559 drawTextDecorations(x, y, totalAdvance, paint); in drawGlyphs()
DRecordingCanvas.h198 float totalAdvance) override;
DDisplayListCanvas.h215 float boundsRight, float boundsBottom, float totalAdvance) override;
DOpenGLRenderer.h197 const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds,
DDisplayListOp.h1311 const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds) in DrawTextOp() argument
1313 mX(x), mY(y), mPositions(positions), mTotalAdvance(totalAdvance) { in DrawTextOp()
DOpenGLRenderer.cpp2096 const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds,
/frameworks/base/graphics/java/android/graphics/
DPaint.java2239 float totalAdvance = nGetTextAdvances(mNativePaint, mNativeTypeface, text, start, in getTextRunAdvances() local
2249 return totalAdvance * mInvCompatScaling; // assume errors are insignificant in getTextRunAdvances()