History log of /packages/apps/Contacts/src/com/android/contacts/quickcontact/QuickContactActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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