Lines Matching defs:dir
27 public static int bidi(int dir, char[] chs, byte[] chInfo, int n, boolean haveInfo) {
36 switch(dir) {
37 case Layout.DIR_REQUEST_LTR: dir = 0; break;
38 case Layout.DIR_REQUEST_RTL: dir = 1; break;
39 case Layout.DIR_REQUEST_DEFAULT_LTR: dir = -2; break;
40 case Layout.DIR_REQUEST_DEFAULT_RTL: dir = -1; break;
41 default: dir = 0; break;
44 int result = runBidi(dir, chs, chInfo, n, haveInfo);
52 * @param dir base line direction, either Layout.DIR_LEFT_TO_RIGHT or
61 public static Directions directions(int dir, byte[] levels, int lstart,
67 int baseLevel = dir == Layout.DIR_LEFT_TO_RIGHT ? 0 : 1;
179 private native static int runBidi(int dir, char[] chs, byte[] chInfo, int n, boolean haveInfo);