History log of /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/AndroidLocale.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
82c7fdb1f6346862de373c95c618e370f81d8df6 05-Aug-2015 Deepanshu Gupta <deepanshu@google.com> Replace Locale.getDefault with custom impl.

In LayoutLib the default locale should always be the locale set the
rendering params. This change replaces all calls to Locale.getDefault in
the framework with calls to AndroidLocale.getDefault() which tries to
find the locale from the current context, but falls back to the original
call.

Change-Id: I496b35dcfc17fd61fedee21c7495541ab870b1fc
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/AndroidLocale.java
d77b9ed7dcc42efca33b225c4594a30aab9e709c 12-May-2015 Deepanshu Gupta <deepanshu@google.com> Add missing delegates for M preview.

- Remove ICU dependency (use the version bundled with platform).
- Restructure intelliJ project to move dependencies to module.
- Minor fixes to layoutlib tests.

TODO:
- Load ICU data.
- Hyphenator doesn't work.
- High quality line breaker not present.

Change-Id: I965e096e17bfc97ee995a649c3f4f6f64bb4f70d
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/AndroidLocale.java
b80e42f93ff26984c410da0235dd10f463e5722a 31-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Replace more Locale methods.

This change replaces some methods of java.util.Locale. Some of them were
added in 1.7 and some are not present in the Desktop VM.

Change-Id: Ifdf8451bb2acf55e01dce8b5e15c40c8160107cc
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/AndroidLocale.java
5cd9dde5a2a77c5095f985186d8f03147fd22870 15-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Support Locale.toLanguageTag on Java 6

Change-Id: I255e79e2c288cd24b350b7c26128bbbb0b2cb9a3
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/AndroidLocale.java