4b0653168fa54d3744585c031e609330cd15d2f1 |
|
07-Sep-2016 |
Makoto Onuki <omakoto@google.com> |
Fix the labeling issue when mixing Japanese/Trad-Chinese. When JapaneseContactUtils is used, stroke counts shouldn't be used. Bug 31115382 Change-Id: If5ed2efb04fbd9d5b945544ba8fa113d658a3fd0
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ContactLocaleUtils.java
|
2ee1d54fa1e22b2c88897c1a60e7f642a81f9562 |
|
29-Aug-2016 |
Makoto Onuki <omakoto@google.com> |
Fix multi-locale issues - Don't ignore LOCALE_CHANGED sent when CP2 is already updating locales. - Don't add multiple Chinese locales. - Don't add any Chinese locales after Japanese. - Also fix the flakiness in the test. Bug 31115382 Change-Id: Ib17d08f7947cb02aa7052d8ed6b67690361c47bf
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ContactLocaleUtils.java
|
a156e670c44e4178821650b7f488b429405757a1 |
|
18-May-2016 |
Seigo Nonaka <nona@google.com> |
Fix build break. The LocaleList location is changed from android.util to android.os by Ia8de2ee9df3dd0a42b1fe84574439519b680fe18 Bug: 28819696 Change-Id: I8fb59f6d2b3ca4294fec93d809608a3685d6b34e
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ContactLocaleUtils.java
|
6bfd56ca40fe795ee330bb1a25a9edef06e40ae3 |
|
20-Apr-2016 |
Walter Jang <wjang@google.com> |
Revert using Urdu instead of Arabic in default label locales Bug 28241432 Change-Id: I10f6376b34eb61901bbcca780431ec3ece8a9452
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ContactLocaleUtils.java
|
38c0331383a23d5de26f2fef26c39cade2b41e74 |
|
05-Feb-2016 |
Walter Jang <wjang@google.com> |
Put contacts with no name at the end of the alphabetic index We do this by changing the default bucket from 0 to the extra number bucket created to move presumed phone numbers to the position after the alphabetic index. Screenshots go/b21736630 Bug 21736630 Change-Id: I586cda9daa6cf215f991c5b94fb89a569c89daa8
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ContactLocaleUtils.java
|
85914ae47ef3c9cf7068cdd570c6d07df5f6f24b |
|
02-Feb-2016 |
Makoto Onuki <omakoto@google.com> |
Improve and clean up multi-locale support Addressed comments on I4ff7e7d51 Bug 26142164 Change-Id: I0cb10d47375adfb8efffb1102adb3daa9043bbf1
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ContactLocaleUtils.java
|
2a237a4ade82ac8b3c3b9d6ce36cfb0fe6afe702 |
|
25-Jan-2016 |
Makoto Onuki <omakoto@google.com> |
Use LocaleList to support multi-locale to improve name "bucketing". We used to keep the previous locale on the locale change event and used it as the secondary locale, but now that the framework officially supports "LocaleList", we switch to the new mechanism. On the contacts app, this affects the name "buckets". Adding more locales means you may get more buckets for the letters specific to these locales. - Now ContactLocaleUtilsTest doesn't check supported collators. Turned out quite a few collators were considered missing (because now they're tied to languages, not language-country pares?) and were simply skipped. In the meantime, apparently the labels for some languages have changed. Bug 26142164 Change-Id: I4ff7e7d51d000adb6b996eb77da07af5cd44849f
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ContactLocaleUtils.java
|
9c469cc39d5b25ab30e8e090ad800b8c181ffbb5 |
|
31-Jul-2015 |
Narayan Kamath <narayan@google.com> |
am d08759a9: Merge "Use ICU4J transliterator directly." * commit 'd08759a9810ad87dedfd9953cb24939e2ae6f278': Use ICU4J transliterator directly.
|
599753c83f4d0b4acb7c07f493b1f2accd78778e |
|
29-Jul-2015 |
Rayhaan Jaufeerally <rayhaan@google.com> |
Use ICU4J transliterator directly. This change inlines the use of the ICU4J transliterator whose wrapper class is being removed in the following change: https://android-review.git.corp.google.com/#/c/162045/ Change-Id: Ie94032b7ac0effb9d8c0093e1ab443224cb62a56
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ContactLocaleUtils.java
|
dd61f6e14ffac3043ae59e426b12424bd66a9de9 |
|
24-Jul-2015 |
Narayan Kamath <narayan@google.com> |
resolved conflicts for merge of beb0cff6 to mnc-dr-dev-plus-aosp Change-Id: Ie112762012deae2f130f8c268ad4efac67648418
|
6553bea6290dfbd9dfabd0a19ef97cc1d24fc9cb |
|
23-Jul-2015 |
ccornelius <ccornelius@google.com> |
Switch to use ICU4J's Alphabetic Index. Revise tests for expected ellipsis in overflow buckets and for Ukrainian in English locale. Change-Id: Ia61000de8f87b3c336f46818f886ba69d9c9f06e
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ContactLocaleUtils.java
|
61ec18168fea70e5c10a28776fd5b9257d9961bc |
|
30-Apr-2015 |
Jay Shrauner <shrauner@google.com> |
Use transliterator for Simplified Chinese buckets Use Pinyin name transliterator instead of AlphabeticIndex for bucketing Simplified Chinese names. Bug:19835686 Change-Id: I350a4375e2b5ba05320143581c7b532678f69120
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ContactLocaleUtils.java
|
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
|