Searched refs:totalAdvance (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
D | TextLayout.cpp | 350 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()
|
D | TextLayoutCache.cpp | 570 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()
|
D | Paint.cpp | 528 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/ |
D | MeasuredText.java | 160 float totalAdvance = 0; in addStyleRun() local 165 totalAdvance += in addStyleRun() 174 return totalAdvance; in addStyleRun()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 928 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/ |
D | Paint.java | 1883 float totalAdvance = native_getTextRunAdvances(mNativePaint, text, start, end, in getTextRunAdvances() local 1892 return totalAdvance * mInvCompatScaling; // assume errors are insignificant in getTextRunAdvances()
|