Lines Matching refs:advance
311 boolean advance = (mDir == Layout.DIR_RIGHT_TO_LEFT) == runIsRtl;
312 if (inSegment && advance) {
317 h += advance ? w : -w;
487 boolean advance = toLeft == runIsRtl;
488 if (cursor != (advance ? runLimit : runStart) || advance != trailing) {
491 runIsRtl, cursor, advance);
494 if (newCaret != (advance ? runLimit : runStart)) {
507 boolean advance = toLeft == paraIsRtl;
508 int otherRunIndex = runIndex + (advance ? 2 : -2);
520 advance = toLeft == otherRunIsRtl;
524 advance ? otherRunStart : otherRunLimit, advance);
525 if (newCaret == (advance ? otherRunLimit : otherRunStart)) {
538 newCaret = advance ? otherRunStart : otherRunLimit;
547 newCaret = advance ? mLen + 1 : -1;
560 newCaret = advance ? lineEnd : lineStart;