Commit Graph

22131 Commits

Author SHA1 Message Date
Andy Wickham 3e34dd3791 Adds back gesture recognition to Sandbox.
This is used to step through the "happy path" of the existing
back tutorial steps (right edge and left edge). Unlike in the
Pixel Tips app, the tutorial only continues if you perform the
gesture from the correct edge of the screen.

This also lays the groundwork to provide helpful tips if the
expected gesture is performed incorrectly, although currently
such gestures are just ignored.

Demo: https://drive.google.com/open?id=12S42mZQITGzIWnj7mP1L__PCOgAQcjgp

Bug: 148542211
Change-Id: Ib2e0b2ff7c021db48c96d58e1370fa2e93330912
2020-03-20 01:01:49 +00:00
TreeHugger Robot c21eb0f483 Merge "[Overview Actions] Hide overview actions when swipe down to launch app." into ub-launcher3-master 2020-03-19 23:48:30 +00:00
Tony Wickham d6f917f182 Support blacklisting live wallpapers from showing sysui scrims
Add wallpaper changed broadcast receiver to BaseDragLayer, which
checks if the new wallpaper is blacklisted and relays that to
remove the scrims.

Bug: 150144115
Change-Id: I55b7b98fdd419cd76532492461a872367efed67b
2020-03-19 16:32:33 -07:00
Becky Qiu 445de0e579 [Overview Actions] Hide overview actions when swipe down to launch app.
Test: demo video: https://drive.google.com/a/google.com/file/d/122DNdDhInp5KALSOcfNLhl19eDm4zKcf/view?usp=sharing
Bug: 151928222
Change-Id: I837df884c78b297dbddf770e526340cb83530984
2020-03-19 16:00:56 -07:00
vadimt d8070756f1 Making sure the device doesn't lock during test execution
Unlocking the device at the beginning
of the test does help, but perhaps we should prevent
locking during the test execution.
Some failures still remain.

Bug: 151613234
2020-03-19 20:33:47 +00:00
TreeHugger Robot 75bb8309c1 Merge "Fixing taskView is recycled with visibility gone when dismissed" into ub-launcher3-master 2020-03-19 19:51:01 +00:00
Jonathan Miranda ba2873a384 Merge "Polish app open scrim animation." into ub-launcher3-master 2020-03-19 19:44:37 +00:00
Sunny Goyal 6feb4b638e Fixing taskView is recycled with visibility gone when dismissed
Bug: 151883828
Change-Id: I89d6ed78e1713b1e69e8c7075c638692902f5842
2020-03-19 12:00:44 -07:00
Jon Miranda 42e7c503e1 Polish app open scrim animation.
We used to hide the scrim animation immediately, now we fade it out along with
the rest of the draglayer.

Also uses staggered workspace animation when resuming launcher from other
means ie. back gesture -> home

Bug: 145242991
Change-Id: Ib2161746f79ae5eaceac02d1416aa9bd7ecfeac4
2020-03-19 11:59:59 -07:00
Vadim Tryshev 48561793b6 Merge "Unlocking device from the test" into ub-launcher3-master 2020-03-19 18:50:38 +00:00
TreeHugger Robot 02c4a73716 Merge "[Overview Actions] Hide task view footers when it's modal." into ub-launcher3-master 2020-03-19 18:05:07 +00:00
vadimt 14b60d77b7 Unlocking device from the test
This is a workaround for the infra not unlocking
the device properly.

I don't have access to may machine, so
I've created this CL in Gerrit editor, didn't test,
but it should work.

Bug: 151613234
2020-03-19 17:59:34 +00:00
Samuel Fufa ef1d1b93e4 Merge "Final strings for work profile and hybrid hotseat" into ub-launcher3-master 2020-03-19 06:05:13 +00:00
Tracy Zhou 30fb3f1983 Merge "Enable USE_SURFACE_VIEW_FOR_GRID_PREVIEW flag" into ub-launcher3-master 2020-03-19 05:48:03 +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
Tracy Zhou 269f30fb9b Merge "Set default value of gridName to current grid name in GridOptionsProvider" into ub-launcher3-master 2020-03-19 02:17:19 +00:00
Becky Qiu 739a66eb8c [Overview Actions] Hide task view footers when it's modal.
Demo: https://drive.google.com/a/google.com/file/d/1sXfHG0aMe7OzmIx7uZLAincvg6KizCLj/view?usp=sharing

Test: local
Bug: 151745339
Change-Id: Icf1263b87dbada2025a2d494bf1f2f067584f8c4
2020-03-18 17:41:35 -07:00
Winson Chung cd5977983d Merge "Update window threshold in both directions" into ub-launcher3-master 2020-03-19 00:11:16 +00:00
Tracy Zhou 42255d22a7 Set default value of gridName to current grid name in GridOptionsProvider
With grid preview, a grid name is passed in when requesting preview under different grid setting. With wallpaper preview, no such grid name will be passed in, and it should be set to the current.

Bug: 145242344
Test: N/A
Change-Id: I282cb5341b7f3756d41c4abd8d97f986abaa6d27
2020-03-18 16:52:28 -07:00
TreeHugger Robot 2b5837f28f Merge "Adding additional logs to debug synchronous modification of update listeners" into ub-launcher3-master 2020-03-18 23:01:31 +00:00
Lucas Dupin e73d415bcc Merge "Add wallpaper zoom to areas that have blur" into ub-launcher3-master 2020-03-18 21:59:33 +00:00
Sunny Goyal b6fe161f58 Adding additional logs to debug synchronous modification of update listeners
Bug: 151665474
Change-Id: I6f2d900852bd8dc76249781ab15cb6c269dd7a7a
2020-03-18 14:03:49 -07:00
TreeHugger Robot dfa091c0e9 Merge "Decoupling some drag and drop code handling" into ub-launcher3-master 2020-03-18 20:43:38 +00:00
Lucas Dupin 4918ed38d2 Add wallpaper zoom to areas that have blur
Whenever blurring, the wallpaper should also zoom out. This is the
mental model of our Depth System.

Test: manual
Bug: 149792636
Change-Id: I1783eb87fefeb6f917f0ba64f2c6ec8f1f2004fa
2020-03-18 13:29:58 -07:00
Sunny Goyal 9b18010990 Decoupling some drag and drop code handling
> Removing some special checks around accessibility drag
> Unifying folder alarm code path for accessible and normal DnD
> Maintaining mDragStartTime inside the dragDriver instead of the callers
> Simplifying some accessibility callbacks

Future cl will create a Accessibility DragDriver and unify it with
other DnD flow

Change-Id: I1919ef218de0174678110f271b450bcb9aaf4a5c
2020-03-18 12:41:42 -07:00
Jon Miranda 9794d4d52a Ensure current animation is cancelled before building new folder animation.
Fixes bug where folder clip padding gets stuck as false.

Bug: 146884730
Change-Id: I3a24e561d15fbc46837bb21cd8f97283e69f9ce1
2020-03-18 12:26:37 -07:00
Winson Chung dcc651d091 Update window threshold in both directions
- Only use the task flags when we should be using the home screen state

Change-Id: I1b0f682eb9c2861b36953da7695c798c187db517
2020-03-18 11:17:23 -07:00
vadimt 5e46f072b4 Fixing TouchInteractionService referring destroyed activity
Bug: 139137636
Change-Id: I2d36bcd9478e070e21cb6c8e2cde617807af8dd1
2020-03-18 09:42:38 -07:00
Tracy Zhou 39467a9a27 Enable USE_SURFACE_VIEW_FOR_GRID_PREVIEW flag
This flag is behind grid_options flag, so it's safe

Fixes: 150224413
Test: N/A
Change-Id: Icebb4b8476d987a7f1697115183058a2345e6acc
2020-03-17 18:29:24 -07:00
TreeHugger Robot 0465b4d71e Merge "Show IME suggestions while tapping on Folder EditText" into ub-launcher3-master 2020-03-18 00:54:25 +00:00
TreeHugger Robot bc2424d726 Merge "Force finishing spring animation on second touch, if the animation is close to completion" into ub-launcher3-master 2020-03-17 23:28:25 +00:00
jayaprakashs 9c05d2db04 Show IME suggestions while tapping on Folder EditText
Current behaviour doesn't show the suggestions in IME if the folder
name is non-empty (Shown only if the folder name is empty).

This change shows the IME suggestions always, but primary suggestions
are shown only if the folder name is empty (not overwritting the
current folder name with suggestion).

Bug: 151762006

Tested: on phone. (created a folder name, assigned custom name, added
    the third app to Folder, tap on Folder EditText and it shows IME
    suggestions)
Change-Id: Ic4d43660a371b8dd7d18acb42fe3dee06a730347
2020-03-17 16:20:05 -07:00
Jonathan Miranda af106d3c0a Merge "Add staggered workspace animation to keyguard unlock animation." into ub-launcher3-master 2020-03-17 22:31:11 +00:00
Sunny Goyal 26729a129a Force finishing spring animation on second touch,
if the animation is close to completion

Bug: 151180649
Change-Id: I7085bb76d4937910d55cbaf1cb71a0e6c24922d5
2020-03-17 15:02:21 -07:00
Jon Miranda c298078241 Add staggered workspace animation to keyguard unlock animation.
Added behind FeatureFlag.KEYGUARD_ANIMATION due to dependency on
Ie94ab8ecd35e9dcc28d0b8f7aaeb058e15b0f80b.

Added dynamic resource unlock_staggered_velocity_dp_per_s so that the
animation can be tuned.

Bug: 151238866
Change-Id: I4d349d32cc7d86be3cdc582c2a7c565be2931444
2020-03-17 14:27:35 -07:00
Vinit Nayak 28cb71ba18 Default fixed_rotation to off
Change-Id: I83f9f58acb1718ee4fc19530a3e8b25badefda0e
2020-03-17 14:15:32 -07:00
Sunny Goyal 9ed7515314 Fixing NPE on app launch logging
Bug: 149969889
Change-Id: I2f3802df1dff76b91df330350783db2b7730f6d6
2020-03-17 12:06:24 -07:00
Tracy Zhou 24b449d557 Merge "The new grid migration algorithm" into ub-launcher3-master 2020-03-17 06:44:22 +00:00
Sunny Goyal 61c14cb1b2 Settings title update as per string review
Bug: 143267842
Change-Id: Ifee59c170ddd625e1cf6591aa030f8b3aed1b6ff
2020-03-16 20:55:58 -07:00
TreeHugger Robot c73071281b Merge "Moving animation config so a separate class" into ub-launcher3-master 2020-03-17 03:39:41 +00:00
TreeHugger Robot 7ea4409ca7 Merge "Fixing LauncherAnimationRunning referring a destroyed activity" into ub-launcher3-master 2020-03-17 03:07:35 +00:00
TreeHugger Robot 9aa000e4aa Merge "Apply localBounds / screenSpaceBounds for RemoteAnimationTarget in Launcher" into ub-launcher3-master 2020-03-17 02:54:02 +00:00
Sunny Goyal f3ac703256 Moving animation config so a separate class
Using PendingAnimation for animation builder.
This will allow us to easily add SpringAnimation to stateAnimation

Change-Id: I8d88489a5da6fc85747ef9be7c13858b441cd28a
2020-03-16 19:36:36 -07:00
TreeHugger Robot 29082d894b Merge "Overview actions-adds feature flag for select mode" into ub-launcher3-master 2020-03-17 00:44:37 +00:00
Vadim Tryshev 661e0f18ea Merge "Using cmd overlay enable-exclusive to switch nav modes" into ub-launcher3-master 2020-03-17 00:08:54 +00:00
Zak Cohen 56280a314e Overview actions-adds feature flag for select mode
Adds a feature flag for whether select mode is available or not.

Test: local
Change-Id: Ia3bc920b47083b238dd7be3dae6c1f0216bc61e5
2020-03-16 16:38:22 -07:00
Samuel Fufa 42c5f9b833 Hide hybrid hotseat for dp3
Bug:142753423
Change-Id: I3b1c89ccf81b6d199f8911b64b329f50582a1225
2020-03-16 15:23:51 -07:00
Automerger Merge Worker d3efedc09f [automerger skipped] [DO NOT MERGE] Enable APP_SEARCH_IMPROVEMENTS flag. am: 6b6dbc3442 -s ours
am skip reason: subject contains skip directive

Change-Id: I36aaad811f906d9245302192c62c8931dfc4fd45
2020-03-16 20:28:52 +00:00
jayaprakashs 6b6dbc3442 [DO NOT MERGE] Enable APP_SEARCH_IMPROVEMENTS flag.
Bug: 151196870

Merged-In: I0665be5d585f64f3d43d42201a6529fd88247ca4
Change-Id: I0665be5d585f64f3d43d42201a6529fd88247ca4
2020-03-16 12:45:04 -07:00
vadimt ccf083dc7d Using cmd overlay enable-exclusive to switch nav modes
Bug: 151598694
Change-Id: I7df6b7538f7233163868065b866b610c45dc7b46
2020-03-16 12:43:10 -07:00