summaryrefslogtreecommitdiffstats
path: root/src_ui_overrides
Commit message (Collapse)AuthorAgeFilesLines
* Defer starting the high-res thumbnail loader until quick step/scrubWinson Chung2018-07-181-0/+2
| | | | | | | | | | | - When hitting the home button, we may be loading high-res thumbnails unnecessarily since the high-res loader is already enabled when Launcher is started. Bug: 111515602 Bug: 111156069 Change-Id: I367993b4ddf653b816355df005c745caed5e794a
* Fixing launcher going to a different state when dragging an icon from ↵Sunny Goyal2018-05-251-0/+4
| | | | | | | different activity Bug: 80191074 Change-Id: I45ea646dc2bd21627e8b724dac9c9fc23c18797d
* Fixing keyboard navigation when Overview list is emptyVadim Tryshev2018-05-241-7/+0
| | | | | | Bug: 80155387 Change-Id: Ife86fe4b718ef01291a04b21020155110d75fa7b Testing: Manual
* Fade back button in and out tied with the overview/shelf (2/3)Matthew Ng2018-05-181-0/+2
| | | | | | | | | | | | | | 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
* Update interpolators and durations for state animationsTony Wickham2018-05-161-0/+1
| | | | | | | | | | | | | | | | | | | 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
* Fixing wrong accessibility focus when opening a floating viewSunny Goyal2018-05-161-1/+1
| | | | | | | | > Using common logic for announcing a floating view for widgets and folders Bug: 79091095 Bug: 79748886 Change-Id: Ibb3fe48e68e724f50d69f51a03d3b35ad0baf625
* Dumping the excoded view hierarchy instead of the default activity dumpSunny Goyal2018-05-161-0/+8
| | | | | | | > Encoded hierarchy is smaller is size and has a lot more information about the views Bug: 79861035 Change-Id: I84316b1b0031282b0579f3aaac22d8d8f00d8bcb
* Add atomic recents animation while swiping upTony Wickham2018-05-091-2/+3
| | | | | | | | | | | | | | | | | | | | | State handlers can now specify atomic and non-atomic components of their animations to states, which can be specified when creating a new animation. There is now one atomic animation, when going from NORMAL to OVERVIEW (and in reverse): - RecentsViewStateController's animation (scale/alpha) is all atomic - WorkspaceStateTransitionAnimation has atomic and non-atomic: - Hotseat and workspace alpha is atomic, as is workspace scale - Everything else (scrim, translation, qsb and drag handle alpha) is non-atomic - All apps progress is non-atomic Also simplified dragging through overview; no longer pulls against you, so we use an OvershootInterpolator when flinging instead of our custom interpolator for the spring effect. Bug: 76449024 Bug: 78089840 Change-Id: Iafac84d0c2b99ee9cf9dd5b30e2218286713b449
* Merge "Using surface rotation instead of insets to determine seascape ↵android-build-team Robot2018-05-091-0/+37
|\ | | | | | | configuration" into ub-launcher3-edmonton
| * Using surface rotation instead of insets to determine seascape configurationSunny Goyal2018-05-071-0/+37
| | | | | | | | | | | | | | | | Insets may not correctly indicate seascape configuration in multi-window or when the presence of device-cutouts Bug: 79376298 Change-Id: I8268efca0001fe527a0ffefe48cc71e774fad01c
* | Chaniging all-apps scrimSunny Goyal2018-05-082-40/+1
|/ | | | | | | | | | | > Converting the scrim to View, to better avoid overdraw > Overview and Spring loaded state have different scrim alpha > When going from overview to all-apps, there is a color scrim drawn over the overview panel. The slef color is merged with this color to prevent overdraw, and the remaining screen is drawn with a cut-out round rect path Bug: 79111591 Change-Id: I26801fde13dd6adb4b06110bbe8087e35cc31847
* Using the system color extraction logic instead of inbuild logicSunny Goyal2018-05-046-0/+1399
| | | | | | | > Moving the inbuild color extraction logic to the aosp flavor Bug: 79111591 Change-Id: I766b0397da7224b424cd5f309cedf635d60a5e0f
* Merge "Only detect swipe directions that lead to new states" into ↵Tony Wickham2018-05-031-12/+11
|\ | | | | | | ub-launcher3-edmonton
| * Only detect swipe directions that lead to new statesTony Wickham2018-05-031-12/+11
| | | | | | | | | | | | | | | | | | | | This cleans up the code and ensures that the current state animation is always initialized when we get drag events. Also log when we pass through states. Bug: 78017680 Change-Id: I54ab42923ed539940ea708973ad65f5793669c11
* | Merge "Quickstep onboarding backward compatibility for devices release with ↵android-build-team Robot2018-05-021-0/+2
|\ \ | |/ |/| | | Android N & O." into ub-launcher3-edmonton
| * Quickstep onboarding backward compatibility for devices release with Android ↵Tracy Zhou2018-05-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | N & O. Quickstep introduces swipe up gesture to open Overview and removes the Recents button. We still want to show shelf bounce animation for Android N & O users with Recents button because Overview is updated and swiping up from there takes users to All Apps. Test: manual test Change-Id: I917c91564c47c78d2dc3883b8a7bf7824b5f5bc8 Fixes: 78647939
* | Adding a round rect background for the self in OverviewSunny Goyal2018-04-301-0/+39
|/ | | | | Bug: 78771910 Change-Id: I71460a284ed185e82d66fe65104402fb99d6b312
* Implement all apps discovery bounce.Tracy Zhou2018-04-231-3/+3
| | | | | | | | | | Mock: https://docs.google.com/presentation/d/1TCp1mREgsFAWq4hCnUaSRCpaqvDbzCVkN1mJuRMylIg/edit#slide=id.g36a3e190fb_0_6 Demo video: go/shelf_bounce_animation Fixes: 70180942 Test: manual test Change-Id: I6ecceb63612dd63cea62f2e6cb19d7522f3d76e0
* Listen for cases where touch controllers change, and update themTony Wickham2018-04-111-0/+4
| | | | | | | | Otherwise we'd be stuck using the old touch controllers until DragLayer is setup again (e.g. launcher is killed). Bug: 77921826 Change-Id: I8aac6fc453839902cb2d99279a6bd1549ee17d79
* When dragging past first or last state, don't reinit targetTony Wickham2018-04-061-1/+6
| | | | | | | | | | | | | | | | Example bug: 1. Swipe up to overview and let go 2. Swipe all the way to the top of the screen, past where all apps stops 3. Swipe down Before this change, you get reset in NORMAL state instead of OVERVIEW. By ensuring that getTargetState() checks the drag direction before returning a new state, we guarantee we only re-init in the case that the state is actually changing. Otherwise it's possible to change the state to one that is impossible, such as NORMAL when swiping up from ALL APPS. Change-Id: I19913dded9c94228d06289780b6400e99403f378
* Support swiping between statesTony Wickham2018-04-031-4/+6
| | | | | | | | - Swiping down on hotseat from overview goes to workspace - Can swipe up through overview to get to all apps Bug: 76449024 Change-Id: I7f76d92da976e268cc2a97e55746cca4603e6620
* Merge "Move default pip position to right above the shelf (Pt. Launcher)" ↵Tracy Zhou2018-03-281-0/+2
|\ | | | | | | into ub-launcher3-master
| * Move default pip position to right above the shelf (Pt. Launcher)Tracy Zhou2018-03-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SysUI change: ag/3721784, ag/3793664 - Track LauncherState and launcher activity state through callbacks. - Devise logic to send shelf visibility and height signal to SysUI based on LauncherState and Launcher activity state. Bug: 73961893 Test: - By default, pip shows up right above the shelf. - Transitioning to all apps moves the pip down as the shelf becomes invisible. - Going to any specific app moves pip down. Hitting home moves pip right above the shelf again. - Dismissing IME should push PIP down but above the shelf on home screen, bottom if not. Change-Id: I1ab6ceb8007a5a7b5d932a456efa0a07f586ea4c
* | Adding a custom view for DragHandleSunny Goyal2018-03-262-83/+0
| | | | | | | | | | | | | | | | | | | | > Separating page indicator and drag handle > Page indicator always draws irrespactive of oriantation > Drag handle is responsible for accessibility interactions > Adding assissibility actions for DragHandle Bug: 72500733 Change-Id: I9030337456964af1bdf77f1c01956452321f9229
* | Add drag indicator to hotseatTony Wickham2018-03-231-1/+4
|/ | | | Change-Id: Iad5b08ad290f07c6cdd3c9091e160b5af859859e
* Fixing drag and drop statesSunny Goyal2018-03-221-2/+1
| | | | | | | | > Not sending acceptDrop if we are not dragging > Removing workspace scrim in all-apps Bug: 74775232 Change-Id: I5b5354ec249d684ffccd4aacd3c47377cc0eb661
* Merge "Support multiple Views of extra hotseat content" into ub-launcher3-masterTreeHugger Robot2018-03-221-2/+2
|\
| * Support multiple Views of extra hotseat contentTony Wickham2018-03-211-2/+2
| | | | | | | | | | | | | | | | Also adjust workspace page indicator: - Center vertically - Rounded corners Change-Id: I96c2f3da3522d70726f544126b516c33c8fb7bc8
* | Swipe interaction changes on home screenSunny Goyal2018-03-211-3/+3
|/ | | | | | | | > Increasing the distance to travel for the first swipe > Adding support for custom interpolators when building an animation > When quickly swiping twice from home, finished the first animation Change-Id: Ibc3c8667e9b927376fd99f08f0ca027f2398914b
* Separate some elements to set visibility separatelyTony Wickham2018-03-211-0/+6
| | | | | | | | Added entries for: - All apps header extra content - Hotseat extra content Change-Id: I47c4ccfe3b54fd47cbbee88698ed045611e3e92d
* Changing the overviewState to show appsearch and floating headerSunny Goyal2018-03-193-45/+28
| | | | Change-Id: I2cfd61cfc9978e4c8e4520f0f7217e49e7344c79
* Fixing taskMenu and taskView clicks in fallback activitySunny Goyal2018-03-151-1/+2
| | | | | | | > Extracting common methods from Launcher & DragLauncher to base classes > Remoting some dependencies on Launcher and using the base class instead Change-Id: I121cacf8a14190b4703cda60bdeb4f79eee69ded
* Simplifying options popup and overview handlingSunny Goyal2018-03-135-428/+6
| | | | | | | | | | > Removing support for page drag-n-drop from pagedView > Removing Overview UI from Launcher3 without quickstep and using options popup instead > Removing touch handlers from CellLayouts and showing options popup based on workspace long press > Excluding touch outside inset when showing the popup Bug: 74136505 Change-Id: I34c2a7ff58452db26f5d1a85d554be40fc75f2b8
* Using public APIs for hardware bitmapsSunny Goyal2018-03-061-15/+0
| | | | | Bug: 35428783 Change-Id: I4e7eeaa94e0cdfb1c76dce507a6f855e4eebbd6c
* Merge "Simplifying all-apps search box" into ub-launcher3-masterSunny Goyal2018-03-061-1/+3
|\
| * Simplifying all-apps search boxSunny Goyal2018-03-011-1/+3
| | | | | | | | | | | | | | | | > Giving the search box a solid background so that it work fine with scrolling > bottom shadow logic for search box Bug: 73085356 Change-Id: Ie4dc4922be39ffd8e2d562becedbd4c6f820e6c9
* | Revert "Revert "Adding a separate state for QuickScrub""Winson Chung2018-03-052-1/+27
| | | | | | | | | | | | | | | | This reverts commit 2687257c9881f44243924db7a064cff4f59fcc1b. Reason for revert: Reverting post-build Change-Id: Ic3a1e8ed84a227b42bc35b91d4f0eed60bb2e29c
* | Revert "Adding a separate state for QuickScrub"Winson Chung2018-03-052-27/+1
| | | | | | | | | | | | | | | | This reverts commit 6c6c2f45f77d9e577143e16f7eef21ed98aa6367. Reason for revert: Temporary revert for build. Change-Id: I3947e9b2d4e5788f9d2a0c4e2e8b7d425d5bc775
* | Adding a separate state for QuickScrubSunny Goyal2018-03-022-1/+27
|/ | | | | Bug: 74014237 Change-Id: Ie86ac589f0ad0e1470fb6b0b71263ec6593eb1e3
* Updating the scrim and landscpae uiSunny Goyal2018-03-012-2/+3
| | | | | | | | | > Instead of views, using a custom class to draw the color scrims > All-apps has full screen UI > Quickstep does not have search box in landscape Bug: 73085356 Change-Id: I360a78a2ade0134daad29fe712796cd39a381fbb
* Enable trim memory callbacks to the loader, background task preloadingWinson Chung2018-02-281-0/+4
| | | | | | | | | - Also enable the high-res thumbnail loader Bug: 73651529 Change-Id: Ic23997f10289ea10cb1f41104e07029c9102c Signed-off-by: Winson Chung <winsonc@google.com>
* Animate launcher when launching recent tasksTony Wickham2018-02-261-1/+1
| | | | | | | | | | | | - Scale up adjacent recent tasks and translate away from center - Workspace card instead recenters in the screen - Translate hotseat offscreen Clicking on one of the adjacent tasks will scale it up to the center of the screen while the center and other adjacent task parallax to the right beneath it. Change-Id: If96eec987c100458b8444a6cd698ec7bf6e6ba6b
* Revert "Revert "Remove back button when on home screen""Winson Chung2018-02-161-0/+3
| | | | | | | | This reverts commit dd176e65e3af080529235984fa4a236fc266837f. Reason for revert: Post-drop revert Change-Id: If93eb4bca636bfba2471c8992621a59895bfcbe2
* Revert "Remove back button when on home screen"Winson Chung2018-02-161-3/+0
| | | | | | | | This reverts commit 663759e444b9aebf4beb2c737df8f58ffc21a49b. Reason for revert: Temporary revert for NL build Change-Id: I8614ee348e6e9290c0de0dfdf3e24663f220e356
* Remove back button when on home screenTony Wickham2018-02-151-0/+3
| | | | | | | | | Add OverviewInteractionState to handle setting OverviewInteractionFlags. Hide back button when in NORMAL state and launcher's window is focused. Show it when in other states or when launcher's window loses focus. Change-Id: I35919561b9972789e995f1cc434c23e2afe9e77c
* Refactor LauncherAppTransitionManager & polish for new app transitions.Jon Miranda2018-01-251-6/+0
| | | | | | | | | | | | * Add start delay when launcher resumes from all apps or landscape. * Track the last app transition animator and cancel it before beginning a new one, otherwise the animators can conflict with each other. ie. Opening an app from all apps and then immediately pressing back to return to all apps. * Use class overrride instead of UiFactory. Bug: 70220260 Change-Id: I4755d45d820f9d551e443d6c4a148e8789c5bc57
* Launcher app close transition.Jon Miranda2018-01-221-6/+2
| | | | | | Bug: 70220260 Change-Id: I0a3a6153dc1cba53546f792bf3ec037b1a5f6d90
* Merge "Removing multi-state apha control for hotseat" into ub-launcher3-masterSunny Goyal2018-01-192-2/+7
|\
| * Removing multi-state apha control for hotseatSunny Goyal2018-01-192-2/+7
| | | | | | | | Change-Id: I68ccbe96caa70921aefd18fc8ec9ad0638c3fab1
* | Adding a horizontal popup when when workspace is longPressedSunny Goyal2018-01-191-1/+2
|/ | | | Change-Id: I5b3c48262c246bfe53e0010ca89c820f42503eef