/frameworks/base/core/tests/coretests/src/android/text/ |
StaticLayoutDirectionsTest.java | 19 import android.text.Layout.Directions; 30 private static Directions dirs(int ... dirs) { 31 return new Directions(dirs); 40 private static final Directions DIRS_ALL_LEFT_TO_RIGHT = 41 new Directions(new int[] { 0, RUN_LENGTH_MASK }); 42 private static final Directions DIRS_ALL_RIGHT_TO_LEFT = 43 new Directions(new int[] { 0, RUN_LENGTH_MASK | RUN_RTL_FLAG }); 72 // Expected directions are an array of start/length+level pairs, 74 private static Directions[] expected = { 134 Directions result = l.getLineDirections(0) [all...] |
/frameworks/base/core/java/android/text/ |
AndroidBidi.java | 19 import android.text.Layout.Directions; 59 * @return the directions 61 public static Directions directions(int dir, byte[] levels, int lstart, method in class:AndroidBidi 176 return new Directions(ld);
|
DynamicLayout.java | 119 mObjects = new PackedObjectVector<Directions>(1); 153 Directions[] dirs = new Directions[] { DIRS_ALL_LEFT_TO_RIGHT }; 331 Directions[] objects = new Directions[1]; 616 public final Directions getLineDirections(int line) { 708 private PackedObjectVector<Directions> mObjects;
|
Layout.java | 342 Directions directions = getLineDirections(i); local 343 if (directions == DIRS_ALL_LEFT_TO_RIGHT && !mSpannedText && !hasTabOrEmoji) { 347 tl.set(paint, buf, start, end, dir, directions, hasTabOrEmoji, tabStops); 664 public abstract Directions getLineDirections(int line); 688 Directions dirs = getLineDirections(line); 718 Directions dirs = getLineDirections(line); 838 Directions directions = getLineDirections(line); local 851 tl.set(mPaint, mText, start, end, dir, directions, hasTabOrEmoji, tabStops) 967 Directions directions = getLineDirections(line); local 993 Directions directions = getLineDirections(line); local 1238 Directions directions = getLineDirections(line); local [all...] |
StaticLayout.java | 134 mLineDirections = new Directions[ 153 mLineDirections = new Directions[ArrayUtils.idealIntArraySize(2 * mColumns)]; 608 Directions[] grow2 = new Directions[nlen]; 680 Directions linedirs = DIRS_ALL_LEFT_TO_RIGHT; 687 mLineDirections[j] = AndroidBidi.directions(dir, chdirs, start - widthStart, chs, [all...] |
BoringLayout.java | 364 public final Directions getLineDirections(int line) {
|
TextLine.java | 24 import android.text.Layout.Directions; 53 private Directions mDirections; 127 * @param directions the directions information of this line 132 Directions directions, boolean hasTabs, TabStops tabStops) { 138 mDirections = directions; 140 throw new IllegalArgumentException("Directions cannot be null"); 152 mCharsValid = hasReplacement || hasTabs || directions != Layout.DIRS_ALL_LEFT_TO_RIGHT; [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
LayoutTest.java | 324 public Directions getLineDirections(int line) {
|
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/17/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/6/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |