Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DTextLayout.cpp350 jfloat totalAdvance = 0; in computeAdvancesWithICU() local
361 totalAdvance += outAdvances[p++] = SkScalarToFloat(scalarArray[i]); in computeAdvancesWithICU()
370 LOGD("icu-adv = %f - total = %f", outAdvances[i], totalAdvance); in computeAdvancesWithICU()
378 totalAdvance += outAdvances[i] = SkScalarToFloat(scalarArray[i]); in computeAdvancesWithICU()
380 LOGD("icu-adv = %f - total = %f", outAdvances[i], totalAdvance); in computeAdvancesWithICU()
384 *outTotalAdvance = totalAdvance; in computeAdvancesWithICU()
DTextLayoutCache.cpp570 jfloat totalAdvance = currentAdvance; in computeRunValuesWithHarfbuzz() local
579 totalAdvance += currentAdvance; in computeRunValuesWithHarfbuzz()
583 *outTotalAdvance = totalAdvance; in computeRunValuesWithHarfbuzz()
588 (*outAdvances)[i], shaperItem.log_clusters[i], totalAdvance); in computeRunValuesWithHarfbuzz()
DPaint.cpp528 jfloat totalAdvance = 0; in doTextRunAdvances() local
531 advancesArray, &totalAdvance); in doTextRunAdvances()
536 return totalAdvance; in doTextRunAdvances()
561 jfloat totalAdvance = 0; in doTextRunAdvancesICU() local
564 advancesArray, totalAdvance); in doTextRunAdvancesICU()
569 return totalAdvance; in doTextRunAdvancesICU()
/frameworks/base/core/java/android/text/
DMeasuredText.java160 float totalAdvance = 0; in addStyleRun() local
165 totalAdvance += in addStyleRun()
174 return totalAdvance; in addStyleRun()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java928 float totalAdvance = 0; in native_getTextWidths() local
935 totalAdvance += adv; in native_getTextWidths()
953 return (int) totalAdvance; in native_getTextWidths()
984 float totalAdvance = 0; in native_getTextRunAdvances() local
991 totalAdvance += adv; in native_getTextRunAdvances()
1009 return totalAdvance; in native_getTextRunAdvances()
/frameworks/base/graphics/java/android/graphics/
DPaint.java1883 float totalAdvance = native_getTextRunAdvances(mNativePaint, text, start, end, in getTextRunAdvances() local
1892 return totalAdvance * mInvCompatScaling; // assume errors are insignificant in getTextRunAdvances()