86ccb6ce2ff6078b06add93aab489951ef83bc72 |
|
19-Oct-2011 |
Makoto Onuki <omakoto@google.com> |
Follow up to EditSchema parser - Now AccountType.addKind() throws DefinitionException instead of just logging. - Now the test contacts.xml (= test_basic_contacts.xml) defines "event" and "relationship" DataKinds too. BUA should be able to copy this file. - Added another xml, contacts_fallback.xml, to the test apk. This defines what's equivalent to the fallback type. Unittests load this file directly and compares the result to the fallback account type. - Cleaned up existing account definitions in order to make sure contacts_fallback.xml is really identical to the fallback type. This includes: ** Now structured name, display name, phonetic name, and phone DataKinds all have 'kind.typeOverallMax = 1'. ** The "assistant" phone type is no longer a custom column. It's only used for the fallback type and I don't think it's too critical. - Also, NameKindBuilder no longer re-order phonetic fields, because no other account types do this. In the previous CL I did it because I thought that'd be more "correct", but on the second thought it's probably not a good idea to make too many non-critical changes at this point. Bug 5381810 Change-Id: Ie6a4eb3b876ab22a3dcdb6a9c278e387f8166125
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.java
|
dcf751d75ad5d31620a4216d8c53fd59525e8bd8 |
|
18-Oct-2011 |
Makoto Onuki <omakoto@google.com> |
EditSchema parser for ExternalAccountType This also includes: - Removed getHeaderColor/getSideBarColor from AccountType - Implemented a test authenticator/sync adapter in the test apk. This defines a test account type "com.android.contacts.tests.authtest.basic". We could potentially add more account types to the test apk to test different edit schema variations, but at this point this is impossible, as ExternalAccountType doesn't have a way to tell which contacts.xml belongs to which account type. The current contacts.xml defined here builds the fallback account type equivalent. The sync adapter is pretty rudimentary; it doesn't clear the isDirty flag on modified raw contacts or delete raw contacts with isDeleted set. At this point this doesn't seem to be necessary to test EditSchema. Note: For now it's still not meant to be public API. Right now it's only manually tested with the edit schema defition in the test apk described above. Bug 5381810 Change-Id: Ifefdb969b4e08775125924b1366d24effc4db2f2
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.java
|
50a27b70581b0191995969c63edd1f6a3db3d1b7 |
|
07-Oct-2011 |
Makoto Onuki <omakoto@google.com> |
Clean up account definition Removed: - DataKind.isList. Use typeOverallMax = 1 instead - DataKind.textAppearanceResourceId. Always use medium - EditField.isFullName. Wasn't used. Bug 5381810 Change-Id: I5ff109c075a5edb80ff97737432c78589570a1ea
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.java
|
ee05dcdd4b066ad909322c10919fb1812214673b |
|
06-Oct-2011 |
Katherine Kuan <katherinekuan@google.com> |
Cleanup of chat capability icon and primary icon in DataKind - Add content description to chat capability icon for accessibility - Remove primary icon from DataKind because we don't display it anymore in the UI (it's an unused field since we only display secondary action icons now) Bug: 5416674 Change-Id: I6587dd9186af68b0e794d3e73cbc3dad9fdac332
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.java
|
96e87fd6e808e9d853263ffeb5104f3253a18639 |
|
21-Sep-2011 |
Daniel Lehmann <lehmannd@google.com> |
Use existence of editor as indicator whether source is editable. Bug:3093621 Change-Id: I3ba344667ce1b0f2da6847d783c0ac90f36ebd8f
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.java
|
398e3805b4278310250e5fd1007e2e73b9453d0f |
|
22-Jul-2011 |
Katherine Kuan <katherinekuan@google.com> |
Fix "Add new" strings in contact editor - Instead of using type-specific strings like "Add new phone number" just use "Add new" since we have labels for kind sections now. Change-Id: I0e386ae29330193fec18b62f3949c46e095a872c
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.java
|
a66642330b5c4a62c8b7ce438ccff57c3b017eb1 |
|
21-Jul-2011 |
Katherine Kuan <katherinekuan@google.com> |
Show more fields above the keyboard in contact editor - For the phone - Small visual fixes that will allow as many fields as possible to be visible when the keyboard is up * Smaller icons, fonts * Change some colors * Remove the "+" icon * Make address field default to min height 1 line instead of 3 Bug: 4382255 Change-Id: Icc665c866e4c1cfaa0ba8de7dae9a0c1cbd1b575
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.java
|
fd33cc3ab956222dffa6b669a13a614747a5cdff |
|
26-Jun-2011 |
Katherine Kuan <katherinekuan@google.com> |
Add flag to AccountType for ability to edit group membership - Needed for the group editor feature (upcoming CL) - Only Google and Exchange group membership lists can be edited, all other groups from other sources are not editable (for ICS at least) Change-Id: I8f2ab08a6ff0cebcce0b182e4793dfbc645a5412
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.java
|
a2d4a9652fb4db9ee222abc7a637366c6c50427c |
|
07-May-2011 |
Katherine Kuan <katherinekuan@google.com> |
Fix font sizing and spacing in editor - Remove name labels - Remove extra divideres Bug:4382255 Change-Id: I59c5b91e699b7386690e6df58e58b247d3086c99
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.java
|
2591436971bad3050c85929c8e0c5a8d48111f88 |
|
30-Apr-2011 |
Katherine Kuan <katherinekuan@google.com> |
Fix "add field" logic - Only update "add field" footer when field goes empty --> non-empty and vice versa, fix the case for 4 line addresses in Exchange contacts - Add property in DataKind class for "add field" string - Remove hash map of mime types --> string resource IDs in KindSectionView - Remove "add internet call" string Bug: 4363151 Bug: 4371568 Change-Id: Id2fec743a7c3e68d8404591cc61de20487245b0a
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.java
|
63ffb90935d8aec295e4a8f62af6c77dafe1899f |
|
27-Apr-2011 |
Katherine Kuan <katherinekuan@google.com> |
Refactor to inflate views from XML - This is part 1 of getting the contact editor up to par with the UI mocks, there are some known issues that will be fixed in coming CLs (i.e. add button functionality) - This way, the field editors can be vertically stacked on the phone and horizontally stacked on the tablet. - Get rid of duplicate labels by using the hint text in the field or spinner as the title Change-Id: Ia00a1a65ad0bbd7a4bc05ccb93dd1b1496bca5df
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.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/model/ExchangeAccountType.java
|
27e78563c1f04490ffa8b850a0442715482d1f2c |
|
14-Feb-2011 |
Dmitri Plotnikov <dplotnikov@google.com> |
Fixing order of phonetic names in contact editor They should unconditionally follow the family-middle-given order Change-Id: I23405198afdba459a4c97f16143be0600963bb02
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.java
|
1dc28bef7d5353310359c3711b6cdac390d8a2e0 |
|
11-Jan-2011 |
Dmitri Plotnikov <dplotnikov@google.com> |
Restoring full functionality of no-account contacts Bug: 3339401 Change-Id: I2c185ee6e1189b89fce875f59b55ccd68edf6313
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.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/model/ExchangeAccountType.java
|
09546dcaf7422e41eecf4e7c5d763fdc7e2d3372 |
|
28-Dec-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Fixing account type meta-data refresh. Bug: 3313829 Change-Id: I58d7162e7c0160689b451189b299403c1d394c38
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.java
|
18ffaa2561cc7dd2e3ef81737e6537931c0a9a11 |
|
03-Dec-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Renaming a couple of packages Change-Id: I2c0f86b51baa622df629206f8b79ef1d0df09119
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.java
|
4597c92d655d45447780b32c7572acef110b6ed1 |
|
15-Nov-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Renaming BaseAccountType to AccountType Change-Id: Iff47bac0e1a118f4a5319526304df16cb89bd0cd
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.java
|
3f26e24c0cbc988b32d274b7a4e88c994355ef4f |
|
13-Nov-2010 |
Daniel Lehmann <lehmannd@google.com> |
Simplify IM types to be consistent with Exchange Bug:2473310 Change-Id: I79dfd5d919504d434f5ba3629c92c53226c8ea24
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.java
|
392ccec3b56e8074a5a028af28106134b39f64bc |
|
02-Nov-2010 |
Daniel Lehmann <lehmannd@google.com> |
Provide support for events (birthdays) Bug:3134950 Change-Id: I9194dca403496a6f3a72bb45f69b16d8f530b15d
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.java
|
26c63d201628140b07ed5bcf1aaad251aef95476 |
|
20-Oct-2010 |
Daniel Lehmann <lehmannd@google.com> |
Remove custom label from Exchange assistant (it was not synced...) ... and caused confusion Bug:2604139 Change-Id: Ie55e1e3402cfca13402ed0e17eb834be39283cce
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.java
|
1ad4d1ba1dcc473e1591e049da417dea009a33d6 |
|
19-Oct-2010 |
Daniel Lehmann <lehmannd@google.com> |
Show organization in header-view; Allow only one organization per contact Change-Id: I89b99dbdf2148b3628b82b52bbbabea25052b10e
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.java
|
35769b804fbfd5a1fc0b2c36cd0a786d662c4334 |
|
19-Oct-2010 |
Daniel Lehmann <lehmannd@google.com> |
Renamed Sources to AccountTypes Change-Id: I088c7d9cd66fd4d38e93bc97a6644247f72037ef
/packages/apps/Contacts/src/com/android/contacts/model/ExchangeAccountType.java
|