Schneider Victor-tulias
3ce81f275f
Update gesture navigation string resource for translations.
...
Updated the gesture navigation tutorial skip dialog's subtitle string resource and description:
1. increase char limit.
2. Added a placeholder string.
3. Updated the description to be clearer for translators.
bug: 185381331
Test: none
Change-Id: I6f06991694d48a9babf98777b377393f32998956
2021-04-16 13:38:26 -07:00
Samuel Fufa
ac120c9a47
[Search] make AbstractSlideinView#createColorScrim overridable
...
+ Introduce feature flag for people tile results
Bug: 183972880
Bug: 184003600
Test: Manual
Change-Id: Ia8b3af4e99a66f640f6f42fc5886d9cbfb5e913c
2021-04-06 03:18:07 -05:00
Schneider Victor-tulias
6062b851be
Add strings for gesture navigation tutorial.
...
Added string resources needed for the gesture navigation tutorial.
Test: none.
Bug: 169687177
Change-Id: I75b863141954f6459693dfb6f16ed0d1fff9920d
2021-03-25 11:09:57 -07:00
Vinit Nayak
d987a828e8
Initial commit of new split screen work.
...
TODO:
* Extract out common elements in TaskShortcutFactory.MultiWindowFactory
for commonalities between new and old way of
invoking split screen
* Integrate with WM APIs (b/182002789)
* Write tests for SplitSelectStateController
Bug: 181704764
Change-Id: Ice35adb4ea82897f5e2433dc9b93a549f3d511b5
2021-03-15 15:42:32 -07:00
Samuel Fufa
062a8fd979
Introduce feature education for AllApps Search
...
Preview: https://drive.google.com/file/d/1eXf3K6kFh0bHcYlpwW_voSRjY9RQalJN/view?usp=sharing&resourcekey=0-IABjrtXM5JhHvSf-7yc4tg
Edu can be dismissed permanently by pressing "Got it" button or typing. Swiping down defers edu until next visit to all apps
- Move fallback search to quickstep
Bug: 178100472
Test: Manual
Change-Id: I920aab366330758e81f8b9fa62736abf82fe5cac
2021-01-25 15:17:34 -06:00
Winson Chung
f99351888c
Revert "Revert "Merge commit '8d14dbe041199d611839140f1c9285fd4174e9f4' ...""
...
This reverts commit 087a9e39b6 .
Change-Id: I05b17a6e4aaaef6de3c2fa26aad45a39eb2833f9
2020-10-23 09:27:48 -07:00
Alistair Delva
087a9e39b6
Revert "Merge commit '8d14dbe041199d611839140f1c9285fd4174e9f4' ..."
...
Revert "Merging from ub-launcher3-master @ build 6877130"
Revert "Merging from ub-launcher3-master @ build 6877130"
Revert "Merging from ub-launcher3-master @ build 6877130"
Revert submission 12738409-merge_ub-launcher3-master_6877130
Reason for revert: Introduced crashes to global presubmit
Reverted Changes:
I624658ce6:Merge commit '8d14dbe041199d611839140f1c9285fd4174...
Iccd2f1e3a:Merging from ub-launcher3-master @ build 6877130
I791d64951:Merging from ub-launcher3-master @ build 6877130
Icdd32ab01:Merging from ub-launcher3-master @ build 6877130
Bug: 169963211
Change-Id: I77a4ae59e823147beae8dd7cb9b54ccdace2c7f4
2020-10-05 14:46:26 +00:00
Matt Casey
49a94be109
Merge commit '8d14dbe041199d611839140f1c9285fd4174e9f4' into merge_ub-launcher3-master_6877130
...
Change-Id: I624658ce682b55042a12faacd4cf0cfd5d3a9a56
2020-10-01 18:55:38 +00:00
Schneider Victor-tulias
2ec0ade64a
Add sandbox mode to gesture tutorial settings.
...
Test: manual
Added a Sandbox mode tutorial fragment and controller. This fragment allows the user to try all the gesture commands and receive feedback, whether the gesture was successful or not.
Preview: https://drive.google.com/file/d/1Qmn71ZHMOrv2XjUngb6S4W5jOaBIvF1_/view?usp=sharing
Change-Id: I7d28ce25daa38fa6d05b18d43d02b77c1fc8a264
2020-09-30 15:27:27 -07:00
Hyunyoung Song
0b51b916b0
Merging from ub-launcher3-rvc-dev @ build 6617269
...
Bug: 150504032
Test: manual, presubmit on the source branch
https: //android-launcher.teams.x20web.corp.google.com/merge/ub-launcher3-rvc-dev_master_6617269.html
Change-Id: I2a168bfa8e3979ade26ab1d3cddbbae84cf79590
2020-06-22 18:53:39 -07: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
Miranda Kephart
efdc4e2318
Merging from ub-launcher3-rvc-dev @ build 6595814
...
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6595814.html
Change-Id: I4be85d0e52cc3cb8801012a7313a269851680c8b
2020-06-16 20:52:28 +00: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
Pinyao Ting
8020bf2f4b
Merging from ub-launcher3-rvc-dev @ build 6577335
...
Bug: 150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_6577335.html
Change-Id: Ie1f44dd646088759fef66251fe9e5f584b804d73
2020-06-10 21:54:11 +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
Adam Cohen
fa6e021ce6
Merging from ub-launcher3-rvc-dev @ build 6557059
...
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6557059.html
Change-Id: I9c0912f26445d454f71c4f0f63d45b184726db3d
Merged-In: I280025d9e58626fe725fe24ca60c28e89d0cee74
2020-06-04 15:02:12 +00:00
Andy Wickham
ad6a4dceea
Merge "Adds Assistant Sandbox tutorial." into ub-launcher3-rvc-dev
2020-06-04 01:30:22 +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
Adam Cohen
e557bac0a1
Merging from ub-launcher3-rvc-dev @ build 6552182
...
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6552182.html
Change-Id: I795aafd151c6ce53077e1aebb97567eedd84f274
Merged-In: I795aafd151c6ce53077e1aebb97567eedd84f274
2020-06-03 20:28:44 +00: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
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
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
Winson Chung
6e0d05fc41
Merging from ub-launcher3-rvc-dev @ build 6492476
...
Bug: 150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6492476.html
Change-Id: I96b36965f7b471eb77aa78a8b923ed9298e8a02f
2020-05-13 23:22:18 +00:00
Andy Wickham
ee1203e436
Adds Settings button back to Back gesture tutorial.
...
Uses a simpler Intent which actually works :)
Fixes: 149348244
Bug: 148542211
Change-Id: I5e28c63d1eec93b4642e398c7532e7ec4809d6e2
2020-05-13 10:48:38 -07:00
Zak Cohen
4ebd859bc4
Overview Actions - shows a message if action is blocked by policy.
...
Device policy or app secure surface policy mean that snapshot based
actions shouldn't work.
This is encoded in whether the snapshot is "real", the fake snapshot is
generated when policy doesn't allow captures.
Test: tested with Test DPC fake device policy app
Change-Id: Ib34e5a90ab58fb401d4516c531866d1c13569256
2020-05-08 17:16:15 -07:00
Santiago Etchebehere
82902c0da6
Merging from ub-launcher3-rvc-dev @ build 6436292
...
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6436292.html
Change-Id: I28d6ec42b7a6a8e779abb306cc29c9801910206f
2020-04-27 22:40:31 -07:00
Andy Wickham
64a91132c5
Adds feedback to Home and Back tutorials.
...
Back feedback:
- Too far from edge of screen
- Cancelled (reversed gesture, swiped upwards, etc.)
- Inside nav bar region
- Demo: https://drive.google.com/open?id=1pc_hr7i-iZmgF37CN8oijPjhOvvsJoEG
Home feedback:
- Too far from edge of screen
- Paused too long (Overview detected)
- Swiped sideways instead of up
- Demo: https://drive.google.com/open?id=1NGYAlqV2wJtM2DOJ1pZM-r8N1SYVtMos
Bug: 148542211
Test: Manual
Change-Id: I627ed7c6e9b005d35794e4ae568529b5613cbf70
2020-04-24 18:15:23 +00:00
Govinda Wasserman
df280add9e
Merging from ub-launcher3-rvc-dev @ build 6418896
...
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6418896.html
Change-Id: I9ce7f3e6a95d278509fe18b36c84d871a76066f1
2020-04-22 15:35:47 +00:00
Andy Wickham
4f66dc3bef
Adds dummy HomeGestureTutorialFragment.
...
- Adds a new launch target in Dev options
- Moves Back handling to the parent TutorialFragment
(so all Tutorials can handle it as necessary)
- Currently uses a dummy translating rectangle in
place of a proper hand animation
- No actual home gesture recognition is in place yet
Test: Manual
Bug: 148542211
Change-Id: Ic5a545eb9f5003914803272c8ffe367220d63336
2020-04-16 18:23:08 +00:00
Andy Wickham
28095168e9
Refactors Sandbox to more easily add new tutorials.
...
- Extracts abstract classes for common functionality
- Renames some layouts, etc. to not be back-specific
- Consolidates more logic in the controllers rather
than classes like BackGestureTutorialTypeInfo
- Removes redundant TutorialStep enum (combining it
with TutorialType)
Still considering removing additional layers of
abstraction like the Fragment itself (instead
keeping UI within the Activity, which would still
be controlled by a TutorialController).
Test: Built and went through the Back tutorial to
confirm existing funcitonality was not disrupted.
Bug: 148542211
Merged-In: Id893869cb59609141dcdbdca01744d0f5952b546
Change-Id: Id893869cb59609141dcdbdca01744d0f5952b546
2020-04-15 18:18:48 +00:00
Matt Casey
884f8f217f
Merging from ub-launcher3-master @ build 6369897
...
Test: manual, presubmit on the source branch
Bug:150504032
x20/teams/android-launcher/merge/ub-launcher3-master_6369897.html
Change-Id: Id94544cf790a7dcf0841f66648ac864bf2f530d4
2020-04-07 00:54:25 +00:00
Adam Cohen
df83c9026d
Merging from ub-launcher3-master @ build 6356169
...
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-master_6356169.html
Change-Id: Ife6c578d9a1e212eccdf3cf9a0cd838132eb90f5
2020-04-03 18:34:45 +00:00
TreeHugger Robot
402e7be703
Merge "Hybrid Hotseat a11y" into ub-launcher3-master
2020-04-02 22:27:32 +00:00
Samuel Fufa
6eaf989d98
Hybrid Hotseat a11y
...
- speak meaningful accessibility label for predicted items
- disable accessibility focus for on-boarding preview items
- add PIN as an accessibility action
- remove move and remove actions for prediction icons
Bug:152376193
Bug:152359303
Bug:152374583
Bug:152357657
Bug:152268303
Bug:152379490
Change-Id: I40fe0ef6329cd5b1d9215ac5fa1716f15db89ac8
2020-04-02 14:16:07 -07:00
TreeHugger Robot
2d652c1d6b
Merge "Show work switch tip" into ub-launcher3-master
2020-04-01 19:20:44 +00:00
Samuel Fufa
9f7f9d9e34
Show work switch tip
...
This shows a tip view on the third visit to work tab
Bug: 151407879
Test: Manual
Change-Id: Ia28860e97113f8a9c246c3a82b0a1da4a53d8e07
2020-04-01 11:43:27 -07:00
Sreyas
cd866635d9
OverviewActions - update strings for OAV AOSP.
...
Finalize the strings in overview actions for translation.
Change-Id: I2237507ff33f8fcf04a78bd4e7826383386b01ad
2020-03-31 12:34:36 -07:00
Sreyas
1963d3f3ed
OverviewActions: Adding action buttons to Oem quickstep.
...
Change-Id: Id5c0d8f1b41107535c1bac982b47f67eb2574c21
2020-03-27 16:42:10 -07:00
Samuel Fufa
0068e1861c
Personalize hotseat education
...
If a user has has 0 apps in the hotseat, jump directly to showing predications.
Otherwise show migration dialog as usual and if user rejects it, show different tips based on the number of available spots.
Bug: 142753423
Test: Manual
Change-Id: Ic5202caf074db2409f6468dd9373875571f3f3c1
(cherry picked from commit aa2aff5a8f )
2020-03-26 00:32:51 +00:00
Samuel Fufa
6b13c841c9
Beta specific hotseat opt in behavior
...
https://docs.google.com/document/d/1CKK-3vTl-SPGxx3Cwty7r69jk_vaDs9MlanbhpH85cY/edit
Bug: 142753423
Test: Manual
Change-Id: I51e949fa9962bc8e9d0cdb66d07fbe9e344fb35d
2020-03-25 15:51:01 -07:00
Samuel Fufa
aa2aff5a8f
Personalize hotseat education
...
If a user has has 0 apps in the hotseat, jump directly to showing predications.
Otherwise show migration dialog as usual and if user rejects it, show different tips based on the number of available spots.
Bug: 142753423
Test: Manual
Change-Id: Ic5202caf074db2409f6468dd9373875571f3f3c1
2020-03-24 18:37:30 -07:00
Samuel Fufa
365277a37a
Final strings for work profile and hybrid hotseat
...
Bug: 151831282
Bug: 142753423
Change-Id: I11dd21c3854b8b33fc44b2e49ca0e62c24da3310
2020-03-19 02:22:24 +00:00
Samuel Fufa
351eaedc91
Final strings for work profile and hybrid hotseat
...
Bug: 151831282
Bug: 142753423
Change-Id: I11dd21c3854b8b33fc44b2e49ca0e62c24da3310
2020-03-18 19:20:21 -07:00
Samuel Fufa
a421143dd7
Enable support for same page hotseat migration
...
Bug: 142753423
Test: Manual
Change-Id: Ib53a64629a595c412e30ca5ff46077efc73a3f3e
2020-02-27 13:47:03 -08:00
Samuel Fufa
b641ac2a62
Log Hotseat onboarding user actions
...
+ Resolve notifiaciton dot scale issue
Bug: 147336566
Bug: 148232056
Change-Id: I0120dc183a876fda38f4682425697378c7be20f3
2020-02-12 10:02:53 -08:00
Samuel Fufa
68c57419c0
Log App Predictions from AiAi
...
+ Update edu screen strings
Bug:142753423
Test:Manual
Change-Id: If2424d134a5f9d2cafa248949a249ee2c7296276
2020-01-23 16:42:31 -08:00
TreeHugger Robot
0e7a81ea0a
Merge "Change hotseat edu strings" into ub-launcher3-master
2020-01-10 17:29:39 +00:00
TreeHugger Robot
c85ab32e88
Merge "Use same content description for Recent apps" into ub-launcher3-master
2020-01-10 17:08:54 +00:00