| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- remove focusable from FAB so keyboard won't navigate to it.
- rename selectionSet to checkedSet
- selected is a state for listview to focus one of its elements
- what we really want is checked state for checked items in CAB mode.
- show the blue focus bar when isSelected returns true
- this is auto-set by the framework as we navigate using the keyboard.
- remove blue background color for selected state
b/17258708
Change-Id: Ic9739c9b349403942f64fafa26500c08d1f1cc4c
|
| |
|
|
|
|
|
|
| |
This is a temporary fix so that when the user swipes X away and
then quickly swipes Y, both X and Y are discarded instead of just Y.
b/8465164
Change-Id: Ia911bc45b316314d458968c27a5f3253c5754cc5
|
| |
|
|
|
|
|
|
|
| |
Use something similar to the sectioned inbox teaser.
Allow expanding/collapsing when there are too many folders.
Bug: 9604590
Change-Id: I6cc79bd7c033bbf13c750e7720fe71227b38cc85
|
| |
|
|
|
| |
Bug: 9565838
Change-Id: Ie3a380581e81c63aaa0764875c55bfdccd5f2b13
|
| |
|
|
|
|
|
|
|
|
| |
The SwipeHandler should never act on NestedFolderView elements since
these should not be allowed to swipe. Fixes the issue where the
folders were not clickable.
Also, remove a lot of unused code in the SwipeHelper.
Change-Id: I4495a4224e28d52560ead47ee9e3f6d34c4ab916
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is now only one LogTag class. The static initializer of
GmailApplication (existing) and EmailApplication (new) will now set
the log tag to "Gmail" and "Email", respectively. Up until that code
is run, it will be "UnifiedEmail".
"setprop log.tag.Gmail VERBOSE" (or .Email) will trigger all logs to
be printed as long as they go through LogUtils, regardless of what tag
is used by that individual log. This lets us still turn on logging
everywhere in one command, but also lets us use more descriptive tags
(like the class name).
And since we no longer have three com.android.mail.utils.LogTag
classes, builds will be much easier.
Also, we now use LogUtils everywhere.
Change-Id: Iec53e87cad0a46b73d2afbbd8d44aca097a5087a
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
Reducing this any further would cause the drawer to get
triggered by accident a lot more.
Bug 8769744
Change-Id: I39f37c0aa9405b7e080529a287788a7f76e6822a
|
| |
|
|
| |
Change-Id: Iee8abf75639450d469632e43fe0e102b687558db
|
| |
|
|
|
|
|
|
| |
A vertical block of pixes on the left edge of the screen should not
accidentally swipe the conversation since swipe is destructive.
Bug: 8434484 The new gmail UI makes my experience more difficult
Change-Id: Ic135600eed75c435dcc131ee544492f23365e3ea
|
| |
|
|
|
|
|
|
|
| |
Bug 8211088 filed for the remaining case.
Bug: 8132946 Investigate the STOPSHIP comment in EmailProvider.java
wrt PII
Change-Id: I0f93e7bd68360eccbf781c144addf8a8a66ae779
|
| |
|
|
|
|
|
|
|
| |
When swiping away items, wait to fade in action text such as "archive | undo"
until:
1) all items that are being collapsed have collapsed
2) we are no longer waiting for the user to try to start swiping another item
Change-Id: Iaec75fb6a3a144e8b4c469f6e48f4354ec4aff8d
|
| |
|
|
|
|
|
|
| |
Change-Id: Icdd1b7d65715852d5fd976e7fccaf5790f940892
Conflicts:
src/com/android/mail/ui/SwipeHelper.java
|
| |
|
|
|
|
|
| |
try a decelerating animation instead of a linear curved animation
to make it look smoother
Change-Id: I22e9ade4135ec6996451d07ea775acdb2db8d01f
|
| |
|
|
| |
Change-Id: I5011f11989056376be748161fdb3f0e699366454
|
| |
|
|
|
|
|
|
|
| |
buildLayer() crashes when the view isn't attached. Hmm.
Layer twiddling is only useful if attached anyway, so just check
before, like Launcher2 does.
Bug: 7404218
Change-Id: Ib23a512487ff0746ba279ab3e4af02898c6b1044
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Follow the standard pattern to enable HW acceleration when
animating alpha.
Improves framerate of the fade-in on older hardware.
Also add buildLayer() to the pattern (copied from Launcher and
QuickContacts) to do some work up-front instead of during the
animation.
Fix the multi-dismiss case in swipe to switch back to no layer
when the animation is complete.
Bug: 7360692
Change-Id: Id97c473eeffdabe15e3308aa4f1e0755c3f33019
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
let swipe helper determine if the user meant to scroll
fixes b/7022556 Increase scroll threshold gets rid of leave behind
If we use the scroll listener, we don't get to use our own threshhold
We want to be careful when the user has started on the leave behind item
and make sure that we dont just detect the user playing around on the item,
maybe just a touch for "what did I do here?" and dismiss it by accident
So the threshhold for dismissing the item when the user starts on the
leavebehinditem is larger than when they start on another item.
Change-Id: I1e55e6c9be07e026b19a4ad55ad531305d3777d2
|
| |
|
|
|
|
| |
Leaves the BG there so the change isn't as "shocking"
Change-Id: I95b6929dadbf9b5e7c80931a3f65111fc4a695ff
|
| |
|
|
|
|
|
| |
We don't dismiss multiple children via the swipe helper
We use animations attached to the conversationitem views themselves
Change-Id: I5254e378df3b2e181dabfb547658f5dab5a5c8d9
|
| |
|
|
|
|
| |
Otherwise, it still looks undismissed.
Change-Id: I620568d3068f224a1e3d7eba6aca03cccc342426
|
| |
|
|
| |
Change-Id: I0cb6bf5c88c0084853e79b5dd18cf032f31232cd
|
| |
|
|
| |
Change-Id: I43c3f87976b032e7357ace5d52a9d54b6ad1fa05
|
| |
|
|
| |
Change-Id: I0a0a60d330fd5df3922a2e15f230f27ade68af25
|
| |
|
|
| |
Change-Id: Ib5e90fee11899710e5ce9ca547003530ee56ca1e
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
When the user checks a bunch of items then presses (archive for gmail)
the button corresponding to the swipe action, animate them out to
the right.
Fixes a few issues introduced since I last touched this code
Starts the animation duration at 500ms for swiping out to the right
Makes sure positions are properly set
Makes sure the destructiveaction doesn't get called until the animations
are complete.
Change-Id: Ia024cceb703fc881d40ddbe393278aa2aec67311
|
| |
|
|
|
|
|
|
| |
According to new specs:
1) only the item swiped on is archived, not any other selected conversations
2) even where there is a selection set, any swipe on any item will dismiss that item
Change-Id: Id94c69a0e5b0ca03b541458b1200a56d6d16c703
|
| |
|
|
|
|
|
|
|
| |
onDragCancelled was clearing them; this can wait until the animation
for returning the items to x=0 is completed
There is a bug on this somewhere that I can't currently find
Change-Id: Ia17eb6f97a02dad26738825da7befa954796a3bc
|
| |
|
|
|
|
| |
fixes b/6344022 Return original color when swipe is cancelled
Change-Id: Ia67d515243dd92d729c9098cb16eef3547196acf
|
| |
|
|
| |
Change-Id: I3bae79ed5bb8919985dbfa6e81416da980281cff
|
| |
|
|
|
|
| |
This will make touching stars and conversation and checkboxes EASIER.
Change-Id: I1d934b700ab05601083d0de81ac0f156a2d80e7d
|
| |
|
|
| |
Change-Id: I0a62d837acf0e41ad6fe012a87dbde29e0cf2f17
|
| |
|
|
|
| |
Make it harder to trigger a swipe by adding a min distance.
Change-Id: Id4dcd0dca0201e47ba95f319c494b134f87befeb
|
| |
|
|
|
|
| |
Fixes b/ 6291400 Multiple messages are selected by scrolling up and down in Inbox
Fixes b/6291013 java.lang.ClassCastException: com.android.mail.browse.ConversationListFooterView cannot be cast to com.android.mail.browse.ConversationItemView
Change-Id: I44e5a21326a620405cbdf769e736d37bbda5ceac
|
| |
|
|
| |
Change-Id: Iaddd1dbbfd1a0e3c07ba1ffcd6a4e4368ad0e294
|
| |
|
|
|
|
|
|
| |
Swipes all checked items at once
Tap highlight
Properly colored background
Doesnt swipe non checked items when there are checked items
Change-Id: Id71e331d35f75ee02813dee8376d764386221868
|
|
|
Create our own swipeable list.
Change-Id: I74d2ad0176dbc7411c1c884c9b8b7c24a770e819
|