b68d147b86ef242012161e89ebaea84baee14f11 |
|
11-Feb-2016 |
Raph Levien <raph@google.com> |
Allow null string to BidiFormatter#unicodeWrap The BidiFormatter#unicodeWrap() methods allow null string, but the toString() call on the result in the refactored code was crashing. Also adds @Nullable annotations. Bug: 27124532 Change-Id: I25922d104587af4a850c3640987af9315c3d3bde
/frameworks/base/core/java/android/text/BidiFormatter.java
|
2f35c6405e19512a36947fe9bd784b9e6b06f790 |
|
04-Feb-2016 |
Roozbeh Pournader <roozbeh@google.com> |
Add CharSequence interfaces for BidiFormatter The previous code just supported strings, but there were requests for using BidiFormatter while keeping the spans. Bug: 26967041 Change-Id: If2a1eeaf2cf1eedff3a83b79a105ea79ed1b85c1
/frameworks/base/core/java/android/text/BidiFormatter.java
|
c42363ad309d523d65fe8b66d16786a1d372805e |
|
10-Aug-2015 |
Roozbeh Pournader <roozbeh@google.com> |
Avoid creating unnecessary builder objects in BidiFormatter. Previously, BidiFormatter.getInstance() created an unnecessary pass-through builder object, which was used to return a static already existing BidiFormatter. Now, we just return the same static BidiFormatter, without going through a builder, so we can save some extra allocations. Bug: 10022222 Change-Id: Ibcb6aac1c1e16d9ec00e93824fa063f8dccdf8cb
/frameworks/base/core/java/android/text/BidiFormatter.java
|
007262e0aef80b30034b9ddd702ea252d9a71f4c |
|
17-Jul-2015 |
Roozbeh Pournader <roozbeh@google.com> |
Fix default value of stereoReset() in the documentation. The default has been 'true' for eternity in the code. But the documentation was mistakenly saying it was 'false'. Going with the code, since there are people out there relying on the code continuing to work the same way. Bug: 22557371 Change-Id: I6f4e7b2052d0cc30d41e8ccf2b9a5c6111fa0ab7
/frameworks/base/core/java/android/text/BidiFormatter.java
|
f156cb31c0928cc739c4dc79813d13f92389877e |
|
16-May-2015 |
Roozbeh Pournader <roozbeh@google.com> |
Make unicodeWrap() return null if the input string is null. Previously, a NullPointerException was raised if the input was null. Bug: 12894042 Change-Id: I5c5db484e5659659c1da91079adcba773ba7d83d
/frameworks/base/core/java/android/text/BidiFormatter.java
|
e442662330c972aa96986e6f09305be836b6a7f4 |
|
23-May-2013 |
Scott Main <smain@google.com> |
some extra docs for TextDirectionHeuristic Change-Id: I8ceac72a76a29bde0e25ed418110a6e4120654e3
/frameworks/base/core/java/android/text/BidiFormatter.java
|
8c08fc9a86b28c54968bde2dcbb46d744f1b6201 |
|
20-Apr-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #8656546 API REVIEW: android.text.bidi / android.text - clean BidiFormatter APIs Change-Id: I8591ce3c3e8f2de4138698aa14ddb38b933de5e1
/frameworks/base/core/java/android/text/BidiFormatter.java
|