History log of /packages/apps/Contacts/src/com/android/contacts/editor/PhoneticNameEditorView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
28a27279554af7b1e5ff664d3da97954c462a797 20-Sep-2015 Walter Jang <wjang@google.com> Revert moving between the compact and full editors (E5)

We are reverting most of the changes made to fix
b/19624360 in MNC. The reason to do this is to reduce
the massive complexity moving between the two editors
introduced.

Since the compact editor now expands in place, the full
editor will likely only used to view read-only raw
contacts now.

Bug 23589603

Change-Id: Idfcc07d8aae65295d4b3f0a0e3e7f5eb701a46c4
/packages/apps/Contacts/src/com/android/contacts/editor/PhoneticNameEditorView.java
bf63a6d6a888b3e1b5fb91accf2dadaab4384539 05-May-2015 Walter Jang <wjang@google.com> Fix contact name passing from compact to full editor on inserts

Bug 19624360

Change-Id: I50c415b59c4bad1d08f18f8c2bc7d57ddb73c418
/packages/apps/Contacts/src/com/android/contacts/editor/PhoneticNameEditorView.java
261e106d87056d0c9727dd9ae436d5aadadd0762 13-Mar-2015 Walter Jang <wjang@google.com> Compact contact editor UI tweaks

* Move delete ActionBar icon option back into the overflow
* Move the "More fields" option back to left alignment and
give it accent color
* Make unfocused fields 25% black
* Layout/padding tweaks
- Remove the 0 bottom padding on names so that all fields
have the same spacing between each other
- Use the min edit height on the "More fields" row
so that the spacing is the same as the other fields.

Bug 19729447

Change-Id: Ia11c74c1b65f96f937d6e51ed143f5f088b41561
/packages/apps/Contacts/src/com/android/contacts/editor/PhoneticNameEditorView.java
2ebade8924bb6d2734b603938f418959cc79e2ad 05-Nov-2014 Brian Attwell <brianattwell@google.com> Editor name fields

The mocks show all name fields collapsed into a single field.
After deeper inspection, this proved to be poor UX. Instead
we show the three name types inside a single name section.

Screenshot: go/ba_screen_captures/contacts/b18004959_edit_screen_material/name_fields.png

Bug: 18004959
Change-Id: Ic06abcd151a64746cce32832b27e8f47ec6b981d
/packages/apps/Contacts/src/com/android/contacts/editor/PhoneticNameEditorView.java
8f9d84fffbc32b50cf3133b2340b18d0510a6c6e 04-Nov-2014 Brian Attwell <brianattwell@google.com> Remove field when removing the only char

This allows us to make a simplifying assumption for b/18004959.
After this, we can assume that updateEmptyEditors is never called
with emptyEditors.size() > 1 and findFocus() == null.

Bug: 18004959
Bug: 18194655
Change-Id: Idaf2c64bf3d359c1aa8938150a6cda3684542d42
/packages/apps/Contacts/src/com/android/contacts/editor/PhoneticNameEditorView.java
cd321f65f1e50409812976380ad1f0fdb3fa35cb 28-Oct-2013 Yorke Lee <yorkelee@google.com> Move ContactLoader related code to ContactsCommon

This CL simply moves classes from Contacts into ContactsCommon.

This is needed so that Dialer can use ContactLoader related code
for b/11294679. A ContactLoader will also be needed in the future
to allow InCallUI to download hi-res photos while in call.
Bug: 11294679

Change-Id: Ia033f3ea2406a907a4e71290c9ce810a5583dab8
/packages/apps/Contacts/src/com/android/contacts/editor/PhoneticNameEditorView.java
738ff8623dc77dd91a1b9023861e924ba5e4c27e 30-Nov-2012 Chiao Cheng <chiaocheng@google.com> Move ValuesDelta to ContactsCommon.

Bug: 6993891
Change-Id: I8b065c55100a152f72cccea5b62f10a8e30161c2
/packages/apps/Contacts/src/com/android/contacts/editor/PhoneticNameEditorView.java
aa690d4949b8105e5bcf10569b7cf4fae36741de 29-Nov-2012 Chiao Cheng <chiaocheng@google.com> Prefactor RawContactDelta.ValuesDelta into top level class.

Making ValuesDelta into top level class so we do not have to move
RawContactDelta into ContactsCommon. ValuesDelta is used by
CustomContactListFilterActivity which needs to be moved.

Bug: 6993891
Change-Id: If7371cf08ac0e14218fb790c96856e971fa613ec
/packages/apps/Contacts/src/com/android/contacts/editor/PhoneticNameEditorView.java
428f008513d1591cc08fcfe2cf0c9237fb313241 14-Nov-2012 Chiao Cheng <chiaocheng@google.com> Move dependencies of AccountTypeManager into ContactsCommon.

Moving dependencies in preparation to move AccountTypeManager.

Bug: 6993891
Change-Id: I804cdbe64b9b8111ed286037943d593e11dc4044
/packages/apps/Contacts/src/com/android/contacts/editor/PhoneticNameEditorView.java
851222a96b5d68602fb361ea3527101e893f67e3 21-Jun-2012 Maurice Chu <mochu@google.com> Added thin object layer around contact data

This refactoring abstracts out the need to directly
refer to Contacts database columns throughout the code. Instead,
all of this information is retained in getter/setter methods
within the Contact, RawContact, and DataItem classes and
sub-classes.

ContactLoader.Result class has been pulled to the top level as
the Contact class.

The Entity class has been removed and replaced with a RawContact
class, with getters/setters to raw contact information.
Renamed EntityDelta to RawContactDelta for better understandability
as well as adding getters/setters for specific fields in the
ValuesDelta nested class within EntityDelta. EntityDeltaList
and EntityModifier have been renamed to RawContactDeltaList and
RawContactModifier with the methods using the RawContact class
directly rather than the Entity class.

Data items for a raw contact are represented by a DataItem object
with specialized getters/setters for subclasses of DataItem.
(e.g., EmailDataItem, PhoneDataItem. etc.). DataItem is a wrapper
around ContentValues. This abstracts away the ContactsContract
column fields into getters/setters.

The above refactoring is accompanied with changes throughout the
codebase to use the new Contact, RawContact, and DataItem classes.

Change-Id: I31c1dccd724e9652f9d0af78ca81feb6c5acd71d
/packages/apps/Contacts/src/com/android/contacts/editor/PhoneticNameEditorView.java
e0b2f1e2d01d1ac52ba207dc7ce76971d853298e 12-Jun-2012 Chiao Cheng <chiaocheng@google.com> Global import order fix.

Changed import order to be in accordance with style guide:
http://source.android.com/source/code-style.html#order-import-statements

Static imports will be placed at the top since most existing files used that
convention. It is also a style that can be handled by both eclipse and intellij.

Change-Id: Ia7013c7a2d88e5fefb8f4975d121f7fcd3fcc462
/packages/apps/Contacts/src/com/android/contacts/editor/PhoneticNameEditorView.java
223dea3e59ebd7ec41db5583a9c911d2298e8dc4 06-Dec-2011 Katherine Kuan <katherinekuan@google.com> Fix phonetic names not being saved for Exchange contacts

If the phonetic name does not have a short/long form
(i.e. an expansion button), then we need to call into the
superclass onFieldChanged() method as we did previous to
this CL: https://android-git.corp.google.com/g/#/c/150242/

Bug: 5703655
Change-Id: Ibb0545ab96a104457e09ee227f05aa34290a343c
/packages/apps/Contacts/src/com/android/contacts/editor/PhoneticNameEditorView.java
1a7f42494dbde3c268bc0763ebd62d55d43027ae 16-Nov-2011 Katherine Kuan <katherinekuan@google.com> Fix preservation of phonetic name on device rotation in contact editor

This fix is similar to the fix for preserving structured names
on device rotation. I644bfea2af4e759e1d7d94aa09840ed15efd079d

We basically detect whether fields are visible or not before
trying to update the underlying name.

Bug: 5600858
Change-Id: Ic455cc87fa2872441b5d2a0e7da67ffc1798ec3d
/packages/apps/Contacts/src/com/android/contacts/editor/PhoneticNameEditorView.java
d37a891cb44cd17083c06d7be693c469403d16df 27-Mar-2011 Daisuke Miyakawa <dmiyakawa@google.com> Enable account switcher in contact creation

- remove account selection step before contact creation
- (phone) put account info on the right side of photos
instead of having "header" for it
-- renamed header_* ids for account stuffs as they may not be
part of header any more.
- add migration functionality to EntityModifier
- add test for it
- no optimal layout

Bug: 4184675
Change-Id: I0e777f9aa37a7c9145bd430f897f8068b0bede56
/packages/apps/Contacts/src/com/android/contacts/editor/PhoneticNameEditorView.java
405671a7b42d97ebf7ae7c0eeb4721f881139673 29-Mar-2011 Daisuke Miyakawa <dmiyakawa@google.com> Move DataKind outside AccountTypes

Bug: 4184675
Change-Id: Ibb20cb8b38d0272963fc5330c738bd17c61a5542
/packages/apps/Contacts/src/com/android/contacts/editor/PhoneticNameEditorView.java
5ec40b04041818bc042c0671cb1a43b54f650e25 02-Mar-2011 Dmitri Plotnikov <dplotnikov@google.com> Modernizing phonetic name support

Bug: 3497894

Change-Id: I5aaa77275bbe1921af2d7ef034d2319691f8abf7
/packages/apps/Contacts/src/com/android/contacts/editor/PhoneticNameEditorView.java