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/TypePrecedence.java
|
d9eab4da8b9946b76a2091e5cce6c858663ef1bb |
|
15-Nov-2012 |
Chiao Cheng <chiaocheng@google.com> |
Final move of AccountTypeManager dependencies. After this change, AccountTypeManager can be moved into ContactsCommon. Bug: 6993891 Change-Id: I26d6a9916bc20a0865d2bd1c765350928b7987ef
/packages/apps/Contacts/src/com/android/contacts/TypePrecedence.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/TypePrecedence.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/TypePrecedence.java
|
edb576aab33efff623691a89ace3c76cb2ff12d1 |
|
28-Jul-2011 |
Daniel Lehmann <lehmannd@google.com> |
Implement new QuickContact design - Also removes default-functionality - Fixes the flicker when dismissing (Bug:5025418) Change-Id: I46cf0fbdb2dcbf002612672e5e8f81a9b1ab6939
/packages/apps/Contacts/src/com/android/contacts/TypePrecedence.java
|
056305838b1381a45f751a6894c0fcb802abd5ac |
|
29-Mar-2011 |
Daniel Lehmann <lehmannd@google.com> |
Support the phone type MAIN Bug:4091157 Change-Id: Icb8d2ef1b653736e1ebd19afaa1e2223fa85eedb
/packages/apps/Contacts/src/com/android/contacts/TypePrecedence.java
|
cccf6276e45dc2451f6ed9902bc1b4b2ea0b05fa |
|
05-Jan-2011 |
Dmitri Plotnikov <dplotnikov@google.com> |
Integrating video chat into QuickContact Bug: 3295622 Change-Id: I1288e735bf821b3e1acd20ca4fcfa4de08b62a1a
/packages/apps/Contacts/src/com/android/contacts/TypePrecedence.java
|
49d17b3e7692ae9442c342db236fa93d4a837c28 |
|
07-Sep-2009 |
Jeff Sharkey <jsharkey@android.com> |
Lookup uris, delete, aggregation rules, untyped, sharing. ContactsListView: combined together various import/export menus under single dialog, hiding SIM import when no ICC present. Switched almost all cases to use soft "lookup" uris, especially for pick and operation cases. Brought back delete in long-press menu, and pick modes needed for SHOW_OR_CREATE. These partially fix http://b/2096050 and http://b/2096870 and http://b/2102632 ViewContactActivity: changed menus to inflate from XML, added "Share" option to replace barcode. Confirmed that it sends vCard through Gmail, other apps can match MIME-type to begin appearing in picker. Changed EAS rules back to untyped for Email and IM, which now allows use to use IM type as protocol picker. Fixes http://b/2072731 and http://b/2092744 and http://b/2088935 EditContactActivity: restructured editing to front-load all version assertions, and perform as single batch to prepare for reparenting. Correctly generate AggregationExceptions using new API from dplotnikov, especially in cases where we create multiple RawContacts from scratch. Unit tests to verify exceptions built correctly for edge cases. Also showing toast when saving failed. These changes were mostly untracked, but fixes http://b/2099211 Various untracked NPE related to untyped HardCodedSources and cleanup of "tel" "smsto" and SMS MIME-type constants.
/packages/apps/Contacts/src/com/android/contacts/TypePrecedence.java
|
802b205ac677ffbde9aaf4fa3cfa9b94e8c98a44 |
|
04-Aug-2009 |
Jeff Sharkey <jsharkey@android.com> |
Bring back Fast-Track with yummy assets and animations. Fast-Track had been quite neglected, so brought it back up to speed with ContactsContract changes. Also rearranged the Action launching logic to use ContactsSource.DataKind for any icons and label generation. Wrote slide animation that looks awesome. Added Fast-Track triggering to normal contacts list, since it has photos now. Also supports being launching in various modes, which for now are three sizes.
/packages/apps/Contacts/src/com/android/contacts/TypePrecedence.java
|
c6ad3abd847682c07d52c97f04ae8a5885148a0b |
|
22-Jul-2009 |
Jeff Sharkey <jsharkey@android.com> |
Refactored to StructuredPostal and RES_PACKAGE. Matched framework change that refactored StructuredPostal and RES_PACKAGE, also removal of Groups.PACKAGE_ID.
/packages/apps/Contacts/src/com/android/contacts/TypePrecedence.java
|
48cf72be9daba8cc0fbe37666d68c2868eb34285 |
|
17-Jul-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Removing references to Organization.TYPE_HOME
/packages/apps/Contacts/src/com/android/contacts/TypePrecedence.java
|
54a5c9f484ececf7d1ee0148ed6d36fde9c72cdc |
|
24-Jun-2009 |
Evan Millar <emillar@google.com> |
Implements data collapsing in the contact card. Provides a Collapsible interface that can implemented used by any class whose data items can be collapsed upon one another. Also provides a utility function for collapsing a list of items into a list of collapsed items. Uses this interface to collapse data items in the contact view card. ViewEntrys with the same data, mimetype, intent action, auxIntent action and action item are collapsed and shown as a single item. If the user makes this item default, all data rows represented will be made primary, and one will be chosen (arbitrarily) to be super primary.
/packages/apps/Contacts/src/com/android/contacts/TypePrecedence.java
|