Searched refs:scalarArray (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
D | Paint.cpp | 441 SkScalar* scalarArray = (SkScalar*)widthsArray; in dotextwidths() local 443 count = paint->getTextWidths(text, count << 1, scalarArray); in dotextwidths() 445 widthsArray[i] = SkScalarToFloat(scalarArray[i]); in dotextwidths() 601 jfloat scalarArray[count]; in doTextRunCursor() local 604 scalarArray, NULL /* dont need totalAdvance */); in doTextRunCursor() 606 SkScalar scalarArray[count]; in doTextRunCursor() 626 widths = paint->getTextWidths(buffer, count << 1, scalarArray); in doTextRunCursor() 628 widths = paint->getTextWidths(text + start, count << 1, scalarArray); in doTextRunCursor() 641 scalarArray[i] = 0; in doTextRunCursor() 643 scalarArray[i] = scalarArray[--p]; in doTextRunCursor() [all …]
|
D | TextLayout.cpp | 323 SkScalar* scalarArray = (SkScalar*)outAdvances; in computeAdvancesWithICU() local 344 widths = paint->getTextWidths(text, count << 1, scalarArray); in computeAdvancesWithICU() 347 widths = paint->getTextWidths(text, count << 1, scalarArray); in computeAdvancesWithICU() 361 totalAdvance += outAdvances[p++] = SkScalarToFloat(scalarArray[i]); in computeAdvancesWithICU() 378 totalAdvance += outAdvances[i] = SkScalarToFloat(scalarArray[i]); in computeAdvancesWithICU()
|