/frameworks/base/libs/hwui/tests/common/ |
D | TestUtils.cpp | 67 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/ |
D | Canvas.cpp | 83 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
|
D | Canvas.h | 245 float totalAdvance) = 0;
|
/frameworks/base/libs/hwui/tests/microbench/ |
D | FontBench.cpp | 38 float totalAdvance; in BM_FontRenderer_precache_cachehits() local 41 &glyphs, &positions, &totalAdvance, &bounds); in BM_FontRenderer_precache_cachehits()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | TextDropShadowCacheTests.cpp | 41 float totalAdvance; in RENDERTHREAD_TEST() local 44 &glyphs, &positions, &totalAdvance, &bounds); in RENDERTHREAD_TEST()
|
D | FontRendererTests.cpp | 41 float totalAdvance; in RENDERTHREAD_TEST() local 44 &glyphs, &positions, &totalAdvance, &bounds); in RENDERTHREAD_TEST()
|
/frameworks/base/core/java/android/text/ |
D | MeasuredText.java | 191 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/ |
D | DisplayListCanvas.cpp | 438 float totalAdvance) { in drawGlyphs() argument 447 x, y, positions, refPaint(&paint), totalAdvance, bounds); in drawGlyphs() 449 drawTextDecorations(x, y, totalAdvance, paint); in drawGlyphs()
|
D | SkiaCanvas.cpp | 170 float totalAdvance) override; 761 float totalAdvance) { in drawGlyphs() argument 764 drawTextDecorations(x, y, totalAdvance, paint); in drawGlyphs()
|
D | RecordingCanvas.cpp | 530 float boundsRight, float boundsBottom, float totalAdvance) { in drawGlyphs() argument 541 drawTextDecorations(x, y, totalAdvance, paint); in drawGlyphs()
|
D | DisplayListCanvas.h | 215 float boundsRight, float boundsBottom, float totalAdvance) override;
|
D | RecordingCanvas.h | 198 float totalAdvance) override;
|
D | OpenGLRenderer.h | 197 const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds,
|
D | DisplayListOp.h | 1311 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()
|
D | OpenGLRenderer.cpp | 2096 const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds,
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 2239 float totalAdvance = nGetTextAdvances(mNativePaint, mNativeTypeface, text, start, in getTextRunAdvances() local 2249 return totalAdvance * mInvCompatScaling; // assume errors are insignificant in getTextRunAdvances()
|