Searched defs:totalAdvance (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.cpp352 ALOGD("Advances - start = %d, count = %d, contextCount = %d, totalAdvance = %f", start, count,
703 jfloat totalAdvance = *outTotalAdvance; local
741 ALOGD(" -- initial totalAdvance = %f", totalAdvance);
755 float xpos = totalAdvance + xo + yo * skewX;
759 totalAdvance += xAdvance;
769 *outTotalAdvance = totalAdvance;
772 ALOGD(" -- final totalAdvance = %f", totalAdvance);
H A DPaint.cpp487 bidiFlags, widthsArray, NULL /* dont need totalAdvance */);
570 jfloat totalAdvance = 0; local
573 advancesArray, &totalAdvance);
579 return totalAdvance;
608 scalarArray, NULL /* dont need totalAdvance */);
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.cpp424 float totalAdvance, const Rect& bounds, DrawOpMode drawOpMode) {
433 x, y, positions, paint, totalAdvance, bounds);
422 drawText(const char* text, int bytesCount, int count, float x, float y, const float* positions, SkPaint* paint, float totalAdvance, const Rect& bounds, DrawOpMode drawOpMode) argument
H A DDisplayListOp.h1428 const float* positions, SkPaint* paint, float totalAdvance, const Rect& bounds)
1430 mX(x), mY(y), mPositions(positions), mTotalAdvance(totalAdvance) {
1427 DrawTextOp(const char* text, int bytesCount, int count, float x, float y, const float* positions, SkPaint* paint, float totalAdvance, const Rect& bounds) argument
H A DOpenGLRenderer.cpp2920 const float* positions, SkPaint* paint, float totalAdvance, const Rect& bounds,
3001 drawTextDecorations(text, bytesCount, totalAdvance, oldX, oldY, paint);
2919 drawText(const char* text, int bytesCount, int count, float x, float y, const float* positions, SkPaint* paint, float totalAdvance, const Rect& bounds, DrawOpMode drawOpMode) argument
/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp589 static float xOffsetForTextAlign(SkPaint* paint, float totalAdvance) { argument
592 return -totalAdvance / 2.0f;
595 return -totalAdvance;
612 jfloat totalAdvance = value->getTotalAdvance(); local
613 x += xOffsetForTextAlign(paint, totalAdvance);
621 x, y, positions, paint, totalAdvance, bounds);
648 jfloat totalAdvance = value->getTotalAdvance(); local
649 x += xOffsetForTextAlign(paint, totalAdvance);
657 x, y, positions, paint, totalAdvance, bounds);

Completed in 90 milliseconds