| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Peek mode allows CV fragments to be visible but not marked viewed and
read. TPC keeps a global flag for whether the current conversation
should be peeked vs marked read. I have tried to manually reset the
flag in the 6 cases that cause the current conversation to change:
1. tap another conversation (don't peek)
2. swipe to another conversation (don't peek)
3. keyboard-advance to another conversation (peek)
4. auto-advance=newer|older (don't peek)
5. auto-advance=list (go older & peek)
6. empty CV and a list cursor has loaded (peek at i=0)
Swipe, in particular, required a new onConversationViewSwitched() call
in CPA because onPageSelected() is triggered both when swiping around in
the view pager AND when simply setting the initial page as part of
constructing a view pager.
Thankfully, there is only ever one copy of this peek flag in the app, in
TPC, since AAC/TPC is where all the work is done both to mark
conversations seen and to switch to new conversations.
Rotation to portrait on tablets now requires tearing down a ViewPager;
this code and thought process is documented here: http://go/xqaxk
TODO: selected indicator for transition from peek->read state in-place
TODO: touches in CVF should mark it read
Bug: 17291366
Change-Id: I24f71a2b7985773814d8caad9f3ab3fe5c3609c8
|
|
|
|
|
|
|
|
|
|
|
|
| |
b/16395550
When the fab was changed to sit in the TL in 2 pane layout
the min and max widths were never updated to match.
Note: we chose different max widths of the snack bar for
7" and 10" displays.
Change-Id: I8b3e31b4db2c1c721bb32b68b422cb5e36e7bd4e
|
|
|
|
|
|
|
|
| |
Also clean up unused routines and resources
b/16547234
Change-Id: Idfe8210d8f6f38363daa534d68dfd21440bc352d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New MiniDrawerView class for a minimized drawer UI with shortcuts to the
main drawer logic to switch accounts and folders. The "drawer" is now
always visible except in portrait conversation view.
Can't easily use an actual DrawerLayout because:
-drawers usually occlude other views, they don't push
-we have that omnipresent 'mini' version
-we want custom control over dragging to trigger a fancy animation (not
just edge swipe!)
(I'll revisit this later.)
Even ActionBarDrawerToggle alone can't be used w/o DrawerLayout, so for
now, all of this drawer logic (dragging not yet implemented) is from
scratch.
TwoPaneLayout no longer "shifts" its panes to transition from TL->CV in
landscape; the panes are now fixed in position. Not yet implemented is a
'conversation-visible-but-not-marked-read' state necessary to avoid the
initial gray expanse there right now.
Bug: 16147175
Change-Id: I021aaff15afebb76db6722265e2a592213674405
|
|
|
|
|
|
| |
b/16167419
Change-Id: I72c7c44f5728563da1fcbd39daa31ccd41845d8a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
b/11061485
Gmail remains unchanged due to this checkin.
HELP and SEND FEEDBACK are now the two bottom-most drawer
items in the Navigation drawer of the Email application
when it is present or in the overflow menu when it is not
present.
SEND FEEDBACK still behaves as always.
HELP has been redesigned so that it displays the help
content in a local webview rather than using an external
browser in the Email application.
Change-Id: If1bdba26ac2caca79c81205a409c67659cd49653
|
|
|
|
| |
Change-Id: I40b6fe884e551619b400484f7cc2e971a0e18fae
|
|
|
|
| |
Change-Id: I38b44bc518d58bee859a655cf68ec4f669063d78
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Lots of changes:
New show pictures asset.
Added border as a new view type in the conversation
view to vertically separate cards. Changing its size
is TBD.
Final UI for details header (both collapsed and
expanded).
Side borders are accomplished via a new overlay layer that
is positions a view to each side of the conversation view.
Lots of dimension changes, padding and margin changes, and
other pixelpushing.
Change-Id: I4029ae46896e27fe20b005c01b8df04bb2a46c2a
|
|
|
|
|
|
|
|
|
| |
Revised design of the upper header. Some work on the
expanded and collapsed details header and the other
sub-headers. Still needs some UI resolution before
this can be finished.
Change-Id: I925e3b50f06519fbe41ffe7470e2fbfa50e337c7
|
|
|
|
| |
Change-Id: I8bb38ac918f061cd9ed4ad21d9ed686672dbde15
|
|
|
|
|
|
|
| |
Death to constants.
Bug: 8872920
Change-Id: Ic90ddac4b741ec57dd59aadf4d3d426d9813e105
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added 'spacious' variant of NORMAL list item layout.
Because the determination of whether to use tight or spacious dimensions
isn't easy with resource qualifiers (think of 7" tablet, which uses
tight dimensions for 2-pane side-by-side layout, but spacious dimensions
in portrait), I just made a whole new layout for this permutation.
Please remember to maintain NORMAL, WIDE, and now NORMAL/spacious
variants!
Use WIDE mode + drawer on landscape 7" tablet.
Make 2-pane controller and layout drawer-aware. Pull up drawer code into
the common controller base class. 10" 2-pane continues to not use a
drawer.
Don't use a resource qualifier to decide between normal and wide item
layouts (same reason as spacious dimensions above). Use the actual item
width as a dimensional test (list_min_width_is_wide).
Use default drawer scrim color.
TODO:
the conversation-open animation is janky looking.
can't open the drawer in conv mode/7" landscape
Bug: 8578806
Change-Id: I1210b1d47d1756353f7c386873465751ca21f801
|
|
|
|
|
|
|
|
|
|
|
| |
in the conversation list.
Depends on:
PhotoManager: https://googleplex-android-review.googlesource.com/#/c/285814/
Backend: https://googleplex-android-review.googlesource.com/#/c/289305/
Bug: 7481049
Change-Id: I284ec722bb0ed0ddb8b27804c0ee5591ef672032
|
|
|
|
|
|
|
|
| |
Measure at runtime based on whether folders are showing, the font size,
the font weight, and the the max width of folders being drawn inline.
This does not affect wide mode.
Change-Id: Ia0293fd5036ba93f5bfc03e1693b5f4acbf33103
|
|
|
|
| |
Change-Id: Id82c30abaffe6fdf05579f98985d28529d74f394
|
|
|
|
|
|
|
|
|
|
| |
from the array.
If not, default to conversation list length.
Fixes b/7960035 gmail crashes when searching
Change-Id: Ieaa472e8b79637615a103bf9a33ec08a3bdcd6e5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
length for subject.
Also, a fix for:
b/7937635 Senders text displayed as "e": need to figure out why the single sender was being
marked as elided at all so leaving the issue open
Considering an option in which I divide the subject into 2 textviews and ellipsize based on
length...
Part of matching redlines.
Change-Id: I109001fb1d52c032d489bf7d3a0a6e925a9d7f1a
|
|
|
|
|
|
|
|
|
| |
Functional changes: compose.xml layout uses the ComposeArea style which causes
all portrait tablet orientations to have no margin and 80dip padding. This is
desirable.
Bug: 7382467
Change-Id: I45af05211b57d03b51b11895a098828d60f5df7b
|
|\
| |
| |
| | |
into jb-ub-mail
|
| |
| |
| |
| |
| |
| | |
Fixes b/7341109 In landscape manta unread count should align with the checkboxes
Change-Id: Ia585c1fd131876838f458cdb078c9e6736aff549
|
|/
|
|
|
|
| |
Fixes b/7340028 compose view isn't wide enough in lanscape on manta
Change-Id: If04f5a96e8bca9dad525763a6538760e63a25f93
|
|
|
|
|
|
|
| |
disable it
fixes b/7329623 don't animate the folderlistfragment transition
Change-Id: Ic4e67f7e64941f3d18cc89ff66e2817f19dd5441
|
|
|
|
|
|
|
|
| |
Using slightly different layout parameters on sw720dp devices to
vertically align the star, time, and attachment icon.
Bug: 7267784
Change-Id: Ibfd46d7c30bfa327a1b93e2e7a2b024746f883b8
|
|
|
|
|
|
|
|
|
| |
That way, we don't have to wait for 2 pane to complete layout
to know how wide to make it.
Fixes b/7267726 undo bar resizes on rotate
Change-Id: Ie442ad3772b9130fa5a368388a661cd343e7c8b6
|
|
|
|
| |
Change-Id: I46d37a10b6e2117a4cdcb81f62c980d6d69212e8
|
|
|
|
|
| |
fixes b/6497634 carry over search results behavior from jb Gmail
Change-Id: I54cea6b8d828071ad841e1f42fbdece8a1aa159b
|
|
|
|
|
|
|
| |
Conv list hides in conv portrait view
Fix relative widths of folder list/ conv list/ conv
Change-Id: I47547c994748fdabf6ac590b7905863dc0ebefc2
|
|
|
|
| |
Change-Id: I42186513ce1069b3ceb18a6ea93ea7d9b7c99943
|
|
|
|
|
|
| |
Match jb specs.
Change-Id: I44235ddf8d7a9980651843f137b16a3e0e6397a7
|
|
|
|
|
|
|
|
| |
Needed to bring in correct overrides.
Also temporarily fix crash while fully implementing tablet
search.
Change-Id: I7b919966c3ec9eaa76ca1f9ac4eca7b19aea46b0
|
|
|
|
| |
Change-Id: I129a8a04d097894467da6173371748cb7c02ca13
|
|
Change-Id: Ia4356aaa5ee698cad6f648b9d26a5719ba8076ba
|