summaryrefslogtreecommitdiffstats
path: root/src/com
Commit message (Collapse)AuthorAgeFilesLines
* Remove code duplicationVadim Tryshev2018-05-182-26/+22
| | | | | | Bug: 72222505 Test: Manual Change-Id: I6ae6ac7474b44c16bd765635e32d2e843bc02cac
* Merge "Fixing reverted order of accessibility scrolling in Recents" into ↵Vadim Tryshev2018-05-191-7/+30
|\ | | | | | | ub-launcher3-edmonton
| * Fixing reverted order of accessibility scrolling in RecentsVadim Tryshev2018-05-071-7/+30
| | | | | | | | | | | | Bug: 78788182 Change-Id: I275381e65bbd2fa24e427fea0bb9ca44366e0357 Testing: Manual
* | Merge "Fix a couple issues with swiping up from home" into ub-launcher3-edmontonTony Wickham2018-05-181-5/+7
|\ \
| * | Fix a couple issues with swiping up from homeTony Wickham2018-05-171-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Don't update the animation to go from 0 to 1; instead, update the interpolator to clamp to the remaining progress (b/79773309) - Fix NPE that can happen in a race between the atomic animation ending and the non-atomic animation canceling/ending Change-Id: I313251dc5cbd7b931b043fc3e840bb4ab368a790
* | | Fade back button in and out tied with the overview/shelf (2/3)Matthew Ng2018-05-182-0/+21
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Back button changes opacity when moving the shelf during swipe up between home screen and overview. The alpha changes depending on the progress of the swipe up animation. When going from app to home and vice versa, the fade animation does not tie with the swipe up progress. The fade animation also masks the back button drawable when ime visibility changes. Change-Id: I51e42930640ba711e81880b385bb722d7ee8ad33 Fixes: 74581837 Fixes: 76900236 Test: swipe up from home screen to overview
* | Merge "Fixes a crash when turning off workprofile while the workprofile tab ↵TreeHugger Robot2018-05-171-1/+1
|\ \ | | | | | | | | | is active." into ub-launcher3-edmonton
| * | Fixes a crash when turning off workprofile while the workprofile tab isMario Bertschler2018-05-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | active. Bug: 79735930 Change-Id: Iafaddf827e648c9d39df78393a96f90dfc86fcca
* | | Update interpolators and durations for state animationsTony Wickham2018-05-167-33/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we enter overview (overview appears, workspace disappears): - Workspace scales down from 1f to .8f with OvershootInterpolator(1.2f) at 200 ms - Workspace fades from 1f to 0 with OvershootInterpolator(1.2f) at 200 ms - Overview scales down from 1.33f to 1f with OvershootInterpolator(1.2f) at 200 ms - Overview fades from 0 to 1f with OvershootInterpolator(1.2f) at 200 ms When we exit overview (overview disappears, workspace appears): - Workspace scales up from .92f to .1f with DecelerateInterpolator() at 200 ms - Workspace fades from 0 to 1f with AccelerateInterpolator() at 200 ms - Overview scales up from 1f to 1.1f with AccelerateInterpolator() at 180ms - Overview fades from 1f to 0 with DecelerateInterpolator(1.7f) at 200 ms Parallax while the finger moves: Workspace translates half the distance as the shelf Bug: 79776746 Change-Id: I319d982cf202bcd6dbbcd68ffc5c0c7853629c7e
* | | Merge "Fix bug where Workspace page alpha stays 0 in SpringLoaded mode." ↵TreeHugger Robot2018-05-161-1/+3
|\ \ \ | | | | | | | | | | | | into ub-launcher3-edmonton
| * | | Fix bug where Workspace page alpha stays 0 in SpringLoaded mode.Jon Miranda2018-05-161-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The page alpha gets set to 0 by updatePageAlphaValues sometime between Workspace calling goToState(SPRING_LOADED) and onStartStateTransition. By the time the transition is over, Workspace is no longer in a modal state and so alpha never gets restored via updatePageAlphaValues. Bug: 76449277 Change-Id: I95241395594dd9084763cc3bc51bc55319cadb73
* | | | Merge "Set status bar icons to dark at correct all apps progress" into ↵Tony Wickham2018-05-162-1/+6
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-edmonton
| * | | | Set status bar icons to dark at correct all apps progressTony Wickham2018-05-162-1/+6
| | |/ / | |/| | | | | | | | | | | | | | Bug: 79866102 Change-Id: I8c97896319406c8360a2f60d213868ad59dafe19
* | | | Fixing Recents sometimes restoring in Clear-all-reveal position.Vadim Tryshev2018-05-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This happened if a task was added between openings of Recents. Bug: 72222505 Test: Manual Change-Id: Id4cc8e7cbdb493973d329466369b62e4ac8ee0b3
* | | | Merge "Make fling thresholds consistent" into ub-launcher3-edmontonTony Wickham2018-05-163-22/+78
|\ \ \ \ | |_|/ / |/| | |
| * | | Make fling thresholds consistentTony Wickham2018-05-163-22/+78
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are 3 places we can block a fling: - Swiping from home to all apps (through overview) - Swiping from an app to all apps (through overview) - Dismissing a task (in the same gesture that started by swiping down) In all of these cases, we block the fling when crossing the threshold to a new state (e.g. OVERVIEW), but unblock if the user pauses their drag. With this change, the logic is consistent: - Unblock the fling after pausing a short amount of time - If a fling was blocked, increase the settling duration based on velocity Bug: 78089840 Bug: 78658678 Change-Id: I5ef52b74229418b867b26c3c6d3db2cf6e48914b
* | | Fixing wrong accessibility focus when opening a floating viewSunny Goyal2018-05-1610-73/+103
| | | | | | | | | | | | | | | | | | | | | | | | > Using common logic for announcing a floating view for widgets and folders Bug: 79091095 Bug: 79748886 Change-Id: Ibb3fe48e68e724f50d69f51a03d3b35ad0baf625
* | | Merge "Dumping the excoded view hierarchy instead of the default activity ↵Sunny Goyal2018-05-161-0/+9
|\ \ \ | | | | | | | | | | | | dump" into ub-launcher3-edmonton
| * | | Dumping the excoded view hierarchy instead of the default activity dumpSunny Goyal2018-05-161-0/+9
| |/ / | | | | | | | | | | | | | | | | | | > Encoded hierarchy is smaller is size and has a lot more information about the views Bug: 79861035 Change-Id: I84316b1b0031282b0579f3aaac22d8d8f00d8bcb
* | | Merge "Adding Clear All to accessibility chevron on Recents" into ↵TreeHugger Robot2018-05-161-2/+11
|\ \ \ | | | | | | | | | | | | ub-launcher3-edmonton
| * | | Adding Clear All to accessibility chevron on RecentsVadim Tryshev2018-05-161-2/+11
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For motivation, see email thread "Tweaks to for the reverted order of accessibility swiping" This doesn't add the action to the fallback Recents, so it will require more work. Bug: 79165501 Test: Manual Change-Id: I99d608ccc13cc1742dc4d427e763125788e8edd2
* / / Improve Task user event loggingHyunyoung Song2018-05-163-11/+22
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 79539824 Bug: 79541772 (1) Added page index of the TASK that is being launched (2) Covers all three cases of task launch (tap, swipe down, quick scrub) UserEvent: action:FLING direction=DOWN UserEvent: Source child:TASK, packageHash=-1598699687, componentHash=1952702153, pageIdx=0 UserEvent: action:DRAGDROP UserEvent: Source child:TASK, packageHash=-744307622, componentHash=-515832044, pageIdx=4 (3) Avoid double logging (When onStop is called, it is not logged if the cause of onStop is APP or TASK launch) Change-Id: Ic5db7d6a640d43bfb5cd667b49e37dd0ed127d5c
* | Merge "Add logging for Onboarding Bug: 73784423" into ub-launcher3-edmontonHyunyoung Song2018-05-153-7/+47
|\ \
| * | Add logging for OnboardingHyunyoung Song2018-05-153-7/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 73784423 * Discovery bounce, homescreen, hotseat UserEvent: action:TIP UserEvent: Source child:HOTSEAT id=0 BOUNCE * Discovery bounce, overview, prediction UserEvent: action:TIP UserEvent: Source child:PREDICTION BOUNCE * Swipe up from navbar text (visibility, cancel target) UserEvent: action:TIP UserEvent: Source child:TIP SWIPE_UP_TEXT UserEvent: action:TAP UserEvent: Source child:CANCEL_TARGET SWIPE_UP_TEXT * Quickscrub text (visibility, cancel target) UserEvent: action:TIP UserEvent: Source child:TIP QUICK_SCRUB_TEXT UserEvent: action:TAP UserEvent: Source child:CANCEL_TARGET QUICK_SCRUB_TEXT * Prediction apps text (visibility, cancel target) UserEvent: action:TAP UserEvent: Source child:TIP PREDICTION_TEXT UserEvent: action:TAP UserEvent: Source child:CANCEL_TARGET PREDICTION_TEXT Change-Id: I94710b5ed3d00e3599985b154eb660af4a958288
* | | Merge "Tune quick scrub" into ub-launcher3-edmontonTony Wickham2018-05-152-1/+29
|\ \ \
| * | | Tune quick scrubTony Wickham2018-05-152-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Change durations/interpolators when starting from home vs an app - Increase dim animation duration after quick scrub from an app - Also fixed contention between setting dim alpha for the animation and setting dim alpha for scrolling Change-Id: I2c9ea52d4eafaad8954f3ff9d3c0c459a07953bc
* | | | Keep clear-all button revealed after dismissVadim Tryshev2018-05-151-4/+12
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | If it was visible before the dismiss, it will be visible after that. As a nice side effect, it will preserve visibility on any layout, say, after a rotation. Bug: 79117932 Test: Manual Change-Id: Ia8a544af1326458d4e2d7a07ae2b668f604bc0b3
* | | Merge "Scrolling on the most recent task upon Overview start" into ↵TreeHugger Robot2018-05-151-9/+8
|\ \ \ | | | | | | | | | | | | ub-launcher3-edmonton
| * | | Scrolling on the most recent task upon Overview startVadim Tryshev2018-05-141-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes this problem: 1. Open a single task in Recents 2. Dismiss via Clear-all 3. Start a task 4. Press Home 5. Press square button get Recents revealing Clear All button Bug: 79117932 Test: Manual Change-Id: I47bcc50cb72f1757025d2abac0196460e0bb3f36
* | | | Merge "Showing the caret/drag handle in transposed layout" into ↵Sunny Goyal2018-05-151-8/+76
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-edmonton
| * | | | Showing the caret/drag handle in transposed layoutSunny Goyal2018-05-151-8/+76
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | > Adding a simple touch-down effect, without capturing the motion event Bug: 79526736 Change-Id: I50dcc76836765d158dfdcef2886b190a85707ff2
* | | | Merge "Clear ref to animation after drag & drop animation completes" into ↵Winson Chung2018-05-141-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-edmonton
| * | | | Clear ref to animation after drag & drop animation completesWinson Chung2018-05-141-0/+3
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - LauncherAppTransitionManagerImpl -> DragLayer -> mDropAnim -> mDragView (via the update listener) -> mBitmap Bug: 76162466 Test: Take hprof after picking up an app or widget, ensure there are no references to the image created for drag and drop Change-Id: Iffc92eed13775921567f9ac25fea8e356d6fe963
* | | | Merge "Adding some activity state information in dump" into ↵TreeHugger Robot2018-05-144-4/+28
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-edmonton
| * | | | Adding some activity state information in dumpSunny Goyal2018-05-144-4/+28
| | |/ / | |/| | | | | | | | | | | | | | Bug: 79216829 Change-Id: I3e1a5f5508f09b9ce2737c13d917fbab531c2572
* / | | Add click handler for qsb on boot to keep it responsiveNg Zhi An2018-05-141-0/+12
|/ / / | | | | | | | | | | | | | | | | | | | | | Bug: None Test: reboot device, qsb is responsive, and launches search, after widgets initialized, qsb remote view takes over click Change-Id: I30c01ce1ff3da63cc0324f822d21901eb6a49c2d
* | | Merge "Increasing thread priority while loading high res icons" into ↵TreeHugger Robot2018-05-141-14/+35
|\ \ \ | |/ / |/| | | | | ub-launcher3-edmonton
| * | Increasing thread priority while loading high res iconsSunny Goyal2018-05-111-14/+35
| | | | | | | | | | | | | | | | | | | | | | | | > On local testing, average load time decreased to ~50% Bug: 79227823 Bug: 78583301 Change-Id: Ib948a697ebad5c91322c74f4ab36b603f3525c61
* | | Merge "Fixing crash on keyboard shortcuts popup" into ub-launcher3-edmontonTreeHugger Robot2018-05-141-10/+12
|\ \ \
| * | | Fixing crash on keyboard shortcuts popupVadim Tryshev2018-05-111-10/+12
| |/ / | | | | | | | | | | | | | | | Bug: 76218025 Test: Manual Change-Id: I11c9005764c7b0492138dc17716a0c6c4578798e
* | | Merge "Revert "Revert "Update sysui flags on swipe, skip task backgrounds on ↵Winson Chung2018-05-112-1/+9
|\ \ \ | | | | | | | | | | | | opaque apps""" into ub-launcher3-edmonton
| * | | Revert "Revert "Update sysui flags on swipe, skip task backgrounds on opaque ↵Winson Chung2018-05-112-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | apps"" This reverts commit f5d5b6f00fcf64dc7d4a0df5dad683ba8d8921f6. Reason for revert: Can be submitted once a build with ag/4040557 is available for flashing Change-Id: Id94440a1dc9b765bb9758af81b0567628befa283
* | | | Merge "Separating the draglayer alpha into multiple dimensions so that ↵TreeHugger Robot2018-05-115-8/+137
|\ \ \ \ | | | | | | | | | | | | | | | different animaitons can run without affecting the other." into ub-launcher3-edmonton
| * | | | Separating the draglayer alpha into multiple dimensions so that different ↵Sunny Goyal2018-05-115-8/+137
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | animaitons can run without affecting the other. Bug: 79323355 Bug: 78880824 Change-Id: I11cb464ebdaad0a7f0a56d4bc4c3dff1d56da16b
* / | | Clear task when opening WallpaperPickerAdam Cohen2018-05-111-0/+1
|/ / / | | | | | | | | | | | | | | | | | | -> Each session can reasonably be considered a fresh start -> Also, works around b/79507056 Change-Id: Iac1ae59cd0c743d71c91a34ba32a0fef51548f74
* | | Merge "Tweak and fix bugs with new app close transition." into ↵Sunny Goyal2018-05-111-3/+13
|\ \ \ | | | | | | | | | | | | ub-launcher3-edmonton
| * | | Tweak and fix bugs with new app close transition.Jon Miranda2018-05-101-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Animates LauncherRootView instead of DragLayer to avoids the flashing that can occur when the overlay callback also changes the DragLayer alpha. * To avoid the scrim's hard line: we hide it and then fade it in later. * Launcher animation was wrong in landscape mode. Change-Id: I7673228f5ed8bb72d7393f3d0769577b262f286f
* | | | Merge "Revert "Update sysui flags on swipe, skip task backgrounds on opaque ↵Winson Chung2018-05-112-9/+1
|\ \ \ \ | | |/ / | |/| | | | | | apps"" into ub-launcher3-edmonton
| * | | Revert "Update sysui flags on swipe, skip task backgrounds on opaque apps"Winson Chung2018-05-112-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 5dd46d51eda6e26830c994e9a0581d57316beb51. Reason for revert: Temporary revert until ag/4040557 goes in Change-Id: Iab2c747a99e1fb1cc5a91787dbf185df77f791b4
* | | | Merge "Using dragHandle for workspace padding calculation instead of ↵Sunny Goyal2018-05-111-10/+10
|\ \ \ \ | |/ / / |/| | | | | | | pageIndicator" into ub-launcher3-edmonton