summaryrefslogtreecommitdiffstats
path: root/proguard.flags
diff options
context:
space:
mode:
authorMark Wei <markwei@google.com>2013-08-21 20:37:44 -0700
committerMark Wei <markwei@google.com>2013-09-13 13:27:14 -0700
commita8301e2eb5a083a73f58331279c86e8ec7b11a48 (patch)
tree09bb5e94bb3d5356aa8d71d36685a718eade1985 /proguard.flags
parent75a4eb5455e2fd94db41aab22a5f2614f7bf707b (diff)
downloadandroid_packages_apps_UnifiedEmail-a8301e2eb5a083a73f58331279c86e8ec7b11a48.tar.gz
android_packages_apps_UnifiedEmail-a8301e2eb5a083a73f58331279c86e8ec7b11a48.tar.bz2
android_packages_apps_UnifiedEmail-a8301e2eb5a083a73f58331279c86e8ec7b11a48.zip
Use Drawables for senders image. Less animation jank, less GC jank, less memory.
Protip: When testing sender images, go to your Sent folder. Tons of senders images appear because you are most likely to talk to people in your address book. Rewrite UI to use modular Drawables. It's much easier to understand, since Drawables with different functionality can be composed. Flipping animation is 10x smoother. Handles quick double-tap on senders image correctly. Letter tiles are not allocated bitmaps anymore. They simply draw a rect and a letter to the canvas. We are no longer allocating large bitmaps for every list item. We reuse Bitmaps whenever possible the same way that attachment previews do. Much smaller 339KB cache since we don't share with attachment previews anymore, just enough to fit 10 off-screen contact images. Bug: 10429228 Change-Id: I463b63520d881eefe3974dccf295366831adaf9e
Diffstat (limited to 'proguard.flags')
-rw-r--r--proguard.flags1
1 files changed, 0 insertions, 1 deletions
diff --git a/proguard.flags b/proguard.flags
index e0b2c23ec..7bab92106 100644
--- a/proguard.flags
+++ b/proguard.flags
@@ -60,7 +60,6 @@
-keepclasseswithmembers class com.android.mail.browse.ConversationItemView {
*** setAnimatedHeightFraction(...);
- *** setPhotoFlipFraction(...);
}
-keepclasseswithmembers class com.android.mail.ui.MailActivity {