History log of /packages/providers/ContactsProvider/src/com/android/providers/contacts/HanziToPinyin.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d4dbd063cf88e70b045607aa865b2fdb2329bf45 17-Oct-2013 Jay Shrauner <shrauner@google.com> Support secondary locales

Add support for tracking a secondary locale in addition to the current
primary locale for CP2. Switch to using parseable ICU language tag
(eg, "en-US") for locale tag written to DB. Secondary locale is set to
previous locale on locale change and persisted in CP2 DB and prefs.

Bug:8715226
Change-Id: Ia68397fd9118d89f3a45ac54f991f86bad42870e
/packages/providers/ContactsProvider/src/com/android/providers/contacts/HanziToPinyin.java
0f4b7a9bfe4b2079a7c5bb22b4114b5672639b05 18-Mar-2013 Jay Shrauner <shrauner@google.com> Japanese and Chinese search key fixes

Change so Pinyin search keys are only generated when in a simplified
Chinese locale. Fix name style classification of phonetic names.
Generate Romaji search keys for Japanese phonetic names. Add
secondary locale labeling for a number of non-Western languages
(Japanese, Korean, Thai, Arabic, Hebrew, Greek, Cyrillic).

Bug:5356921
Change-Id: I8c3a6b67d59fbd6b7b16e4e9f69bc30d1d996a75
/packages/providers/ContactsProvider/src/com/android/providers/contacts/HanziToPinyin.java
79b591543a37f256fcc93dc8b47017afc9c8dbca 18-Feb-2013 Jay Shrauner <shrauner@google.com> Call ICU lib for Pinyin transliteration

Switch from using hard coded tables copied from ICU to calling ICU
Transliterator directly for Pinyin transliteration.

Bug:
Change-Id: I87aae623dfe049a90cee213182275aa51a7dcd9c
/packages/providers/ContactsProvider/src/com/android/providers/contacts/HanziToPinyin.java
0c49720fb3d58e346739c2ccd56ed2b739249e07 24-Aug-2012 Xiaotao Duan <xiaotao@google.com> Update HanziToPinyin table and tests.

Change-Id: I160208ede00a4f63b257a0b6cc59ff5ad153960d
/packages/providers/ContactsProvider/src/com/android/providers/contacts/HanziToPinyin.java
84ae70d111070cc512790f0b2a573347fa9daca5 12-Jul-2012 Xiaotao Duan <xiaotao@google.com> Sync HanziToPinyin tables with ICU 4.6.

Change-Id: I6b6b144a460fbbf233222313559bbc546745d328
/packages/providers/ContactsProvider/src/com/android/providers/contacts/HanziToPinyin.java
71340347b4862d4b1368a5d69d1667e2245952e4 17-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Fix test breakage introduced in ICU upgrade.

- Move HanziToPinyin.java to ContactsProvider package.
- Update tables in the file.

HanziToPinyin.java (in framework) has had collation table for
effectively searching Pinyin-s for Chinese Hanzi-s. The table
is based on previous ICU (4.4, or before).

With I695558055cc139b42b71da9138f61d19bcbd9758, ICU 4.6 is now
available, which has tons of improvements in zh collation, while
HanziToPinyin.java still has a table based on previous ICU. This
caused several test breakages and caused a real problem in Chinese
name sorting.

Also HanziToPinyin.java is only used by ContactsProvider, so there's
no strong reason for us to have it in framework (even though hidden).
It would rather convenient to have it in the provider package to
track issues around the file.

Bug: 4645142
Change-Id: If786dd286dab47ca1b2ccab38c5fa43ae390c0f7
/packages/providers/ContactsProvider/src/com/android/providers/contacts/HanziToPinyin.java