Lines Matching refs:minLevel
346 * Here, runCount>1 and maxLevel>=minLevel>=paraLevel.
358 * which is minLevel|1. However, if the lowest level itself is odd, then
361 * This is covered by ++minLevel instead of minLevel|=1 followed
370 * if minLevel==paraLevel is odd, which is done in the extra segment.
375 private static void reorderLine(BidiBase bidiBase, byte minLevel, byte maxLevel) {
378 if (maxLevel<=(minLevel|1)) {
389 * and reorder at an odd minLevel in a separate, simpler loop.
390 * See comments above for why minLevel is always incremented.
392 ++minLevel;
398 /* do not include the WS run at paraLevel<=old minLevel except in the simple loop */
403 while (--maxLevel >= minLevel) {
439 /* now do maxLevel==old minLevel (==odd!), see above */
440 if ((minLevel & 1) == 0) {
539 byte minLevel = BidiBase.MAX_EXPLICIT_LEVEL + 1;
565 if (level < minLevel) {
566 minLevel = level;
585 if (bidiBase.paraLevel < minLevel) {
586 minLevel = bidiBase.paraLevel;
594 reorderLine(bidiBase, minLevel, maxLevel);
643 byte level, minLevel, maxLevel;
649 /* determine minLevel and maxLevel */
650 minLevel = BidiBase.MAX_EXPLICIT_LEVEL + 1;
657 if (level < minLevel) {
658 minLevel = level;
664 pMinLevel[0] = minLevel;
682 byte minLevel, maxLevel;
689 minLevel = aMinLevel[0];
693 if (minLevel == maxLevel && (minLevel & 1) == 0) {
698 minLevel |= 1;
700 /* loop maxLevel..minLevel */
740 } while (--maxLevel >= minLevel);