| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I34bc23e6b8d52f521d08a0c6ec3db6f5491485b0
|
|
|
|
| |
Change-Id: Ic0bc5480b5d7be6e2a02dc02e84e2b4202caf337
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Or animating leavebehinditems doesn't work
Change-Id: I0f5f92aad2a711bcd273d1d3aa0e34f2d405e5b1
|
|
|
|
| |
Change-Id: I1db9fb18345e951f74fb66abc6cf7d4f187b55b4
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I4bc5ab9daed573d863281a178836b380bf63a4f6
|
|
|
|
|
|
|
|
| |
Swipes all checked items at once
Tap highlight
Properly colored background
Doesnt swipe non checked items when there are checked items
Change-Id: Id71e331d35f75ee02813dee8376d764386221868
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 new operations in the UIProvider for the providers that
support archive/mark spam/mute
Fix animations for userdebug builds
Change-Id: I2e6372095f7ce6d29d37768e1075a098ca3a7646
|
|
|
|
|
|
|
| |
New code needs a new package name. Fixes IDE conflicts when
browsing.
Change-Id: I328484c6d6c71df077a05d2f7d6d1e85074107c2
|
|
|
|
| |
Change-Id: Ibbfa7c291b8c018536ad8eeb359a18503583bb7d
|
|
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
|