History log of /packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
caf26197087343fdc18739e20e217236ff26831e 10-May-2016 Wenyi Wang <wenyiw@google.com> QuickContact for multi-window mode

Bug 27614994

Change-Id: Ifd875f3602b799c419c6c3b0bad4865e727a6d59
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
3133a53839e56e297ca44e5b756db5b607599600 05-May-2016 Walter Jang <wjang@google.com> Rename message xml drawable so it's found on ldpi (1/2)

See ag/1010737 for a more detailed explanation.

In this half of the multi-project submit we just
use the new drawable name and remove the
redundant set of pngs (i.e. the same pngs are
also in ContactsCommon)

Bug 27047302

Change-Id: Ib87a91cd7cb9e2462d61161e93c482e299d13f4c
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
ce8fc7ba2dadfaaf855b18003fb093042d6fe41c 28-Mar-2016 guanxiongliu <guanxiongliu@google.com> Using Intent display name to create shortcut

Bug:27837872
Change-Id: Ib1c410f77036514069136980ab23f85ec35e7ba8
(cherry picked from commit 3fb39c1d8dc81e6766ce8014416c956feff03f35)
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
27a2fac74121796037b6727b3585d76042a2f340 14-Mar-2016 Walter Jang <wjang@google.com> Update ContactLoader Uri after adding an invisible contact (2/2)

Bug 23280122

Change-Id: I728e9586f709b105217b9a017ed6f0259de81798
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
469a70fea3ce1e24ea87df3d9e325e865d5bf07f 08-Mar-2016 Tingting Wang <tingtingw@google.com> Show phonetic name only when it doesn't equal display name.

BUG 27549690

Change-Id: I21022c4d7516668f217326aaa2f825ad1d8d7ec5
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
a26a57a6c1a3e2c81d58caf20314b2379bb47b33 03-Mar-2016 Wenyi Wang <wenyiw@google.com> Don't add phonetic name to about card again if using cached data

Bug 27459294

Change-Id: I250259aa1dbe332cdbb342cd20c1b8cc62d64bba
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
9ae480357316f2a2f5ec6e987f84c003e9757bda 01-Mar-2016 Sean Liu <guanxiongliu@google.com> Merge "Retaining focus on duplicate suggestion when double tapping" into nyc-dev
bcae18d136522e190d5074909e5b7148c00f0db8 26-Feb-2016 guanxiongliu <guanxiongliu@google.com> Retaining focus on duplicate suggestion when double tapping

Bug:25486150
Change-Id: Id50587f0500d70d0c5aa947529b0c330fffc99b0
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
1bb6c29245bbef5b8dd1c68607acf14aec639be6 29-Feb-2016 Walter Jang <wjang@google.com> Check for null extras before accessing previous screen extra

Bug 27389760
Bug 27341012
Bug 18388581

Change-Id: Ic1b4a98aa3d94c2fa29e25e9d3067affeee0cf21
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
62a2074bb3b8dc66996e9fc6a8748b999ab2b51c 25-Feb-2016 Walter Jang <wjang@google.com> Log where quick contact was opened from (1/3)

Bug 27341012
Bug 18388581

Change-Id: I0628e9ad842ab64fc1bf6196500a64fddf465466
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
13d38cc9d72edc060e16919d1fa1176e9323ff33 24-Feb-2016 Sean Liu <guanxiongliu@google.com> Merge "Adding speakable description for checkbox" into nyc-dev
051315fadbb8e0cc57ee34701a590d07575003bb 23-Feb-2016 guanxiongliu <guanxiongliu@google.com> Adding speakable description for checkbox

Bug:27299806
Change-Id: Ic7eed4711648b23ffba4a2f6915dab320ef3fe5c
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
f62363701d76b1283edeb7305fc19249fc34899c 22-Feb-2016 Walter Jang <wjang@google.com> Revert "Revert "Ask for optional permissions when QuickContact opens""

This reverts commit d6bcb6f8724ba88ee99f6088098b0ce6455d1f93.

Change-Id: I1502a50e087999971ae26ca37beee2e1358bcc45
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
d6bcb6f8724ba88ee99f6088098b0ce6455d1f93 22-Feb-2016 Walter Jang <wjang@google.com> Revert "Ask for optional permissions when QuickContact opens"

This reverts commit a5dc1f35bf16d54db9861953b3c172180951a138.

Change-Id: I71ef2cb53ec6bd3c4549beb1ff13ac7ad6751d45
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
a5dc1f35bf16d54db9861953b3c172180951a138 17-Feb-2016 guanxiongliu <guanxiongliu@google.com> Ask for optional permissions when QuickContact opens

Bug 25935813
Bug 25839064

Change-Id: I155ea3f7029219a2050484bda644873f3f1ed7cf
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
144a4d16daf88dded258063bc33810b20c57f81d 17-Feb-2016 Wenyi Wang <wenyiw@google.com> Correct usage of forceLoad() to load hi-res photo after editing

Doc https://goto.google.com/fix-low-res

Bug 22010349
Bug 25204200

Change-Id: I4f17e62ff1c6113ee2d2bc6f7907d836677df8be
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
34dadc9c999e45216e0442963193af2af46b2500 02-Feb-2016 Wenyi Wang <wenyiw@google.com> Merge "Call forceLoad() when loader is not started to load hi-res photo"
c02118d62884272dc0bac484a528e1de8ee9adda 02-Feb-2016 Wenyi Wang <wenyiw@google.com> Call forceLoad() when loader is not started to load hi-res photo

The bug occurs because the loader may not actually be in the state
of "started" after calling restartLoader. If this happens, QuickContact
will not get the newly updated hi-res photo since onContentChanged()
will not call forceLoad(). So we call forceLoad() explicitly in this
case. There will be exactly 1 extra load when we call forceLoad()
and will be no extra load otherwise.

Bug 25204200

Change-Id: I41cc35381f7b24c0d461a4b8ed482b675e8ccad9
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
8c434e5bcc92963f34200634ae5e0ccbe0e7c473 30-Jan-2016 Tingting Wang <tingtingw@google.com> Remove duplicate code to start activity in Quick contact

BUG 26546569

Change-Id: I422c3f888832ce00679057ae2d557460413a9e4b
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
b1c2c2ca797667340a43f0f16b12fbb379036c5a 29-Jan-2016 Wenyi Wang <wenyiw@google.com> Merge "Revert "Show check mark when none is primary in photo picker"" into ub-contactsdialer-b-dev
c41a1e5f5f4872c3a0da5dec7671b66d9d80eb4e 29-Jan-2016 Wenyi Wang <wenyiw@google.com> Revert "Show check mark when none is primary in photo picker"

This reverts commit bb601f2d4a7ed4db46dd87a4d451d42c666f1591.

Change-Id: Ia7a677e7f5d5a28fc45a1e3b85da52d9b1382485
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
1d86a67a46e5904bb682496f109c6e236b314381 29-Jan-2016 Wenyi Wang <wenyiw@google.com> Update suggestion card after new tint color is extracted

Bug 26863662

Change-Id: I6ef993365dfb740f5538248bdcb2520a87c142ee
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
bb601f2d4a7ed4db46dd87a4d451d42c666f1591 14-Nov-2015 Wenyi Wang <wenyiw@google.com> Show check mark when none is primary in photo picker

If there is a photo in photo picker that is marked as primary,
we will use check that photo in photo picker.

Otherwise, with this CL, we compare the photo URI passed from
QuickContact to editor with the photo URIs in photo picker to
decide where to add a check mark.

Bug: 25092609
Change-Id: I0ae77f9874a60f45dcfb305d058ade9de4fef4a4
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
8d02b165232cb219f082e634db45374aa43e3f6a 10-Jan-2016 Wenyi Wang <wenyiw@google.com> Set contact color to controls in suggested aggregations card

This CL sets the contact color to the buttons and checkboxes per UX.

Here's the mocks:

https://drive.google.com/a/google.com/file/d/0B8zhH1VR_EZrM28yLUFHTFZuNkk/view?usp=sharing

Here's a screenshot:

https://drive.google.com/a/google.com/file/d/0BwSNbQ_IWQd2bEhZekQ3a3hXVU0/view?usp=sharing

Bug: 25165935
Change-Id: I8ab9bf316aef42555b09e2149ef694e9ed5e3c82
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
9798eea803df371f03ce2bdd0d1de80b36a7f6ff 05-Jan-2016 Tyler Gunn <tgunn@google.com> Merge "Check carrier presence when displaying the "video call" button." into ub-contactsdialer-b-dev
c85af2872f231f48b586c30f6306083a039dd6c6 22-Dec-2015 Wenyi Wang <wenyiw@google.com> Backport ContactsContract methods (1/2)

Another change is using onPull(float) on pre-L since onPull(float, float)
was added in API level 21.

Bug: 25629359
Change-Id: I06cf84a640866869094ba3a4561ef80dd47c140b
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
4c3d3e24b0de8b4170106e312f6a4ac8139e1242 17-Dec-2015 Wenyi Wang <wenyiw@google.com> Backport methods related with QuickContact

- Ignore setters and getters of status bar color on pre-L
- Ignore setters and getters of EdgeEffect color on pre-L
- Use ViewCompat to set elevation
- Use PathInterpolatorCompat to instantiate Interpolator

Bug: 25629359
Change-Id: Ie9409fbdc7f96a9feead95f2e47ca852a735a285
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
0a8f9736d1af8903674c412cf88c1233b60a156e 16-Dec-2015 Tyler Gunn <tgunn@google.com> Check carrier presence when displaying the "video call" button.

- Check the carrier presence data field when determining if the
video call button should be shown.

Bug: 20257833
Change-Id: Ic705c789bcd6d78a5a492166f4877b488534e8c2
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
5da55ff837f57a63b409cd495cc25f61ed6fd709 19-Nov-2015 Wenyi Wang <wenyiw@google.com> Correct Talkback announcement of SMS shortcut on Quick Contact

Bug: 25794705
Change-Id: Ifd39d3cb88c1b27710fb307ca95949df17ee5d91
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
42a08d901e84ab4a7f3a8c4035f70dda1f4dd20a 20-Nov-2015 Tingting Wang <tingtingw@google.com> Fix bug on suggestion card behavior.

For new contact in Quick contact UI, auto select all the suggestions.

BUG 25745610

Change-Id: I0ed9184c29b6623d99dc10eec23a63e99d165628
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
23d9b6e86d2cd15347ff7be0e911ee4992704d44 20-Nov-2015 Wenyi Wang <wenyiw@google.com> Use ContextCompat to handle getColor (2/2)

Bug: 25629359
Change-Id: I982172555532f4e7a8a756d7b4880ff0821d5f7a
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
56dfa580b5497f25169a4c875800ffff95cd31cd 18-Nov-2015 Wenyi Wang <wenyiw@google.com> Fix usage of getColor() on pre-M SDKs (2/2)

Bug: 25629359
Change-Id: I7c4ea6b1fb03e192569d41105977162f79339716
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
2876977d8df4e61004b103a8c12f7443ab297711 17-Nov-2015 Walter Jang <wjang@google.com> Don't save link suggestion count

Since we already save the suggestion IDs (and we can
get the count from it) we don't need to save the
count separately

Bug 25719683

Change-Id: I8c3e655e4939087aca805a86d38f286a124b95f9
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
3d65ea5f6113c497f09abf18d3f11abdcd1c894f 13-Nov-2015 Tingting Wang <tingtingw@google.com> Don't show suggestion card for directory and invisible contacts.

BUG 25680118

Change-Id: I229a7005cee952bebec1de4247d16d8def4b6854
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
67c80a0370571faf24a5e9d1b890b98d8585b78c 06-Nov-2015 Tingting Wang <tingtingw@google.com> Merge "Fix bugs on RTL alignments." into ub-contactsdialer-a-dev
9f153a02a56b9d97dc51371243c52e79fbce5813 06-Nov-2015 Tingting Wang <tingtingw@google.com> Fix bugs on RTL alignments.

1) when Quickcontact displayname is phonenumber.
2) fix alignment for "saving to" account in editor UI.
3) fix alignment for editor text in editor UI.

BUG 19209562
BUG 25513982
BUG 25514141

Change-Id: I7fba04b8a5e26ed4c3f3ccf3954cbc0639909291
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
d1cb9045bffc3843f5a294d41ce4608c701bcccc 06-Nov-2015 Wenyi Wang <wenyiw@google.com> Close QuickContact after unlinking contact from editor

Bug: 25230841
Change-Id: Ifbf5bb5d9cbfe7ea9186176d59f36d82953462a3
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
7806eded62dc5946bea3aa7edfcfd2b19ba30ea2 06-Nov-2015 Wenyi Wang <wenyiw@google.com> Merge "Revert "Reload QuickContact after unlinking to remove stale badges"" into ub-contactsdialer-a-dev
2bac9401f5020cc726bef6ea301a85116db41c6e 06-Nov-2015 Wenyi Wang <wenyiw@google.com> Revert "Reload QuickContact after unlinking to remove stale badges"

This reverts commit 42a6b34fe1505b0e3dd1c32c8c4b33e09e5d802c.

Change-Id: Ic7ce7b8a9c361196bd0e8cbd3a10acfe03dd1049
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
3f3621bd860217cddd90ab3c99aa6e6de67d1867 04-Nov-2015 Wenyi Wang <wenyiw@google.com> Merge "Reload QuickContact after unlinking to remove stale badges" into ub-contactsdialer-a-dev
42a6b34fe1505b0e3dd1c32c8c4b33e09e5d802c 04-Nov-2015 Wenyi Wang <wenyiw@google.com> Reload QuickContact after unlinking to remove stale badges

Bug: 25230841
Change-Id: I697ab4822168f3320b9b2dc37014df15e5e2a3be
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
b6949dc7ed1b0ab47dc6a39b3ae0d42e029be2b4 03-Nov-2015 Tingting Wang <tingtingw@google.com> Fix bugs when reading phone number in talkback mode.

1) In quick contact UI, phone number should be read out in number format.
2) In edit UI, phone number also should be read out in number format.

BUG 25447971

Change-Id: I5b2e60cd25c2585d4314996c14b126e9f2ce0470
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
168331d85c5be43a816eb24fd37a2ebdbe61ac53 30-Oct-2015 Tingting Wang <tingtingw@google.com> String changes to Contacts App (2/2).

1) Suggestion card help message.
2) Delete confirmation dialog.
3) Link, unlink and discard confirmation dialog.
4) All Contacts tab.
5) Place on home screen.
6) Default account dialog text.

BUG 25386765

Change-Id: I79a31ee143f38868d92c4d6f0379694462f595fb
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
96efbb85af828e3dac9c4e09048c9ef9a7cfdde4 26-Oct-2015 Wenyi Wang <wenyiw@google.com> Avoid crash on rotation before unlinking

Also fixed:
- "LINK CONTACTS" button being disabled after unlinking.
- Padding for local contacts in suggestion card.

Bug: 25230542
Change-Id: Ia67e0faf2f809f8cd0c15e145cb8e3d74ae43e2b
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
33f60d35a16407868de09ca898028e5eca6c6de3 24-Oct-2015 Wenyi Wang <wenyiw@google.com> Keep button style unchanged on rotation.

Bug: 25228841
Change-Id: Ia2bd9f22e7e46d1a26b0624380961d9134892d47
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
5cf746f679b7866505f8b057565a648d65d1cad8 24-Oct-2015 Wenyi Wang <wenyiw@google.com> Avoid crash in loading images

Bug: 25165935
Change-Id: I3cef0e075cb6e306dd9e11a8d29bfc718e21ec13
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
5368489acaadac82706ca0e678ec04d662db702e 23-Oct-2015 Wenyi Wang <wenyiw@google.com> Suggested Aggregations Color and Spacing Tweaks

In collapsed view
- modified image size, text.

In expanded view
- modified title text, help text and size,
- modified current contact photo and padding, added current contact info below contact name,
- modified suggestion photo and padding
- modified button color, and made it listen to the checkboxes

Bug: 25165935
Change-Id: I21a32c78d0bcc664693547641e0d0e8ca37a90e3
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
07b4b2fca9ac0b06af2df0373ea3bda47474efae 23-Oct-2015 Tingting Wang <tingtingw@google.com> Merge "Do not show suggestions when contact is not created." into ub-contactsdialer-a-dev
a1af0c833e7b4113126131e9949c3d4c9579e5df 23-Oct-2015 Tingting Wang <tingtingw@google.com> Do not show suggestions when contact is not created.

BUG 25188901

Change-Id: I8ed983f5c8031030b7e90cabc755c92296f62eef
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
df2b25c3515becc4e673316751fc2e34fd0f081e 23-Oct-2015 Walter Jang <wjang@google.com> Prune invisible link suggestions by default

It's weird that the quick contact card and the editor
name popup show different things.

Bug 25186736

Change-Id: Iaab525926bdcbab0664c44b46ba493f145059263
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
e5e6a2acc903c94962657b3c97219bc20ec8cd6b 23-Oct-2015 Tingting Wang <tingtingw@google.com> Hide invisible contacts in suggestion card.

Only show visible contacts in Quick contact suggestion card.

BUG 25186736

Change-Id: I56cd2d9bbd75772940d81582d2196bcbce0bf209
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
18906c03230be7de5b8e8bf663312cbc9a7c3097 16-Oct-2015 Tingting Wang <tingtingw@google.com> Polish the suggestion card in quick contact.

1) Add the title and help message to make user understand it easily.
2) Change the suggestion card UI to make it small when user doesn't
want to show it and expand it if it's useful.

BUG 24988440

Change-Id: I92f5bf13bee949140a86f35404347c365a6f1d1e
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
0fafb0e2813a28b31a71e908d30e18a6edaa3d95 14-Oct-2015 Tingting Wang <tingtingw@google.com> Fix bug on Suggestion card in Quick contact UI.

Starred/Unstarred a contact should still populate suggestion card.

BUG 24941992

Change-Id: I821c8922ddf9bfc1d54e46cf6cf83e45b6f754ef
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
5585c6ef5e8f075bdc3d514887322c6fa683f4cb 14-Oct-2015 Tingting Wang <tingtingw@google.com> Use the terms "Link and Unlink" instead of "Merge and separate".

BUG 24704875

Change-Id: I466907482434c0312f8ab922cdfa5e2e82ec4637
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
e29b6943ade6f5e32b7caf85dd127673d710f7e3 01-Oct-2015 Tingting Wang <tingtingw@google.com> Fix nit comments on quick contact suggestion card.

1) Add suggestions limit number to integers.xml
2) Increase character limit or it 'll cause truncation.
3) Fix a bug when merge is canceled. Should not clear selected
contact Ids.

BUG 21071527

Change-Id: Iaee6d4a60c1b7ffd2612235a9e68b7b2bebeaca3
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
f6ccd5094b6ed720e4f32ecf26d126e8ba3f4591 30-Sep-2015 Tingting Wang <tingtingw@google.com> Merge "Add suggestion card for quick contact (P2)" into ub-contactsdialer-a-dev
e3a7c4f3215294b7699c2960ffe0128d3401745f 25-Sep-2015 Tingting Wang <tingtingw@google.com> Add suggestion card for quick contact (P2)

Add a card for suggestion in quick contact, showing the
aggregation suggestions for the contact and supply merge option.

BUG 21071527

Change-Id: I7abe28c8a5fb3aac47607153f3d962271387713a
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.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/quickcontact/QuickContactActivity.java
28a27279554af7b1e5ff664d3da97954c462a797 20-Sep-2015 Walter Jang <wjang@google.com> Revert moving between the compact and full editors (E5)

We are reverting most of the changes made to fix
b/19624360 in MNC. The reason to do this is to reduce
the massive complexity moving between the two editors
introduced.

Since the compact editor now expands in place, the full
editor will likely only used to view read-only raw
contacts now.

Bug 23589603

Change-Id: Idfcc07d8aae65295d4b3f0a0e3e7f5eb701a46c4
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
82ed2b5380e134705f96e7e1f1586a25f8ac403f 09-Sep-2015 Walter Jang <wjang@google.com> Don't allow the me profile to be deleted

Bug 23353783

Change-Id: Ie4784ed0725497200129915d1cbb6bbb047fb278
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
ef282c0cd40911aad7e2c959f70daae1e06581dd 08-Aug-2015 Tingting Wang <tingtingw@google.com> Merge "Place phonetic name under display name in QuickContact."
df65d168660ce7ebd4961335e3363eb7c267e0c6 25-Jul-2015 Tingting Wang <tingtingw@google.com> Place phonetic name under display name in QuickContact.

Set phonetic name a smaller font size than display name.

BUG 22235947

Change-Id: I7d021ea8f6cc1a88c32eaccfa6ed7fe2cc2b9eb4
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
5f87e923b0300173ad68f73a47b0dca7348d6a1f 05-Aug-2015 Tyler Gunn <tgunn@google.com> Add support for "call with note" in quick contacts.

- Add "call with note" for third button (this is in place of the video call
button if it is present; mocks show a new treatment for video calls which
we can revisit in the future if need be).

Bug: 22685114
Change-Id: Idd8c17abc811720e1bca0d0a1864204dbe3610ff
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
552ee569d46ae5c63207a162157171b249243e56 29-Jul-2015 Yorke Lee <yorkelee@google.com> Don't set data on ACTION_SEND intent for Vcard

Bug: 22099922
Change-Id: I00a208550075cc7dd5426a207a222cb9e0f47c48
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
01b376805a56281f4b18e041e9676c8ee1ecd235 17-Jul-2015 Tingting Wang <tingtingw@google.com> Don't display "CUSTOM" when PHONE_TYPE == "CUSTOM" and no label set.

Check the case which PHONE_TYPE="CUSTOM" and no label set in
QuickActivity, and return empty string instead of "CUSTOM".

BUG 21900262

Change-Id: Icde2d7ec68bb2b489875b99dc6c2166d939134ea
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
d5b686e73dc50d90fd44dc5c738d243a81a6cc31 13-Jul-2015 Tingting Wang <tingtingw@google.com> Show phonetic name next to display name in UI.

In Quick contact UI, show phonetic name following its display name
if phonetic name exists.

BUG 22235947

Change-Id: I0066d2811b207bb36480f1d3c14712573b92a1a0
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
9881882e769fbf66d728159322e1d8b5e572e36c 10-Jul-2015 Jay Shrauner <shrauner@google.com> Catch WRITE_CONTACTS SecurityExceptions

Fix crash when app lacks WRITE_CONTACTS and we fail in attempt to update
interaction counts.

Bug:22405683
Change-Id: I53a10b8907e88fe75296bcfaf4659d7f358875d8
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
2e825c4cb78a017a2c313a63d361bab1a4be38b6 08-Jul-2015 Tingting Wang <tingtingw@google.com> Merge "Don't display Custom for PHONE_TYPE=CUSTOM part 2." into mnc-dev
3df785b0ad0c0292adfc03a4f804d1b38053de63 08-Jul-2015 Tingting Wang <tingtingw@google.com> Don't display Custom for PHONE_TYPE=CUSTOM part 2.

Dialer sometimes creates custom PHONE_TYPE values without
specifying the custom string. In this case, we shouldn't
display "Custom". We should display nothing.

BUG 21900262

Change-Id: Ie65a40fea3c857b7a65ee82a22c8cd1465225781
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
0b89e307db20d1198d7b17b698d9146ab4607647 24-Jun-2015 Brian Attwell <brianattwell@google.com> Check permissions before using associated APIs

Also, use sdkVersion=MNC. This way missing runtime permissions will
throw SecurityExceptions. This will make it easier to catch any
unchecked usage of permissions.

Bug: 21791169
Change-Id: I6118cc42e3aa6505b47df9470672f722600eca31
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
398cd4b1fbfa7d2fabfc4addf6a156a841a5aa6a 16-Jun-2015 Walter Jang <wjang@google.com> Pass the preferred name ID into the contact editor

Bug 21870691

Change-Id: I99cc6bf8d90f32469ca7cf105567dcc3edf48e9f
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
8dcb4ed13da40fc609e6913708c3d730ba4f0574 16-Jun-2015 Brian Attwell <brianattwell@google.com> Don't erase vcard type by calling setData()

BluetoothOppLauncherActivity checks that the vcard
type is correctly set. Note, fixing this doesn't help
with the bug that gmail has displaying vcards.

Bug: 21650555
Change-Id: Iac08371320bdcc9043c45504b8318027543f094d
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
ac679af994faece43536f1e8b2613f30c50300e1 01-Jun-2015 Walter Jang <wjang@google.com> Pass the preferred photo ID into the contact editor

Bug 21498424

Change-Id: I35e8fa3cff4d963f8017bdd596132fe749479a17
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
652936f204b15097d030e870dda5054d8115cbf3 28-May-2015 Brian Attwell <brianattwell@google.com> Use FLAG_GRANT_READ_URI_PERMISSION for ACTION_SEND

Now that read/writing the profile only has a single permission
associated with it, we can use the platform's existing
grantUriPermission() support.

Bug: 21090207
Change-Id: I31e6ae7b0f49c3589071f6a95f8d69a9456c144d
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
d10db2d3fc6f44664af065b890e36f688d0f95d6 09-May-2015 Brian Attwell <brianattwell@google.com> Merge "Handle runtime permissions" into mnc-dev
bdd32641ae2c2bc6214608cc5712dfb2b96e0305 09-May-2015 Brian Attwell <brianattwell@google.com> Handle runtime permissions

For now, we handle runtime permissions in the most
hamfisted and maintainable way possible: don't let
any Activity's be fully created unless we get all the
runtime permissions.

Bug: 20066216
Change-Id: Iaab9ad2a8106d34b5e20a1eae1ef7a5560dc49a2
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
1c06ce7ba10cb95183a704d5835e8005c023f726 01-May-2015 Jay Shrauner <shrauner@google.com> Fix NPEs when contact is null

Fix NPEs in createLauncherShortcutWithContact and deleteContact.

Bug:20757451
Change-Id: Ib55789f2a54d5cab9fe269aa4d4f8c6858ed8806
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
c57b8fd498061429922323f48dde1961840154cf 25-Mar-2015 Brian Attwell <brianattwell@google.com> Merge "Do DataUsageFeedback update after starting ACTION_CALL"
19c83e3f0f88c8598ab174660ae7a844d7d13df1 12-Mar-2015 LIANGTAO GAO <w20048@motorola.com> Do DataUsageFeedback update after starting ACTION_CALL

In QuickContactActivity, when clicking the Call button,
DataUsageFeedback update blocks the starting of ACTION_CALL
for 30-60ms.

"DataUsageFeedback update" and "ACTION_CALL" doesn't interfere with
each other. So it is harmless to update the DataUsageFeedback after
starting CallActivity.

Benefit:
Reduces 30-60ms of time needed to bring up the dialing UI.

Change-Id: I8a349b43c63f70724c89152a9e251f5a2230556f
Signed-off-by: LIANGTAO GAO <w20048@motorola.com>
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
1e8801bc9bc60bdd1c95f582c460590272cfad64 10-Mar-2015 Walter Jang <wjang@google.com> Pass full res contact photos between the compact and full editors

Bug 19624360
Bug 19655206

Change-Id: I590ec7ecec75a9af95b824f5db9cda8f8aeda675
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
5a7a23bdb698b8e741a425c9617c5e33e6314cdd 06-Mar-2015 Walter Jang <wjang@google.com> Return to the compact contact editor on back from the fully expanded one

Bug 19624360

Change-Id: I249f1e456a2d85c5ecd831358692d56b09ee5a5b
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
8025f801f5153917781a9496cabdd81ae1b6deaf 27-Feb-2015 Walter Jang <wjang@google.com> Use the super primary name on the quick contact about card title 2/2

Bug 19124091

Change-Id: I2ecbba5f73d13d6a92c3c7aa88a5f98c3195d53b
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
05287bf0cea303b93802a629aa883fb6322ca342 26-Feb-2015 Brian Attwell <brianattwell@google.com> QuickContacts can prioritize phone mimetype. Part3

Support prioritizing a single mimetype inside QuickContacts.
Also, fix a bug in ExpandingEntryCardView that causes divider
lines to dissapear after expanding, collapsing and then
expanding a second time.

Bug: 18391003
Change-Id: Ie5a93ad9e1919f470a638d4235d91fe337cb5ca3
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
f46abd89a3386cbdadff99e96df826bb27f987e9 21-Feb-2015 Walter Jang <wjang@google.com> Apply the quick contact color to default photos in the compact editor

Bug 19124091

Change-Id: I375fc8c88ab7b1bd452fbeab0e3e6444b83be094
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
c6100ffd22ae176a3e84a1062d8cb92d955faef2 20-Feb-2015 Brian Attwell <brianattwell@google.com> Avoid senseless disambiguation #2/2

This makes having two contacts apps on the same
device tolerable.

Bug: 18777272
Change-Id: Ib75eadfb94eee2c5c8305747eddd01ba9a8b1dc4
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
3918c3178b882c42cc41d3245ef61527200fb15b 13-Feb-2015 Brian Attwell <brianattwell@google.com> am a207634c: am d8010fbe: Merge "Fix "the note of contact can\'t be deleted successfully""

* commit 'a207634cb54a599224a2cdfab057e59244070e9b':
Fix "the note of contact can't be deleted successfully"
a207634cb54a599224a2cdfab057e59244070e9b 13-Feb-2015 Brian Attwell <brianattwell@google.com> am d8010fbe: Merge "Fix "the note of contact can\'t be deleted successfully""

* commit 'd8010fbe22e7cd5f625e29c23d8438a30fcd8926':
Fix "the note of contact can't be deleted successfully"
43c90f91299562b5cea7f5395a9e1e2caf8e9ef5 13-Feb-2015 Brian Attwell <brianattwell@google.com> Merge "Revert "Revert "Implement Help&Feedback. P1/2"""
56bcc2fc455dcb434545fcdeb07c5f916dece847 13-Feb-2015 Brian Attwell <brianattwell@google.com> Revert "Revert "Implement Help&Feedback. P1/2""

This reverts commit fb49bad9a90dcec8a71dfaebb2810a9af82992ef.

Change-Id: I42af6fccc81895f17dfab2f24ab3fb87d1be59b8
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
91b13fbac978911967a7def87bce3281d0cba83f 13-Feb-2015 Brian Attwell <brianattwell@google.com> Merge "Revert "Implement Help&Feedback. P1/2""
fb49bad9a90dcec8a71dfaebb2810a9af82992ef 13-Feb-2015 Brian Attwell <brianattwell@google.com> Revert "Implement Help&Feedback. P1/2"

This reverts commit d0b4c6c3820fb64e868cc9aa1d4d8388a945ba9d.

Change-Id: Iacaa0e06e64c1ef43f229e0b906a1407331d7477
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
173928b99f2e5ff6671a48469a807b980d45869c 13-Feb-2015 Brian Attwell <brianattwell@google.com> Merge "Implement Help&Feedback. P1/2"
d0b4c6c3820fb64e868cc9aa1d4d8388a945ba9d 12-Feb-2015 Brian Attwell <brianattwell@google.com> Implement Help&Feedback. P1/2

Bug: 17377125
Change-Id: I111819543ff5fa5fd9786473ba9ff02c28353ee8
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
d5bef97a00636c32b07423a48f90bad3f97cf4ab 12-Feb-2015 Brian Attwell <brianattwell@google.com> am 67055acf: am 61dfc18d: am 6d83095d: am ed188281: Don\'t access mRecentLoaderResults in background

* commit '67055acf0c1126e34b894211ac4873caa277d0b2':
Don't access mRecentLoaderResults in background
ed1882813d7c6b87543d8006a9d02aa55fef8b0d 11-Feb-2015 Brian Attwell <brianattwell@google.com> Don't access mRecentLoaderResults in background

Lists inside mRecentLoaderResults are cleared inside
Loader#onReset. Therefore, Retreiving items inside mRecentLoaderResults's
lists on a background thread can result in retreiving nulled out
ArrayList entries.

Fix:
* Only access mRecentLoaderResults on the main thread
* Don't crash when encountering null entries inside mRecentLoaderResults,
in case I'm wrong about the reason these entries are null
(although I can't see any other causes)
* make bindRecentData() sorting stable, since I'm already editing
this code anyway

Bug: 19320314
Change-Id: Id871a8c0de3685baf07a6c4d65a4835380b1b99a
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
3b1a8b2f6349d55ae8ef502d9d2f9451f24eff50 05-Feb-2015 kungaox <kunx.gao@intel.com> Fix "the note of contact can't be deleted successfully"

Reproduce step:
1.login Google account
2.launch the "Contacts" app
3.Edit a new contact and click the button "ADD ANOTHER FIFLED">select "Notes" item>Edit notes to this contact
4.Check this contact info include notes
5.Click "Edit" icon and clear the edited notes info
6.click top-left icon "√"
7.Check the contact info and found the note still exist.
Analysis:
When the only entry deleted, the mAboutCard fails to refresh its entries as
the size is 0. So shouldShow() will return true based on the old data.

Change-Id: I852443f60c7ce7df10d045b1d5f7baabccb35606
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
4a1c574cd62eb7ca1e0fcc3a61e5378e5e0787fe 27-Jan-2015 Brian Attwell <brianattwell@google.com> Add Insert.EXTRA_{ACCOUNT,DATA_SET} to API. P #2/2

Bug: 18777272
Change-Id: I17a5b7cb4d4c5a0ba48936a6fc829acaab73f31d
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
d7f8ae4326492d652e4f73255d50b78829dcbdd6 22-Jan-2015 Brian Attwell <brianattwell@google.com> Merge "Remove call to hidden suppressLayout()"
245d3d2000150cbb21111370f42addaeeb1b10a0 21-Jan-2015 Brian Attwell <brianattwell@google.com> Remove call to hidden suppressLayout()

suppressLayout was previously called as a work around for using BoundsChange.
BoundsChange is designed for animations without layout changes. Two changes
are need to to avoid using suppressLayout

1. Don't use the BoundsChange Transition when collapsing the card. This
animation involves an unavoidable layout change.
2. Don't allow user interaction during the expand animation. User
interaction can cause layout changes during the animation.

Discussion: The Transition API designers think that BoundsChange should
never be used with layout changes (go/bounds-change-no-layout-change).

Bug: 18777272
Change-Id: Ie09cc8063f81ca451c00289b5d7b5a39886b0c27
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
8e29faf7730f744b8f6ff117cae04b5bca1235db 21-Jan-2015 Brian Attwell <brianattwell@google.com> Remove hidden PorterDuffColorFilter#getColor call

This method might be unhidden in MNC. I don't want to wait.

Bug: 18777272
Change-Id: I50dbae3982e5f048b5080a707eeddd0fed0a5aac
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
493f8d14b1d974a2939a110ce89fa68e0c915c36 18-Dec-2014 Brian Attwell <brianattwell@google.com> Copy WebAddress into Contacts

Bug: 18777272
Change-Id: Ie095533a90bd66fc3d4737cc2b3a6fb47202e14d
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
55d38b43dd81fe81c3eb234cc4c420925c41820b 12-Dec-2014 Jay Shrauner <shrauner@google.com> am 99d7afd9: am 4181187f: am 02ecc3f4: Fix ContactLoader IllegalArgumentException crash

* commit '99d7afd95be3c08ef527b60372e2239b4a0e9f13':
Fix ContactLoader IllegalArgumentException crash
02ecc3f456a2e9d9fc2713583d387b708ae458d9 12-Dec-2014 Jay Shrauner <shrauner@google.com> Fix ContactLoader IllegalArgumentException crash

Display toast instead of crashing when unable to load contact due to
acore crash or invalid URI.

Bug: 18689131
Change-Id: I0e393e833bbb839af08ba6f4c10203a7d9abd3d7
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
817f99e16f16c1c122bf07abda5642fd26d58195 10-Dec-2014 Jay Shrauner <shrauner@google.com> am 579c27cd: am 93ed50ce: am 12ac1e6f: Fix ConcurrentModificationException

* commit '579c27cd95998b077ff1b03a52288f2fa1d5b06c':
Fix ConcurrentModificationException
12ac1e6f15ae9e4d4e453e7f28467fdd561939a3 09-Dec-2014 Jay Shrauner <shrauner@google.com> Fix ConcurrentModificationException

Switch from using a HashMap to a ConcurrentHashMap for the loader
results map.

Bug:18688436
Change-Id: Ib90f794b673d88f54fc841c0fa001866139f47c6
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
3bcf09eac69251c05cd4e386badfa292ba56b4f0 09-Dec-2014 Brian Attwell <brianattwell@google.com> Use buildDataStringForDisplay for phone field

This just fixes the format of the number as displayed
inside the phone field.

It doesn't fix the formatting inside recent interactions:
we continue to display the exact phone number returned
from the sms and call log database. When the contact
doesn't have a name, we continue to show their name
as an unformatted number.

Bug: 7230016
Change-Id: I1d8b40c27fbd3497a4fef4e1f30ab2a21eca44d4
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
8d0557eb013b2808402e491271fe0f13ffcfabef 02-Dec-2014 Brian Attwell <brianattwell@google.com> Don't show shortcut menu item for homescreen

Bug: 18581314
Change-Id: I169ca8e554d3fb288526eee7fc1532d7de2220da
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
49de62f06d24653484adebd69123eeff2850a757 26-Nov-2014 Jay Shrauner <shrauner@google.com> Fix NPE in shareContact

Check whether we have a shareable contact before trying to share it.

Bug:18535080
Change-Id: Id49d40227f58c592ff83c0d848ac690b85dde8d5
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
7609b7dce7cd07cf7c8a2fbc518045c366a9cbb6 20-Nov-2014 Brian Attwell <brianattwell@google.com> Make color tinting less offensive

-don't tint colors when opening QuickContacts in its
semi-collapsed state. Ie, the state it starts in when
opened from Dialer
-the transition from untinted to solid color is quick
-always apply the black gradients to QuickContacts. Using
less tinting makes the absence of gradients a bigger
problem. We could have tweaked WhitenessUtils to apply
the gradient in all problematic cases. But this turns
out to be the majority of cases. So we should just
apply the gradient all the time.
-made the gradient more attractive

Bug: 17944406
Change-Id: I46c8a7a3fccc0f7a7e8bb7470dee621edf92b8cb
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
82a5a35c1a2b83b4118bcba56625f6f25e9663d0 24-Nov-2014 Jay Shrauner <shrauner@google.com> Fix SecurityException crashes in onClick

Catch SecurityExceptions when attempting to launch activites and display
a toast indicating the app isn't found, consistent with Launcher2 handling.

Bug:18506811
Change-Id: I1b0c4a02597279ac31621293aa3c29d87a006ba4
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
fcfcae34bd2d74e71ee218cfd7aa3567d7c3fc26 24-Nov-2014 Jay Shrauner <shrauner@google.com> Don't crash when sent malformed intent

If lookupUri isn't passed in abort the intent request without crashing.

Bug:18506352
Change-Id: I128a3e4e84ec35d48d139d2cc42da38cd761ff42
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
929a62f5c1bcdc3773270f7d189d88c0464b36ad 13-Nov-2014 Jay Shrauner <shrauner@google.com> Fix NPE in background thread

Check for null mContactData in doInBackground AsyncTask inside
extractAndApplyTintFromPhotoViewAsynchronously.

Bug:18373677
Change-Id: Ifab23b53da9689a7ab690cc160c2618b5c192a00
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
5d2e262ab3658118a12fbf6d0edab76484368c24 03-Nov-2014 Walter Jang <wjang@google.com> Make it easier to delete a contact

* Add delete menu item to quickcontact overflow menu
* Promote delete menu item on edit contact activity
from overflow menu to show as action

Bug 18061876

Change-Id: I3f99e1cd00151b968a157ff818bf977c0be15eb2
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
7ce5352a70e8aaf120bf4f7bd05d595f46abb080 29-Oct-2014 Walter Jang <wjang@google.com> Apply TtsSpan to known phone numbers in contact interactions

The primary content description in ContactInteraction must be
made a Spannable so that the TtsSpan can be progated from the
Loader (where the ContactInteraction is constructed) up to the
ExpandingEntryCardView.

Bug 17322140

Change-Id: If668f27cab20822f3c80aab606089e6b6f2a96c0
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
8a3fe52802135be2402a5b216325615fb796a509 16-Oct-2014 Walter Jang <wjang@google.com> Sms and call log entry content description string fixes

* This is incremental work to fixing TalkBack for
all phone number Strings
* Date was being added twice to the call log content
description string
* Use xliff tags for all parts of both the sms and call log
content description strings
* Removed an unnecessary ExpandingEntryCardView constructor

Bug 17322140

Change-Id: Iccc39dad5dcc3fc7f8079de439b07d306b6c24e3
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
0b267fec5cb5b2d836057b16d0085be349be5243 24-Oct-2014 Brian Attwell <brianattwell@google.com> Fix blackened background screen

Commit ag/544274 was a hack suggested by someone on the Window Manager
team to work around one of their minor issues. Its use in QuickContacts
contains a flaw. Even without this flaw, I'm still nervous about
using this code.

I can no longer reproduce b/17388576. So we may as well revert
this CL and fix b/17428798.

this reverts 2e6387f0bef606bb4be3facaedeafd080156d6c6
Bug: 17428798
Change-Id: I3c4268cfd6a8a616c3179811b933b9f42f7e3867
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
1f9f48d413810c01b4daaebfe398a1bb875ea10a 23-Oct-2014 Jay Shrauner <shrauner@google.com> Merge "Fix ActivityNotFound crash" into lmp-mr1-dev
593e5a7f2551b7946ada9913408f649e530202c8 23-Oct-2014 Brian Attwell <brianattwell@google.com> Show SIP address on tablets

Bug: 18091297
Change-Id: Iad9e39f5c0cd12cf3c5f6620d98e79e770894d47
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
417309a770568d7b278abc91c46a739020e48157 22-Oct-2014 Jay Shrauner <shrauner@google.com> Fix ActivityNotFound crash

Show toast when no activity is enabled to handle intent.

Bug:18086629
Change-Id: Id17dac1872fc9ab81b02295c5f8edffa649fbcca
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
59a585b78d061c84367ec24c71e137fae55d10ce 18-Oct-2014 Brian Attwell <brianattwell@google.com> Fully reload recent interaction data after resume

Bug: 17361583
Change-Id: I8716c17a7a9f89006b823baacf49d32044d7a34d
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
9f5be98a0629e8db7cab36f58c2f5b490ef741ae 17-Oct-2014 Brian Attwell <brianattwell@google.com> Merge "Copy display name into Organization entry" into lmp-mr1-dev
ab22b8260746fb24195b7060ad9bc51c3cb519cd 17-Oct-2014 Brian Attwell <brianattwell@google.com> Merge "Call finish() in QC if contact doesn't exist" into lmp-mr1-dev
fc423b4040a0ec1728ee32ff40ef430f3e16e9dc 17-Oct-2014 Brian Attwell <brianattwell@google.com> Copy display name into Organization entry

For corporate directory lookup entries, don't copy the organization name
into a structured name field. Instead, copy it into the organization field.
This way, we will still be able to guess that the contact represents an
organization.

Bug: 17309754
Change-Id: Ibdaa12e8ca357b6935a879f8875bab5785d83f43
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
930da3ae6e392777986ed0722c5480caf1bd9e7e 17-Oct-2014 Brian Attwell <brianattwell@google.com> Call finish() in QC if contact doesn't exist

Bug: 17946654
Change-Id: I1550b1007c4daaa1022297556831db7bedcbaac0
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
97b1e2d6206ad8f64af6bc935451654204706661 13-Oct-2014 Paul Soulos <psoulos@google.com> Fixes a renaming bug (renamed instantiation without refactoring uses)

Change-Id: Ibf28eeadd3c1f2b0e248d12c838c6515924751b7
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
6a2a1a7d87cd3c59d0e09abce0739ab4175a670e 11-Oct-2014 Paul Soulos <psoulos@google.com> Adds secondary actions for hangouts and g plus

bug: 17374362
Change-Id: Ib4535669737d4132dede07e39aa61e29cc94e5b5
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
c62cc7931593b4137f8a507689b653e1e15e1260 02-Oct-2014 Brian Attwell <brianattwell@google.com> Display phone numbers as LTR

Also, force some TextView to align with viewStart. Otherwise, when using
a LTR locale some TextViews will have different alignment depending on their
contents. This looks bad.

Bug: 17761636
Change-Id: If40dafc73ae5f4f3c99d985304d426ad59722140
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
f19dda97bfdef84e3f39ba069a981004a5c797b1 16-Sep-2014 Paul Soulos <psoulos@google.com> Disables the delete menu option on "insert or edit" actions

bug: 17468225
Change-Id: I9c26279cbedfe773d6fbd39ad49470d39ac88f2e
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
0319222b43927d4d9ce7e2a9070f3543661b5782 11-Sep-2014 Tyler Gunn <tgunn@google.com> Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: I220691c43c87ab69d521a059cf945f7004f23cbf
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
2e6387f0bef606bb4be3facaedeafd080156d6c6 11-Sep-2014 Paul Soulos <psoulos@google.com> Removes status bar flash when launching a new intent from the contact card

Bug: 17388576
Change-Id: I1f3f0573de11089f74e024fa2a3510a28a91e56b
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
793e73c859ed839c28cc37d80d62bde0a361c78a 10-Sep-2014 Paul Soulos <psoulos@google.com> Forces intents that launch from the Contact card to use a new task.

bug: 17428798
Change-Id: I7c6c35d70da083099849ae793ef8ecd326c181a6
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
9e1774c9ac0c32d87ced6c0881bab4f498954841 09-Sep-2014 Brian Attwell <brianattwell@google.com> Merge "Disable "Place on Home screen" in corp Contacts" into lmp-dev
66965e14e741be40f3f5ad6aa21a75795f9a1eb1 09-Sep-2014 Brian Attwell <brianattwell@google.com> Disable "Place on Home screen" in corp Contacts

Bug: 17363218
Change-Id: Icef9736986b95358cd74655f0d1a8f1d3ab40b7e
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
97f27809c3e6153ce0bc5050bc5ee466a646e8ec 08-Sep-2014 Paul Soulos <psoulos@google.com> Adds setting and clearing primary to long click on phone nums and emails

bug: 17372583
Change-Id: I0aa2b3540cf53fe3ca107ede201424180dc64bb4
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
48290bed7c6a8bd5e7be8b206dddacf9047a945f 08-Sep-2014 Paul Soulos <psoulos@google.com> Dedupes badges in the expanding card

Bug: 17374360
Change-Id: Id498209049f7807d99034e24234a9eb76b3c03a8
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
1cd88e3ecfa72f43c3fe25c912d9f67848f11e60 06-Sep-2014 Jay Shrauner <shrauner@google.com> Use framework scheme definitions

Use PhoneAccount defined values for SCHEME_{TEL, SIP, VOICEMAIL}.

Bug:17398074
Change-Id: I798561791f094c8961dfe54dd9019af9a63b4769
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
40d7a65c6e68967f3f486715b194c144d93c296f 03-Sep-2014 Paul Soulos <psoulos@google.com> Updates the calendar event query range to 7 days future, 1 day past

bug: 17364127
Change-Id: I85877a1abdbc1098fca1c09c0afae6f9b4f7f0eb
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
c8bd00d2119313e454b2ef55ffaf04db3e257120 03-Sep-2014 Zheng Fu <zhengfu@google.com> Merge "Fix star/unstar on empty contacts by stopping caching them" into lmp-dev
c00a0b5370f0714f6af1ea9b3e29b10f25e91af0 03-Sep-2014 Zheng Fu <zhengfu@google.com> Fix star/unstar on empty contacts by stopping caching them

Bug:17157218
Change-Id: I7c43755b415125c42f14bc1faf21aed64fd34d4d
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
3c8a09988f454a78bbfaf490f6565d4a1d0321f6 03-Sep-2014 Brian Attwell <brianattwell@google.com> Merge "Move contactInteractionsToEntries() off UI thread" into lmp-dev
30e1ef1927a1a21370b6b5dedd73540152062475 03-Sep-2014 Brian Attwell <brianattwell@google.com> Move contactInteractionsToEntries() off UI thread

This removes one missed frame from QuickContactActivity's entrance
scroll animation. There is still one more frame that will be missed
because of the re-measuring that occurs after setting the recentCard
and aboutCard VISIBLE.

Bug: 17360983
Change-Id: I7ff6af6de92a984b9d5b38fc33e1de785cd894fd
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
f0d04c11b649e953177e79722d05fa048e53273d 02-Sep-2014 Jay Shrauner <shrauner@google.com> Fix crash with null intent

Bug:17357045
Change-Id: Icb0bc6e161911b7548ea1d23535a2bd4bab88ae9
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
23e2836c1e9cbe8996a1344301e69d67bb617891 29-Aug-2014 Paul Soulos <psoulos@google.com> Adds TalkBack content details to Contact card

bug: 17308004
Change-Id: I357c6b508eaa3ef7dbb61be99c09806b322f6770
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
ab54ea15274dd3975c82a6aac29ba268aaed0799 29-Aug-2014 Paul Soulos <psoulos@google.com> Change the QuickContacts add flow

Bug: 16127700
Change-Id: I026bb409fc29528cbf9cdb2958aab3e018ef2a71
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
200423195a1d3a372038509b41b98afd7141555d 29-Aug-2014 Brian Attwell <brianattwell@google.com> Merge "Use default-corp photos in QC for corps" into lmp-dev
02eaf11669d25fd885606b3b0700358323532cdd 28-Aug-2014 Brian Attwell <brianattwell@google.com> Use default-corp photos in QC for corps

Also use higher resolution default-avatar images. Now
that we have 720dp photos we no longer need to use the
CENTER scale type. Instead use the CENTER_CROP scale type.

Bug: 16630102
Change-Id: I81db0c0c862d939a18f067bb566a1193b57577c4
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
95c268e8dae6ed6b3bf6a205b02eadd995dec2c0 27-Aug-2014 Brian Attwell <brianattwell@google.com> Use thumbnail for color extraction

Previously, Contacts was downscaling the full sized image returned from
ContactsLoader. The resulting thumbnail was different enough from the thumbnails
synced by ContactSyncAdapter that about 20% of contact photos had different
extracted colors in Bugle and Contacts.

Bug: 17258486
Change-Id: I8e2cd239195a18afbe0610e47104d7cbe63d3f23
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
f764730a34da560db87206f9a48390d4c8085365 26-Aug-2014 Paul Soulos <psoulos@google.com> Fixes break from ag/530785

Change-Id: I8d729da69bc0d9ff0cc5e8e5cdb4de013bf00199
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
48fc91217042fd854f0e96c2028c188e50a5e21d 26-Aug-2014 Paul Soulos <psoulos@google.com> Adds VOLTE icon and capabilities to QuickContact

bug: 16015752
Change-Id: I9970d5901f80fc56d7528d61da6b4e8b8c66e0c1
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
cc5ec22992ee61d130cb2ee99a038fb1761b8d35 25-Aug-2014 Paul Soulos <psoulos@google.com> Makes the expand/collapse animation more fluid.

This is accomplished by having separators move instead of fade in and out.

Bug: 16680415
Change-Id: I925bb978811680f4ee1418441ebda38db77cc5c7
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
6bb01347eab60f95deafdfe523b0c368707210f3 21-Aug-2014 Brian Attwell <brianattwell@google.com> Move dataItemToEntry() off UI thread

Bug: 17166691
Change-Id: Ie85ee0673c21933f21a7584db9b34d678ebfaa90
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
8b3d71d4e0ab077a8f97835bda072fe5fe3078b6 21-Aug-2014 Brian Attwell <brianattwell@google.com> Merge "Fix crash editing newly saved directory contact" into lmp-dev
88fc1257c832d971f5c4141aa77335b67aefb199 20-Aug-2014 Nancy Chen <nancychen@google.com> Merge "Use TouchPointManager method "hasValidPoint" to made code more readable." into lmp-dev
1f8a3fda87bf61e579d61e3fdd246548943d070a 20-Aug-2014 Nancy Chen <nancychen@google.com> Use TouchPointManager method "hasValidPoint" to made code more readable.

Substituting new TouchPointManager method instead of calculating
directly in QuickContactActivity.
When a point is initialized, its value is (0,0), since it is highly
unlikely a user will touch at that exact point, we define a valid point
as any point that is not (0,0).

Bug: 17124195
Change-Id: Ie6ca75a76d2068314fbf746d4b3711425ac4e28f
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
bfa9442453c1d86e11e56702f9b8ef0e8e0da0b1 19-Aug-2014 Brian Attwell <brianattwell@google.com> Make QC scrim darker

Bug: 17136622
Change-Id: I4f172befb5d2519d257e2e77483a02cb3b230f3b
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
63176c96f33b5a0bcb25816c80889bb11e5c7152 19-Aug-2014 Brian Attwell <brianattwell@google.com> Fix crash editing newly saved directory contact

After saving a directory contact via QC, mLookupUri still refers to a directory
contact. ContactLoader knows to map the directory URI to a local URI.
When editing/starring a contact we should therefore use the URI returned
from ContactLoader instead of the URI passed into QuickContactActivity.

I also fixed some IntelliJ style nits.

Bug: 16670552
Change-Id: I8cb04b645c050e2aa563abaa64125d1ef17e402e
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
a42ef76251778161d27bc07db214b8c81720e476 20-Aug-2014 Paul Soulos <psoulos@google.com> Stop entries from jumping before the intent in launched

Bug: 16980262
Change-Id: Ie5857fad11ff4c65f74bd17dd4d63d5827c928a2
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
1301baff1e893a67ce974d1c5fe3eee2c8f0a75f 19-Aug-2014 Nancy Chen <nancychen@google.com> Merge "Override "dispatchOnTouch" instead of LinearLayout for quantum reveal." into lmp-dev
f619e432bcebb7f91c9ed88fc384abab16a9cd6a 19-Aug-2014 Nancy Chen <nancychen@google.com> Override "dispatchOnTouch" instead of LinearLayout for quantum reveal.

Changed approach for capturing touch event in QuickContactActivity. Same
behavior: InCallUI reveals from the touch point.

Bug: 15284651
Change-Id: Id64886fe694f53e1e06fe9173dcefa586106a3d0
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
307b49420ce66b0aee5563bf2624dba7e20e28e2 16-Aug-2014 Paul Soulos <psoulos@google.com> Adds material sip icon

bug: 16458396
Change-Id: I031759f96920f53011e4b15904b74f2de4ab2927
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
f1076dc20feb3ee0c687c818d70ffc1d25bef909 13-Aug-2014 Brian Attwell <brianattwell@google.com> QC scrim opacity depends on scroll position

Scrim opacity depends on scroll position after the initial
entrance animation.

This is the last CL needed for b/16683381. Also, this is the
last feature-requestish ui-tweak I plan on doing before
LMP (I promised this one to UX a while ago).

Bug: 16683381
Change-Id: I8a62ff1eda6f2174b50f71f54c4301c111182b7f
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
70e3f4f45c040a2d09bfb46462242b450cf20b29 14-Aug-2014 Nancy Chen <nancychen@google.com> Allow call reveal from touch point in contacts

QuickContacts sends a direct call intent from the phone number card,
the InCallUI should expand from the tap point.

Bug: 15284651

Change-Id: Ief37404ac69f123f7de9f4a663ef1fe746308371
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
2ed2a73d15bd80bced18e5924d3f84c8a9e5e5a5 12-Aug-2014 Paul Soulos <psoulos@google.com> Fixes text overlapping secondary icon

Bug: 16858313
Change-Id: I64f535b8f803ebb9e60ce3337aa1f64e995f2222
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
fa238949855fba3b28a57fad3d585b13e80362bb 12-Aug-2014 Brian Attwell <brianattwell@google.com> Add comment about ignoring large data ids

Bug: 16191530
Change-Id: Icee092e6d0c37212a4b36b3e7be5246a98e82bb8
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
f848c49cac796f99549c8418f8d4e2469ac9f963 12-Aug-2014 Paul Soulos <psoulos@google.com> Adds long press to special dates

Bug: 16876062
Change-Id: Iaa4649d2bceb3cfa37a80d3bde8549d461070570
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
4a24965cd5561be07fb18bf9fca91402ef9117ae 07-Aug-2014 Brian Attwell <brianattwell@google.com> Merge "Use custom ViewOutlineProvider to enable shadows" into lmp-dev
d41ab8ace81a2e44f8b28aa8782679b9e9cca1b9 07-Aug-2014 Brian Attwell <brianattwell@google.com> Use custom ViewOutlineProvider to enable shadows

Bug: 16856049
Change-Id: I8f4c430437395e988e8bcbd5073444a902bab63f
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
a0fa4c18dc111ceea9ff47f35ee01fecc1003578 07-Aug-2014 Paul Soulos <psoulos@google.com> Fixes ArrayIndex bug

bug: 16856880
Change-Id: I953e9a90e7fd6504387cc792371b0e01cc184a9b
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
2a4207fb39330e840436215c896cde911489e111 01-Aug-2014 Paul Soulos <psoulos@google.com> Adds copy menu to long click on entries

Bug: 16484669
Change-Id: Ifb9185f863b86d245d9124a26a74caef0f6906bd
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
a153dba33c2152332c5706178a367f52b0550723 06-Aug-2014 Paul Soulos <psoulos@google.com> Sort about card entries in a specific order

bug: 16182551
Change-Id: Ia6e5f66531ff3b1d6effbca90d730e86a7e8cebc
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
a41d6d1c9d87fe81630426f537bdb864c1ee6db4 01-Aug-2014 Brian Attwell <brianattwell@google.com> Don't show MenuItem for sharing directory entries

Bug: 16700301
Change-Id: I1a5ad232533ec133d4a6da7c28ca8b55b1932f5c
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
97ed5019d75bd6afdfd5f3a8150161d9d9441275 29-Jul-2014 Paul Soulos <psoulos@google.com> Only one icon and separator per mimetype

bug: 16626220
Change-Id: I14eebe881cc542af89778cd6bce83dbc21f962bb
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
20bdf9d2d21e1c82513f798ef4205b9d1713996d 28-Jul-2014 Paul Soulos <psoulos@google.com> Fixes crash in clicking entries without intent uri

Bug: 16559592
Change-Id: I47f8ad2b93c0e2435cac7d0c806d47d0f1b4d06c
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
7de6f85b0ee66deda13505f545c6b7125b2ac462 28-Jul-2014 Paul Soulos <psoulos@google.com> Update IM entry display header and event custom text

bug: 16629466
Change-Id: Ie58b3edd013fa4ce8f56b1bf82b7ab20b1e97b77
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
ddf8d0121bf785fa2e24400c2be00e40bb418c5a 25-Jul-2014 Brian Attwell <brianattwell@google.com> Merge "Ensure status bar color gets set" into lmp-dev
847bf2cd3946b1801c83c745d7183aed5143b44c 24-Jul-2014 Brian Attwell <brianattwell@google.com> Ensure status bar color gets set

Bug: 16546263
Change-Id: If30c8086ce1eee44c48e32cd84d1259cb1060808
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
6a4d2736d772cc5cbb79d04e115f2d6117826860 22-Jul-2014 Paul Soulos <psoulos@google.com> Adds direction secondary intent for StructuredPostal

Bug: 16489228
Change-Id: I0139daa9f59a940ab0eb3ba3bee9df152bffbfab
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
0cda9aeb01f1922fce2a9e87ae4c0146c177b4f0 23-Jul-2014 Paul Soulos <psoulos@google.com> Adds fancier animation to ExpandingEntryCardView

Bug: 16218702
Change-Id: I2b3d440b3cedf48becb9f82c8fe67f903f8611c8
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
333091ae754ddfc25714c14b9b89534be24379f9 22-Jul-2014 Paul Soulos <psoulos@google.com> Adds support to selecting name preference order

Bug: 16467223
Change-Id: I34b4267929cded27cc9f71a7d7c7af5798f84931
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
c6e110946e2c51be6276591b85ac8abe169534a0 22-Jul-2014 Paul Soulos <psoulos@google.com> Adds phonetic name to the about card

Bug: 16467163
Change-Id: Ibd989eb1aba58b7991b477839151e4e961fdb8c0
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
c8e2a91807b581194566eb45019fa16e2268b462 21-Jul-2014 Paul Soulos <psoulos@google.com> Fixes rebase bug

Change-Id: I1084054758bb6d4fcc0bdb1ed4da77532b99eec6
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
89966b4ed8cc9d385e5ac6b4a7e9e08ada387eb0 21-Jul-2014 Paul Soulos <psoulos@google.com> About card always expanded

Bug: 16347400
Change-Id: Ie2fa3e57c1c3040ec547fd82b070df0c3b42032c
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
1cda01b35a37f79b22e907cc970314b8c0a9e00c 21-Jul-2014 Paul Soulos <psoulos@google.com> Fixes sip address not appearing in contact card

Bug: 16400678
Change-Id: I324b2eb83739ed48c8d8eaf62ba6cd2f5df6af7f
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
35ccdba7b8b2270204f7f96d824d258e408fe6ef 18-Jul-2014 Brian Attwell <brianattwell@google.com> Accessibility: Announce star/unstar actions

Bug: 341812
Change-Id: Ifa448f8609ee0f50b3827f5d7aec5d0a6a2e6f9c
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
714455bba22b99d168a2e864dfbc74a6e30dfdb6 15-Jul-2014 Paul Soulos <psoulos@google.com> Fixes TouchDelegate in RTL and applying color to empty contact

Bug: 16325484
Change-Id: I4052e2d6b976307ce1c304f16fc9b17dbf206dd1
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
a3859ed9ff9f315d492e199620a08ae35ab8569f 15-Jul-2014 Brian Attwell <brianattwell@google.com> Use changed MaterialColorMapUtils

BUG: 16159407
Change-Id: I216248b432fe9557111c4c4f68e612bb3a84266d
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
aed3d5a4ab674917fe2c1264ce3bdc1debe345e2 15-Jul-2014 Paul Soulos <psoulos@google.com> Merge "Adds secondary icons and intents to entries if they exist" into lmp-dev
dd7419d90cda5c52e81491bea3cf3c3f4e0535c7 15-Jul-2014 Paul Soulos <psoulos@google.com> Adds secondary icons and intents to entries if they exist

Bug: 16206384
Change-Id: I759c842d3be6e7c7b28bc4ef52d2d3935dd7931c
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
cb4fcc7ef75c33411d2b900db7933c5bc4336527 15-Jul-2014 Paul Soulos <psoulos@google.com> Moves StructuredPostal above 3P data types

Bug: 16296394
Change-Id: Ideeb847733e63337d0bea4ded0ea937dcb0fd3c5
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
a8fce966f48d84af82f5ad767aa7986740ca7b26 15-Jul-2014 Paul Soulos <psoulos@google.com> Fixes About card disappearing on rotation

Bug: 16157949
Change-Id: Ifb0602c10351b528451ce593e326f917e5d2f851
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
2fa690807a94708384789b211965bfc75b5ac38e 15-Jul-2014 Paul Soulos <psoulos@google.com> Removes the title from the Contact card

Bug: 16163442
Change-Id: I950f90ad941ced2ae3125d7196694d6b9f7411e4
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
48ebbaafcf467c072e4477c98ef2faba1c65af7e 15-Jul-2014 Paul Soulos <psoulos@google.com> Removes icon shading from 3p icons

Bug: 16241178
Change-Id: Ib0f88f085753e344e7a5115b5b753a91bacdb5c7
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
805e92f7b47ce10b2a942b08298b247e247d5073 15-Jul-2014 Brian Attwell <brianattwell@google.com> Revert "Adds secondary icons and intents to entries if they exist"

This reverts commit 85a4b71bb40d0d9bb0fb6f15333c21ce10b9770e.

Change-Id: I41846103ecefe54c16d865039e460e51d7275ed7
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
85a4b71bb40d0d9bb0fb6f15333c21ce10b9770e 15-Jul-2014 Paul Soulos <psoulos@google.com> Adds secondary icons and intents to entries if they exist

Bug: 16206384
Change-Id: Ifaa1132cad1fb3622e982bcf116f167ef3a5383d
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
405ae406379ad9c47770783afc76a660f6c55fca 15-Jul-2014 Paul Soulos <psoulos@google.com> Fixes empty About card and crash

Bug: 16294907
Change-Id: I86c687bd274b1cc2f751194c28a214d6ccaa131d
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
6095369885edcca566a812b551886e29c7ff8039 12-Jul-2014 Brian Attwell <brianattwell@google.com> Prompt users to add contact details in QC

Also fixed a recent ExpandingEntryCardView regression.

Bug: 16161801
Bug: 16157948
Change-Id: I596ad6975391c4042adcb321e78567339ea8d89e
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
a4a5c91f1c2d57587299a5f42da7756b6694e01c 11-Jul-2014 Brian Attwell <brianattwell@google.com> Merge "Use MaterialColorMapUtils"
a5d18433b39ede4df806cf136872c9787b0764a5 11-Jul-2014 Brian Attwell <brianattwell@google.com> Merge "Clean up menus"
2e4214c79170cdb6c1b8b6ff0408925d3f512bec 11-Jul-2014 Brian Attwell <brianattwell@google.com> Clean up menus

Made sure to add titles to all menus

Bug: 16218365
Bug: 15845381
Change-Id: I52fc3c142080c3485753a939353f0d1be58a656b
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
faf973989af7ac3b735c2aee1bec22ef6608b123 11-Jul-2014 Brian Attwell <brianattwell@google.com> Use MaterialColorMapUtils

Bug: 500800
Change-Id: I050b70a8ac44e73cca327a82efd341e3d81ce3c2
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
e005566a1616d6797fb7e204d0d41bd341b37543 11-Jul-2014 Paul Soulos <psoulos@google.com> Uses predefined icons for google properties in the contact card

Change-Id: Ie17444f6923cfe9708005862ad262b9445c02a01
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
60e5108e39e54d0a7e4c6924b33597d338be3fb9 10-Jul-2014 Paul Soulos <psoulos@google.com> Sorts mimetypes together in the cards

Change-Id: I1247874e4fb671551d9b0554960a566a5a5d6b0d
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
2d150da246632b1649999cfabed776133b097775 10-Jul-2014 Brian Attwell <brianattwell@google.com> Add NFC support into QC

Modified NfcHandler to be more generic. Didn't bother
updating the ContactDetailLayoutController to use the
modified NfcHandler, since ContactDetailLayoutController
is completely dead code.

Bug: 15911911
Change-Id: I91f294f1576cba02e68cb442d26dcf8d87c8a735
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
9ef60b3706956430f4d585cd2b76d85f27163a3b 10-Jul-2014 Paul Soulos <psoulos@google.com> Merge "Fixes NPE with 3p entries in QuickContact"
32777801796c1b1793491d44161da41327e07f53 09-Jul-2014 Paul Soulos <psoulos@google.com> Fixes NPE with 3p entries in QuickContact

Bug: 16169465
Change-Id: Ia106ca42ac6e267d314b2100bd9101998c13ddff
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
93a6cb0b017eb7028d9093749494a24c22e63c17 09-Jul-2014 Baligh Uddin <baligh@google.com> Merge "Fixes null storage error in QuickContact"
ae4cafed699b7cd6c5d4dad855bc0d4948452983 09-Jul-2014 Paul Soulos <psoulos@google.com> Fixes null storage error in QuickContact

Change-Id: Iff86f8cc62f06b2e78d175ce37502dabaf34a812
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
6adcfc949428bd6fdc9c20dfa5c27c0454b4ca01 09-Jul-2014 Paul Soulos <psoulos@google.com> Merge "Fixes NPE in QuickContactActivity"
f9d5c0e24d1b11527475227549f9530127e9dc07 09-Jul-2014 Paul Soulos <psoulos@google.com> Fixes NPE in QuickContactActivity

Bug: 16164625
Change-Id: Ief58d7dcbe36a18ee10ea1630af8d9dd5efb0d34
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
e14c4713b9aeb33a07b695b4566d0c49a48c3dbe 09-Jul-2014 Brian Attwell <brianattwell@google.com> QC: black nav bar instead of transparent

Bug: 16159429
Change-Id: Ieb548b28467d36d5a519927f94c5b904b25ffc9b
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
c33ae17c9816b770041ee1f9ccde10e7c7eee491 01-Jul-2014 Brian Attwell <brianattwell@google.com> In Contacts, QC image should start full size

This means that QC won't initially show contact photos as tinted
when opening them inside Contacts.

We still show QC contact photos as tinted when opening them outside
Contacts. This is because we need to perform cropping when opening
QC outside Contacts. And, cropped photos look bad without a tinting.

Bug: 15892293
Change-Id: Ic34303d32a40c9ea5f88c8a8ebd88ce1ea8e261d
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
ea5e0b715030f1b0e8015defd10842127a8a4121 09-Jul-2014 Paul Soulos <psoulos@google.com> Updates DataUsage table on entry click

Change-Id: I0c0b5a527577cc57ff260637ab75898dee96a8e4
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
eb64a4b5c51b39fe56ba4ef97dfff73fdcdf8c75 08-Jul-2014 Paul Soulos <psoulos@google.com> About Card

Change-Id: Idfe396d0a4fa24214599990c2895ed9569e5c0fa
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
a0f20f77e1b4f6cde5934d8b3348d93b58fd6362 07-Jul-2014 Brian Attwell <brianattwell@google.com> Fix contacts build. Use getVibrantSwatch

I accidentally reverted ag/495948 in a rebase.

Change-Id: I0482db6ef00b98ce89da656399b5f066749933ae
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
4936a92aeef739ae6b57dad00f385307d1b1c5b8 03-Jul-2014 Brian Attwell <brianattwell@google.com> QC gradient when background image is white

Change-Id: Ie38c53d7b6532b3d16ba3b3e2ed299af042686b3
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
e6b8a790ab9b0698c911708ba0ae194c701499b0 03-Jul-2014 Chris Banes <chrisbanes@google.com> Update Contact's Palette integration

Needed for I06f1efefcdfa3d22578653b5f5da3d61a064b5d5

Change-Id: Ia19627db83af0f387c6646e881a5625b29d499aa
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
d75f0962c2d9b6efd62f44c87b7beb943a806dbf 30-Jun-2014 Paul Soulos <psoulos@google.com> Comment out ContactDetailFragment collapsing

Change-Id: I48749abc3b52dd3e2391d65d0f76cf8e4aed36dd
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
8a43e7c99e1084f60bcf64528de96ce808946247 30-Jun-2014 Brian Attwell <brianattwell@google.com> Merge "Don't examine window width in MultiShrinScroller"
ac3ed8e48cc474448aa5a7cfed5d6b95073b84f9 28-Jun-2014 Brian Attwell <brianattwell@google.com> Don't examine window width in MultiShrinScroller

Change-Id: I6f0f590a1877c3f7b7b901f45d79c2037c16f25a
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
6c4385d3ee02325f0e69cf8bb74d1c3351e3548c 30-Jun-2014 Brian Attwell <brianattwell@google.com> Merge "Expand header when card collapses"
e8ce6ee1c5ab9f4f3dd11526337c70a8867647d9 28-Jun-2014 Brian Attwell <brianattwell@google.com> Expand header when card collapses

If the card collapses enough to open up unused space inside
MultiShrinkScroller, then expand the contact header.

Change-Id: I88f3009ad90b2defcb7825cc797fd6105178efa4
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
f43f573340fd9de5d30b43d7c96cac1ec9021e58 30-Jun-2014 Brian Attwell <brianattwell@google.com> Don't use String.valueOf()

This reverts commit 02477604d7cc803b6a7de10b45ed176c4e70f312, and
re-implements the commit.

Change-Id: Ie629acf519d04d5729ef2730269f546f7b723a10
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
8bf96e78497ea9c8c893bcb357fc1e3175fb2e9b 26-Jun-2014 Brian Attwell <brianattwell@google.com> QC: Clear action map before reconstructing it

Also, I changed the ActionMultiMap to be a local variable.
1) I figured this enhanced maintainability. This was the only
object field that was mutated off the main thread. Leaving
it global could lead to confusion.
2) This is only used in one method

Bug: 15814131
Change-Id: I4e3a315ae2347e2e1e652eb79023b2907f0c7c7e
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
28a239eb826c14f3c49ac64e4e08014ee2096b2f 25-Jun-2014 Paul Soulos <psoulos@google.com> Adds the rest of Action mimetypes to the end of the contact card.

Change-Id: Id6f3eeb02ddbcb7d45b4f2af8fc9b544c4366ef7
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
8571dd3953ddf2cf8442335657a1945487d665a1 24-Jun-2014 Brian Attwell <brianattwell@google.com> Download hi res photo when viewing QC

Needed to change some color handling code in order to write this
CL. While I was looking at the color code, I added support for
coloring the ExpandingCardView assets the correct color.

Change-Id: I8e4cf1d0c1507f56d54c3f95fa904f88c4f1f84e
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
29c98071e53e106156932723063311ffd41e1960 25-Jun-2014 Brian Attwell <brianattwell@google.com> Merge "Bag o' QC UX improvements"
9b889e6ef4534db6925e3f915bed281733ea8bc3 24-Jun-2014 Brian Attwell <brianattwell@google.com> Bag o' QC UX improvements

UX and I spent a couple days trying out different tweaks to QC.
This is the result.

Main Changes:
-landscape
-better blending, and interpolation of blended values
-different scrim animation length
-updated colors & dimensions
-scaling of title TextView during scroll
-EdgeEffect color is now dynamic
-Drop shadow size

Bug: 15725269
Change-Id: Ib992b41692704d3d932527cef715693ed7a7f4cc
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
16339336653fa028a2e02e1eee92851fe5084d1c 24-Jun-2014 Paul Soulos <psoulos@google.com> Sorts contact methods based off of times used (frequency)

Change-Id: Ib17e012d08e31b69aedafcd7d3ffa2e3eafe348c
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
7b0b0ce616c6c2fa149918c112128388712f5657 24-Jun-2014 Paul Soulos <psoulos@google.com> Colorize ExpandingEntryCards further.

This moves the responsibility of coloring from the QuickContactActivity
to the ExpandingEntryCard.

Change-Id: I991464b7bc5dfeb2092e057ceafc77538ee1ad64
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
0d90afea92dc37245d5c2cad4d6b8040f2faed5c 19-Jun-2014 Brian Attwell <brianattwell@google.com> Click on transparent QC region to dismiss QC

Also: in order to make this work better for both landscape and
portrait, I replaced the transparent margin with a transparent
view.

Change-Id: Iba12f924fde2224bd51b4a6d0bcae16b97b23dda
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
8477eafe57bca7b6b72da6e2e419ebeaf4de9674 19-Jun-2014 Brian Attwell <brianattwell@google.com> Cleaned up QC exit animations

Pressing back button now starts proper exit animation.

Also, window shim dims while scrolling animation occurs. The activity
does not finish() until the shim and scrolling animations have both
finished.

Change-Id: Id79ad86c8ab646027b768ca4b5f62781946ffb8a
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
ab840448dd00ce3f02ec7317df69b24613ade8a9 17-Jun-2014 Paul Soulos <psoulos@google.com> Adds Call Log interactions to the recent card

Change-Id: I2ade43cee543c706a90da81a4c4bd256b71411f8
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
8a6d0022b07640d4a1fb8b264c8822bbab2981ad 17-Jun-2014 Paul Soulos <psoulos@google.com> Fixes NPE error in QuickContactActivity.

Change-Id: Ibaa41202da7cfd24b3c4e2e78f8a351d3d55f78c
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
30cfd121ad8c8adb83cf417ff1d40a8ba1e3761d 14-Jun-2014 Brian Attwell <brianattwell@google.com> Use white icons in actionbar

Switched some of the black alpha masks to white alpha masks,
this way I didn't need to apply any tint.

We use ic_person_add_24dp drawable in both black and white.
So I had to apply a tint to this one.

Change-Id: If8e08998f368b643d19cbf8bfa5a372932abfffe
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
64d3abcec966d48e5c0a0b5c53d6f17073a5b3a3 13-Jun-2014 Brian Attwell <brianattwell@google.com> Clicking on QC header expands the header

* The maximum expansion size of the image is equal to its width.
* For the minimum header size. We now rely on android.R.attr.actionBarSize
instead of using a value in dimens.

Change-Id: I9e2438a457bd2afc50f07d028c810efc8455678e
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
899aa21e911ee7170beab228d44d7fed68c414e4 11-Jun-2014 Paul Soulos <psoulos@google.com> Adds Calendar events to the Recent card

Change-Id: Iaddba9649cd838fe9a866906eea356dbc743ee3c
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
02477604d7cc803b6a7de10b45ed176c4e70f312 11-Jun-2014 Brian Attwell <brianattwell@google.com> Fix null pointer exception in QC#actionsToEntries

Exception was added in ag/478768

Change-Id: I231be9c8a4dca3e70bbae6add04a1540bc91841b
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
752cccf954bd6070c5fb623875314951c8e9849d 11-Jun-2014 Brian Attwell <brianattwell@google.com> QC Share and Add to Homescreen menuitem impl

Implementation taken from the ContactLoaderFragment

Change-Id: I24fd1d2b1178f4ed29e2d34409383022d1252ba2
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
d28851f436c39a83f02d3b405fd91f0fb4833b2a 10-Jun-2014 Brian Attwell <brianattwell@google.com> Use Toolbar for QC

* Moved star, add and edit buttons into Toolbar
* Fixed implementation of add/edit: copied the
ContractDetailFragment implementation
* Added unimplemented Share and Place on Home menu items
* Deleted some of the quickcontact_activity.xml files
* No longer handle click events on Contact photo view

Change-Id: Id333b11e89d8755ace600700be15077fd47b6172
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
23889ba7ca18ed4ea56248355438a734511bc0b7 10-Jun-2014 Paul Soulos <psoulos@google.com> Update Contact card UI.

1. Adds a separate entry for SMS (still up for debate)
2. Uses the proper icon resources for common contact types
3. Colorizes the icons if available

Change-Id: Ibf491e0e05d453d0d06b0ad16847e4eb34084811
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
8a6f4ade05e5a8a89d91078ef9c22944450ac8ba 07-Jun-2014 Brian Attwell <brianattwell@google.com> Bag of QuickContact improvements

* QuickContacts open full screen when inside the Contact app
* Status bar color (aka system bar)
* Added and animated shim
* Moving code off UI thread (without these, I was seeing ~20
frames dropped from the shim animation)
* QuickContacts now acts reasonably when re-entering QuickContacts
from the edit view

Change-Id: Idafc20b62b1d04f0a9c437b3708555ec6dddedf5
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
b3054e551173887029c55cb10b83f1afb7f8a6fe 06-Jun-2014 Paul Soulos <psoulos@google.com> Adds Recent Interaction loading to QuickContacts.

This is launched after the Contact is loaded from CP2, during the bind stage.

Change-Id: I63290e0e94c476da1771f6e8b92a9c664f2fe9d3
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
31b2d42fb0889e61515d27314aa5a245147100da 05-Jun-2014 Brian Attwell <brianattwell@google.com> Use support.v7.palette to get header tint

Todo in later cls:
-save the extracted tint, so we don't have unnecessary delay
when returning from the edit screen
-animate the change of tint color. This matters for tablet
and after the photo changes.

Change-Id: I11685c1489a5c7b49f46c250033f4f303b076ef6
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
b7e4364d6536449271ac4534dbeb7430134c096b 02-Jun-2014 Brian Attwell <brianattwell@google.com> Custom scrolling ViewGroup for QuickContact

Plus basic entrance animation

As our UX person gets to play with this, the MultiShrinkScroller's
snapToTop and snapToBottom() methods will likely be changed a lot.

Change-Id: I75adde129f5e5224e3519733f214fc638c2512ab
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
71032f3fb7038995297666602773ae023c1351c4 03-Jun-2014 Brian Attwell <brianattwell@google.com> Use predraw height for expand animation

Since TextViews can wrap multiple lines, their measurements
can change after layout() is called on them. Therefore,
it isn't sufficent to perform a manual measurement call on
mEntriesViewGroup. We need a predraw listener.

Bug: 15021154
Change-Id: I01daa89cb25cd381425c3994eda67f8769a40c13
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
b8eb33c2ef87d0eeac209f43dab1fae51d9ed3dd 31-May-2014 Paul Soulos <psoulos@google.com> Change the Edit icon resource

Change-Id: I27cd5ec9994bd0ab01c3c0d2f649d37381cc0edb
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
5ec23fdf243596717197a0c45495f24492cf0641 30-May-2014 Paul Soulos <psoulos@google.com> Makes QuickContactActivity full screen and swaps full detail for edit.

Change-Id: I9403a592ba916bcb627e023736d133b6b33a1420
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
2d48b5ae6664a7ae0ed9941f55fae9dc327bd640 29-May-2014 Paul Soulos <psoulos@google.com> Add ExpandingEntryCardView to QuickContact

The communication card is slightly implemented to make sure ExpandingEntryCardView
works as intended. There is more work to do in a different CL to finish this.

Also delete a bunch of QC code.

Change-Id: If7d8373866560c635851fe0e09ffad9cc0054f4f
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
877fadcaa0f8649d3c5be8c44c7e1b117601c6c7 28-May-2014 Jay Shrauner <shrauner@google.com> Fix NPE in onPageSelected

Check for null action view returned for the specified position.

Bug:15310717
Change-Id: I5fbec5808d47fac2b05d99eb0079c68db7f067ac
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
30266de102f19158ab68ee60e1f0687758838033 11-Dec-2013 Craig Mautner <cmautner@google.com> Disable animations if manually overriding

Contacts manages its own dismissal animations so it needs to disable
the system from doing any.

Fixes bug 12013550.

Change-Id: If2e2d08b7dd1e4c2a81551145e46ef290011e2e3
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
cd321f65f1e50409812976380ad1f0fdb3fa35cb 28-Oct-2013 Yorke Lee <yorkelee@google.com> Move ContactLoader related code to ContactsCommon

This CL simply moves classes from Contacts into ContactsCommon.

This is needed so that Dialer can use ContactLoader related code
for b/11294679. A ContactLoader will also be needed in the future
to allow InCallUI to download hi-res photos while in call.
Bug: 11294679

Change-Id: Ia033f3ea2406a907a4e71290c9ce810a5583dab8
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
69f67d00a13279c010d2dde4414a0600dff99294 05-Oct-2013 Ben Gilad <gilad@google.com> Add missing contentDescription tags.

bug: 11067808
Change-Id: Ib4032f3ca93635e02ab328e9dc7be7a5b4596e6e
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
88df7126c8052ff0676587835662496399e44413 30-Sep-2013 Yorke Lee <yorkelee@google.com> Make clicking on profile image on unknown QC add a contact

Bug: 10693314
Change-Id: Ibbb7f9ae8abf91120b7e9501b4b4340bd4186e4c
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
6cb6f6f8304d4b42fc9db4bbb0cc4058ab53afe3 27-Sep-2013 Yorke Lee <yorkelee@google.com> Add "Add to contacts" button in QC for supported contacts

Allow users to directly add an unknown contact to local contacts
from the QC card. Nearby places contacts are not supported because
directory export support is disabled.

Bug: 10693314
Change-Id: I4c6a5850282460b61cff1ad1a341cb1cbcb546ca
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
2e3858324cfca8f1f8f8bf0c6ec533979df0a250 09-Sep-2013 Yorke Lee <yorkelee@google.com> Don't show star icon in QC for uri-encoded contact

Also don't show empty directory name/type in contact details card

Bug: 10600250
Change-Id: Ifa7cdd3f9f943f4beed3b9cb26f5bb3300577eea
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
6219668d0612f7522bd15a9d34c6232cb15b9a6c 07-Sep-2013 Yorke Lee <yorkelee@google.com> Make quick contact photo clickable

Bug: 10552103
Change-Id: I76af7f46a31b9205f6cd98bf450a171737647be3
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
45f23d4d67438c0561f74ef87b7028f6d74f7503 28-Aug-2013 Paul Sliwowski <psliwowski@google.com> Remove StreamIteams from loader and disable social updates from UI.

Bug: 10328519
Change-Id: I7df4d66ed3297f38b187fa9f3091bcfc3d4466b9
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
72b3ab1d8a62f228a540b05f4ed6373e494c7d72 13-Aug-2013 Christine Chen <christinech@google.com> Adds redlines for QuickContact card.

- Changes background colors.
- Adds star button in the quick contact card.
- Removes the click listener on the photo.

Change-Id: I9e4f32c30c48cd0fff9d3551a780c26bce36a251
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
9e4b79788c498afd2e313cb679123b9734933e13 08-Apr-2013 Yorke Lee <yorkelee@google.com> Don't access margin directly in QuickContactActivity indicator

Bug 7536213

Change-Id: I926f12f917ef3a3a01777536fbd3f2d9193d9071
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
6430e6c3e63e36f660708785c66b656186e0cbc0 08-Apr-2013 Yorke Lee <yorkelee@google.com> Fix QuickContacts viewpager indicator in RTL mode

Bug 7536213

Change-Id: I9140e2c39730ca06d1903ac22d0350003a235cb5
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
35ad0c31979fcde809154ab638e76f4d110af3e9 12-Feb-2013 Chiao Cheng <chiaocheng@google.com> Call notifyDataSetChanged after mime type list changes.

Fixes bug where ViewPager is not being told that the dataset has changed which
causes quick contact card action to be missing.

Bug: 8177216
Change-Id: Ide38731304f6623f11e30e0b0e8946ff2ff09779
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
d683b541718154aa73ce3a304acd2cd3665a6737 11-Jan-2013 Jay Shrauner <shrauner@google.com> Enhance QuickContact accessibility description

Change QuickContact accessibility descriptions for the icon row from
'Phone' and 'Gmail' to 'Phone Bob Home' or 'Gmail Bob Work' when display
name and labels are present, otherwise 'Phone 123-345-5678' or
'Gmail bob@gmail.com'.

Bug:5057309
Change-Id: Iacbf10a2a6118c037f5f5af96af8e199b5bf5837
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
421c9387a5748a07a01d9e1134aebf4bf959b55e 13-Dec-2012 Yorke Lee <yorkelee@google.com> Fix QuickContact indicator from flickering when scrolling

Bug: 7206995
Change-Id: Ice3d4d5abb637d8edfe36eefcab11e90c87f5151
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
b2b435a944947fbf1965c3bb7c202a97f0273259 13-Nov-2012 Yorke Lee <yorkelee@google.com> Cherrypick fix for phone number formatting

Bug: 7230016
Change-Id: Ia4ee2bcd6810bfc73d66ed394978e1c16bc4c50f
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
0d5588da244d0992c3ff8f25d0875fdf95a8c644 27-Nov-2012 Chiao Cheng <chiaocheng@google.com> Move AccountTypeManager to ContactsCommon.

Moving AccountTypeManager to ContactsCommon so it can be shared by Contacts
and Dialer.

Bug: 6993891
Change-Id: I9526ac7cda758290caecabfcaebe620238d8dd6b
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
d9eab4da8b9946b76a2091e5cce6c858663ef1bb 15-Nov-2012 Chiao Cheng <chiaocheng@google.com> Final move of AccountTypeManager dependencies.

After this change, AccountTypeManager can be moved into ContactsCommon.

Bug: 6993891
Change-Id: I26d6a9916bc20a0865d2bd1c765350928b7987ef
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
20a68af305a2d2ffaa4d6fcd8c2e3f8ebbd7b580 15-Nov-2012 Chiao Cheng <chiaocheng@google.com> am 9598e1ec: am e078e325: am 3603b6cf: Merge "Fix incorrect tab highlight in QuickContactActivity." into jb-mr1.1-dev

* commit '9598e1ece6a8c61fb8d7001a660f920ff34b4a37':
Fix incorrect tab highlight in QuickContactActivity.
428f008513d1591cc08fcfe2cf0c9237fb313241 14-Nov-2012 Chiao Cheng <chiaocheng@google.com> Move dependencies of AccountTypeManager into ContactsCommon.

Moving dependencies in preparation to move AccountTypeManager.

Bug: 6993891
Change-Id: I804cdbe64b9b8111ed286037943d593e11dc4044
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
4c2909075a8271b9478506358c15e55fd458e0cc 13-Nov-2012 Chiao Cheng <chiaocheng@google.com> Fix incorrect tab highlight in QuickContactActivity.

Selected highlight is on wrong tab after rotation. Inherently, view pager
remembers the last selected tab. But the highlight is done outside the
view pager and logic was missing to highlight properly when re-creating
from rotation.

Bug: 7206995
Change-Id: Ic016ddb743c323beba71ca95a0a1ae08566a7b1d
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
6e3791130ed770bbaea6bcc663e94ea8a3631eb2 09-Nov-2012 Yorke Lee <yorkelee@google.com> am 483affc0: am f455a204: am b6ae7361: Merge "Changed Quick Contacts details Button to ImageView" into jb-mr1.1-dev

* commit '483affc0a8ed6dadc2154c0a4fa6f365ce3e286f':
Changed Quick Contacts details Button to ImageView
9d85a2a39a4b9a0bacee8d25b2830784caf8551c 08-Nov-2012 Yorke Lee <yorkelee@google.com> Changed Quick Contacts details Button to ImageView

Removed unnecessary button to eliminate accessibility
confusion

Bug: 7434869
Change-Id: Ib503cde9a04566d8e086bb3671868f4a8059d0be
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
9f2a5e78c9604d9c407f1464c7cb72ec5f2bb04d 30-Oct-2012 Chiao Cheng <chiaocheng@google.com> Move StopWatch class into common.

Bug: 6993891
Change-Id: I32caf9d877741a8388ead78f169a3a2c1d934e52
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
d7ca03e23948c3b2d5f97ec5598d8b50e3fc0b25 25-Oct-2012 Chiao Cheng <chiaocheng@google.com> Move dependencies in prep for PhoneNumberInteraction move.

Committing this change first which is a pre-factor to moving
PhoneNumberInteraction into Dialer completely.

Bug: 6993891
Change-Id: I8a8f2d2d54b1aa8268e8ac9bd7d97d165a3e55c2
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
47b6f70eadb118d815b4aaf5426c070bd75a38fb 08-Sep-2012 Chiao Cheng <chiaocheng@google.com> Refactor RawContact to be parcelable.

- Re-work of RawContact to be a real data container and removed un-necessary
dependencies.
- Removed un-necessary circular dependency between RawContact and DataItem.
- Cleaned up and made DataItem more compartmentalized by removing un-related
account methods.
- Implemented Parcelable for RawContact and NamedDataItem.

Bug: 6406182
Change-Id: Icd84f34d85e1349a86e473708cc7f8fece12349f
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
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/quickcontact/QuickContactActivity.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/quickcontact/QuickContactActivity.java
45ee872fe7be69c6b3f0c59167eecd11af467812 22-May-2012 Makoto Onuki <omakoto@google.com> Don't send view notification before showing quick contact

Instead, do this in the second load. This directly affects the quick contact
startup time.

Bug 6529921

Change-Id: Ief7bda9bd32cb4be0c86c4b79efb35da812721dc
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
dfe8cc82e8aa31929bb85eb68b7de3492b875d57 18-May-2012 Makoto Onuki <omakoto@google.com> Tweak quick contact startup

Start the loader before inflating the layout.

Layout inflation is a CPU bound operation + file system
access if the layout isn't on the filesystem cache.

This CL increases the chance (unfortunately it's not 100%) for
the layout inflation and the data load to overlap.

Also added "null stopwatch" to easily disable stopwatch.

Bug 6434853

Change-Id: I8be2d68bec3997c967633abe7726be7ff4a61c89
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
2d3519b9d7a720705fce0fb18cdbed4fd6a2962c 18-May-2012 Daniel Lehmann <lehmannd@google.com> Merge "De-jank quick contact animation" into jb-dev
3a53c73f04eef94b311bb0469c1d0ca7059c0411 18-May-2012 Daniel Lehmann <lehmannd@google.com> De-jank quick contact animation

Bug:6508325
Bug:6501917

This change ensures the layer allocation does not happen during the animation.
This change also modifies the way the background fade is implemented to
make it faster (halves the required fillrate, which is necessary given we
are falling back to GPU composition in this particular case.)

Change-Id: I27023ad1a5af06d2d2036baed24c2f47deb85184
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
802fa62aac8edc92be136b8227ccafa53cd774fb 16-May-2012 Makoto Onuki <omakoto@google.com> Make quickcontact launchable with am

Now it's launchable with:

adb shell am start \
-a com.android.contacts.action.QUICK_CONTACT \
-d content://com.android.contacts/contacts/lookup/...

Bug 6434853

Change-Id: I41868dcb61a602b02c4de9b6587ed265c975552d
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
fc0a89fdb1e0bfe5c47e733f867ca520e117316b 15-May-2012 Makoto Onuki <omakoto@google.com> Speed up shortcut launch performance

Apparently the framework first needs to starts the contacts provider just to
resolve the content-type for a shortcut, which is a heavy process involving
a lot of disk I/O.

Remove this by pre-setting the content type to shortcuts.

This will improve the shortcut launch performance from roughly 3.45 seconds to
2.35 seconds on a prime with a test contact in extreme cases, i.e. after:
adb shell kill `pid acore` `pid contacts` ; \
adb shell "sync; echo 3 > /proc/sys/vm/drop_caches"

Also pre-start the provider in Application.onCreate() in order to maximize
the overlap between the app initialization and the provider initialization.
This may or may not help the regular app launch performance too.

Bug 6434853
Bug 6476832

Change-Id: Ia8dcd877dcda2cac562bec18442d7fc019a08ad2
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
2426cb015ba4cb679a525bd1ffe223527375468c 11-May-2012 Daniel Lehmann <lehmannd@google.com> Fix some QC issues

Bug:6449630

Change-Id: I5aec3ffdd3032bd3d037a053f5cb86fc9f0f16e0
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
d1e501105d1ce2fb3e286635d0b2195e77e000af 07-May-2012 Daniel Lehmann <lehmannd@google.com> Tell the Launcher not to animate QuickContact

Bug:6408369
Change-Id: I68c1330f81dbfd2d3eb60be8431f2460e185f2f5
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
d9662a844162bb99df65e7976dfa335e64ca5440 25-Apr-2012 Daniel Lehmann <lehmannd@google.com> Fix crash in QC during orientation change

- Also made the ContactLoader a little more robust. The cached result
is now a new instance so that it is recognized by the LoaderManager
as new data

Bug:6356584

Change-Id: I4e2eca92501308a8724b00771038555fa59b3260
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
8ca93ed0938e00ee94b03e6d609895593cfdbdbd 23-Apr-2012 Adam Powell <adamp@google.com> Navigation adjustment for updated design guidelines and QuickContact cards

Bug 6362611

Change QuickContactActivity to task affinity "" to keep it from starting
orphaned/confused tasks.

Launch ContactDetailActivity in the same task from QuickContactActivity.

Launch app-supplied intents from QuickContactActivity in the same task.

Clear the QuickContactActivity task when launching it from a launcher
shortcut or widget. This prevents activities launched from the
finished QuickContactActivity from hanging around as the root and
failing to be reset.

Remove app-specific Up navigation code from ContactDetailActivity and
let the JB framework handle it automatically.

Change-Id: I4abebcb135b2d3269039b3307a49115c13528295
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
9815d7f98baf80ce51b0cf1f01f48a3dbb9a9db9 17-Apr-2012 Daniel Lehmann <lehmannd@google.com> Cache the result of the ContactLoader across instances.

Change-Id: I2c7d1c07720118418fbefb751beeaa812e568325
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
8a0dd0f08ab11e9c6dad386e4411aeeb4c0cd73f 13-Apr-2012 Maurice Chu <mochu@google.com> Made default items show first in contact details/quick contact lists

Bug:5779998
Change-Id: If4c3ff5b8b332dccb0f07fe1662832b875233c44
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
ee287e9a7617fc38119a026f7e802f6d7d47113c 07-Apr-2012 Josh Gargus <jjosh@google.com> Reduce jank in QuickContactActivity dismissal.

Wait for final frame of dismissal animation to be drawn before
calling Activity.finish(). Also, handle the background transition
ourselves instead of using the "backgroundDimEnabled" property;
this saves us one extra overdraw on the entire screen.

Bug: 6209669
Change-Id: Ie1e295755185f15b5d5326050cbd990563860a6f
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
6f5557e3dc3cd12182026bdfea17b15d4d9b7dfc 21-Mar-2012 Josh Gargus <jjosh@google.com> Improve frame-rate of quick-contact opening animation.

Fix consists of putting the quick-contact into a hardware layer for
the duration of the animation.

Rename AnimationUtils to SchedulingUtils to avoid conflict with
framework class of the same name.

Bug: 6000249
Change-Id: Ie627ddb947582b7860f5bd0de30484c1d1d4f428
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
9758a92fac3e9f64892d893c992f6020d7fe3bfd 09-Mar-2012 Josh Gargus <jjosh@google.com> Fade photos in contact-details and quick-contacts.

Introduces new helper class, ImageViewDrawableSetter, which remembers
the previously-set drawable, so it can transition from that to a new
one.

Change-Id: Ie6ee6d5ccc376cc9d5b7aa945f2622b173bf09e8
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
9daca14706f3699c9e9d46dfb522132fc566e57e 20-Dec-2011 Daniel Lehmann <lehmannd@google.com> Show presence in QuickContacts and remove "CHAT USING" for consistency

- Also cleaned up some unused variables
- Unified QuickContacts and contact card a bit more

Bug:5779951

Change-Id: I64a846f03250e6a94f7ab063b8fedc509afeef19
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
cb8d73fc8ea538d0b63dd77210c05c5b8de32f03 16-Dec-2011 Daniel Lehmann <lehmannd@google.com> Use ContactLoader in QuickContacts

Bug:5683257 Make QuickContact work with directory contacts
Bug:5276725 QuickContact needs to launch a view notification intent

Change-Id: Ia66200a0367c29617ba6ac06d82354ebe316ea9c
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
90921b3bfd9b3492a19a5fbbf6e0309b97a32425 17-Oct-2011 Daniel Lehmann <lehmannd@google.com> Don't declare package-listener in Manifest but instead in code.

Bug:5149613
Change-Id: Iea0e40af98dfe9bd70ce5fcaac35a4b5361d5756
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.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/quickcontact/QuickContactActivity.java
ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71 13-Sep-2011 Daniel Lehmann <lehmannd@google.com> New avatars

Bug:5074147

Change-Id: I583d22c63a7b617567c523efeed292ae1e2be7e4
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
73c341f8b174782ab7a42fc4767f67168b6916ee 29-Aug-2011 Makoto Onuki <omakoto@google.com> Use THREAD_POOL_EXECUTOR when loading a contact

Checked other usescases too, but there are no other ones that're obviously
changeable.

Bug 5224505

Change-Id: I9703400e4a93f18e014fcd0e4386374eb0658548
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
1792b08c500ed528e7d21401affd936b3a7b3dc6 24-Aug-2011 Daniel Lehmann <lehmannd@google.com> Fix various Quick Contact visuals

Also fixed a bug where the secondary action can be tapped even though
it doesn't exist (crashes)

This also fixes pushed states, which have been filed a couple of times

Bug:5137515

Change-Id: I810d12a79f0088a0770a0eaf9225fe7906ebd8e7
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
5ff239cbeffdf0118b9dbc19eece9c66d1272c5c 08-Aug-2011 Daniel Lehmann <lehmannd@google.com> Remove some TODOs and imports

Change-Id: If6e693569a89201bce2bfcf481ece6812e30906e
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
f31df5d850fd0c10d9da4cd356f944c962fb44bb 03-Aug-2011 Daisuke Miyakawa <dmiyakawa@google.com> Have a chat icon inside IM tab

Bug: 5098861
Change-Id: Ib37f47a457f2245e3e1cebf95773bbd14641882c
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
10d7df7bab8c332744fad64b9167c2ef061070e4 30-Jul-2011 Daisuke Miyakawa <dmiyakawa@google.com> Show QuickContact in front of soft input

Bug: 5092171
Change-Id: I112c9e82d6c55bc4740f9447771b2cbe96fdf8b7
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
81281eefd5aaf339cbfa080ddfa6c6f63caca71a 29-Jul-2011 Katherine Kuan <katherinekuan@google.com> Unknown contacts are missing "up" affordance on contact card

- Contacts without a name cause the ContactDetailActivity to have
a blank title and therefore no "up" affordance.

- Use "(no name)" instead of blank or "(Unknown)" and make it
consistent across contact card, contact list, contact tile adapter,
and quick contacts

- Fix NPE when adding social widget for contact with no display
name

Bug: 5061950
Bug: 5096795
Change-Id: Id242e0f6d8bfe835d44be448129fddadd146fdb6
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.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/quickcontact/QuickContactActivity.java
edb576aab33efff623691a89ace3c76cb2ff12d1 28-Jul-2011 Daniel Lehmann <lehmannd@google.com> Implement new QuickContact design

- Also removes default-functionality
- Fixes the flicker when dismissing (Bug:5025418)

Change-Id: I46cf0fbdb2dcbf002612672e5e8f81a9b1ab6939
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
cde7389187ebc6816bd73d4704f1ca1b4ee39ac3 07-Apr-2011 Jeff Sharkey <jsharkey@android.com> Move QuickContact to Activity instead of Window.

QuickContact has traditionally used a Window to show a bubble with
callout centered around a target area. This change moves away from
private Window APIs, and instead creates FloatingChildLayout to layout
the bubble. Using onLayout() is more flexible than a PopupWindow or
Dialog, since it gives us access to getWindowVisibleDisplayFrame() to
correctly handle system windows. (Similar to FLAG_LAYOUT_INSET_DECOR.)

Changes background Drawable to use state_first and state_last to select
above/below callout arrow. Also moves to using setLevel() to set arrow
horizontal location.

Removes recycling chiclet code, and brings in Guava library.

Bug: 3362647
Change-Id: Iae953bae71db76e91e05996fe4c0dcea38bb446f
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
b4da2cd498c4f7d3db22d69bc41baf0ebdbcb6bc 17-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Fixing window closing animation in QuickContact.

Bug: 3350061
Change-Id: If19ee0c2d539836aabfdc1e0783e33f07288a754
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
6eebf9ba47d5208a67f71d6b609765ef5d47d429 10-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Fixing NPE in QuickContact

Bug: 3337036
Change-Id: I4f01e7a34ad87656bcdaa19bd2e499361448261d
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
69e82441e5fc4306a66d4f803240a544acade044 19-Nov-2010 Daniel Lehmann <lehmannd@google.com> New visuals and test for QuickContact

Bug:3172860
Bug:2591163

Change-Id: I5af7bf99481c38c6b0ad62b8f1c70b04ce930d1e
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
72af89f9e497bb8ef54fe3deeec7e8477d192242 19-Oct-2010 Daniel Lehmann <lehmannd@google.com> Refactorings

package quickcontact:
- Newly created. Contains all quickcontact related files

package editor:
- Renamed GenericEditorView to FieldEditorView
- Renamed *ContactEditorView to *RawContactEditorView

Change-Id: I43c1bd4184f8423e1ab3b81339d512bde46cfea9
/packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java