Lines Matching refs:run
143 for (ScriptRun run : getScriptRuns(mText, start, limit, isRtl, mFonts)) {
146 renderScript(run.start, run.limit, run.font, flag, advances, advancesIndex, draw);
147 advancesIndex += run.limit - run.start;
153 * Render a script run to the right of the bounds passed. Use the preferred font to render as
283 ScriptRun run = new ScriptRun(scriptStart, scriptLimit, isRtl);
284 run.scriptCode = uScriptRun.getScriptCode();
285 setScriptFont(text, run, fonts);
286 scriptRuns.add(run);
293 private static void setScriptFont(char[] text, ScriptRun run,
300 if (font.canDisplayUpTo(text, run.start, run.limit) == -1) {
301 run.font = font;
305 run.font = fonts.get(0);