summaryrefslogtreecommitdiffstats
path: root/proguard.flags
Commit message (Collapse)AuthorAgeFilesLines
* UnifiedEmail: Fix buildKenshin2015-10-181-0/+1
| | | | Change-Id: I180829783123498b1c6a06b0d877e9ce451429b0
* Fix NoClassDefFound in tests with proguard-test.flagsRégis Décamps2014-10-151-1/+0
| | | | | | | | Explicitely keep classes used for tests in `proguard-test.flags` applied when the target is eng. Bug: 17388964 Fix the Gmail test suite Change-Id: I91b38ac7c8e07aeb9006d2587dd25852dc937147
* Keep Parcelable CREATORsScott Kennedy2014-04-071-0/+5
| | | | | | At least until the base file includes this Change-Id: I91497f08b8f546080abbf3e0b1e7a5600072619a
* Stop keeping all the thingsScott Kennedy2014-04-031-49/+1
| | | | | | They're not needed. Change-Id: I304fff784cbd4cc87c674e950f7a1b891f11413b
* Remove some unnecessary Proguard keep attributesScott Kennedy2014-04-021-17/+0
| | | | | | This is just the beginning... Change-Id: I75bae43a6faa04bde9f79a8407f33592e5e5081d
* Mail in Sent, Drafts and Outbox should show addressees, not sender.James Lemieux2014-02-051-0/+8
| | | | | | | | | | | | | | | | b/10847599 This is the second attempt at fixing this bug. The strategy has changed entirely to accommodate GMail as well as reuse formatting rules that squish the list of conversation participants into an abbreviated line for display in conversation lists. ConversationInfo used to include a List<MessageInfo> which was used to answer questions about which senders had read which messages in the thread. This has been removed and replaced with a List<ParticipantInfo>. The backend should populate that list with appropriate conversation participants (e.g. recipients of the last message in the case of Sent, Drafts or Outbox; senders for all other mailbox types) Change-Id: I834223c55296bcd2509fdf544634c155594739b0
* Deduplicate Address classTony Mantler2014-01-081-0/+4
| | | | Change-Id: I4f6df51f5641475ffaf96b0189ccc00748880cc0
* View inline images in photo viewer. b/5555553.Andrew Sapperstein2014-01-071-4/+0
| | | | | | | | | | | | | | | | Uses the existing javascript image src rewriting step to build a mapping of urls to message ids. This mapping is passed into the InlineAttachmentViewIntentBuilder so that it can use this information along with the conversation id and account name to build attachment and attachment list uris so that a photo viewer open intent can be created. Additionally, SecureConversationViewController will need a different mechanism for this UI to work in Email/the eml viewer. Change-Id: If14800348fe2191d0633bf768b8cb4e9746f6578
* am 0a2a346c: fix internal fancy mailtosAndy Huang2013-12-201-0/+2
|\ | | | | | | | | * commit '0a2a346c8f40ad256eef840338a75a3bdfbe8251': fix internal fancy mailtos
| * fix internal fancy mailtosAndy Huang2013-12-201-0/+2
| | | | | | | | | | | | | | | | | | | | Mailto: links that included anything other than a "to" address weren't handled correctly when a user clicked on one from within a message body. Pass the entire 'mailto' URL to ComposeActivity to ensure our normal mailto parsing code kicks in. Bug: 12137171 Change-Id: I0352ecc80b7c9cfadeb605f8e0b2a694387c9b03
* | Unit test for MailAsyncTaskLoaderTony Mantler2013-12-161-0/+2
|/ | | | | | b/11987449 Change-Id: Ib0d5aae5c51d744ce293ad97df49b368098cd031
* fix "Tap to set up" not working when obfuscatedAndy Huang2013-12-021-0/+4
| | | | | Bug: 11751238 Change-Id: I0ed0d66f3ab95aa04871b4d2629f2de0443f907d
* Make sure CREATOR classes don't get strippedPaul Westbrook2013-09-141-0/+4
| | | | Change-Id: Iac2be920e7a6b1a4cf4085cbee538d7e6ad33d1f
* Use Drawables for senders image. Less animation jank, less GC jank, less memory.Mark Wei2013-09-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Sync disabled tipAlice Yang2013-08-111-5/+1
| | | | | | | | | | | | The original design called for displaying different messages for when global auto-sync is off and airplane mode, but we're considering scratching those so I didn't cover them here. To do still are subsequent toasts. Bug 9825835 Change-Id: I1916e2d95896c2079fa6eeb9fe806fd4d181a27a
* Tip for long press to enter CABAlice Yang2013-07-291-0/+4
| | | | | | Bug: 9859881, 9572851 Change-Id: I1603651084fb9ded479af69e17bd54cdab693c2e
* new allocation-minimizing bitmap decoderAndy Huang2013-07-291-3/+0
| | | | | | | | | | | | | | | | | | Use a new image decoding and caching framework. This one maximizes bitmap reuse by decoding into fixed-sized Bitmaps and relying on BitmapRegionDecoder to only decode a desired region. The ultimate goal is to allocate memory less often, as each large allocation triggers GC jank. The overall request/response abstraction and threading model are now cleaner, and caching is no longer a required fixture. Multi-core decoding is now supported, with a currently fixed thread pool size of 4. Attachment images are the only client for now, but contact photos will switch to this framework next. Bug: 9566006 Change-Id: I7c437941fd984cc0038da8f0ffd1df1a9ced4dd3
* Remove the eye/starflip from conversation item viewScott Kennedy2013-07-281-1/+0
| | | | | | The eye is creepy, and nobody knows what it means. Change-Id: I53a39f3e0ab39b56445eacc66130487469d912fa
* Better CAB modeScott Kennedy2013-07-231-0/+2
| | | | | | | | | | 1. Flip out contact image, scale in a checkbox optionally on grey background 2. Flip stars into peek icons 3. Only peek icon will peek Bug: 9592097 Change-Id: Ia972132284ef62f4964c7027ab09157a525dd804
* Add fade animations.Mark Wei2013-07-161-0/+2
| | | | | | | | | | Fix exceptions. New layout for previews. Bug: 9745486 Bug: 9860384 Bug: 9885937 Change-Id: Ief210b211e87898c6516d867b59d76c72a765596
* Attachments in Conversation List: Backend changes so that the appropriateMark Wei2013-07-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attachments are passed to the UI. Implement PhotoManager so we can start showing images. Upon sync, we extract two image attachments from the first unread message, and add them to the conversations table. UI changes as well. Load BEST if that is available, else load SIMPLE. No vertical dividers in attachment previews. Attachment previews are above labels. Round badge appears for unread conversations when there are more images than shown. Only appears after the previews have loaded. Clicking on the attachment previews launches photoviewer. Attempt to load bigger images than necessary to prevent reloading during mark read/unread and rotate. Show animated loading icon while previews are loading. Previews load from top to bottom, from left to right. Big performance improvements: No longer decoding bitmap on UI thread. This kills most of the jank. Only load when we are not scrolling. This kills a lot of jank. Remaining jank will be delt with later: DividedImageCanvas.setDimensions() creates a huge empty bitmap on the UI thread, which causes a GC. ath will fix. Multiple images in one line now load whatever's ready first. Added tracing. Bitmap cache given more memory. Following ath's advice, decode Bitmap from InputStream rather than byte[]. Don't compress into BitmapHolder. Only use the bigger Bitmap cache. Bug: 7481049 Change-Id: Icf823f56abc9345e6d0b800a1e6d45444d8fa028
* Add teaser for new conversation photo checkboxes.Mark Wei2013-05-051-0/+4
| | | | | | | | | | | | | 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
* fix shorter-than-expected leave-behind view heightsAndy Huang2013-04-111-7/+2
| | | | | | | | | | | | | | | | | Make leave-behind heights variable, dependent on the ConversationItemView that originated it. Make the background on a SwipeableCIV not a separate view, but a simple background. Also simplify the conditions under which it occurs-- it just appears whenever translateX is non-zero. This covers all swiping and animating cases handily, without the need for extra listeners. Remove an old workaround that gave ListView on 1-pane an opaque background- - it was there to mask FolderListFragments that stuck around, but those are relegated to the drawer now. This reduces list overdraw by one. Bug: 8570880 Change-Id: I2e2ea875d4ab58b5048d41025b8a2c48a3d63536
* Single-message zoom using a floating WebViewAndy Huang2013-02-161-0/+4
| | | | | | | | | | | | | | | | Protected by an experimental pref for now Restores scroll position Preserves 'show pics' state Speedy animation Fade-in animation begins right after onNewPicture (ICS compatible!) add UpOrBackController role for fragments to get a whack at back/up And because this approach avoids using the CSS 'zoom' attribute within single-message mode, double-tap works well and there are no line-height issues. Bug: 7400516 Change-Id: Idedfa6e35edc291c9169fbd9b1315b39b4253f60
* Remove nonexistant classes and update existing onesVikram Aggarwal2013-01-301-8/+0
| | | | Change-Id: I34bc23e6b8d52f521d08a0c6ec3db6f5491485b0
* Fixed proguard warningPaul Westbrook2012-10-031-1/+2
| | | | Change-Id: Ic0bc5480b5d7be6e2a02dc02e84e2b4202caf337
* Add loading animations to conversation viewmindyp2012-09-091-0/+4
| | | | | | | | | | | | | | fixes b/6272925 jank - conversation loading isn't animated fixes b/7131797 Blank scren shown for live conversation, when in airplane mode Note: need to do a next cl that puts off showing the spinner until at least XXX ms have passed Also, we cant use the software layer for rendering like we did in gmail1 it looks like there is a skia crash that triggers when we try to use software / switch to hardware rendering for the browser need to investigate that more Change-Id: I96a30b700c3e88d52e603fe2f11b44d113e013d2
* Keep setAnimatedHeight plsmindyp2012-09-091-0/+4
| | | | | | Or animating leavebehinditems doesn't work Change-Id: I0f5f92aad2a711bcd273d1d3aa0e34f2d405e5b1
* Added method to proguard filePaul Westbrook2012-08-191-0/+4
| | | | Change-Id: I1db9fb18345e951f74fb66abc6cf7d4f187b55b4
* Add donothingclickhandler to proguardMindy Pereira2012-08-071-0/+4
| | | | | | Fixes b/6946142 java.lang.IllegalStateException: Could not find a method doNothingClickHandler(View) in the activity class com.google.android.gm.ui.MailActivityGmail for onClick handler on view class android.widget.TextView with id 'unread' Change-Id: Iafc96a59c47a1e911535db21ffc425efe06ff0cd
* Update proguard flagsPaul Westbrook2012-06-181-0/+8
| | | | Change-Id: I4bc5ab9daed573d863281a178836b380bf63a4f6
* Re-enable swipe.Mindy Pereira2012-04-021-0/+5
| | | | | | | | Swipes all checked items at once Tap highlight Properly colored background Doesnt swipe non checked items when there are checked items Change-Id: Id71e331d35f75ee02813dee8376d764386221868
* Include these property setters.Mindy Pereira2012-03-051-0/+9
| | | | | | | | They are used by animators to adjust list properties during the animation. The "set" in front is a system convention for looking up property setters in a class. Change-Id: Ic09529e5964d2653a1b25d4b66a053bf7efa4930
* conversation view zoomingAndy Huang2012-02-241-0/+4
| | | | | | | | | | | | | | | | | | Zoom is enabled on the entire conversation using the built-in WebView mechanism. Wide messages are individually best-effort shrunken to fit-width. Start a custom ViewGroup to hold both message headers and the single WebView. A common view parent makes input handling easy: the WebView drives scroll position, and position is relayed to the custom ViewGroup to cheaply shift around headers without a full relayout. For now, all headers are inflated at once, but soon they can be recycled depending on the virtual scroll viewport. Change-Id: I92555f9b79e10630457b17ca970ab9a2e9028e80
* Add support for archive/spam/mutePaul Westbrook2012-02-231-0/+4
| | | | | | | | | Add new operations in the UIProvider for the providers that support archive/mark spam/mute Fix animations for userdebug builds Change-Id: I2e6372095f7ce6d29d37768e1075a098ca3a7646
* rename unified email's package name to com.android.mailAndy Huang2012-01-061-4/+4
| | | | | | | New code needs a new package name. Fixes IDE conflicts when browsing. Change-Id: I328484c6d6c71df077a05d2f7d6d1e85074107c2
* Fixed userdebug buildPaul Westbrook2012-01-041-0/+4
| | | | Change-Id: Ibbfa7c291b8c018536ad8eeb359a18503583bb7d
* Start of UI providerPaul Westbrook2011-12-201-0/+25
This is the start of the contract for a UI provider, and also includes a mock content provider implementing it. Included is a unit test that just traverses the content provider Change-Id: I4424e140830244f02eac204d71152dfc196c9741