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

/frameworks/base/core/jni/android/graphics/
H A DTextLayout.cpp146 jfloat totalAdvance = 0; local
157 totalAdvance += outAdvances[p++] = SkScalarToFloat(scalarArray[i]);
166 ALOGD("icu-adv = %f - total = %f", outAdvances[i], totalAdvance);
174 totalAdvance += outAdvances[i] = SkScalarToFloat(scalarArray[i]);
176 ALOGD("icu-adv = %f - total = %f", outAdvances[i], totalAdvance);
180 *outTotalAdvance = totalAdvance;
H A DPaint.cpp476 paint->getFlags(), widthsArray, NULL /* dont need totalAdvance */);
558 jfloat totalAdvance = 0; local
561 advancesArray, &totalAdvance);
566 return totalAdvance;
591 jfloat totalAdvance = 0; local
594 advancesArray, totalAdvance);
599 return totalAdvance;
633 scalarArray, NULL /* dont need totalAdvance */);
H A DTextLayoutCache.cpp364 ALOGD("Advances - start = %d, count = %d, contextCount = %d, totalAdvance = %f", start, count,
627 jfloat totalAdvance = *outTotalAdvance; local
724 jfloat x = totalAdvance;
743 totalAdvance += totalFontRunAdvance;
746 *outTotalAdvance = totalAdvance;
/frameworks/base/core/java/android/text/
H A DMeasuredText.java167 float totalAdvance = 0;
172 totalAdvance +=
181 return totalAdvance;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java933 float totalAdvance = 0;
940 totalAdvance += adv;
958 return (int) totalAdvance;
989 float totalAdvance = 0;
996 totalAdvance += adv;
1014 return totalAdvance;
/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp534 jfloat totalAdvance = value->getTotalAdvance(); local
538 positions, paint, totalAdvance);
565 jfloat totalAdvance = value->getTotalAdvance(); local
569 positions, paint, totalAdvance);
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java1954 float totalAdvance = native_getTextRunAdvances(mNativePaint, text, start, end,
1963 return totalAdvance * mInvCompatScaling; // assume errors are insignificant

Completed in 96 milliseconds