Searched refs:workText (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
D | TextLayout.cpp | 156 const jchar *workText = text; in prepareText() local 171 workText = buffer; // use the shaped text in prepareText() 184 const jchar* workLimit = workText + len; in prepareText() 187 while (workText < workLimit && *workText == ' ') { in prepareText() 188 ++workText; in prepareText() 192 while (workLimit > workText && *(workLimit - 1) == ' ') { in prepareText() 197 *outBytes = (workLimit - workText) << 1; in prepareText() 198 *outText = workText; in prepareText() 209 const jchar *workText; in handleText() local 212 if (prepareText(paint, text, len, bidiFlags, &workText, &workBytes, &buffer)) { in handleText() [all …]
|
/frameworks/base/core/jni/ |
D | android_view_GLES20Canvas.cpp | 494 const jchar *workText; in renderText() 497 if (TextLayout::prepareText(paint, text, count, flags, &workText, &workBytes, &buffer)) { in renderText() 498 renderer->drawText((const char*) workText, workBytes, count, x, y, paint); in renderText()
|