Lines Matching refs:BidiBase

112     static void setTrailingWSStart(BidiBase bidiBase)
125 if (BidiBase.NoContextRTL(dirProps[start - 1]) == BidiBase.B) {
131 (BidiBase.DirPropFlagNC(dirProps[start - 1]) & BidiBase.MASK_WS) != 0) {
143 public static Bidi setLine(Bidi bidi, BidiBase paraBidi,
144 Bidi newBidi, BidiBase newBidiBase,
148 BidiBase lineBidi = newBidiBase;
167 if (BidiBase.IsBidiControlChar(paraBidi.text[j])) {
185 if (paraBidi.direction != BidiBase.MIXED) {
223 lineBidi.direction = BidiBase.MIXED;
233 lineBidi.direction = BidiBase.MIXED;
267 static byte getLevelAt(BidiBase bidiBase, int charIndex)
270 if (bidiBase.direction != BidiBase.MIXED || charIndex >= bidiBase.trailingWSStart) {
277 static byte[] getLevels(BidiBase bidiBase)
306 static BidiRun getLogicalRun(BidiBase bidiBase, int logicalPosition)
333 private static void getSingleRun(BidiBase bidiBase, byte level) {
375 private static void reorderLine(BidiBase bidiBase, byte minLevel, byte maxLevel) {
461 static int getRunFromLogicalIndex(BidiBase bidiBase, int logicalIndex) {
488 static void getRuns(BidiBase bidiBase) {
496 if (bidiBase.direction != BidiBase.MIXED) {
500 } else /* BidiBase.MIXED, length>0 */ {
505 byte level = BidiBase.INTERNAL_LEVEL_DEFAULT_LTR; /* initialize with no valid level */
539 byte minLevel = BidiBase.MAX_EXPLICIT_LEVEL + 1;
617 BidiBase.Point point;
632 if (BidiBase.IsBidiControlChar(c)) {
650 minLevel = BidiBase.MAX_EXPLICIT_LEVEL + 1;
654 if (level > BidiBase.MAX_EXPLICIT_LEVEL + 1) {
745 static int[] getVisualMap(BidiBase bidiBase)
779 if ((insertRemove & (BidiBase.LRM_BEFORE|BidiBase.RLM_BEFORE)) > 0) {
782 if ((insertRemove & (BidiBase.LRM_AFTER|BidiBase.RLM_AFTER)) > 0) {
790 if ((insertRemove & (BidiBase.LRM_AFTER|BidiBase.RLM_AFTER)) > 0) {
791 indexMap[--k] = BidiBase.MAP_NOWHERE;
798 if ((insertRemove & (BidiBase.LRM_BEFORE|BidiBase.RLM_BEFORE)) > 0) {
799 indexMap[--k] = BidiBase.MAP_NOWHERE;
835 if (!BidiBase.IsBidiControlChar(uchar)) {