| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
- Don't do anything in enableHardwareLayer if it's already enabled
- Add onDrawerDragEnded in TPC for consistency so it has access
to all 3 drawer events.
- Change ObjectAnimator back into ViewPropertyAnimator
Change-Id: If78b833d35f0c37f6b9e4d8c644c8a6714bfc7b7
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
| |
Change-Id: I7ed53f0d684c2b67e3489829a62b07457e26e401
|
| |
|
|
| |
Change-Id: I54552707a9643b983f6d93c61c81ac1c7fea02f2
|
| |
|
|
|
|
|
|
|
|
| |
Since we now have keyboard shortcuts, it's no longer
enough to simply set menu items invisible. For menu items
that are no longer valid, use both setVisible and setEnabled.
b/17692730
Change-Id: Iad9fb9b6638a68a4650cba699ea430c5c6e6e0fe
|
| |
|
|
|
|
|
|
| |
Fix `IndexOutOfBoundsException: setSpan (-1 ... N) starts before 0`
when Utils.insertStringWithStyle() is called with a substring not
present in entireString.
Change-Id: I42ff06aab20c2a9800abe7daed8cf408eb3c2038
|
| |
|
|
|
|
|
|
|
| |
Does not include ctrl+ENTER for SEND & we need a new
key for REPLY since we are not supporting shift.
b/17070243
Change-Id: Ia5f179336dfc2b6631e1a5f26ee888f82f4873c0
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
b/17471688
Change-Id: Iea162b21995a93927c6a1e3238c1e9bb4a922131
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
| |
Main issue is that we no longer need the focus changes
in onViewModeChanged because we handle left/right navigation
individually.
Furthermore, changed isRtl check to using the ViewCompat version
instead of the locale version so it's easier to test (locale
version doesn't work for force rtl in dev options).
b/17234283
Change-Id: I3f87e67ed1c7457370f8cdb63cc3abaa57211db9
|
| |
|
|
|
|
|
|
| |
Also clean up unused routines and resources
b/16547234
Change-Id: Idfe8210d8f6f38363daa534d68dfd21440bc352d
|
| |
|
|
|
|
|
| |
In two-pane landscape mode support our custom navigation
for RTL mode (left/right reversed).
Change-Id: I8d3afe1362fc935f8b6140ce37bcfd6a9ba88bb2
|
| |
|
|
|
|
|
|
|
|
| |
Update the nested folders UI to reflect the newest redlines.
Also removed all signs of list_edge_tablet since it's no longer
relevant.
b/16017301
Change-Id: I24fcb43984b595a4fed84622e79ce76deaa92d2b
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Not all assets are ready, but those that are
have been swapped in this CL for TL and CV.
This CL does none of the changes for action item placement.
Change-Id: I7ce383806a9c9e6591b77f646bb5ba569be74810
|
| |
|
|
| |
Change-Id: I030ef1ceccb8ad24baba5cc4cae87fd41715c0ed
|
| |
|
|
|
|
|
|
| |
Also remove some unused folder capabilities
b/15966080
Change-Id: Id444beb9a46e41f59d719088b329477fb19f0475
|
| |
|
|
| |
Change-Id: I761d9c6408546fa47248d1c5e5b756ce91ff2465
|
| |
|
|
|
|
| |
b/15966080
Change-Id: I0e8f9a325c61e156dd16a8c4cf22bb5d37939808
|
| |
|
|
| |
Change-Id: Ibe16fd44a1d5aeefec7c8b9a2c91f4a3f8d6fe9b
|
| |
|
|
|
|
|
|
|
|
| |
Adding 2 functions to util for:
-getting and caching version code
-setting custom user agent so we don't get interstitials
b/15705426
Change-Id: Iafa588ff8f6fff62500e516756cf507b6feb059c
|
| |\
| |
| |
| |
| | |
* commit '39667579c1fd3d0275b404ae9a94b28f0c775657':
Consider null Uri to be "empty" as well
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Some uris are not instantiated as Uri.Empty. For those uris, being
null has the same meaning as being empty, so let's add the check.
b/15388298
Change-Id: I2d32371c4889eb517461db9aa55e6b19e361e708
|
| |\|
| |
| |
| |
| | |
* commit '9695e0046f79bd2d7166a411d6feff4cf0fb2539':
Properly check for empty Uri
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Uri == Uri.empty doesn't work. Changed all uses of Uri == Uri.empty
to Uri.empty.equals(Uri). Refactored the function into a helper function
inside Folder to check if a given folder is top level.
b/14987117
Change-Id: I22b7a0bf7fbfcbd14936e5ff9b428fd3f4c15e60
|
| |/
|
|
|
|
| |
b/13325901
Change-Id: Id85ba4594c89e541367aa035d4a31f5ab67d6545
|
| |
|
|
|
|
| |
Under test, the ActivityManager may be null
Change-Id: I56848c572a18c9f16e235cefd662e5042863c525
|
| |
|
|
|
|
|
|
|
|
|
|
| |
b/7280077
One issue we saw was that if the conversation was not
in the initial 50 conversations, we would get punted
out of the conversation list. Now we have an additional
extra in ACTION_VIEW intents that allow ignoring the
limit for the first load of the ConversationCursor.
Change-Id: I737c45e122df4dda7c63794ddc7036be61d5ebd4
|
| |
|
|
| |
Change-Id: I229b767c7a929e46cb5bf27ccf2553ce55b9af59
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
We need the per-message plid server support,
but we are forwarding the clipped bit to
the UI and showing a button based on that
bit. Clicking that bit will open the
plid viewer for gmail. Email should be
unaffected as it does not ever return clipped as true.
b/2887917.
Change-Id: Iddb54e37cf650ca16a75fcbe69f1861becdd81b9
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Fixes:
b/12451886
b/12452546
Change-Id: If2bd3d63c07eda3190d16fd95746c0105b251406
|
| |
|
|
| |
Change-Id: I4f6df51f5641475ffaf96b0189ccc00748880cc0
|
| |
|
|
|
|
|
|
| |
Fixes b/11973362. Apparently View.getLayoutDirection
is not valid until measure has been called at least once.
Thus calling it in onFinishInflate wasn't working reliably.
Change-Id: I1651d21438e8fe03a0b063b65833708bbc1139f6
|
| |\
| |
| |
| |
| | |
* commit '0a2a346c8f40ad256eef840338a75a3bdfbe8251':
fix internal fancy mailtos
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
| |
Change-Id: I1d0d976bd44d089cb1f0d6f852ddc497ab0cee29
|
| |
|
|
|
| |
Bug: 11044804
Change-Id: I5c1c7c256ab813e394eeaf67d27f08567768a1af
|
| |
|
|
|
|
|
|
|
|
| |
Fixes b/10705091 by changing strings.
Also provides K backgrounds.
Finally, fixes undo background on K,
making the highlight be the entire area to the
right of the divider. b/11292303.
Change-Id: Ice98f3569274a953c1ef5b859d7ff182466cb9dc
|
| |\
| |
| |
| |
| |
| |
| | |
jb-ub-mail-ur10
* commit 'c19bbbcaa6f19fc69af3791f628a8b729b34758e':
Divert mailto Uris directly to compose activity
|
| | |\ |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
b/11329313
Change-Id: I9c255b2018b25669557b208e749e56e7fe1597b4
|
| |\| |
| | |
| | |
| | | |
Change-Id: I5766599c2ee08de615f3047b57f1c72d63908b36
|
| | |/
| |
| |
| |
| |
| | |
b/11336576
Change-Id: I5e79c0d37337f848b385697799d45bf922f86ff1
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The actual Java classes are all in
UnifiedGmail for now due to time constraints.
This is mostly all of the resources so that
it doesn't all have to be copied over once
Email wants to enable it.
Change-Id: Ia42392e3d1c258fdbf39496ee9e4fb8226796358
|
| |/ /
| |
| |
| |
| |
| | |
Bug 11158252
Change-Id: Ied621399e5365e5db5b7d75318df53560de9f2ce
|
| | |
| |
| |
| |
| |
| | |
Fixes b/10714037.
Change-Id: Ie9f925953d03e263d668b97f5cc5fdf59ffb9665
|