diff options
| author | Doug Felt <dougfelt@google.com> | 2010-03-01 12:45:56 -0800 |
|---|---|---|
| committer | Kenny Root <kroot@google.com> | 2010-03-31 12:08:55 -0700 |
| commit | 9f7a4442b89cc06cb8cae6992484e7ae795323ab (patch) | |
| tree | f992b3067f1cc12ae1d9529b27ec512abf6251db /core/java/android/text/DynamicLayout.java | |
| parent | 5833ae3c9d85d564f26f8bf80d37977356b087d0 (diff) | |
Enable nested bidi levels in a paragraph.
Changes the internal representation of direction information in the Directions object to be a visually-ordered list of start/length+direction pairs instead of a list of directionality inversion offsets.
Rewrite Layout.getOffsetToLeft/RightOf to use run information instead of width metrics.
Remove java Bidi, use native. Switch bidi tests to test native, expect levels instead of dirs.
Add test of directionality. Leave in switch to turn new code off and restore previous behavior for now.
Change-Id: Iea8bb46c678a18820e237c90f76007a084c83051
Diffstat (limited to 'core/java/android/text/DynamicLayout.java')
| -rw-r--r-- | core/java/android/text/DynamicLayout.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/java/android/text/DynamicLayout.java b/core/java/android/text/DynamicLayout.java index 14e5655bb448..b6aa03ab7124 100644 --- a/core/java/android/text/DynamicLayout.java +++ b/core/java/android/text/DynamicLayout.java @@ -310,7 +310,6 @@ extends Layout Directions[] objects = new Directions[1]; - for (int i = 0; i < n; i++) { ints[START] = reflowed.getLineStart(i) | (reflowed.getParagraphDirection(i) << DIR_SHIFT) | |
