History log of /packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/ExpandingEntryCardView.java
8897287c19b394c1f0b402e6291ff4304acacbc2 22-Jan-2015 Brian Attwell <brianattwell@google.com> Remove typo. Fix build.

Change-Id: Ied5714cc203ae940a0f2eac779654025345ebd6e
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java
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/ExpandingEntryCardView.java
f140227beb6d9e78955a7676dc0dd3f793f72017 17-Dec-2014 Brian Attwell <brianattwell@google.com> Don't directly reference hidden View fields

Remove references to hidden view properties and fields
where 100% analogous unhidden equivalents exist.
* isLayoutRtl()
* mContext

Bug: 18777272
Change-Id: I1cc69fd846893087787f5cf340bf2a0ee6571f42
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java
daa2058979fda84a0ce22e21edd53aa049e80aa0 26-Nov-2014 Brian Attwell <brianattwell@google.com> Collapse extra raw contact editors

There are now two different header styles
1) When creating a new raw contact: if there are multiple
accounts to create the raw contact under, then show a
header with an acconut selector
2) Otherwise, show a visually distinct account header without
a drop down account selector. If there are multiple raw
contacts, this header also lets you collapse raw contacts

Typical users, who only have a single writeable account, will
never see header (1). This is fortunate, since switching between
the two header styles is a bit visually inconsistent.

Bug: 18004959
Change-Id: I133a7355a220f20b55657a6c1a51ff44665ea3b9
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java
0da93008e49306e99a90b114b7f8a60c78774fc3 31-Oct-2014 Brian Attwell <brianattwell@google.com> mutate() BitmapDrawable before directly editing

ExpandingEntryCardView directly modifies BitmapDrawables instead
of calling ImageView#setTint(). This was convenient, but had
the side affect of preventing re-use of these BitmapDrawables
with different tints.

Now that we want to share the same BitmapDrawables inside the
edit screen, we need to call mutate() on these drawables before
editing them in order to avoid affecting the tint in the edit
screen. Alternatively, we could change ExpandingEntryCardView
to use ImageView#setTint() instead. But this is more work.

Bug: 18004959
Change-Id: I5c0e33348cf538a69a10802a6205ad36fc548d54
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.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/ExpandingEntryCardView.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/ExpandingEntryCardView.java
c23508e6e4740d798147f15c8ce1dff3395079bd 12-Sep-2014 Paul Soulos <psoulos@google.com> Fixes duplicate badges and animating text

bug: 17480284
Change-Id: I58a6464ed71ad46557458d669acd7c32fc37b726
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java
4cd9ed68dca5f4adeb8ec2065526c18f33af5926 10-Sep-2014 Paul Soulos <psoulos@google.com> Remove animation on see more/see less text

bug: 17445957
Change-Id: I35cacb9a0e3f414ff36b97b2962533da39548332
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.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/ExpandingEntryCardView.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/ExpandingEntryCardView.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/ExpandingEntryCardView.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/ExpandingEntryCardView.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/ExpandingEntryCardView.java
568d5d82610f87a5e733690e57075f0a99551972 20-Aug-2014 Paul Soulos <psoulos@google.com> Fixes a bug where extra top padding is added to the top entry during expands

bug: 17141115
Change-Id: I3a044edfab4135cedb58b717fab712693b02d4c4
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.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/ExpandingEntryCardView.java
edd44f03e0e7aa57d4eb721147d4a3f3d2551c1a 20-Aug-2014 Paul Soulos <psoulos@google.com> Pixel push with Allen

bug: 17137146
Change-Id: Ibf56e0bf33a4e5f8df97b498853860051a5017c6
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java
43e0dead719568ed610f9f111f6e7614368445ef 16-Aug-2014 Paul Soulos <psoulos@google.com> Fixes extra mimetype icons

bug: 17044280
Change-Id: I8c27dfad4851e48bab17c1c7d9b996017fba3200
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java
1321736e0b6f4da580aa77075dd3845c8781f460 14-Aug-2014 Paul Soulos <psoulos@google.com> Adds extra padding to top entry if no title

Bug: 16679107
Change-Id: Id5bff96d419acd27b179f7f2913b08b61afe09c5
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java
691dd8fc7ce4b330cb6341f8e54fa6703564bd3e 14-Aug-2014 Paul Soulos <psoulos@google.com> Fills in cards so that they reach the max collapsed size

bug: 16298670
Change-Id: Ia6d307c903fcd81010d42b780f77d64e125d48a3
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.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/ExpandingEntryCardView.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/ExpandingEntryCardView.java
c205cf1d4db6a85f52175af0add8852d5e1f8605 04-Aug-2014 Paul Soulos <psoulos@google.com> Rotates the expand/collapse arrow

bug: 16787869
Change-Id: I1b9fea6fa4d75b202b1ef20336abfd9b19efcc30
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java
ac9b31665c157e6aa7bce487a5467e8abd8224d5 31-Jul-2014 Paul Soulos <psoulos@google.com> Use CardView for cards
UI Tweaks with Allen

Bug: 16373753
Change-Id: I550b8fe39b973a8789c18154eed9cac67308eb8b
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.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/ExpandingEntryCardView.java
6b6328915d66f0c5947badc3d1973c31f29eef62 28-Jul-2014 Paul Soulos <psoulos@google.com> Adds badges to the expand button

Bug: 16242770
Change-Id: I6966c86cfda4ccd51ee15e7172ba25b7b2f6ae3d
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java
4b943553afdb7286b33e4bc2481431e816c57967 23-Jul-2014 Paul Soulos <psoulos@google.com> Fixes some entry layouts

Moves text over to match up with "See all"/"See less" and adds top margin when only header text is visible.

Bug: 16326938
Change-Id: Ib9171ba8c27ffccfc5eb3c1e023e827e8e71e7fe
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java
891bd2bad8de331a089466777cd054674261a969 22-Jul-2014 Paul Soulos <psoulos@google.com> Fixes TouchDelegate bug in QCA

bug: 16460824
Change-Id: I0357cec8ad1899137174bae23c0d494bd290190d
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java
03ece86bc2bda7f29aa2f8f2111035e4c6c6b871 23-Jul-2014 Paul Soulos <psoulos@google.com> Removes extra spacing in Entry

Bug: 16516807
Change-Id: Id61e659266398d2c7122417e063878afec5d3232
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.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/ExpandingEntryCardView.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/ExpandingEntryCardView.java
f5cc63f9f25f8d75a524202d2bd4f7d388d787a8 16-Jul-2014 Paul Soulos <psoulos@google.com> Removes separator if not ExpandingEntryCardView title is set

Bug: 16326734
Change-Id: I3cd86ecd51ee19b5f1d4b0fee38222bbe1709a78
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.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/ExpandingEntryCardView.java
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/ExpandingEntryCardView.java
a2fec386b90e3031249b6c09841fa289677edff6 15-Jul-2014 Paul Soulos <psoulos@google.com> Fixes separator width not matching mocks

Bug: 16157984
Change-Id: Ia2dfee76c7a80793dc136c3e4c5bdc283279c333
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.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/ExpandingEntryCardView.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/ExpandingEntryCardView.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/ExpandingEntryCardView.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/ExpandingEntryCardView.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/ExpandingEntryCardView.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/ExpandingEntryCardView.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/ExpandingEntryCardView.java
7d22b94ce50f7a65dd89d4533f2aa3a3392e7972 09-Jul-2014 Paul Soulos <psoulos@google.com> Changes xml attributes to end instead of right

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

Change-Id: Idfe396d0a4fa24214599990c2895ed9569e5c0fa
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.java
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/ExpandingEntryCardView.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/ExpandingEntryCardView.java
0d49d81a3df2eea40dfe57570767c7661463f2dc 07-Jun-2014 Brian Attwell <brianattwell@google.com> Lazily inflate entries in ExpandingEntryCardView

When first initializing ExpandingEntryCardView, don't inflate all
its subviews.

Change-Id: I7696ed4c327a6dbc6dc5e7e7fb81e8910234284c
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ExpandingEntryCardView.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/ExpandingEntryCardView.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/ExpandingEntryCardView.java