ec0fa48764bede0772e9c711f3e33361b62f3608 |
|
29-Aug-2014 |
Jin Cao <jinyan@google.com> |
Keyboard support for focused state - 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
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
e1ba1013409486f88f06af2932546a1b366704d3 |
|
04-Apr-2014 |
Jin Cao <jinyan@google.com> |
Temp fix for swipe bug 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
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
0e8dc84326ad3e6d146a203538665f98dd98f688 |
|
10-Sep-2013 |
Scott Kennedy <skennedy@google.com> |
Hierarchical folders in conversation list Use something similar to the sectioned inbox teaser. Allow expanding/collapsing when there are too many folders. Bug: 9604590 Change-Id: I6cc79bd7c033bbf13c750e7720fe71227b38cc85
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
3b965d78774a42358ce6bbdcc43b4c8df130a60e |
|
25-Jun-2013 |
Scott Kennedy <skennedy@google.com> |
Clean up a bunch of warnings Bug: 9565838 Change-Id: Ie3a380581e81c63aaa0764875c55bfdccd5f2b13
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
f69d0394f7de5c0681b8d5d5ca0c60b55c55f815 |
|
07-Jun-2013 |
Vikram Aggarwal <viki@google.com> |
Fix the folder click problem 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
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
b184bfe96fa3512af88260fce4f3cee3066fb28d |
|
26-May-2013 |
Scott Kennedy <skennedy@google.com> |
Unify LogTag 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
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
2102b2c87a6cb39bc63fb7eff13dda64da56b72e |
|
03-May-2013 |
Mark Wei <markwei@google.com> |
Add teaser for new conversation photo checkboxes. 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
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
b2fe36b5d654eababbeee7f144edb31c4eb83490 |
|
01-May-2013 |
Alice Yang <alice@google.com> |
Reduce swipe deadzone Reducing this any further would cause the drawer to get triggered by accident a lot more. Bug 8769744 Change-Id: I39f37c0aa9405b7e080529a287788a7f76e6822a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
ff8553f20964f4c31b0c503a9e1daff6ae08a9c7 |
|
06-Apr-2013 |
Scott Kennedy <skennedy@google.com> |
Cleanup Change-Id: Iee8abf75639450d469632e43fe0e102b687558db
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
4485ade4b8c949a222f8b98650a9a48d074dc87e |
|
22-Mar-2013 |
Vikram Aggarwal <viki@google.com> |
Dead vertical left, to disallow accidental swipes. 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
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
d6020119c71ef9fe38725d0f0291cac7b9df6e79 |
|
15-Feb-2013 |
Vikram Aggarwal <viki@google.com> |
Resolve all STOPSHIP comments in UnifiedEmail Bug 8211088 filed for the remaining case. Bug: 8132946 Investigate the STOPSHIP comment in EmailProvider.java wrt PII Change-Id: I0f93e7bd68360eccbf781c144addf8a8a66ae779
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
4d4531a63cff536d2ee1a2929d0820981df8516a |
|
17-Jan-2013 |
mindyp <mindyp@google.com> |
Updates to swipe interaction 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
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
7af43c93d4ca90bb0a43ec790a434c95128cc99f |
|
19-Dec-2012 |
mindyp <mindyp@google.com> |
Fade out other leave behind when user starts new swipe Change-Id: Icdd1b7d65715852d5fd976e7fccaf5790f940892 Conflicts: src/com/android/mail/ui/SwipeHelper.java
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
43e253e6c0ab232e77233ff69374fff86289c4bd |
|
19-Dec-2012 |
mindyp <mindyp@google.com> |
As team has noted, the dismiss of an item feels a bit "weird" try a decelerating animation instead of a linear curved animation to make it look smoother Change-Id: I22e9ade4135ec6996451d07ea775acdb2db8d01f
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
3b5e82b06a0af3f5ddf3667de9a2aa26eeb5f24b |
|
18-Dec-2012 |
mindyp <mindyp@google.com> |
swipe tweaks Change-Id: I5011f11989056376be748161fdb3f0e699366454
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
bb6039ed45a5eeccf08d97cb91d1b91069fed5af |
|
25-Oct-2012 |
Andy Huang <ath@google.com> |
prevent buildLayer ISEs 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
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
196b2b14b494be3cfe72d56b7222a595a2bd8a48 |
|
19-Oct-2012 |
Andy Huang <ath@google.com> |
use hardware layer to improve conversation load animation fps 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
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
d064972c4a032f3c5cfcb236aa470273f7ac2ce0 |
|
28-Aug-2012 |
mindyp <mindyp@google.com> |
use swipehelper to determine scroll 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
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
a538984fcc19e7624f2650b119ede39bf1f35846 |
|
18-Aug-2012 |
mindyp <mindyp@google.com> |
Dismiss just the text from the leave behind instead of the whole item. Leaves the BG there so the change isn't as "shocking" Change-Id: I95b6929dadbf9b5e7c80931a3f65111fc4a695ff
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
c6e22c76be15b86df66770c08edc5f9e5b844280 |
|
10-Aug-2012 |
Mindy Pereira <mindyp@google.com> |
Remove unnecessary code We don't dismiss multiple children via the swipe helper We use animations attached to the conversationitem views themselves Change-Id: I5254e378df3b2e181dabfb547658f5dab5a5c8d9
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
d592b0bbeb3eb47c5978c861210482a74d85ceda |
|
28-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Don't call dismisscancelled until the dismiss animation is done! Otherwise, it still looks undismissed. Change-Id: I620568d3068f224a1e3d7eba6aca03cccc342426
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
6f0b2be9d3855e93ec2977b2736798c60adb9b7e |
|
28-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Make animation durations resources. Change-Id: I0cb6bf5c88c0084853e79b5dd18cf032f31232cd
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
4cf76548c08d8447546a5b8a11c2ea5377f91025 |
|
27-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Once we have started dragging, don't switch to scrolling. Change-Id: I43c3f87976b032e7357ace5d52a9d54b6ad1fa05
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
6f4af489f6e10c7b576361bf69bcacabc2fb820c |
|
27-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Improved swipe detection Change-Id: I0a0a60d330fd5df3922a2e15f230f27ade68af25
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
1ef988f0c8be136fda75ed207c222413db1d3f0c |
|
24-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Add a black leave behind peeking out behind a swipeable item. Change-Id: Ib5e90fee11899710e5ce9ca547003530ee56ca1e
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
de3e74a82043733243c7391d7f983a5af8842891 |
|
24-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Show animation when destroying items via the swipe action. 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
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
a8ead90ce1e6c66e4ecacdf7cfa25c2cafc9bb3b |
|
12-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Update interaction of selected conversations with swipe 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
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
bc7173dc4aeba17ee7586db7cb6fa2cc79016d49 |
|
22-Jun-2012 |
Mindy Pereira <mindyp@google.com> |
Don't clear associated views before snapping them back to position. 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
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
28fdaaf04b64f8c4745484e3b3a0894b24f4486a |
|
16-Apr-2012 |
Mindy Pereira <mindyp@google.com> |
Return item to original color when it is snapped back. fixes b/6344022 Return original color when swipe is cancelled Change-Id: Ia67d515243dd92d729c9098cb16eef3547196acf
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
6c72a787b58a0bc3afcb71093eddf8c29d1cf5ed |
|
07-Apr-2012 |
Mindy Pereira <mindyp@google.com> |
Show leavebehind after swiping away an item. Change-Id: I3bae79ed5bb8919985dbfa6e81416da980281cff
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
f913894d3f1fa80b7174477999074b813e1deb12 |
|
06-Apr-2012 |
Mindy Pereira <mindyp@google.com> |
Fix touch slop settings. This will make touching stars and conversation and checkboxes EASIER. Change-Id: I1d934b700ab05601083d0de81ac0f156a2d80e7d
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
07118a01f7183645957010779222b84930f75b4e |
|
03-Apr-2012 |
Mindy Pereira <mindyp@google.com> |
Make batch archive conversations fly out to the right before shrinking. Change-Id: I0a62d837acf0e41ad6fe012a87dbde29e0cf2f17
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
cff4a2b2e92258c6c85ed4af15bc13101aa71170 |
|
05-Apr-2012 |
Mindy Pereira <mindyp@google.com> |
Improve swipe mechanics. Make it harder to trigger a swipe by adding a min distance. Change-Id: Id4dcd0dca0201e47ba95f319c494b134f87befeb
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
f07269fdfbc0ca2607dad50bfc15c2c041c1fadd |
|
05-Apr-2012 |
Mindy Pereira <mindyp@google.com> |
When there is no swipe, use a different touch handler. 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
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
b6b174fb3a8f58a2c81e035917ebad8ab45b88ae |
|
04-Apr-2012 |
Mindy Pereira <mindyp@google.com> |
Respect hide checkboxes; tap and hold to add to CAB group Change-Id: Iaddd1dbbfd1a0e3c07ba1ffcd6a4e4368ad0e294
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
866d319dd23ec8b7b7d5476c65f7f83469d55d2d |
|
26-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Re-enable swipe. Swipes all checked items at once Tap highlight Properly colored background Doesnt swipe non checked items when there are checked items Change-Id: Id71e331d35f75ee02813dee8376d764386221868
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|
f6a6b50c6b45f36b9317e1688f8b87310a67b037 |
|
15-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Beginning of swipe to archive. Create our own swipeable list. Change-Id: I74d2ad0176dbc7411c1c884c9b8b7c24a770e819
/packages/apps/UnifiedEmail/src/com/android/mail/ui/SwipeHelper.java
|