History log of /frameworks/base/core/java/android/text/TextDirectionHeuristics.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
473601013923d6b5a30fecad5dbc4ff719f38fe4 10-Apr-2015 Roozbeh Pournader <roozbeh@google.com> Fix various conformance issues with TextDirectionHeuristics.

1. The algorithms no longer consider directional embeddings and
overrides as strong characters.

2. The algorithms are updated to Unicode 7.0, and consider the
directional isolates in determining the direction of input.

3. Codepoints are used instead of code units for looking up bidi
properties.

4. The bidi direction of unassigned characters is considered.

Bug: 20142480
Change-Id: I9be161c112b8f23565ed8961bb7d44ced234f67a
/frameworks/base/core/java/android/text/TextDirectionHeuristics.java
e442662330c972aa96986e6f09305be836b6a7f4 23-May-2013 Scott Main <smain@google.com> some extra docs for TextDirectionHeuristic

Change-Id: I8ceac72a76a29bde0e25ed418110a6e4120654e3
/frameworks/base/core/java/android/text/TextDirectionHeuristics.java
57a85740d721caf8dcd94a545b2dd920e8e84e01 31-Jan-2013 Fabrice Di Meglio <fdimeglio@google.com> Add BidiFormatter utility

See bug #7587797 Need BidiFormatter class in Android API

Change-Id: I999282b9a4c76d8b4a3fc254b0c12ca95fa6ea4a
/frameworks/base/core/java/android/text/TextDirectionHeuristics.java
d3d9f3f1004dfee2649a26cfe8dba948cd364904 18-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7173351 API REVIEW: android.util.LocaleUtil

Change-Id: I08fd491eff714059e9ec874fadebe7eb556c34d5
/frameworks/base/core/java/android/text/TextDirectionHeuristics.java
cefb4bc011fe47ec83b2fd9ec4da28bdf806c0cd 03-May-2012 Gilles Debunne <debunne@google.com> Hide TextDirectionHeuristics

Bug 6435363

Change-Id: I9ba0a3c057af67e2876e64fd8c18adbb8f4d0860
/frameworks/base/core/java/android/text/TextDirectionHeuristics.java
3fb824bae3322252a68c1cf8537280a5d2bd356d 29-Feb-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5217606 LocaleUtils constants TEXT_LAYOUT_DIRECTION_LTR_DO_NOT_USE and TEXT_LAYOUT_DIRECTION_RTL_DO_NOT_USE should be renamed

- replace them by the View constants

Change-Id: I7c2bf0213319247d3db369b6f7c36771fdf3e509
/frameworks/base/core/java/android/text/TextDirectionHeuristics.java
e7beae3f4c9c170c7c6c42cf9b572f0ee1ec9c81 14-Feb-2012 Fabrice Di Meglio <fdimeglio@google.com> Make textDirection API public

Change-Id: I2d5a0e3a990b9a5b78a3bbc8df7f655702743e4b
/frameworks/base/core/java/android/text/TextDirectionHeuristics.java
e3bf88da23bfadd89a35b6dec769ea825e5ecd6e 06-Sep-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5262565 Need to remove CharCount TextDirectionHeuristics

- update unit tests too

Change-Id: I7c518f58a9f17cb679bc3913bdd38243f7ad2195
/frameworks/base/core/java/android/text/TextDirectionHeuristics.java
7810b5f8cffb3c2c98fd0df579f4da5a9ac6cc73 25-Aug-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5199577 TextView with android:password="true" is showing the "dots" on the left even if the password chars are RTL

- force TextView to LOCALE text heuristic when in "password" mode
- remove TEXT_LAYOUT_DIRECTION_UNKNOWN_DO_NOT_USE
- LocaleUtils.getLayoutDirectionFromLocale() returns "LTR" is locale is NULL or ROOT

Change-Id: I182c46aaf2d73c8b18967fffa230bfabec91ed06
/frameworks/base/core/java/android/text/TextDirectionHeuristics.java
a646145c335ba821f01d9e4f8be2583eb9fd7266 20-Aug-2011 Fabrice Di Meglio <fdimeglio@google.com> Improve TextDirection resolution

- remove unuseful heuristics
- tune Javadoc

Change-Id: Id72a158b3a17a528423d278b1cbfd95b8c2951b5
/frameworks/base/core/java/android/text/TextDirectionHeuristics.java
4b60c30838fbd635964f1e79c057de5048dcc66f 18-Aug-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5175022 Easy mode in MeasuredText.setPara() is no more used

- use the real TextDirectionHeuristics constants
- make more formal that LayoutDirection should be resolved BEFORE TextDirection
- reset TextDirection if LayoutDirection is recomputed
- remove non used TextDirectionHeuristic.isRtl(CharSequence...)

Change-Id: I1d53a7e3ee324cfd27785bb4d715d93de8d9ff4d
/frameworks/base/core/java/android/text/TextDirectionHeuristics.java
9c89d5dc8268c9740ffabbcbc3bbd39a37fc57f0 08-Aug-2011 Fabrice Di Meglio <fdimeglio@google.com> Revert "Fix bug #5114358 If writing Numbers with Hebrew & Arabic keyboard, they appear as LTR"

This reverts commit 6850c7aff5b08225ab1793dd721a795cb4192f6f

The referenced bug was actually not a bug. It was working as intended.
/frameworks/base/core/java/android/text/TextDirectionHeuristics.java
6850c7aff5b08225ab1793dd721a795cb4192f6f 04-Aug-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5114358 If writing Numbers with Hebrew & Arabic keyboard, they appear as LTR

- add missing case for Arabic numbers

Change-Id: I7efe8172efee410eaafddec4a1465c1aa93a125b
/frameworks/base/core/java/android/text/TextDirectionHeuristics.java
cb379120456d8065d742021fc5c66748fc8a11a8 07-Jul-2011 Doug Felt <dougfelt@google.com> Implement textDirection heuristic selection.

Change-Id: I2fcf18de573f2d66494fa5ed61e4273c3c6078c7
/frameworks/base/core/java/android/text/TextDirectionHeuristics.java