Commit Graph

3742 Commits

Author SHA1 Message Date
Becky Qiu 4dfcbec512 Revert "[Overview Actions] UI update for Landscape."
This reverts commit 160ca4b8a2.

Reason for revert: Got issues like b/158318606 when switch nav modes, also the margin seems not set properly. And this doesn't work for 3 button mode too. Would switch to just use task menu for all.

Change-Id: I645f2a2a9032ae99799c75bcc6c983c1bbfd8df8
2020-06-06 00:04:47 +00:00
Winson Chung cb8a7fe742 Ensure that the default fullscreen params have a corner radius
- Until we update the fullscreen params, the tmp params have no radius
  so in cases where a new task is created while overview is open, or if
  we go to overview from home immediately after starting launcher for
  the first time, there would be no corners

Bug: 158050383
Test: Kill launcher, swipe up to overview, ensure tasks have corner
      radius (if device supports it)
Change-Id: I6b72c1a401b9203da3acffc88578c1ed743c8f68
2020-06-05 16:57:23 -07:00
Hyunyoung Song e12baa4ba1 Merge "Migrate QSB logging to WW" into ub-launcher3-rvc-dev 2020-06-05 21:23:47 +00:00
Hyunyoung Song c59d7df827 Migrate QSB logging to WW
Bug: 154717227
Change-Id: I175245c0ce9afd8187cec92e3ba80999ed87b1af
2020-06-05 11:36:10 -07:00
TreeHugger Robot 1bf23da79a Merge "Allow swipe up to dismiss global actions dialog" into ub-launcher3-rvc-dev 2020-06-05 18:25:04 +00:00
TreeHugger Robot ac6420b0d4 Merge "Perform DB calls in MODEL thread" into ub-launcher3-rvc-dev 2020-06-05 17:49:45 +00:00
Samuel Fufa 142ca65d78 Perform DB calls in MODEL thread
Bug: 158127067
Change-Id: Ic7820f1ff877b37da550d77e3e166734508b2622
2020-06-05 09:48:21 -07:00
Zak Cohen 1b8f1cd220 Merge "Screenshots - move to new api that uses image bundle." into ub-launcher3-rvc-dev 2020-06-05 06:36:16 +00:00
Winson Chung 14f234e567 Allow swipe up to dismiss global actions dialog
Bug: 155499313
Test: Show global actions while locked and unlocked and swipe up
      to dismiss
Change-Id: Id857712264abeba5bef5339e68a180298dbc250d
2020-06-04 21:41:03 -07:00
TreeHugger Robot 651f0b3eb1 Merge "Fixing jump when swiping up/down in landspace rotation" into ub-launcher3-rvc-dev 2020-06-05 02:19:51 +00:00
Sunny Goyal 1d756513ea Fixing jump when swiping up/down in landspace rotation
FullscreenDrawParams.scale is caculated relative to TaskView matrix, but drawnInsets is
based on Thumbnail matix calculation, so the scale should be applied first, such that
dranInsets and other TaskView translations have the same base matrix

Bug: 157626483
Bug: 156268804
Change-Id: Id33c7db9a71dd001a41c66ddf07834791d0bd382
2020-06-04 18:28:40 -07:00
TreeHugger Robot 7d2011bfe0 Merge "Ensure view translationY is set back to 0 on staggered animation end." into ub-launcher3-rvc-dev 2020-06-05 01:27:44 +00:00
thiruram 11cb2e469b Log task pinning.
Bug: 158222725
Screencast: http://go/recall/-/fuZYA4w9pUEvRlF811dY61/YB77yNwmKGXX0LPqpcARD
Sample Log: https://paste.googleplex.com/5486164561625088

Change-Id: I2ba8732369a1fd01b046d2bf89e465c7287b599a
2020-06-04 16:22:45 -07:00
Jon Miranda 0ba331273c Ensure view translationY is set back to 0 on staggered animation end.
Bug: 158104319
Change-Id: I2f15ad0604afe5cd6b458b5faf70e7873cd65717
2020-06-04 16:07:08 -07:00
thiruram 76d719143e Populate FromState, ToState, EditText, Cardinality in LauncherUiChanged.
Bug: 155410872
Change-Id: Ibe8af752fc37aa8358468a37ade36569342f7661
2020-06-04 22:54:47 +00:00
TreeHugger Robot 42d16d758a Merge "Update TaskView fullscreen params when updating the thumbnail matrix" into ub-launcher3-rvc-dev 2020-06-04 21:23:27 +00:00
Samuel Fufa 07e2b4b6e7 Merge "Allow hotseat edu in landscape mode" into ub-launcher3-rvc-dev 2020-06-04 19:42:11 +00:00
TreeHugger Robot 7a41d1e909 Merge "Log tap on app info within task menu." into ub-launcher3-rvc-dev 2020-06-04 19:09:05 +00:00
Zak Cohen e4ad2ce1e2 Screenshots - move to new api that uses image bundle.
Bug: 157380566
Bug: 156757117
Test: local
Change-Id: I5d688abc87a89ae93e2e2f9a0e13410c511cc15e
2020-06-04 11:32:10 -07:00
TreeHugger Robot fb4fa0c4c7 Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev 2020-06-04 16:41:44 +00:00
Andy Wickham ad6a4dceea Merge "Adds Assistant Sandbox tutorial." into ub-launcher3-rvc-dev 2020-06-04 01:30:22 +00:00
Bill Yi f2d2d1e084 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I0322065edda96559d79a8fbda5d05354b8460fda
2020-06-04 00:08:26 +00:00
Zak Cohen f2a6d5b70f Revert "Shared Lib - add stub for handleImageBundleAsScreenshot."
This reverts commit 1e60bb54ca.

Reason for revert: Stub not needed

Change-Id: I71e5bb38e37042addaaff75423bc47209d56a20b
2020-06-03 23:29:20 +00:00
TreeHugger Robot 2191b49f03 Merge "[Overview Actions] UI update for Landscape." into ub-launcher3-rvc-dev 2020-06-03 22:31:45 +00:00
TreeHugger Robot 41bafc8660 Merge "Additional logging for swiping to home not working" into ub-launcher3-rvc-dev 2020-06-03 21:59:26 +00:00
TreeHugger Robot 55a758253b Merge "Adds Dark mode support to Sandbox." into ub-launcher3-rvc-dev 2020-06-03 21:52:35 +00:00
TreeHugger Robot cfb9e15af9 Merge "Only animating QSB if it is visible when going home" into ub-launcher3-rvc-dev 2020-06-03 21:49:12 +00:00
Becky Qiu 160ca4b8a2 [Overview Actions] UI update for Landscape.
1. When home screen rotation is allowed, we still have action buttons for landscape, but remove bottom margin to shrink the UI.
2. When home screen rotation is not allowed, we do in-place rotation for overview, where we won't show action buttons.

Test: see demo video: https://drive.google.com/file/d/1G6ihv_DOykx1MLpFAQf3VJHq3D1HotnX/view?usp=sharing
Bug: 153736749

Change-Id: Ia1c7ef8c245ac13bf50adf32ee5114f23e491e75
2020-06-03 14:21:08 -07:00
Andy Wickham 93cdd8b40d Merge "Gesture-excluding activities also exclude Assistant gesture." into ub-launcher3-rvc-dev 2020-06-03 21:13:52 +00:00
vadimt 2f29d8c2c8 Additional logging for swiping to home not working
Bug: 158017601
Change-Id: I16bf098cf53d7fc8402533456ad02dbf099a4638
2020-06-03 13:56:56 -07:00
TreeHugger Robot 9f365cb782 Merge "Restore hotseat when user turns off suggestions immediately after migration" into ub-launcher3-rvc-dev 2020-06-03 20:56:24 +00:00
Andy Wickham 3212b10941 Adds Dark mode support to Sandbox.
Screenshots
Back: https://drive.google.com/open?id=1brE9WLWGeKaOgzMsczpV40rPIckOk1YJ
Home: https://drive.google.com/open?id=1zexyFPsXr4VzvwlMqhLv720kqHh7s66v
Tutorial complete: https://drive.google.com/open?id=1UbeIDYMQR04lzJhGK7rp2rSdmhiHl5QR

Fixes: 157483039
Change-Id: Id9753a00832dbe42316fbdcaf447f3a51a45bc3e
2020-06-03 13:48:39 -07:00
Samuel Fufa f667a1352d Restore hotseat when user turns off suggestions immediately after migration
- Creates a backup table `hybrid_hotseat_restore` and copies current workspace layout before hotseat migration
- restores to back up when user turns off suggestions and launcher receives empty predicted items
- deletes hybrid_hotseat_restore table if there's a layout change

Test: Manual
Bug: 157688471
Change-Id: Iaf7ddb33799493d36dbcd12408b57224162221d9
2020-06-03 13:15:21 -07:00
TreeHugger Robot 19fc8b6a83 Merge "Fixing exception when applying transaction while the surface is released" into ub-launcher3-rvc-dev 2020-06-03 20:15:16 +00:00
Sunny Goyal f665787d0d Only animating QSB if it is visible when going home
Bug: 154863593
Change-Id: Icee925578985639e1117ff624a422082123bea1e
2020-06-03 13:11:57 -07:00
Zak Cohen 1e60bb54ca Shared Lib - add stub for handleImageBundleAsScreenshot.
Bug: 156757117
Test: local compile
Change-Id: I2e249055cc8f917b169943569e0c624df823ffb3
2020-06-03 19:13:00 +00:00
thiruram a00bcf326c Log tap on app info within task menu.
Override TaskShortcutFactory.dummyInfo to logs 'task -> app info' as TaskEvent and 'app icon -> app info' as AppEvent.

Bug: 157770913
Sample Log: https://docs.google.com/document/d/1FXi_jY1B63aMSjNyomAmoN1nSTtVbvculNGX7TKdRRw/edit#bookmark=id.j2cziephk9fy

Change-Id: I448a489fcc93324f6082eba2857644feb5d6bca3
2020-06-03 10:55:39 -07:00
thiruram b812b3ff60 Log tapping on split screen & free form icons within task menu.
Bug: 157770913

Sample Log: https://docs.google.com/document/d/1FXi_jY1B63aMSjNyomAmoN1nSTtVbvculNGX7TKdRRw/edit#bookmark=id.4hmzxwn1efy

Change-Id: Id98dccb9452af7be20f636410d886dc8aeaa6bd1
2020-06-03 10:09:29 -07:00
thiruram 9752dedd71 Logs tap or longpress on task icon.
Sample Log: https://docs.google.com/document/d/1FXi_jY1B63aMSjNyomAmoN1nSTtVbvculNGX7TKdRRw/edit#bookmark=id.psxq3ooyppff
Bug: 157770913

Change-Id: I021b07fa8b3953a0f9a5e5ad9e4ee1c55d98d836
2020-06-03 17:04:48 +00:00
vadimt 2f53926848 More logging for swiping to home not working
Bug: 158017601
Change-Id: Ic967e39c6521bbf100015495970fdbfb67c4ea09
2020-06-02 18:45:20 -07:00
Sally Yuen bd2e73ce6f Merge "Use global action constant for a11y All Apps action" into ub-launcher3-rvc-dev 2020-06-02 22:59:18 +00:00
Andy Wickham 1a5795d1fe Adds Assistant Sandbox tutorial.
Demo: https://drive.google.com/open?id=1onivF9qKdgJeUG2ROkQBxcgi-l0VfC4f

Fixes: 157824552

Change-Id: Ia0e5f46b39e3f06feed2f7e175ab7861e9d51a96
2020-06-02 14:38:45 -07:00
Andy Wickham 1123ba3156 Gesture-excluding activities also exclude Assistant gesture.
Bug: 157824552
Change-Id: Ie324ed86c8d7694fed263840975c02e676533ad1
2020-06-02 14:38:45 -07:00
TreeHugger Robot 6eac572246 Merge "Fixing nullpointerexception when applying transformParams" into ub-launcher3-rvc-dev 2020-06-02 21:33:41 +00:00
TreeHugger Robot cc74b3a79c Merge "Hide OverviewActions when no tasks showing after launcher reset." into ub-launcher3-rvc-dev 2020-06-02 21:29:23 +00:00
TreeHugger Robot 34413df66d Merge "Adds Overview Sandbox tutorial." into ub-launcher3-rvc-dev 2020-06-02 21:28:21 +00:00
TreeHugger Robot 5bae2f4af1 Merge "Logging for swiping to home not working" into ub-launcher3-rvc-dev 2020-06-02 21:17:50 +00:00
Andy Wickham fad8a87773 Adds Overview Sandbox tutorial.
Extracts fake task view animation logic to
SwipeUpGestureTutorialController, which
Home and Overview controllers extend.

Fixes: 157945497
Change-Id: Ibd1c129c57e9bee8db62baae455ca1bd9df114c7
2020-06-02 13:58:27 -07:00
Sreyas b8e99b560b Hide OverviewActions when no tasks showing after launcher reset.
Bug: 157709549
Change-Id: I1fe00a588a6cc5e840d38a08844017383c94fe68
2020-06-02 13:52:17 -07:00
vadimt 568ac00832 Logging for swiping to home not working
Bug: 158017601
Change-Id: Ibe92a7f07a4eb880b7b54b486236ca90e74353f7
2020-06-02 13:20:10 -07:00
TreeHugger Robot 62382c3f95 Merge "Update home to overview depth interpolator to match other motion" into ub-launcher3-rvc-dev 2020-06-02 20:18:01 +00:00
TreeHugger Robot 54f63d6539 Merge "Checking for success of interactions with Wellbeing" into ub-launcher3-rvc-dev 2020-06-02 20:16:41 +00:00
Sunny Goyal 71bb2d9ab5 Fixing nullpointerexception when applying transformParams
Bug: 158015382
Change-Id: Idf979f9d1786e9cb3ee0870f43ee47a735bb595a
2020-06-02 13:02:42 -07:00
sallyyuen 034b9b67c8 Use global action constant for a11y All Apps action
"All apps" will be identified by a11y services with new id.

Bug: 157078174
Test: Manual with TalkBack
Change-Id: I6b47b93e0141a7d2a28a21ef35f80157b413a55e
2020-06-02 19:11:03 +00:00
TreeHugger Robot 73763959d1 Merge "Add SysUiOverlayInputConsumer." into ub-launcher3-rvc-dev 2020-06-02 17:49:04 +00:00
Vinit Nayak 3cdbb9b039 Merge "Set mLastRectRotation to valid rotation" into ub-launcher3-rvc-dev 2020-06-02 04:42:33 +00:00
Vinit Nayak fb442a70f8 Set mLastRectRotation to valid rotation
mLastRectRotation's value is used after
swipe gestures are complete to reset the
layout for overview (after swiping to home
animation is complete), so we need to set
it to a valid value instead of -1.
OverviewActions visibility depends on
it being rotation 0 for it to be visible,
otherwise it won't show up.

Bug: 155844780
Test: Swipe up to home from an app,
Swipe up to overview, observe overview
actions show in portrait.
Swipe up and back down from landscape app,
hit back. Open portrait app, ensure back
gesture still works.

Change-Id: Ia923a54e68af567b4470841783328528fffebe6a
2020-06-01 18:30:15 -07:00
Tony Wickham 1287feb616 Update TaskView fullscreen params when updating the thumbnail matrix
Previously, we were only updating the fullscreen params when updating
fullscreen progress. The problem with that is we optimize to skip
updating fullscreen progress if the new progress is the same as the
current. But since the fullscreen params depend on the insets computed
by the preview position helper, we should update the fullscreen params
when we update the preview position helper.

Test: force stop launcher, quick switch directly to the right, ensure
the adjacent TaskView has its insets applied properly

Bug: 157105795
Change-Id: I3c3b47c69205607c9e10ed38c403211816f30939
2020-06-01 18:32:12 -05:00
Sunny Goyal 518d54e3f2 Preventing launcher preload if user setup is not complete
Also fixing some leaks due to not destroying RecentsAnimationDeviceState

Bug: 155350432
Change-Id: I70f510c3db03515d5889f0bcde6a15a9456e9791
2020-06-01 16:19:38 -07:00
TreeHugger Robot 2a4dce1402 Merge "Fixing loadTasksInBackground called twice on swipe up" into ub-launcher3-rvc-dev 2020-06-01 22:44:03 +00:00
Sunny Goyal b396864072 Fixing loadTasksInBackground called twice on swipe up
Bug: 157644889
Change-Id: Ia4413ea878f8ba731fbb7a8f61b7c0c0050f3811
2020-06-01 15:12:32 -07:00
vadimt bd7ee7366d Checking for success of interactions with Wellbeing
Bug: 157589968
Change-Id: I9a5cc6341c0133ae5e31c47b6bd89f80e15c9099
2020-06-01 14:03:43 -07:00
TreeHugger Robot 50f2a6c7d6 Merge "Enable RotationWatcher when home rotation is on" into ub-launcher3-rvc-dev 2020-06-01 20:33:30 +00:00
Joshua Tsuji eeb675683b Add SysUiOverlayInputConsumer.
This consumer is used when Bubbles is expanded, and causes swipes up to hide bubbles via closeSystemDialogs rather than going all the way home.

Test: install launcher and swipe up (after including the other CL in this topic)
Fixes: 156390484
Change-Id: I36b71dd95dc45a5a547eddfe0faddf61630b6f25
2020-06-01 20:33:13 +00:00
Vinit Nayak 39cc356a53 Merge "Start quickswitch on task switch instead of touch down" into ub-launcher3-rvc-dev 2020-06-01 20:32:14 +00:00
Tony Wickham 10c2b4f9d9 Update home to overview depth interpolator to match other motion
Overview comes in and workspace goes out at overshoot(1.2), so
the wallpaper depth/blur should match that speed.

Test: go to overview from home in 3 button or 0 button mode,
ensure wallpaper scales down at the same rate as other elements

Bug: 154637581
Change-Id: I03254fa3fdf19f468852bed8aab7ba21203c429a
2020-06-01 14:36:46 -05:00
TreeHugger Robot 0e1cbf56aa Merge "Reset Overview layout after swiping to home" into ub-launcher3-rvc-dev 2020-06-01 19:24:54 +00:00
Vinit Nayak acd2f58693 Start quickswitch on task switch instead of touch down
Previously we would enter a quickswitch session state
whenever user tapped on navbar and sent flags to
sysui to only enable edge gesture for the current rotation.
Now we only do that on a new task resulting from the gesture
or when going into recents to show nav bar in the
orientation user would expect it (only if they never
quickswitched).

Fixes: 155844780
Test: Tested swiping back from quickswitching
into apps of different orientations.
Note that back is still broken when you
quickswitch and then rotate the foreground app.

Change-Id: I935e7c66489d46e59156414d64653c846ae4c5d8
2020-06-01 12:06:47 -07:00
Hyunyoung Song 2911c56a80 Merge "Migrate launcher home settings button tap/longpress logging to WW" into ub-launcher3-rvc-dev 2020-06-01 18:08:39 +00:00
Vinit Nayak 90b006dbe5 Reset Overview layout after swiping to home
Reset overview when user does a swipe to home
gesture. Preivously we only rest when user
first when to over, and then swiped to home.

Fixes: 156053957
Change-Id: I5a157f9e2229aba4b36851bd46d704a39d647110
2020-06-01 10:40:05 -07:00
TreeHugger Robot 6d9e0c4a55 Merge "More logging for pause non-detection" into ub-launcher3-rvc-dev 2020-06-01 17:27:10 +00:00
TreeHugger Robot 7149a7e0c5 Merge "Removes unused constant" into ub-launcher3-rvc-dev 2020-06-01 16:50:30 +00:00
Jon Miranda 10a6ed86eb More logging for pause non-detection
Bug: 156044202
Change-Id: I68d6febf4c201c2fea41c7e24600dcc2c54a680a
2020-06-01 09:39:13 -07:00
TreeHugger Robot 291f393b17 Merge "More logging for pause non-detection" into ub-launcher3-rvc-dev 2020-05-30 03:20:50 +00:00
Jon Miranda 77d8903f4a More logging for pause non-detection
Bug: 156044202
Change-Id: I0831735aa743360c16e1f940c30875f32432fec5
2020-05-29 19:43:52 -07:00
TreeHugger Robot 8a3be8cb53 Merge "Don't defer finish, only defer disableInputProxy" into ub-launcher3-rvc-dev 2020-05-30 00:41:06 +00:00
Tony Wickham cc558e86fb Don't defer finish, only defer disableInputProxy
We should always finish the controller when requested, to ensure
everything is cleaned up immediately. But if touch is in progress,
we should keep input proxy enabled until touch up/cancel.

Test: swipe up to launcher and interact with it during the transition
- Swipe to recents and scroll it or dismiss the current task
- Swipe to home and open another app or swipe again on the nav bar

Bug: 157771305
Change-Id: Ida53289e4ecbd5e5d16933fcc79bbebdf1f8d898
2020-05-29 19:04:48 -05:00
Hyunyoung Song b117a9221c Migrate launcher home settings button tap/longpress logging to WW
Bug: 157777128
Change-Id: Ic88811efc9aef8f38a0e7e5ae79e3b35236c6663
2020-05-29 17:03:22 -07:00
Sunny Goyal 142dcd8489 Fixing exception when applying transaction while the surface is released
> Check surface before applying transaction
> Keeping the release check around even if it release true the first time, as some other check may defer release
> Waiting on animation complete before releasing a surface

Bug: 148885018
Bug: 148194313
Change-Id: Ieb2b98492ff7df165e6b28a108b5f2cbc7ded32d
2020-05-29 16:08:28 -07:00
Samuel Fufa be40b29097 Allow hotseat edu in landscape mode
Screenshot: https://screenshot.googleplex.com/bTXH04qQRog
Bug: 152362405
Test: Manual
Change-Id: I8a9926e82794b11ab1b0fbce742f6b075e220c85
2020-05-29 15:48:31 -07:00
Jonathan Miranda 02f0f82883 Merge "Fix depth jumping around during transitions." into ub-launcher3-rvc-dev 2020-05-29 22:31:54 +00:00
TreeHugger Robot 0e3572b953 Merge "[Overview actions] Remove unused duration variable." into ub-launcher3-rvc-dev 2020-05-29 22:00:42 +00:00
TreeHugger Robot 7fab619676 Merge "Animates a fake TaskView in Home gesture tutorial." into ub-launcher3-rvc-dev 2020-05-29 21:50:43 +00:00
TreeHugger Robot bc374cf7f2 Merge "Fix all apps alpha applying twice" into ub-launcher3-rvc-dev 2020-05-29 21:25:54 +00:00
Zak Cohen 0c8e20eea7 [Overview actions] Remove unused duration variable.
Test: local build
Change-Id: I2f18e77273753f491c6d802aa3b4406fefce6ad7
2020-05-29 14:15:09 -07:00
Andy Wickham f8a8117676 Animates a fake TaskView in Home gesture tutorial.
The "TaskView" morphs as you drag up from the
nav bar, and transforms into a "home icon" or
final "TaskView" when you release your finger.

If you cancel the gesture (e.g. drag back down),
the view simply fades out and provides a hint
to swipe straight up.

Demo: https://drive.google.com/open?id=1NXlO1W6IhLoX0k2K6b-QZ5IXp0o7OYqO

Bug: 148542211
Change-Id: I3d5e9a45fcadc6a498941ea17813b9487720a504
2020-05-29 14:06:36 -07:00
Andy Wickham 7e78e63d50 Removes unused constant
Change-Id: Ic3d96ae3791ba75c5ce6c1c00203bf9d21469fe5
2020-05-29 13:49:09 -07:00
Jon Miranda 84f6e0182e Fix depth jumping around during transitions.
This is caused because we use mDepth for depth comparisons, but there are
cases where we set mDepth but we do not pass that value to WallpaperManager
(ie. surface is null or not valid) and that leads us into
inconsistent states.

Bug: 155780358
Change-Id: I3faf14416d5783ad472892425eb0bd37dd469a46
2020-05-29 13:06:55 -07:00
TreeHugger Robot aaac3f1519 Merge "Fixing incorrect taskView size in multiwindow-landscape" into ub-launcher3-rvc-dev 2020-05-29 20:00:31 +00:00
Samuel Fufa dbb212e939 Merge "Remove dependency on Launcher notification for hotseat edu" into ub-launcher3-rvc-dev 2020-05-29 19:39:28 +00:00
Tracy Zhou c577bb8425 Merge "Support predicted icons in preview" into ub-launcher3-rvc-dev 2020-05-29 18:06:23 +00:00
Tracy Zhou bc305fc7fe Support predicted icons in preview
Fixes: 152789575
Test: https://screenshot.googleplex.com/r3AtHp3TAh0
Change-Id: I22f7ee2a69f2df12ade16f50bf455651dbfce597
2020-05-29 09:58:01 -07:00
Tony Wickham 244e173a68 Fix all apps alpha applying twice
Test: quick switch from home, ensure QSB fades out at the same
rate as the workspace/hotsea

Change-Id: I59ecd0c65a6abf3e24ea1c2bfba3c84f6a88e653
2020-05-29 11:10:10 -05:00
TreeHugger Robot 172ea18639 Merge "Fix actions view showing up when it shouldn't in a couple spots" into ub-launcher3-rvc-dev 2020-05-29 01:16:31 +00:00
Tony Wickham 1fbf3c76f6 Fix actions view showing up when it shouldn't in a couple spots
- Replace HIDDEN_FULLSCREEN_PROGRESS with INDEX_FULLSCREEN_ALPHA
- When animating actions in after swiping to overview from an app,
  start at alpha 0 (since we setState(OVERVIEW) without animation
  when we settle, meaning alpha would already be 1).
- Fade in actions at the same duration as the icon scale when
  entering overview from an app
- Hide actions during quick switch from home

Tests:
- Start quick switch from home and swipe up back to home
- Start quick switch from home and swipe up to overview
- Go to overview from home
- Go to overview from an app
Verify actions don't appear on the first, and fade in
for the rest.

Bug: 157597385
Change-Id: I43a0be702066f91e13ce2a720278aae27160c557
2020-05-28 19:10:38 -05:00
Sreyas ae23746fa0 Remove overview share to match spec
Bug: 157174391
Change-Id: Iabfeb34b77abcb885b1518d348cac45e71dc92a9
2020-05-28 17:04:42 -07:00
Samuel Fufa f0dc0b6ae0 Remove dependency on Launcher notification for hotseat edu
Doc: go/hybrid-hotseat-tips

Allow launcher to show hotseat education with intent action "launcher.show_hotseat_edu"

Bug: 157683315
Test: Manual
Change-Id: I62c79b821b79cf1adb831e2f79f6f0f02166ca42
2020-05-28 16:40:46 -07:00
TreeHugger Robot f8273b949f Merge "Fix QSB animating separately from workspace during stagger anim" into ub-launcher3-rvc-dev 2020-05-28 22:43:50 +00:00
Tony Wickham 5d4e8541d0 Fix QSB animating separately from workspace during stagger anim
- Don't play any state animation if animComponents == 0
- StaggeredWorkspaceAnim handles depth controller

Bug: 157596833
Change-Id: I6ae4c5da2e837c61b57349e708b7499af8e14aaa
2020-05-28 16:42:45 -05:00
TreeHugger Robot 065c84cbeb Merge "Putting Overview Share button behind flag" into ub-launcher3-rvc-dev 2020-05-28 20:38:46 +00:00