History log of /packages/apps/Contacts/src/com/android/contacts/editor/CompactPhotoEditorView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
03debc685e254b85df07fc9d213f17967a5fca9a 20-Jul-2015 Walter Jang <wjang@google.com> Pass MaterialPalete colors to contact editor as ints not Parcelable

The MaterialPalette class is not public and crashes the edit contact
app selector if any third party app also has a filter for
android.intent.action.EDIT in their manifest.

Bug 22564102

Change-Id: I0926108bf83431e4c80412571062f7bc561c3de5
/packages/apps/Contacts/src/com/android/contacts/editor/CompactPhotoEditorView.java
2655677440d8d8eb43a52c90504093112fe6782a 23-Jun-2015 Walter Jang <wjang@google.com> Parsing compact editor profile photo file IDs as longs

This only appears to be affecting the ME profile photo

Bug 22010349

Change-Id: If1be0ec6b2491649ebd0d3daa95a47cb437447af
/packages/apps/Contacts/src/com/android/contacts/editor/CompactPhotoEditorView.java
fa127a1c0ca95139664771edc3d5d97331c93b19 18-Jun-2015 Walter Jang <wjang@google.com> Allow users to edit photos for read-only contacts again

Similar to ag/711429 (for editing read-only names), we set the
photo bitmap from the read-only contact but set the newly created
(and writable) raw contact as the delta underlying the photo editor
view so that if the photo is updated by the user, the new raw
contact is set as changed and not the read-only raw contact.

Bug 21873945

Change-Id: Ibd40f3d708332fe6f87d247773b871d575d7d12e
/packages/apps/Contacts/src/com/android/contacts/editor/CompactPhotoEditorView.java
ab50e6f5cf14e1bdb6cd3598372fefc2fa6b0b83 15-Jun-2015 Walter Jang <wjang@google.com> Don't allow read-only photos to be changed in compact editor

Also don't display compact editor photos for non-editable contacts

Bug 21873945

Change-Id: I7523e9cc7f8342e546659ede6a3dd822d790a259
/packages/apps/Contacts/src/com/android/contacts/editor/CompactPhotoEditorView.java
3bb7a0f2a8ec3aed48ba740810997b3f8ad1a260 21-May-2015 Walter Jang <wjang@google.com> 1/2 Allow the keyboard to resize the compact editor layout

So we're reverting the fix submitted in ag/680795 and
preventing the landscape layout from getting messed up
by basing the photo resizing off of the display dimensions.

The reason is that adjustResize provides a better UX and
is necessary to fix the bugs related to showing and hiding
the type downdowns propertly.

Bug 20526470

Change-Id: Ia6755336cb8d1fa78142b754e5d40a45b4c50d44
/packages/apps/Contacts/src/com/android/contacts/editor/CompactPhotoEditorView.java
4a268d3dc9eb0fa067b1e408199ec7c969f34a25 17-Mar-2015 Walter Jang <wjang@google.com> Add gradient behind photo icon is contact photo is set

Bug 19732687

Change-Id: Iad82b23aedf25e3e9a9ced8d2cd30190b69240de
/packages/apps/Contacts/src/com/android/contacts/editor/CompactPhotoEditorView.java
ff16eea0e4d18cf2964667ce8e597780797e2b69 16-Mar-2015 Walter Jang <wjang@google.com> Move contact photo edit icon from ActionBar to lower right corner

Screenshots https://docs.google.com/drawings/d/1mekRSq4i3Y810Ow2tbNBDKBWl1NGmR4GLR7vlocZOxI/edit

Bug 19732687

Change-Id: I68f969eed59d925d9afd6d5c8e33ec80cbff5cfd
/packages/apps/Contacts/src/com/android/contacts/editor/CompactPhotoEditorView.java
9d8f37e77052543c4ae07cbf8329e4ff0ddef66b 16-Mar-2015 Walter Jang <wjang@google.com> Change compact contact edtior photo aspect ratio

To less severe 360:184/width:height

Change-Id: I72e65bd921f271cc74b8b13b27b3b99932f1beb4
Screenshots: https://docs.google.com/drawings/d/1rHxAfZg46OKhit0ccAZkxnS4QipiG_1wKZIUIcQeLyM/edit
/packages/apps/Contacts/src/com/android/contacts/editor/CompactPhotoEditorView.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/CompactPhotoEditorView.java
1573aa697284e6627c7bb74eae4c350f56780c33 12-Mar-2015 Walter Jang <wjang@google.com> Re-apply tint after removing photo from compact contact editor

Change-Id: I288f5ce77c0061bb7cde38edbdfb9ac6462b3b15
/packages/apps/Contacts/src/com/android/contacts/editor/CompactPhotoEditorView.java
41b3ea1c712f01164feb55455f1391564cb76dee 10-Mar-2015 Walter Jang <wjang@google.com> Update compact editor photo to full res when possible

Bug 19655206

Change-Id: If30c7ba83851dcc7c98fa1be4bed92e302ba8245
/packages/apps/Contacts/src/com/android/contacts/editor/CompactPhotoEditorView.java
d35e5eff8737e757a4179d49dfe9c7db999b4e9d 24-Feb-2015 Walter Jang <wjang@google.com> Get join suggestions for the compact editor name field

Also fix photo height in portrait -- made a mistake in
ag/641233.

Bug 19124091

Change-Id: I988cbcf457002bc6f0996c87a8611fca82bdf78a
/packages/apps/Contacts/src/com/android/contacts/editor/CompactPhotoEditorView.java
a5e4bb287ea08f895c84d5de56fcc2483386b306 24-Feb-2015 Walter Jang <wjang@google.com> Use a split screen for the compact contact editor in landscape

Also renamed the compact header since we're not doing the
toolbar over the photo right now.

Bug 19124091

Change-Id: I91032e149252d635d564064a3652df4cc0233c6c
/packages/apps/Contacts/src/com/android/contacts/editor/CompactPhotoEditorView.java