summaryrefslogtreecommitdiff
path: root/core/java/android/text/TextDirectionHeuristics.java
Commit message (Collapse)AuthorAgeFilesLines
* Migrate frameworks/base javadocs references to androidxAlan Viverette2022-02-091-1/+1
| | | | | | | | | | | Does not remove Support Library artifacts from docs classpath (ApiDocs.bp) because they are still used in development/samples, which is not as easy to migrate as javadoc. Bug: 158779503 Test: make docs Exempt-From-Owner-Approval: Mass find/replace for androidx migration Change-Id: Icf7f53ec36a0e970413352e2ebf40ce9d60ed17e
* Fix various conformance issues with TextDirectionHeuristics.Roozbeh Pournader2015-04-151-40/+80
| | | | | | | | | | | | | | | | 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
* some extra docs for TextDirectionHeuristicScott Main2013-06-171-1/+8
| | | | Change-Id: I8ceac72a76a29bde0e25ed418110a6e4120654e3
* Add BidiFormatter utilityFabrice Di Meglio2013-02-111-71/+76
| | | | | | See bug #7587797 Need BidiFormatter class in Android API Change-Id: I999282b9a4c76d8b4a3fc254b0c12ca95fa6ea4a
* Fix bug #7173351 API REVIEW: android.util.LocaleUtilFabrice Di Meglio2012-09-181-2/+1
| | | | Change-Id: I08fd491eff714059e9ec874fadebe7eb556c34d5
* Hide TextDirectionHeuristicsGilles Debunne2012-05-021-0/+2
| | | | | | Bug 6435363 Change-Id: I9ba0a3c057af67e2876e64fd8c18adbb8f4d0860
* Fix bug #5217606 LocaleUtils constants TEXT_LAYOUT_DIRECTION_LTR_DO_NOT_USE ↵Fabrice Di Meglio2012-02-281-1/+2
| | | | | | | | and TEXT_LAYOUT_DIRECTION_RTL_DO_NOT_USE should be renamed - replace them by the View constants Change-Id: I7c2bf0213319247d3db369b6f7c36771fdf3e509
* Make textDirection API publicFabrice Di Meglio2012-02-131-13/+5
| | | | Change-Id: I2d5a0e3a990b9a5b78a3bbc8df7f655702743e4b
* Fix bug #5262565 Need to remove CharCount TextDirectionHeuristicsFabrice Di Meglio2011-09-061-74/+0
| | | | | | - update unit tests too Change-Id: I7c518f58a9f17cb679bc3913bdd38243f7ad2195
* Fix bug #5199577 TextView with android:password="true" is showing the "dots" ↵Fabrice Di Meglio2011-08-251-0/+28
| | | | | | | | | | 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
* Improve TextDirection resolutionFabrice Di Meglio2011-08-191-24/+0
| | | | | | | - remove unuseful heuristics - tune Javadoc Change-Id: Id72a158b3a17a528423d278b1cbfd95b8c2951b5
* Fix bug #5175022 Easy mode in MeasuredText.setPara() is no more usedFabrice Di Meglio2011-08-171-18/+35
| | | | | | | | | - 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
* Revert "Fix bug #5114358 If writing Numbers with Hebrew & Arabic keyboard, ↵Fabrice Di Meglio2011-08-081-1/+0
| | | | | | | they appear as LTR" This reverts commit 6850c7aff5b08225ab1793dd721a795cb4192f6f The referenced bug was actually not a bug. It was working as intended.
* Fix bug #5114358 If writing Numbers with Hebrew & Arabic keyboard, they ↵Fabrice Di Meglio2011-08-031-0/+1
| | | | | | | | appear as LTR - add missing case for Arabic numbers Change-Id: I7efe8172efee410eaafddec4a1465c1aa93a125b
* Implement textDirection heuristic selection.Doug Felt2011-07-141-0/+310
Change-Id: I2fcf18de573f2d66494fa5ed61e4273c3c6078c7