| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Change-Id: I08fd491eff714059e9ec874fadebe7eb556c34d5
|
| |
|
|
|
|
| |
- LocaleUtil will help developers to get the layout direction from a Locale
Change-Id: I184ebcc9c208464b20f0454e7a915426640c74f0
|
| |
|
|
|
|
|
|
| |
and TEXT_LAYOUT_DIRECTION_RTL_DO_NOT_USE should be renamed
- replace them by the View constants
Change-Id: I7c2bf0213319247d3db369b6f7c36771fdf3e509
|
| |
|
|
|
|
|
| |
- also fix and update unit tests
- see bug #5242821
Change-Id: I29e029bab8ade336a430f9a2a5073caaf11b8dda
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
- now relying on ICU.getScript() and ICU.addLikelySubtags() for getting the locale script
- clean unit tests imports
Change-Id: Icdc45fa78490d1e2dde0e83bca0feea8aa205cdf
|
| |
|
|
|
|
|
|
| |
The layoutlib is used in the SDK which might not have a default Locale,
so the language string will be some kind of junk. This causes a crash in
the new LocaleUtils
Change-Id: I24e5115c56e39d394dcf89ec6cff609525b3c73e
|
|
|
- move code from Configuration to LocaleUtil
- move unit tests
Change-Id: Ic14b0131894a0c5618f00d4acb3edb0daadefe01
|