Lines Matching defs:runIsRtl

236             boolean runIsRtl = (runs[i+1] & Layout.RUN_RTL_FLAG) != 0;
253 h += drawRun(c, segstart, j, runIsRtl, x+h, top, y, bottom,
313 boolean runIsRtl = (runs[i+1] & Layout.RUN_RTL_FLAG) != 0;
332 boolean advance = (mDir == Layout.DIR_RIGHT_TO_LEFT) == runIsRtl;
334 return h += measureRun(segstart, offset, j, runIsRtl, fmi);
337 float w = measureRun(segstart, j, j, runIsRtl, fmi);
341 return h += measureRun(segstart, offset, j, runIsRtl, null);
369 * @param runIsRtl true if the run is right-to-left
379 int limit, boolean runIsRtl, float x, int top, int y, int bottom,
382 if ((mDir == Layout.DIR_LEFT_TO_RIGHT) == runIsRtl) {
383 float w = -measureRun(start, limit, limit, runIsRtl, null);
384 handleRun(start, limit, limit, runIsRtl, c, x + w, top,
389 return handleRun(start, limit, limit, runIsRtl, c, x, top,
400 * @param runIsRtl true if the run is right-to-left
406 private float measureRun(int start, int offset, int limit, boolean runIsRtl,
408 return handleRun(start, offset, limit, runIsRtl, null, 0, 0, 0, 0, fmi, true);
507 boolean runIsRtl = (runLevel & 0x1) != 0;
508 boolean advance = toLeft == runIsRtl;
512 runIsRtl, cursor, advance);
600 * @param runIsRtl true if the run is right-to-left
607 boolean runIsRtl, int offset, boolean after) {
662 int dir = runIsRtl ? Paint.DIRECTION_RTL : Paint.DIRECTION_LTR;
705 * @param runIsRtl true if the run is right-to-left
718 int contextStart, int contextEnd, boolean runIsRtl,
736 if (needWidth || (c != null && (wp.bgColor != 0 || wp.underlineColor != 0 || runIsRtl))) {
739 runIsRtl, offset);
743 delta + contextStart, delta + contextEnd, runIsRtl, delta + offset);
748 if (runIsRtl) {
783 drawTextRun(c, wp, start, end, contextStart, contextEnd, runIsRtl,
787 return runIsRtl ? -ret : ret;
798 * @param runIsRtl true if the run is right-to-left
810 int start, int limit, boolean runIsRtl, Canvas c,
819 if (needWidth || (c != null && runIsRtl)) {
845 if (runIsRtl) {
852 return runIsRtl ? -ret : ret;
875 * @param runIsRtl true if the run is right-to-left
887 int limit, boolean runIsRtl, Canvas c, float x, int top, int y,
909 return handleText(wp, start, limit, start, limit, runIsRtl, c, x, top,
948 x += handleReplacement(replacement, wp, i, mlimit, runIsRtl, c, x, top, y,
970 x += handleText(wp, j, jnext, i, inext, runIsRtl, c, x,
987 * @param runIsRtl true if the run is right-to-left
992 int contextStart, int contextEnd, boolean runIsRtl, float x, int y) {
998 x, y, runIsRtl, wp);
1002 delta + contextStart, delta + contextEnd, x, y, runIsRtl, wp);