History log of /packages/apps/Contacts/src/com/android/contacts/editor/PhotoSourceDialogFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c40f3e945c43ff1ff90abb7fb2daf56aba315e10 21-Dec-2016 Gary Mai <garymai@google.com> Use support toolbar in editor to fix issues in LMP

ContactEditorActivity has to switch to AppCompatActivity, and so
does its theme.
Use support AlertDialog in editor created dialogs so it uses the
appcompat theme correctly.

Test: Manually verified look and functionality of the toolbar in
LMP and on MNC.
Verified LMP cut/copy/paste toolbar appears over the toolbar instead
of pushing it down.

Bug: 33662452
Bug: 33587478
Change-Id: Ie6f4555a237b7a10877dd0b32615120b6d789646
/packages/apps/Contacts/src/com/android/contacts/editor/PhotoSourceDialogFragment.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/PhotoSourceDialogFragment.java
f34bd4235c0ca3f1cf8b192bb572a4e463bc36ff 30-Jul-2016 guanxiongliu <guanxiongliu@google.com> Bringing import/export dialog and edit photo dialog up to spec (1/2)

Bug:30079784
Change-Id: I7e05b5ec089ad7b612d19afe349ce52ea3b3334a
/packages/apps/Contacts/src/com/android/contacts/editor/PhotoSourceDialogFragment.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/PhotoSourceDialogFragment.java
0e72ce9d97e0133a5f7cc348eef363bef9395979 23-Feb-2015 Walter Jang <wjang@google.com> Show edit contact photo options is a dialog

* Instead of a ListPopupWindow. This is more consistent with
the behavior of the other edit contact menu options.
* Also add an option menu icon to change the photo to
make this feature more easily accessible and since
users may not realize they can click the photo to
launch the choices dialog.

Bug 19124091

Change-Id: Ia4c37b3093f39d55784323f9a6d7bcf49ee96d16
/packages/apps/Contacts/src/com/android/contacts/editor/PhotoSourceDialogFragment.java