summaryrefslogtreecommitdiff
path: root/src/com/android
AgeCommit message (Collapse)Author
2018-08-23Merge "Lint fix: IS_DEBUG_DEVICE: Implied default locale"Tobias Dubois
am: 1194b218d6 Change-Id: I51e1d74955d14d631e90c5c70c7375ccb9d18470
2018-08-23Merge "Lint fix: IS_DEBUG_DEVICE: Implied default locale"Treehugger Robot
2018-08-23Merge "Use View.getHeight() instead of Canvas.getHeight() for PageIndicatorDots"Tobias Dubois
am: c66f5ebd63 Change-Id: I248336bdb569519ecf8b17657344bc154373f197
2018-08-16Lint fix: IS_DEBUG_DEVICE: Implied default localeTobias Dubois
Use the ROOT locale to make sure toLowerCase has consistent behavior regardless of the currently set language. Test: Manual Change-Id: Ie43f76cbc15eee0d96314e92d2acd5abb22f7077
2018-08-16Use View.getHeight() instead of Canvas.getHeight() for PageIndicatorDotsTobias Dubois
Use View.getHeight() instead of Canvas.getHeight() to get the same height regardless of using hardware or software accelerated drawing. Test: manual Change-Id: I475afef017102d7968f28a7aab8116238af3d90d
2018-08-08Merge "Fix overlapping FloatingViewType IntDef" am: c73828fd96Sunny Goyal
am: ad61ce0767 Change-Id: Id87a75c690131e1c2e2ac48f5a07dd89fb6976ca
2018-08-08Fix overlapping FloatingViewType IntDefTobias Dubois
TYPE_DISCOVERY_BOUNCE and TYPE_QUICKSTEP_PREVIEW have the same value. Make sure each flag has a unique value. Test: manual Change-Id: I0fec3f27ffc31bad80d3af7b3baa3631b61b2567
2018-06-28Fix clipping issue on adaptive iconsHyunyoung Song
Bug: 62372639 Verified the one last device, b***line. Change-Id: I1d97d0cbe0afe76ee21de5964abf639fb4c0fceb
2018-06-28Fix clipping issue on adaptive iconsHyunyoung Song
Bug: 62372639 Change-Id: Ie9dcf18f61c45225823dfbbf85578edcbffd86b9
2018-06-27Last minute swipe up overshoot tweaksAdam Cohen
b/109709720 Change-Id: Ie3831289a9af2ba4b03fcbb4f2cbb3f4c2431aec
2018-06-27Merge "Swipe up overshoot always plays" into ub-launcher3-edmonton-polishTony Wickham
2018-06-27Swipe up overshoot always playsTony
Instead of using an OvershootInterpolator, we adjust the end progress to > 1 and add a second interpolator to settle back to 1. That way, even if the animation runs starting very late, e.g. 1.0, it still has room to overshoot. We use this same OvershootParams class to calculate an overshoot for a blocked long fling as well. Bug: 109709720 Change-Id: I43152237e4350f93e7c462c22e68d09d05c1dd57
2018-06-26Revert "Add stagger and "springs" to app closing transition."Jonathan Miranda
This reverts commit cd57901ca460975205af9ba6cd5cd96a7225fc15. Reason for revert: <INSERT REASONING HERE> Change-Id: I13e9d2db8f6d6118a1448ba04b67c81b4e485447
2018-06-26Revert "Fix typo in horizontalShift"Jonathan Miranda
This reverts commit e45b3e21a95e40168a35c4bcd0f425ba2e56bc11. Reason for revert: <INSERT REASONING HERE> Change-Id: I4d2956d3f8d23e8f9579fd61418bc84e7226ef60
2018-06-26Merge "Revert "Tune app closing/launcher resume animation "spring" values."" ↵Jonathan Miranda
into ub-launcher3-edmonton-polish
2018-06-26Add additional call to onStop() to stablize PIP position.Tracy Zhou
Bug: 110799409 Test: Manual Change-Id: I361eeadbf298bb239d8e373f3c6fa49d1f2410a6
2018-06-26Revert "Tune app closing/launcher resume animation "spring" values."Jonathan Miranda
This reverts commit c9a7c50fac2552b96c4f80587494afcb0da78aab. Reason for revert: <INSERT REASONING HERE> Change-Id: I7ed4270b742803265ed4e3e13b63688842e0b48c
2018-06-25Tune app closing/launcher resume animation "spring" values.Jon Miranda
Bug: 109828964 Change-Id: I64252667451f511b7affdde5ffb28812876e7f4c
2018-06-21Merge "When controlling atomic components, bound to remaining progress" into ↵Tony Wickham
ub-launcher3-edmonton-polish
2018-06-21When controlling atomic components, bound to remaining progressTony Wickham
Before, we were just controlling the components as far as we had left, which was fine since they are just a subtle effect anyway. But now that we don't fade out until the very end, this means that long swiping from home usually kept recents in the background during the entire swipe and then abruptly disappear after letting go. Now we make sure the entire atomic animation plays by the time we reach all apps, so recents will fade out in all cases. Bug: 79867407 Change-Id: I7cb6790d9055bc76b4b73ed761604042a308c987
2018-06-21Fix typo in horizontalShiftJon Miranda
Bug: 109828964 Change-Id: I0ef749ccd2d24556e05873186ed3fcdcb09a7d32
2018-06-21Persist the updated item to DB when a shortcut info is badged for the first timeSunny Goyal
Bug: 110016648 Change-Id: I8e36b80e9c893de91bce208ceac93a3fcdb557d5
2018-06-21Merge "Adjust interpolators when swiping from overview to all apps" into ↵Jonathan Miranda
ub-launcher3-edmonton-polish
2018-06-21Merge "Tune device profiles." into ub-launcher3-edmonton-polishTreeHugger Robot
2018-06-20Adjust interpolators when swiping from overview to all appsTony Wickham
- All apps content fades in quickly so that icons are opaque by the time they are on screen - Recents fades out late so that we don't see it as translucent while the transition is continuing (the translucent icon top of tranclucent task view looks bad, for instance) - Fix colored scrim that appears over recents - was using 0 to 1 instead of 255 Bug: 79867407 Change-Id: I4f50423157f7870c8d0708f586a72e3e5a7b6559
2018-06-20Tune device profiles.Jon Miranda
* Extend page indicator so that its centered within the gap between the workspace items and hotseat. * Decrease the amount of extra space we allot to the hotseat. * Add the extra space to the hotseat bottom padding so that the hotseat icons are aligned to the top of the hotseat. Bug: 78589630 Change-Id: I78c619a757d9d248874216e93376ad4ba18c8e50
2018-06-20Add stagger and "springs" to app closing transition.Jon Miranda
The "spring" is actually three sequential animations: 1) a slide, 2) an oscillation, and 3) a settle. Bug: 109828964 Change-Id: I0a2c55f877446a6408952a1201636760283be57b
2018-06-20Merge "Apply legacy treatment on all non adaptive icons Bug: 110123894 Bug: ↵TreeHugger Robot
62372639" into ub-launcher3-edmonton-polish
2018-06-20Apply legacy treatment on all non adaptive iconsHyunyoung Song
Bug: 110123894 Bug: 62372639 Change-Id: I3bcaa3b9886942b4f1d45aaeebc8b8022e1319f8
2018-06-19Merge "Don't intercept above shelf progress if still animating" into ↵Tony Wickham
ub-launcher3-edmonton-polish
2018-06-18Exposing some methods to make QSB customization easierSunny Goyal
Bug: 110336301 Change-Id: I74d73bfd4b345bae2ecab144b37f1af1126e4725
2018-06-15Revert "Adding overscroll effect in recents list"Santiago Etchebehere
This reverts commit 4d6b1a95a13fd6f5b293ba97051bc645fab95334. Bug: 110279118 Change-Id: I794b2c7af076d63901f2286fd2ff3d06c6e39fee
2018-06-15Merge "Create a param to return scale used for bitmap creation Bug: ↵Hyunyoung Song
110082040" into ub-launcher3-edmonton-polish
2018-06-15Merge "Fix bug where QSB gets clipped when flinging All Apps open." into ↵Jonathan Miranda
ub-launcher3-edmonton-polish
2018-06-15Merge "Immediate 2nd quickscrub should not cancel if same state" into ↵TreeHugger Robot
ub-launcher3-edmonton-polish
2018-06-15Fix bug where QSB gets clipped when flinging All Apps open.Jon Miranda
Bug: 77538324 Change-Id: I3e40346559fd3b7010d92d28e12efcf2d8581640
2018-06-15Merge "Add hard clip for overscrolled children to not be visible above QSB." ↵TreeHugger Robot
into ub-launcher3-edmonton-polish
2018-06-15Add hard clip for overscrolled children to not be visible above QSB.Jon Miranda
We lose the RecyclerView fading edge, but this is the simplest/less risky solution. Change-Id: I7aa39a33678ed8a9b9cf9f17c9ad8c14707b0299
2018-06-14Merge "Fix bug where add to folder fails even when folder creation animation ↵Jonathan Miranda
runs." into ub-launcher3-edmonton-polish
2018-06-14Create a param to return scale used for bitmap creationHyunyoung Song
Bug: 110082040 Change-Id: I35254289a216be4db96f452db184454581a59b32
2018-06-14Immediate 2nd quickscrub should not cancel if same stateMatthew Ng
Trigging quickscrub immediately after a previous quickscrub would cause the controller to cancel even if the state change was from overview to overview, then controller will not do auto-advancing because it thinks quickscrub has been cancelled. If the state changes but both are overview then do not cancel and quickscrub can do auto-advancing. Change-Id: I309937572ad23eea14662501f41c13cd79dd10ab Fixes: 110006796 Test: quickscrub, then let go and soon after quickscrub again
2018-06-14Merge "Report when a notification is shown in the popup" into ↵Tony Wickham
ub-launcher3-edmonton-polish
2018-06-14Merge "Add padding between hotseat and insets in multiwindow landscape" into ↵Tony Wickham
ub-launcher3-edmonton-polish
2018-06-13Merge "Prerequisites for TAPL" into ub-launcher3-edmonton-polishTreeHugger Robot
2018-06-13Add padding between hotseat and insets in multiwindow landscapeTony Wickham
Right now there's almost no room between the hotseat icons and the nav bar in this mode, and it looks kind of bad. It also causes b/109946631 which is fixed by this change. Also fix placement of popup in RTL landscape (was incorrectly inset) Bug: 109946631 Change-Id: I324485da0048b907776b16b719b631c5314e5696
2018-06-12Fixing atomic animation not getting completed properlySunny Goyal
> Finishing the atomic animation to that proper states are applied > Offsetting the duration of atomic animation so that it completes along with the swipe animation Bug: 80432882 Bug: 86308723 Bug: 80549582 Change-Id: I8a3b44c2c7017e241b2fbdbb96c5d67edbb359d1
2018-06-12Fix bug where add to folder fails even when folder creation animation runs.Jon Miranda
If the distance > max distance for folder creation, we clear the drag mode if it was previously set. Bug: 78919972 Change-Id: Ibd456c0981ebb20958c54d21ba3996172d2dd554
2018-06-12Prerequisites for TAPLVadim Tryshev
Adding things that will be used by TAPL. 1. Adding Ctrl+W to open widgets 2. Marking a UI element with shortcuts_and_widgets id. Example of usage: we want to be sure we are in all apps. A somewhat paranoid way to check this is to check that apps_view is on, and workspace and overview_panel are off. However, workspace is always in the hierarchy. We use shortcuts_and_widgets instead. Bug: 110103162 Test: Manual Change-Id: I2a851e16c477f7ee895b459530bc5a1ff19e32f8
2018-06-12Merge "Adding overscroll effect in recents list" into ↵Sunny Goyal
ub-launcher3-edmonton-polish
2018-06-12Merge "Fix some issues with haptic" into ub-launcher3-edmonton-polishTony Wickham