Searched refs:mDirections (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutDirectionsTest.java230 if (!Arrays.equals(expected.mDirections, result.mDirections)) {
232 hexArray(expected.mDirections),
233 hexArray(result.mDirections));
238 if (!Arrays.equals(expected.mDirections, result.mDirections)) {
239 fail("expected: " + hexArray(expected.mDirections) +
240 " got: " + hexArray(result.mDirections));
/frameworks/base/core/java/android/text/
H A DTextLine.java53 private Directions mDirections; field in class:TextLine
102 tl.mDirections = null;
141 mDirections = directions;
142 if (mDirections == null) {
195 if (mDirections == Layout.DIRS_ALL_LEFT_TO_RIGHT) {
199 if (mDirections == Layout.DIRS_ALL_RIGHT_TO_LEFT) {
206 int[] runs = mDirections.mDirections;
276 if (mDirections == Layout.DIRS_ALL_LEFT_TO_RIGHT) {
279 if (mDirections
[all...]
H A DLayout.java756 int[] runs = dirs.mDirections;
788 int[] runs = dirs.mDirections;
814 int[] runs = dirs.mDirections;
831 int[] runs = getLineDirections(line).mDirections;
1181 for (int i = 0; i < dirs.mDirections.length; i += 2) {
1182 int here = lineStartOffset + dirs.mDirections[i];
1183 int there = here + (dirs.mDirections[i+1] & RUN_LENGTH_MASK);
1184 boolean isRtl = (dirs.mDirections[i+1] & RUN_RTL_FLAG) != 0;
1508 for (int i = 0; i < dirs.mDirections.length; i += 2) {
1509 int here = linestart + dirs.mDirections[
1929 /* package */ int[] mDirections; field in class:Layout.Directions
[all...]

Completed in 557 milliseconds