Commit Graph

22019 Commits

Author SHA1 Message Date
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
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
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
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
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
TreeHugger Robot 795a7a6de5 Merge "Enable APP_SEARCH_IMPROVEMENTS flag." into ub-launcher3-master 2020-03-16 18:56:16 +00:00
Tracy Zhou cfe7efb7e2 Merge "Use SurfaceView to render grid preview" into ub-launcher3-master 2020-03-16 18:44:28 +00:00
jayaprakashs 3113fd8833 Enable APP_SEARCH_IMPROVEMENTS flag.
Bug: 151196870

Change-Id: I0665be5d585f64f3d43d42201a6529fd88247ca4
2020-03-16 11:06:15 -07:00
Govinda Wasserman 5c042b3539 Merge "Adds fling gesture suppression to Launcher" into ub-launcher3-master 2020-03-16 12:12:56 +00:00
Automerger Merge Worker aefcb47fa9 [automerger skipped] Import translations. DO NOT MERGE am: 1b758f2050 -s ours
am skip reason: subject contains skip directive

Change-Id: Ic4b28459bd4f3a4b6db95bb37849b56718066822
2020-03-15 02:48:55 +00:00
Bill Yi 1b758f2050 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I895ece9354f1c6f7ff5d5dc732380260a2e2142f
2020-03-14 18:50:49 -07:00
vadimt 76205b06ed Fixing LauncherAnimationRunning referring a destroyed activity
Bug: 139137636
Change-Id: Id070a98103a7116179e7ee66fabeeb33fb19b1ff
2020-03-13 18:32:46 -07:00
Tracy Zhou f601872a0a The new grid migration algorithm
go/grid-migration-v2

When changing grid from option 1 to option 2, we calculate the diff and add the icons that are in option 1 but not option 2, to option 2's workspace, according to the reading order.

Test: manual and unit tests
Fixes: 144052802

Change-Id: Id01f69e90ce656a9b7c9051fed499807ee9ac0f7
2020-03-13 14:56:38 -07:00
Vinit Nayak 3aaf396734 Remove sensor manager from RecentsView
This disables the rotation animation in
overview, but should hopefully fix tests.

fixes: 150260456
Change-Id: I121cad155672c2e325cc0f83ce209be0d3806b1c
2020-03-13 13:57:09 -07:00
Hyunyoung Song 9caed38e34 Merge "Null check every ComponentName call inside FolderNameProvider" into ub-launcher3-master 2020-03-13 16:41:17 +00:00
Tracy Zhou 85f0c3b841 Use SurfaceView to render grid preview
Demo: https://drive.google.com/open?id=1wQ8dT5bfTxSh-NRQpNBwTCkKOtOOUMPj

Bug: 150224413
Test: Manual
Change-Id: I44e7baed1bcd15351e03dcbeb2b525bc1b325478
2020-03-12 23:06:36 -07:00
Hyunyoung Song f546e0599e Null check every ComponentName call inside FolderNameProvider
Bug: 150522230
Change-Id: I50007a3a781234797e16d830935a8b8585ac242b
2020-03-12 22:33:19 -07:00