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/SplitAggregateView.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/SplitAggregateView.java
|
2b3f3c54d3beb017b2f59f19e9ce0ecc3e039dbc |
|
27-Jul-2011 |
Dave Santoro <dsantoro@google.com> |
App changes for account types with data sets. This is primarily a replacement of the Android Account object in most parts of the app with a new AccountWithDataSet object that extends Account (by adding an additional attribute, the data set). This also includes a major refactoring of the AccountTypeManager, both to allow it to handle data sets and to allow for non-sync-adapter packages to be referenced by the sync adapters for an account and registered as sources of contact data. Attributes of the sync adapter that would typically come from the authenticator can be parsed out of the Contacts XML for these packages. Bug 5077096 Change-Id: I88f311c64eae78c88e9999bff6f7de8538e62157
/packages/apps/Contacts/src/com/android/contacts/SplitAggregateView.java
|
a07fa5f37031e4c5cd2933de02d2db41ec153e2b |
|
09-Jan-2011 |
Dmitri Plotnikov <dplotnikov@google.com> |
Renaming AccountTypes to AccountTypeManager. The intent is to turn it into a "system service" of sorts. Change-Id: I047d70a2e59978c05916965ef0c0d9f18abc55e6
/packages/apps/Contacts/src/com/android/contacts/SplitAggregateView.java
|
b77be6d2ad06edfd8751f55043e4aa9fd9f36015 |
|
04-Jan-2011 |
Dmitri Plotnikov <dplotnikov@google.com> |
Removing inflation levels from AccountType. Also, fixing asynchronous update and concurrency issues. Bug: 3140873 Change-Id: Ie9d342d23ee4a8d23405ef4145c54d7673b2cbe9
/packages/apps/Contacts/src/com/android/contacts/SplitAggregateView.java
|
69f9e6f0cd9b5401da55f251e9bd98e69643d7df |
|
04-Jan-2011 |
Dmitri Plotnikov <dplotnikov@google.com> |
Renaming fields and variables from "source" to "accountType" Change-Id: Ie41036e35a45fc7d9a8c934a3cbe68399c567ad6
/packages/apps/Contacts/src/com/android/contacts/SplitAggregateView.java
|
4597c92d655d45447780b32c7572acef110b6ed1 |
|
15-Nov-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Renaming BaseAccountType to AccountType Change-Id: Iff47bac0e1a118f4a5319526304df16cb89bd0cd
/packages/apps/Contacts/src/com/android/contacts/SplitAggregateView.java
|
35769b804fbfd5a1fc0b2c36cd0a786d662c4334 |
|
19-Oct-2010 |
Daniel Lehmann <lehmannd@google.com> |
Renamed Sources to AccountTypes Change-Id: I088c7d9cd66fd4d38e93bc97a6644247f72037ef
/packages/apps/Contacts/src/com/android/contacts/SplitAggregateView.java
|
7c66eb480f18c71e2e4dac320fb35886dc1b1f0d |
|
18-Nov-2009 |
Dan Egnor <egnor@google.com> |
Remove an unused and inconvenient import statement.
/packages/apps/Contacts/src/com/android/contacts/SplitAggregateView.java
|
ab066931efd4b6408b5f57026b421eb4a7934a39 |
|
21-Sep-2009 |
Jeff Sharkey <jsharkey@android.com> |
Split sources, partial inflation, third-party support. This change splits HardCodedSources into separate classes so they could borrow helpers from fallback. This also finishes up FallbackSource so it handles all new types supported by ContactsContract. The view inflaters now handle showing all types, even if not supported as a choice during edit. This approach also allows us to partially inflate sources, speeding up view and FastTrack. Fixes http://b/2116999 and http://b/2126675 and makes progress towards fixing http://b/2134623 This change also fixes on-phone contacts, meaning we always have fallback sources, fixing http://b/2119637 and http://b/2123401 Repurpose code from StyleManager for Sources inflation of third-party data sources, fixing http://b/2126691 Fix FastTrack chicklet bug so we uncheck when switching between tabs. Since all types are in framework, we borrow those strings here, and also clean up our descriptions for translation.
/packages/apps/Contacts/src/com/android/contacts/SplitAggregateView.java
|
b902a462c26f843e98c66877ef9ab8fb4ea6e446 |
|
21-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Fixing a bad query in contact split UI. Change-Id: Ie26bd435133c181d95dd765e346366517fc90f91
/packages/apps/Contacts/src/com/android/contacts/SplitAggregateView.java
|
ac86cde29640264b52a7003d1bbfdba3f3b179a9 |
|
18-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Split Contacts: cosmetic - cleaning up variable naming Change-Id: I9e52a1c38b622e0fd426b4b9c98f7495a2ff28a9
/packages/apps/Contacts/src/com/android/contacts/SplitAggregateView.java
|
99eafe7e9dc2bec101efebf525813bf64b750f72 |
|
03-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Switching to contact lookup URI in View Contact. This also fixes UI update after contact split.
/packages/apps/Contacts/src/com/android/contacts/SplitAggregateView.java
|
6698cf2a2f2b61679fe1c08916537d45ecdee9a7 |
|
20-Aug-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Fixing the Split contact UI
/packages/apps/Contacts/src/com/android/contacts/SplitAggregateView.java
|
e1cd6791d62fc1328b97034b0e07e592d94af175 |
|
28-Jul-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Contacts: renaming Aggregates to Contacts
/packages/apps/Contacts/src/com/android/contacts/SplitAggregateView.java
|
39466593586d2d15fc2e9fa8f0d1cd39d35ea3d9 |
|
27-Jul-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Renaming Contacts to RawContacts
/packages/apps/Contacts/src/com/android/contacts/SplitAggregateView.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/SplitAggregateView.java
|
06bd5a8726e8c0897f05726cf1f61cc04e88ee24 |
|
16-Jun-2009 |
Jeff Sharkey <jsharkey@android.com> |
Fix up constants that changed in framework contract.
/packages/apps/Contacts/src/com/android/contacts/SplitAggregateView.java
|
b4491ee682340b7ad69f736449c11366d369289d |
|
15-Jun-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Initial cut of "Split Aggregate" UI.
/packages/apps/Contacts/src/com/android/contacts/SplitAggregateView.java
|