Tony Wickham
d844fe758c
Remove ENABLE_OVERVIEW_ACTIONS flag, defaulting to true
...
We no longer support the "peeking" model where the shelf would
peek on motion pause from an app and overview would peek on motion
pause from home. Thus, removed/inlined the following:
- FlingAndHoldTouchController (merged into its sole subclass
NoButtonNavbarToOverviewTouchController)
- ShelfPeekAnim
- OverviewPeekState
Change-Id: I066a3ad2636fde4786089c922b896bf1e03361fd
2020-08-14 15:58:29 -07:00
Sunny Goyal
5fb83a47f2
Removing icon recents version
...
Change-Id: Ibdc88715e38590cedf8a7b5174061bb2c6ef9533
2020-08-14 10:49:19 -07:00
Zak Cohen
635c08095a
Merge "Overscroll plugin - give the plugin its own factory." into ub-launcher3-rvc-qpr-dev am: cbe1fc063d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12353635
Change-Id: Ia471594443d1b744c5c34f0c9c45e7191bbf7938
2020-08-13 00:12:20 +00:00
Zak Cohen
fac8741522
Overscroll plugin - give the plugin its own factory.
...
Separate out the overscroll plugin from the task overlay.
These two classes aren't really related.
Bug: 162012217
Tested: checked plugin still works
Change-Id: Id89eff1ad2ae9766efaaecd8cfc66d6521b9ca8c
2020-08-11 16:42:23 -07:00
Andy Wickham
17d0080cc3
Adjusts Clear all to be vertically centered with the tasks.
...
I made a sample task where the content of the app was
centered, and I added lines to demonstrate the center
while in Overview. As you can see, the center of the
app content is slightly different from the TaskView
in Recents - it seems part of the bottom of the app
gets removed when transitioning to Recents (for the
rounded corner radius or nav bar?). On Pixel 4, I
had to add 46dp of padding to the bottom line for it
to appear at the bottom of the screenshot in Recents.
Screenshot: https://drive.google.com/file/d/1xzQNXWb0T0UGDhDS9Ov-AduM3nd-pfg8/view?usp=sharing
Before: https://drive.google.com/file/d/1ghN9VWP44XjcZkdmI106dy4_jB4Vs4J3/view?usp=sharing
Rotating between landscape and portrait:
https://drive.google.com/file/d/1OD5aKT9LCE5w950-6AaHfWXU4sLyW3Qe/view?usp=sharing
Fixes: 154964045
Change-Id: I594057e3b5df58c5a907b6ca14daa700d5011b7b
2020-08-05 19:44:07 -07:00
TreeHugger Robot
20017da3f4
Merge "Fixing oav text overlap." into ub-launcher3-rvc-qpr-dev am: 6039c70261 am: 11fb39a2f5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12173855
Change-Id: I5a3daf62e17a2deaf151a3cb9c6e7215f859a8a4
2020-07-23 22:55:50 +00:00
TreeHugger Robot
11fb39a2f5
Merge "Fixing oav text overlap." into ub-launcher3-rvc-qpr-dev am: 6039c70261
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12173855
Change-Id: I9155c9e8146aaa13deff6a34d7869bb4b09a0fd3
2020-07-23 22:39:19 +00:00
TreeHugger Robot
6039c70261
Merge "Fixing oav text overlap." into ub-launcher3-rvc-qpr-dev
2020-07-23 22:26:16 +00:00
Tony Huang
a0dfbff96a
Enable one-handed mode gestural in QuickStep
...
Handling swipe-down/swipe-up gestural in device bottom area
for one-handed mode
1) The regsion is larger than gesture navigationbar view
2) One handed gestural in quickstep only active on NO_BUTTON, TWO_BUTTONS mode
3) One handed gestural only support on portrait mode
Bug: 150747547
Bug: 154189137
Bug: 156988988
Test: make and install
Test: manual enable one handed mode and swipe down to trigger
Test: manual start one handed and rotate device
Change-Id: I7b2447bfb2fe4082c95176b62934b98077b84920
(cherry picked from commit 7d375e31fe )
2020-07-21 09:59:43 -07:00
Bill Yi
d5821326f8
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I344fea4e320a851f0d04a3308c9f7f2dca4c934e
2020-07-20 14:00:53 -07:00
TreeHugger Robot
30d771860e
Merge "Updating gesture tutorial home animation" into ub-launcher3-rvc-qpr-dev am: 24ddf21cea
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12117946
Change-Id: I6a86fd320482d9f3b894b8ff8eb5c7f0d5bdc9ca
2020-07-17 01:47:52 +00:00
Sreyas
5e19073c23
Fixing oav text overlap.
...
Bug: 159240113
Change-Id: I89d8249c21cca86f21cdf57a017745237b4b6cf1
2020-07-17 00:57:56 +00:00
Bill Yi
2ef5f38ae5
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I7f36648a52740ae4e104c8bd2f0321f541ee218f
2020-07-10 14:54:57 -07:00
TreeHugger Robot
24ddf21cea
Merge "Updating gesture tutorial home animation" into ub-launcher3-rvc-qpr-dev
2020-07-09 21:44:51 +00:00
Bill Yi
6d76207e37
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Change-Id: I3d133ff2ba4e7c0cf1de39cacfdcbe13a9c2a366
2020-07-09 09:31:47 -07:00
Sunny Goyal
6fd105b69a
Updating gesture tutorial home animation
...
> Using a separate View as icon, instead of the taskView
> Updating swipe animation logic to abstract out FloatingIconView dependency
Change-Id: Ib466262afead11ebe4ca035d589f0382c37e3e97
2020-07-09 07:51:34 -07:00
Samuel Fufa
0b0a57f422
Merge "Allow Users to migrate their hotseat when returning from AiAi" into ub-launcher3-rvc-dev am: a529cd0f5f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855090
Change-Id: I988af6be3b74c45692adf281448ec2d9d936448e
2020-06-19 01:08:12 +00:00
Samuel Fufa
d25a112b0e
Allow Users to migrate their hotseat when returning from AiAi
...
- If a user has mostly predicted hotseat, show a snack bar. otherwise, show migration option.
- Guard onboarding activity with permission `com.google.android.apps.nexuslauncher.permission.HOTSEAT_EDU`
Bug: 158569583
Test: Manual
Change-Id: Id0c1c812233fcf288a2f49848720199dedd2015d
2020-06-18 16:38:58 -07:00
Andy Wickham
6c2ac9e7aa
Merge "Removes Sandbox from launcher task." into ub-launcher3-rvc-dev am: 4a85948843
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11688625
Change-Id: I935f383bf0df15991cb55f9fba30386394d1b696
2020-06-17 23:13:18 +00:00
Andy Wickham
4a85948843
Merge "Removes Sandbox from launcher task." into ub-launcher3-rvc-dev
2020-06-17 22:56:44 +00:00
TreeHugger Robot
ee67acfc3c
Merge "Show discovery tip for hybrid hotseat" into ub-launcher3-rvc-dev am: 743e25e2d2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11638182
Change-Id: I3cc06fc4989a636139bcce2d8c22c9136ee419ad
2020-06-10 23:23:56 +00:00
Andy Wickham
690543f159
Removes Sandbox from launcher task.
...
Instead, adds it to the gesture-exclusion activities
to prevent normal gesture handling.
Bug: 148542211
Change-Id: Ie04d2e71346a0c039e73fcc386cedc1b74fadadb
2020-06-10 15:41:37 -07:00
Samuel Fufa
5b2da14e72
Show discovery tip for hybrid hotseat
...
Doc: go/hybrid-hotseat-tips
Issue 157683315: for fully populated hotseat, count returns to home screen and show discovery tip if Tip action was not tapped.
Issue 158301717: Don't use cached items if client has predicted items.
Test: Manual
Change-Id: I4747a1148caa62a6262fb6592d5185bdf216ede6
2020-06-10 15:12:55 -07:00
Samuel Fufa
fb318873f8
Merge "Allow hotseat edu in landscape mode" into ub-launcher3-rvc-dev am: 07e2b4b6e7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11531791
Change-Id: Ia46130b013096a8d90604eec513e42e9edfe8ab7
2020-06-04 19:52:53 +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
fb4fa0c4c7
Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev
2020-06-04 16:41:44 +00:00
Andy Wickham
0425762c4e
Merge "Adds Assistant Sandbox tutorial." into ub-launcher3-rvc-dev am: ad6a4dceea
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11688618
Change-Id: Ib10371ca89ee88a66722f7db13f127e4f3ece8ef
2020-06-04 01:43:04 +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
TreeHugger Robot
cd6a7133ab
Merge "Adds Dark mode support to Sandbox." into ub-launcher3-rvc-dev am: 55a758253b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11720146
Change-Id: Ib78c370eda25c377342a7ac4ee0d5e1def2fdced
2020-06-03 22:05:44 +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
1f80e194c5
Merge "Restore hotseat when user turns off suggestions immediately after migration" into ub-launcher3-rvc-dev am: 9f365cb782
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11666757
Change-Id: Ibd1a0d471fc9322041ca5f65317383e988aa35be
2020-06-03 21:11:36 +00: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
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
TreeHugger Robot
66f1e0215c
Merge "Adds Overview Sandbox tutorial." into ub-launcher3-rvc-dev am: 34413df66d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11688637
Change-Id: I6a87092cb8e50fce2770e391898d9c8be8ca0071
2020-06-02 21:28:49 +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
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
TreeHugger Robot
10e7a2bd4e
Merge "Animates a fake TaskView in Home gesture tutorial." into ub-launcher3-rvc-dev am: 7fab619676
...
Change-Id: I39d6c9a66e4019427b17cfb8b9c0128f61263da9
2020-05-29 22:05:35 +00: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
Samuel Fufa
8c323b1178
Merge "Remove dependency on Launcher notification for hotseat edu" into ub-launcher3-rvc-dev am: dbb212e939
...
Change-Id: Ibf409d87cdb8f55526fc3095bfbbfc03bef9f42b
2020-05-29 19:55:29 +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
TreeHugger Robot
b14c703579
Merge "Remove overview share to match spec" into ub-launcher3-rvc-dev am: 06fcfe1f5f
...
Change-Id: I53c28941881b083d7a7312377a280bc4ea1f8d55
2020-05-29 00:56:33 +00: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
d1d4c78b12
Merge "Putting Overview Share button behind flag" into ub-launcher3-rvc-dev am: 065c84cbeb
...
Change-Id: If8d51e1077e61a2c22644f289ef15d3cd6c910cb
2020-05-28 20:58:18 +00:00
Sreyas
dbedb91ad8
Putting Overview Share button behind flag
...
https://drive.google.com/file/d/1Io5N-LyXoRa9LHQjJNd1BAgBkVuBvnhr/view?usp=sharing
https://drive.google.com/file/d/15HhNvNoUn5qX1GhkjDaifA3G05PLoIwO/view?usp=sharing
Bug: 157174391
Change-Id: I8314d5aa309fe020a4121753d4e76ca10370c626
2020-05-28 12:03:12 -07:00
TreeHugger Robot
69d772633d
Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev
2020-05-22 23:23:03 +00:00
Bill Yi
5051db820b
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Change-Id: I37782ef5afd3cf3606bef863f14731996ae9e0c9
2020-05-22 23:09:02 +00:00