8bca12206d31072af65790e22fa3c3630f6b05a9 |
|
28-Jan-2017 |
avipul <avipul@google.com> |
Don't parse phonetic name just show show all the parts fully expanded. Test: Tested the following editor scenarios: 1) goto create new contact/edit existing contact 2) notice that phonetic name field is not visible 3) tap on the more fields at the bottom of the list a) phonetic name fields are visible below name fields 4) enter value in one of these fields and tap on save 5) go back to the same contact and notice that phonetic name fields are visible. Bug: 34468427 Change-Id: Idba3f3915350c2bbe49dcda89e30cd756f7f7642
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
3cbc7482cf5eb745f9ac0b51420a295f51aa46b3 |
|
22-Dec-2016 |
Marcus Hagerott <mhagerott@google.com> |
Fix exceptions logged when loading icons A RuntimeException was being logged at debug level (not a crash). This was probably introduced when the icons were changed to vector drawables in Iafea5c1bba738c57437888da999fc2909d0765fd Test: manually observe logs while opening editor and quick contact Change-Id: I8333d9aa86ed8580798deff58ecdcf29037c0aab
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
4bd50d69d2b8934dbd4cbd634ad83807d9b02735 |
|
16-Dec-2016 |
Marcus Hagerott <mhagerott@google.com> |
Use loader for accounts in editor fragment Test: manually remove selected account in editor and verify that it changes to the first account in list Bug: 33627801 Change-Id: I6554f03c207fb761f7b8d971e0f07f7416efcd72
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
bd9ef3c60669d71543b3506d4959c1fe4be409dc |
|
15-Dec-2016 |
John Shao <johnshao@google.com> |
Standardize and replace assets with vectors Standarize naming of vector drawables and replace png assets with vector drawables. Test: build and run GoogleContactsTests manual side by side sanity check with previous version Bug: 33251913 Change-Id: Iafea5c1bba738c57437888da999fc2909d0765fd
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
0a49afa2ad697307cc04ef4cb86570574fa720f2 |
|
06-Dec-2016 |
Gary Mai <garymai@google.com> |
Collapse common package (2/2) Ran optimize imports on the project as well to re-order everything which would have changed because of removing common. Test: Built GoogleContacts, GoogleContactsTests, Contacts, ContactsTests and ran unit tests. Bug: 33252370 Change-Id: I881f0ba8b8fef002b6eeefa9a16b34f15b2fd2a9
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
69c182afb0e6d82a341a28b4317aa703af768906 |
|
05-Dec-2016 |
Gary Mai <garymai@google.com> |
Collapse common packages (1/?) Move the majority of packages out of common. When trying to move common.activity to activities every file switched from a rename to separated deletes and adds. Will move tests and the rest of common in a separate CL. Test: Built GoogleContacts, Contacts, GoogleContactsTests, ContactsTests. Bug: 33252370 Change-Id: I9ffb20038dee255ef5f83002b7870265771b08c5
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
3c1153ffe62484e83764fbed7668d52c065fa518 |
|
07-Sep-2016 |
Marcus Hagerott <mhagerott@google.com> |
resolve merge conflicts of fac695a to master Change-Id: I467a8b4fa5cc610c3e1627f30631a55ecd6c91c1
|
fac695a36b227f5591eac064ded8e8dad3398400 |
|
25-Aug-2016 |
Marcus Hagerott <mhagerott@google.com> |
Add device and SIM to AccountTypeManager This makes these account types available throughout the app rather than just the Nav drawer. Test: Added unit tests for new classes; run with: $ adb shell am instrument -w \ com.google.android.tests/android.test.InstrumentationTestRunner Manually on Nexus 6, LG G5 and Samsung S7 with device and SIM contacts in CP2 by verifying "Device" and "SIM" options were available in * nav drawer * account list accessed by Pressing FAB without default account set * editor account dropdown for new contact * editor account label when editing existing contact * picker for default account in settings * settings customize screen account list Bug 30867780 Change-Id: I329381ccc58d59f2e27f65a3d9dc0164fb20c971
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
7b0970fd1db1a97f1be915d66d07f4dc8499f96d |
|
01-Sep-2016 |
Walter Jang <wjang@google.com> |
Merge base and compact editor fragments Base editor constants, inner classes, members, and methods were moved to the compact fragment unchanged except: * isAggregationSuggestionRawContactId was unused so just removed it. * maybeConvertToLegacyLookupUri was moved to ContactEditorUtils Test: Manually tested the following editor scenarios: 1) new contact 2) edit other contact 3) edit writable raw contact 4) edit read-only raw contact (joins a new writable raw contact to it) 5) edit aggregate w/ 1 writable and 1 read-only raw contact 6) edit aggregate w/ 2 writable raw contacts 7) edit local me raw contact 8) edit local me raw contact joined with a read-only raw contact Bug: 31088704 Change-Id: If3652dffef6a428aa0534ffbc639ae66601d6ab4
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
6bb8718b04da174f3642fbdcefea0fee6086db3d |
|
22-Aug-2016 |
Walter Jang <wjang@google.com> |
Replace @NeededForTesting w/ proguard keep flags (1/2) * Replace -keep of entire c.a.c.common package with individual classes * Remove all use of @NeededForTesting annotations (and the file itself since @VisibleForTesting accomplishes the same thing) Test: Ran user build ContactsTests on Nexus 5 MOB30H Bug: 30976481 Change-Id: I8d9a4d6b3409a159a108b39c1c4837a19e2325ca
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
541743ce471222a1eacf8a6366eebc0ee7c1e273 |
|
30-Jun-2016 |
Wenyi Wang <wenyiw@google.com> |
Better name for local account (1/2) Bug 29882162 Change-Id: I046b81f62dec109c3502f84ee19eae008217ae98
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
5663f084f36d3a144dd7b339d7ba94a37ffcbf57 |
|
03-May-2016 |
Wenyi Wang <wenyiw@google.com> |
Replace "Groups" with "Labels" (1/2) - Get rid of "group" in strings and comments - Remove unused strings related to groups - Replace ellipse with unicode … - Get rid of old group icon and use label icon instead Bug 28495297 Change-Id: If14f493b74505413f9e25ec98d774594730fbe11
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
90e74a539d92a59da8ea2994c91bac908e4ac7d4 |
|
30-Mar-2016 |
Tingting Wang <tingtingw@google.com> |
Merge "Using Proguard to shrink apk size." into nyc-dev
|
9deead63f39d6891385b29d8f76c07136d89699a |
|
28-Mar-2016 |
Tingting Wang <tingtingw@google.com> |
Using Proguard to shrink apk size. Contacts proguard.flags change, add keep class for tests. BUG 27314641 Change-Id: I4a169e50602ebdcea197baa54f4f887a76acdeb5 (cherry picked from commit 6035674bd506f3c9bdb49c9ce271747d7eff229e)
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
2a4848adcae11e3ee3d5483268d251cccc043e33 |
|
29-Mar-2016 |
Wenyi Wang <wenyiw@google.com> |
Revert "Don't use file ID of the removed photo" This reverts commit a12ac6d6b376d5151d86a9d66c887a60fb604995. Change-Id: I086396189653f5dd9f16ebd312d18631cae670d2
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
a12ac6d6b376d5151d86a9d66c887a60fb604995 |
|
12-Feb-2016 |
Wenyi Wang <wenyiw@google.com> |
Don't use file ID of the removed photo Doc https://goto.google.com/removedphoto Bug 25978539 Change-Id: I77abbc11766a570eb657a3b02ef910b3fa300f45
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
be5e1b109ce134c7f3f45cd4fc27b69454d7ad31 |
|
17-Oct-2015 |
Walter Jang <wjang@google.com> |
Show "local only" account name for me profile Bug 24988734 Change-Id: Ief827757e148d240ec74b46c1dfbb11c1c68a18c
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
3f18d6197a54aad10bea9c5cc2c89ca82809e793 |
|
08-Oct-2015 |
Walter Jang <wjang@google.com> |
Fix some photo selection fragment bugs (E18) * Hide the photo source dialog when there is only 1 photo in the aggregate * Fix reverting to photo selection fragment on rotate after taking or selecting a photo * Unset super primary on other photo valuesdeltas after taking a new photo (also fixes full res image not loading on quick contacts after the editor is closed?) * Show full resolution photos on photo selector even if they have not yet been saved to CP2 Bug 19697372 Bug 23589603 Change-Id: Idd6966ba981d251ae713950ea2f0d2d60c7b30c0
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
31a74ad969b650eb733e536569254ed3978c4f54 |
|
03-Oct-2015 |
Walter Jang <wjang@google.com> |
Compact editor photo picker 1/2 (E15) * Added photo selection fragment * Swap between editor and photo selection fragments in CompactEditorActivity * Moved PhotoHandler (which receives callbacks from PhotoSourceDialogFragment) from the editor fragment to CompactEditorActivity since sourcing a photo happens now from the editor photo view and the action bar when in the photo selection fragment is visible. * Extract code to get a bitmap or full size photo from a ValuesDelta in CompactEditorPhotoView and move it to EditorUtiUtils so that it can be used on both the photo selection fragment and the photo view Bug 19697372 Bug 23589603 Change-Id: Iecebca44f505527d0be7a3803cd1d8fd4fef65e0
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
3daa9a34380f0368292f366c397c26f7e90db0df |
|
25-Sep-2015 |
Wenyi Wang <wenyiw@google.com> |
Change ringtone behavior based on version. Bug: 12800232 Change-Id: I9e05d737a847392c277d50a353e4d65ecd70f9a2
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
3e5ae0db65e842d49d047568fb5d6f331298da32 |
|
20-Sep-2015 |
Walter Jang <wjang@google.com> |
Show all aggreagate contact names on the editor Stop copying the name from read only contacts to the new raw contact created in order to enable editing of read only contacts. We also don't need to match the name displayed by quick contacts. In the new design, we are showing multiple names with read-only accounts marked with the account type icon and name. Bug 23589603 Change-Id: Ifd8d18b17fc9645c15814bbb1a649a82fe246bbd
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
f5dfea4a5c94382a632eae5c538881f7da726a50 |
|
16-Sep-2015 |
Walter Jang <wjang@google.com> |
Add a multi account KindSectionView (E4) * This allows us to treat all kinds (i.e. mime types) the same (except for name and photo). * We can also set the icons and add empty editors naturally (w/o checking if the kind section is the last on in the list) * Finally, we can also expand to the full editor in place now Bug 23589603 Change-Id: Ibdecd8a9ef33cd1db70ffd9fd17e7883555d1fa4
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
defc69ce69b25daa4e3f41b7c7c6cbd1aa3e83ce |
|
26-Aug-2015 |
Walter Jang <wjang@google.com> |
Show proper label for phone only accounts I broke the account label for phone only contacts when I extracted the logic to set the account label on the full editor to a utility method so that it could also be used on the compact editor in ag/712716 Bug 22859536 Change-Id: I3e64f7f6834a1da83078cc783e04b3c2faa0702f
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
c4cecc7e7534c7f5d887222d9e6f1a43364f7665 |
|
25-Jun-2015 |
Walter Jang <wjang@google.com> |
Show google account types on editor as "account" instead of "contact" Also, missed the copy of the account type display lable setting logic for read-only contacts in ag/712716 so replacing that with the static utility method. Bug 18719390 Bug 21637149 Change-Id: I112b32a25d4d3682ca8e58ef327660bd163cb273
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
2d3f31c210ffc617e82e3b41fc32b54ec2a5011a |
|
19-Jun-2015 |
Walter Jang <wjang@google.com> |
Show account info for inserts and read-only contact edits Bug 21637149 Change-Id: I224ab188230f119f49f4ab7ddef4b51c451aa892
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|
ddd4e821226395fd977d87b6692f761c90d59139 |
|
06-Dec-2012 |
Chiao Cheng <chiaocheng@google.com> |
Refactor editor layout file dependencies out of common. Editor view layout files are only needed by the Contacts app. But they were being referenced from within AccountTypeManager and several other classes. These references are un-necessary and would have caused too many editor dependencies, such as the EditorView classes, to go into common. With the refactor, many layout files can be moved back into Contacts. Bug: 6993891 Change-Id: I146b3038f1b2273a3af2dfac3d2e86bf40bb5bd7
/packages/apps/Contacts/src/com/android/contacts/editor/EditorUiUtils.java
|