summaryrefslogtreecommitdiffstats
path: root/src/com/android/providers/contacts/NameSplitter.java
Commit message (Collapse)AuthorAgeFilesLines
* Include name prefix in search indexYorke Lee2013-01-151-3/+0
| | | | | Bug: 6987476 Change-Id: I99816c32938b5b3db5f79d816d91d814ab9dca6c
* Reorganize import in contacts providerMakoto Onuki2012-06-271-3/+3
| | | | Change-Id: If3afb134ea36bd93859efcd114885526e1592b91
* Remove LegacyContactImporterMakoto Onuki2011-11-281-0/+4
| | | | | | | | Contact data migration from donut is no longer supported. Bug 5664971 Change-Id: I01c56752d93bb0f8e2a0e6ff81285f1971a7c893
* Preserving dot in name prefixes like "Mr." and "Prof."Dmitri Plotnikov2011-02-251-4/+7
| | | | Change-Id: Ife9324d8429961468a6ef3074feb374a63b989f0
* Displaying name prefix in the list and detail panelDmitri Plotnikov2011-02-251-16/+66
| | | | | Bug: 3488074 Change-Id: Ieb13337edbec01dcbd9581500420f47213f972e5
* Trim parts of the contact name before joining.Dmitri Plotnikov2011-02-231-0/+5
| | | | | | | This fixes sorting of names that start with a space. Bug: 3395927 Change-Id: I6d8d8d5047526e64081a33bd008cfb531c3f7328
* Support searching with given names for Korean namesSang-il, Lee2010-10-221-6/+78
| | | | Change-Id: Ifd5c8ebf265e7d3f4738dc0f378532f612ba9ef6
* 1. Rebuild locale related RowHandler when locale was changedBai Tao2010-04-121-29/+0
| | | | | | | | 2. Don't save adjusted full name style into DB. Bug: 2582391 Change-Id: I7f6720f59cb452ac19cb7fafac5e704c3d51c2bb
* Filter English contacts by initial char in Chinese LocaleBai Tao2010-03-101-20/+1
| | | | | | Filter Chinese and CJK contacts by initial char in neither Japanese nor Korean locale. Change-Id: Ie20b081a96421c56f1713cb676946743704549f3
* Retrofitting Eclair/Froyo changes into the legacy contact conversion script.Dmitri Plotnikov2010-03-021-0/+20
| | | | | Bug: 2461372 Change-Id: I587a8654c0d14d7145230238fe44585a65803698
* a. Fix the issue that the FullNameStyle is not updated when user edits the ↵Bai Tao2010-01-271-19/+22
| | | | | | | 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.
* Resubmit: Adding support for new Contacts columns for names and sortingDmitri Plotnikov2009-12-211-16/+87
| | | | | | | | | | This is in preparation for fixing bugs: Bug: 2075641 Bug: 2021660 Bug: 2164422 Bug: 2267198 Change-Id: I7696abe8c8fd17d8854632cc8e818b9e4d2e643c
* Revert "Merge change Ief95261a"Mike Lockwood2009-12-211-87/+16
| | | | | This reverts commit 003009d47e893df100d4020c708296b23c03d28f, reversing changes made to 5b3b3ec368625c07a2c94d2199a75099d4d9b8a9.
* Adding support for new Contacts columns for names and sortingDmitri Plotnikov2009-12-181-16/+87
| | | | | | | | | | This is in preparation for fixing bugs: Bug: 2075641 Bug: 2021660 Bug: 2164422 Bug: 2267198 Change-Id: Ief95261a0f4e2c78b216a842cad47f42ef2935c2
* Adding Name Splitter functionality that works for CJK names.Dmitri Plotnikov2009-12-151-17/+572
| | | | | | | | | | | | | | | | | | | | | | | | | - automatic recognition of name language - the "last name first" full name notation - automatic recognition of phonetic name alphabet - handling of the "Last, First Middle" format - now including middle name and suffix in the full name, e.g. "John K. Smith, Jr." - preserving dot after the suffix This is in preparation for fixing bugs: Bug: 2075641 Bug: 2021660 Bug: 2164422 Bug: 2267198 and merge with eclair-china CLs having to do with sorting using pinyin names. This CL was reviewed as change Id2f042a8 on the eclair-mr2 branch (abandoned). Change-Id: I9e63c70a0aa815319bcb28cc6b753acdcf850245
* [Issue 2155084] Favoring first name, not last name, in contact name splitterDmitri Plotnikov2009-09-291-3/+7
| | | | Change-Id: I599963b2be83824a3a446655db1eb7cee5ec5b40
* No longer relying on the components of structured name for aggregation.Dmitri Plotnikov2009-09-211-4/+31
| | | | | | | Now parsing display name into tokens and allowing permutations of those. Bug IDs: 2132657, 2132636, 2089893 Change-Id: Idea256bbec3b82fb229199c6bd6e9d7b145ab075
* Relaxed type and label checking, structured consistency.Jeff Sharkey2009-09-021-1/+58
| | | | | | | | | | | | | | | | | | For CommonDataKinds rows, we strictly require that TYPE be set when LABEL appears. Previously we had enforced that LABEL could only exist under TYPE_CUSTOM, but this doesn't hold true for providers that want to allow additional TYPE values to have labels. This fixes http://b/2089080 and http://b/2065904 This change also helps maintain consistency between structured and unstructured fields for StructuredPostal and StructuredName. That is, when an update updates one without also updating the other, we provide the additional values required to keep them consistent. If the client specifies both sets, we let them pass through. Fixes http://b/2087358 Also adds unit tests, including fixing broken ones.
* Fixing the "Liza Ma" use case. This name was parsed as Liza (first name), ↵Dmitri Plotnikov2009-08-141-1/+7
| | | | | M.A. (suffix). Should really be Liza (first name), Ma (last name)
* Merge commit 'goog/eclair-dev' into merge3Evan Millar2009-07-081-0/+297
Merged the new contacts content provider into goog/master. The old and new content providers now live side by side under separate authorities. Conflicts: Android.mk AndroidManifest.xml res/values/strings.xml