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/ContactLocaleUtils.java
|
d3b23d40bc15640abaeafa4041737b59f61ea557 |
|
02-Oct-2013 |
Jay Shrauner <shrauner@google.com> |
Fix Serbian address labels in non-Serbian locale Add Serbian labels to default set (previously was only using Ukrainian for Cyrillic languages when in a non-Cyrillic locale). This adds a net of 3 new labels to the default label set. Added unit tests for Serbian and Ukrainian unique characters. Bug:11030904 Change-Id: Id35bf963ea10b89554aa0743d0f215c124b44c8d
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ContactLocaleUtils.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/ContactLocaleUtils.java
|
1f8895bc9efd6c20adb02652bccb2c011ebca114 |
|
04-Mar-2013 |
Jay Shrauner <shrauner@google.com> |
Fix unit tests for ICU 51 patches Fix unit tests to reflect fixes to AlphabeticIndex from backporting ICU 51 fixes into current Android ICU drop. Add tests for new German "Sch" and "St" labels. Bug: Change-Id: I9c4778bec24eebe6ed4228d541b6a6d95c6701aa
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ContactLocaleUtils.java
|
f335592cc008403f2b6e708b65017903ab83034b |
|
07-Mar-2013 |
Jay Shrauner <shrauner@google.com> |
Use ICU ImmutableIndex Switch to using ICU ImmutableIndex, which is thread-safe and theoretically has faster lookups. Bug: Change-Id: Icd1f8b53c73f44fe71aeb99aefb9286405ea32d1
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ContactLocaleUtils.java
|
21cfa6019b9fb82c23edf978d27904757207d9b0 |
|
27-Feb-2013 |
Jay Shrauner <shrauner@google.com> |
Fix unit tests for ICU 50 Fix tests to account for fixes made in ICU 50. Add some additional tests. Bug: Change-Id: I7d1fb0588f56b58da5c5177823ed5c16c4603e24
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ContactLocaleUtils.java
|
a6a9fa802d1b56c206c670ca1d313bc64effcb5d |
|
14-Feb-2013 |
Jay Shrauner <shrauner@google.com> |
Use ICU JNI wrappers for phonebook labels Switch from using native code registered as sqlite callbacks to using JNI wrappers for accessing ICU AlphabeticIndex. Stop using specialized sort keys for Simplified Chinese because ICU code can correctly label the characters directly. Bug: Change-Id: I0568b3a406495c147c7b9b3e72835d11d93f9d16
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ContactLocaleUtils.java
|
38210445730ee04c351c7cc1b3800cfe23e34325 |
|
27-Jun-2012 |
Makoto Onuki <omakoto@google.com> |
Reorganize import in contacts provider Change-Id: If3afb134ea36bd93859efcd114885526e1592b91
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ContactLocaleUtils.java
|
dd1cc45e540b41e9a4b824410ca792dd8360b70e |
|
24-Feb-2012 |
Daniel Lehmann <lehmannd@google.com> |
Replaces HashMap by SparseArray Bug:6013599 Change-Id: If121860e3c272e504eba5e3ba094d463dae71d64
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ContactLocaleUtils.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/ContactLocaleUtils.java
|
cdd03b2ba03718a7fa85663a2438136284a1557c |
|
08-Mar-2010 |
Bai Tao <michaelbai@google.com> |
Filter English contacts by initial char in Chinese Locale Filter Chinese and CJK contacts by initial char in neither Japanese nor Korean locale. Change-Id: Ie20b081a96421c56f1713cb676946743704549f3
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ContactLocaleUtils.java
|
4cd13c4266d8e476e1a49c4b6bcd5b18c33d0de3 |
|
21-Jan-2010 |
Bai Tao <michaelbai@google.com> |
a. Fix the issue that the FullNameStyle is not updated when user edits the contact or the contacts being synced. b. Add Chinese sort and search. c. Adds a CJK check for each contact at runtime. per discussion with component owner, will tune performance later after Korean and Japanese features are added.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ContactLocaleUtils.java
|