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

/frameworks/base/core/java/android/text/
H A DMeasuredText.java167 float totalAdvance = 0;
172 totalAdvance +=
181 return totalAdvance;
/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/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);
/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 DDisplayListRenderer.h124 const float* positions, SkPaint* paint, float totalAdvance, const Rect& bounds,
H A DOpenGLRenderer.h318 const float* positions, SkPaint* paint, float totalAdvance, const Rect& bounds,
866 * @param totalAdvance The total advance in pixels, defines underline/strikethrough length
871 void drawTextDecorations(const char* text, int bytesCount, float totalAdvance,
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/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java935 float totalAdvance = 0;
942 totalAdvance += adv;
960 return (int) totalAdvance;
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java1979 float totalAdvance = native_getTextRunAdvances(mNativePaint, text, start, end,
1988 return totalAdvance * mInvCompatScaling; // assume errors are insignificant

Completed in 214 milliseconds