History log of /packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationPhotoTeaserView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0e8dc84326ad3e6d146a203538665f98dd98f688 10-Sep-2013 Scott Kennedy <skennedy@google.com> Hierarchical folders in conversation list

Use something similar to the sectioned inbox teaser.

Allow expanding/collapsing when there are too many folders.

Bug: 9604590
Change-Id: I6cc79bd7c033bbf13c750e7720fe71227b38cc85
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationPhotoTeaserView.java
32ddb84f2d4f53bfc4b53656461068c0c69d6325 29-Aug-2013 Scott Kennedy <skennedy@google.com> Fix a couple ad bugs

1. Show a new ad when we leave the conversation list and return
2. Do not show a new ad immediately after dismissing an ad
3. Eliminate some GCs and logspam
4. Don't send up a "shown" operation on rotation.

Bug: 10499269
Bug: 10531721
Change-Id: I7e366bd2f1bde5f50764cc3240ac0870a4eda49f
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationPhotoTeaserView.java
d6522ea881e80ab849f2a88565db5a6a73e7623e 27-Aug-2013 Scott Kennedy <skennedy@google.com> Fix long-press

The CAB mode teasers were having their dismiss animations run when
CAB mode was entered, even if they weren't being displayed.

As part of this dismissal, notifyDatasetChanged() was being called,
which caused the conversation being selected to have its view
recycled during the long press, which then triggered a short press.

We were also unnecessarily calling notifyDatasetChanged() when the
account's sync status changed.

Bug: 10442289
Change-Id: Iefb784f60cf99ac10ae1b0785777a0e4711b2368
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationPhotoTeaserView.java
f45e0e7f65eb421fc5c2acf7bb76a714e12dc68b 23-Aug-2013 Scott Kennedy <skennedy@google.com> Make the right edge more performant

Bug: 9177552
Change-Id: I4250825bb658209166744ad1cb0455d4ac81da34
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationPhotoTeaserView.java
1591414ed6dc829852edd219c39ae430314ff538 22-Aug-2013 Scott Kennedy <skennedy@google.com> Add the right edge line to all teasers on tablets

Bug: 9177552
Change-Id: I5270a0ae2196e9a6f732ed6d3327ffe3d30f34be
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationPhotoTeaserView.java
272900135906067c383b0960881293f769114494 21-Aug-2013 Scott Kennedy <skennedy@google.com> notifyDatasetChanged() as soon as section teaser dismisses

Otherwise, it comes at some point in the future, and causes problems.

Bug: 10413176
Change-Id: I9b71979113cdcdf1dea01c06367d27e9abab25ca
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationPhotoTeaserView.java
cc139833bc5829ba70244519e9870de783c41848 20-Aug-2013 Scott Kennedy <skennedy@google.com> Fix some remaining ad teaser issues

1. Disable interaction while in CAB mode

Bug: 10212376
Change-Id: I2206ef4336bc9a2538c236479df837caa5724e8c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationPhotoTeaserView.java
042a530b2296487fa5899a3e871214ac4a47e3d8 13-Aug-2013 Andy Huang <ath@google.com> more metrics

Reorg category/action/label to be more economical. This gives us an
extra slot for data vs. spending on custom dimensions in the future.

Log CAB actions, some settings state, drawer toggles, CAB mode start,
swipe dismiss, and peek.

Bug: 9861033
Change-Id: I16b30356db70f60ed87749f29ddd667790acbb07
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationPhotoTeaserView.java
b45d1418887d8595c230788e20516bbe10c2f3ea 09-Aug-2013 Scott Kennedy <skennedy@google.com> Change special views to update the view inside of getView()

Rather than doing view updates in onUpdate(), add a new method,
onGetView(), that is called before returning the special view from
getView() in AnimatedAdapter().

Change-Id: Ie98fad2d2296842e1edd648db06aa472486de5e4
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationPhotoTeaserView.java
28e0027f0b2e64093caaf87131c8e8508ffe7bce 26-Jul-2013 Scott Kennedy <skennedy@google.com> Fix some crashes in Email

In Gmail, this change has no effect, since we currently have no
nested folders.

However, it's wrong for the teaser to take other teasers' positions
into account for positioning. The AnimatedAdapter already does this.

We were getting up in situations where the teaser was trying to be
positioned below the bottom of the list, which was causing strange
errors.

Bug: 10016802
Change-Id: I136be2367413cb7abd2724a46d448e0950ad4809
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationPhotoTeaserView.java
2afc01e8b222eb68049c79988c65e80819a1fd50 16-Jul-2013 Paul Westbrook <pwestbro@google.com> Suport for Contact photo teaser

1) Move the preference for show sender images to MailPrefs
2) Create a ConversationListHelper in MailActivity

Bug: 9497358
Change-Id: I6965d22891b3a8e05c89fc0bfe1330732c19d36a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationPhotoTeaserView.java
e43eb7ca65c8ddf2c48f5dd2225adcb65ebbe356 18-Jun-2013 Andrew Sapperstein <asapperstein@google.com> am 150ebe6d: Add dismiss to photo checkbox teaser.

* commit '150ebe6d02f2a9a6a02c215c8b2f93c9d72f4824':
Add dismiss to photo checkbox teaser.
150ebe6d02f2a9a6a02c215c8b2f93c9d72f4824 18-Jun-2013 Andrew Sapperstein <asapperstein@google.com> Add dismiss to photo checkbox teaser.

Eyeballed the sizing. This looked right enough.
Fixes b/9470855. Also now on the third version
of the preference.

Change-Id: Id9d750b2ed8f49105abbe2e34a4e6f5493277a63
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationPhotoTeaserView.java
7d257af54aba47ab662e34f0c9faf54d86ebd4a4 11-Jun-2013 Andrew Sapperstein <asapperstein@google.com> resolved conflicts for merge of f950fd5d to jb-ub-mail-ur10

Change-Id: I7ffb9ec33e74b118eb184b2794e08cec05650271
2f542873183b37fa38a0d468f46bbfebc1f537e2 11-Jun-2013 Andrew Sapperstein <asapperstein@google.com> Reshow sender image teaser.

Fixes b/9375917. Now the sender image teaser shows
until cab mode has been entered or it has been swiped away
manually. Entering a conversation will not hide the teaser.

Change-Id: Ib3c6d56e4504680b513b2b56e9bcbc091a5da8aa
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationPhotoTeaserView.java
37a20ca39be842b4b4cb54d5b5ed418d49d950cf 06-Jun-2013 Vikram Aggarwal <viki@google.com> Fist cut of nested folders

1. Rename FolderListFragment.FolderListSelectionListener to
FolderSelector.

2. Allow special views to be tapped; all existing special views
disallow taps.

3. Allow nested folders in ConversationListFragment. The adapter is
responsible for populating the nested folders above the
conversations.

4. Add a nested folder special item for the conversation list. This
reuses current resources and is particularly ugly. The ugliness
will be fixed once we have a UX spec and real assets.

5. The child folders are loaded through an ObjectCursorLoader in the
ConversationListFragment.

Change-Id: I5eb566d7a1f87c1a11fc6961378d00650a27007d
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationPhotoTeaserView.java
68c09ac46f4fb759dea92458540054ae63433f58 06-May-2013 Mark Wei <markwei@google.com> Fix teaser minor issues

Sectioned inbox teaser and sender images teaser should animate away when a
conversation item is clicked.

Both teasers should have darker background when swiping.

Set arrow to visible after its position has been set correctly.

Bug: 8829350
Change-Id: I2dac049c2fe8f45607c60b4dbddaaa8595fa02e5
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationPhotoTeaserView.java
2102b2c87a6cb39bc63fb7eff13dda64da56b72e 03-May-2013 Mark Wei <markwei@google.com> Add teaser for new conversation photo checkboxes.

The teaser shows up for the first time the user sees the conversation photos. If
they change to no photos, and later change back, the teaser comes back.

The teaser sits immediately in front of the first real conversation item (unless
other special views also try to have the same position behavior, in which case
the current implementation gives undefined behavior dependent upon which special
view is added to the adapter first).

Bug: 8772762
Change-Id: Ica79482f2a2eae0cf3409f6accb7ae5b0fc0fd45
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationPhotoTeaserView.java