Commit Graph
11641 Commits
Author SHA1 Message Date
Samuel Fufa 0ab219690f Merge "[Search] Update all apps header protection" into sc-dev am: b1114a9834 am: 6019318f9e am: aeb6e508d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14628251

Change-Id: I0dda426f8540a8e52f541acdb590a5bea576b21b
2021-05-20 04:41:33 +00:00
TreeHugger Robot ca2869bcc0 Merge "Folder polish" into sc-dev am: 1e558a2f4c am: 6e1059810e am: 078c4437d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14625965

Change-Id: I0df68083836f9eb2a84fcd197917757ae7848d01
2021-05-20 04:41:12 +00:00
Alex Chau c83d631254 Launcher feature flags for large screen am: 59da8e5a9d am: 9426e6095f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14638724

Change-Id: I2bdbca932205f62fc985455d55fe2bf8e66365a7
2021-05-20 04:40:40 +00:00
Sunny Goyal ca7a8eb4ba Merge "Removing number of threads used in background execution to prevent system thrashing" into sc-dev am: 194dcc0fd3 am: 37a9399471
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14626498

Change-Id: I771de61dc92f071e7ddef477429fbb6d8619c52a
2021-05-20 04:40:30 +00:00
TreeHugger Robot 2f33d8defc Merge "Adding a shared-pref to control icon theming" into sc-dev am: de94720354 am: a309b6b86c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14604160

Change-Id: I64f7bcbb7827f5ea737a8b48c812d114b96d3142
2021-05-20 04:40:19 +00:00
Samuel Fufa 3aabf895fe Merge "Fix header protection interactions" into sc-dev am: b605d1d73c am: dc84ce57d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14601721

Change-Id: I406e888619a6e765cedbf301851b67bda8e2eab8
2021-05-20 04:40:09 +00:00
Sunny Goyal 1a2cbe8dab Merge "Moving taskbar lifecycle to TouchInteractionService" into sc-dev am: 5bb515b6cc am: 3cb1237308
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14445701

Change-Id: Ic448fef7308f15e5eb919438f9cd463e143a9b9d
2021-05-20 04:39:40 +00:00
Jonathan Miranda 0fa1830c7b Merge "Add WorkspaceRevealAnim, successor to StaggeredWorkspaceAnim." into sc-dev am: 7d4aaaa73d am: 3183befc61
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14523564

Change-Id: I129e5804fbd866b802930f9a7bd9b2ca49e657b9
2021-05-20 04:39:35 +00:00
Pat Manning 992634e187 Merge "Animate task translation on dismissal." into sc-dev am: 049434a504 am: ba1b527d75
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14294872

Change-Id: Iab77ffd72bbfee0539e287029506e566cb41c2c4
2021-05-20 04:39:23 +00:00
Hyunyoung Song 8fb6e533e7 Merge "Catch NPE for AllAppsContainerView.dispatchRestoreInstanceState" into sc-dev am: b83e8f614a am: 7945a3e78f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14598100

Change-Id: I32148618ff6465721c04dbe7c9e2fad344aca4b6
2021-05-20 04:38:52 +00:00
Steven Ng 6076c7c0d8 Merge "Add a scrim underneath the top section of search & recommendation UI" into sc-dev am: c47d8a027d am: 1f2a9b26e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14549882

Change-Id: Ide25128be205a0a2552e3d1d66fa27c3dc878c9b
2021-05-20 04:38:32 +00:00
TreeHugger Robot 55c9481cad Merge "Revert to overview coming from the side instead of bottom" into sc-dev am: 6facaad569 am: 504fbe1764
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14554677

Change-Id: I01a560126f963131e10dabd006a6a924d40a4e05
2021-05-20 04:37:24 +00:00
Alina Zaidi db50be6fef Merge "Modify pin widget dialog open-close animation." into sc-dev am: f0e11cbbc3 am: 998441d729
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14488296

Change-Id: I67245142c3ad89a678c562988fb960d33468a728
2021-05-20 04:37:19 +00:00
Hyunyoung Song 2eb5c89fa9 Merge "Fix searchbox font and other specs" into sc-dev am: be26cb271f am: 5a981e2a56
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14543544

Change-Id: Icc9c4f17c8e746b8b51766ff76750e7ed67a0b92
2021-05-20 04:36:52 +00:00
Yogisha Dixit 95c7c14d08 Merge "Log widget features." into sc-dev am: 07449132fb am: f51b28150c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14487017

Change-Id: I802edc6d02b0d7ba72c323c0a5e0b7b2a332a60e
2021-05-20 04:36:40 +00:00
Samuel Fufa 6019318f9e Merge "[Search] Update all apps header protection" into sc-dev am: b1114a9834
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14628251

Change-Id: I7307d0599972bb7a13ff76e8b1906ecab36125f7
2021-05-19 19:09:51 +00:00
Samuel Fufa b1114a9834 Merge "[Search] Update all apps header protection" into sc-dev 2021-05-19 19:00:33 +00:00
TreeHugger Robot 6e1059810e Merge "Folder polish" into sc-dev am: 1e558a2f4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14625965

Change-Id: Ic291da103051a18efc9acf7fe3531fc366e6a8c3
2021-05-19 18:22:41 +00:00
TreeHugger Robot 1e558a2f4c Merge "Folder polish" into sc-dev 2021-05-19 18:00:18 +00:00
Jon Miranda e3104682fb Folder polish
- Update folder hint text to ensure enough contrast.
- Clamp down on alpha when animating to local color extraction
- Update colors to new spec.

Bug: 179209484
Bug: 175329686
Test: manual
Change-Id: I9471504e10f02630ae13b2c478ced1ee05bd5220
2021-05-19 14:03:09 +00:00
Alex Chau 59da8e5a9d Launcher feature flags for large screen
- Enable TaskBar, Grid Overview and Two Panel

Bug: 188409266
Test: Manual
Change-Id: I55457b1ad98726cf7d7869fe96e0c4412b891d0b
2021-05-19 08:03:24 +00:00
Sunny Goyal 194dcc0fd3 Merge "Removing number of threads used in background execution to prevent system thrashing" into sc-dev 2021-05-19 06:23:10 +00:00
TreeHugger Robot de94720354 Merge "Adding a shared-pref to control icon theming" into sc-dev 2021-05-19 02:50:03 +00:00
Samuel Fufa 76b33404b5 [Search] Update all apps header protection
- Introduce spacing between header protection and search box
- introduce vertical padding for "personal | work" tab
- animate tab header protection color change when docking

Test: Manual
preview: https://drive.google.com/file/d/1eS4B7hcLExxCdjSp1IzBcziKm-9w87UR/view?usp=sharing&resourcekey=0--mtY6bCC9GJpFSUC8I5d6w
Bug: 184946772
Change-Id: I840af27c7557f1dffd7a15874aa09833514b4bb1
2021-05-18 17:14:14 -05:00
Sunny Goyal 01c32a69be Adding a shared-pref to control icon theming
Bug: 183641907
Test: Manual
Change-Id: I640a8473c9ca4acfded9ebbfa823e437c3a42b45
2021-05-18 14:25:21 -07:00
Sunny Goyal a76bc76317 Removing number of threads used in background execution
to prevent system thrashing

Bug: 188541475
Test: Presubmit
Change-Id: Iff73abeab813d1b80a1ff85b69723dce0bef8005
2021-05-18 13:43:50 -07:00
Winson Chung 4b41c4e8cb Merge "Add a content overlay for auto-enter w/o a source hint rect" into sc-dev am: 8b74cbbf96 am: 854122d6d4 am: 47dc7da52e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14102623

Change-Id: I4aaabd07083ef0c8a18a1557fe347a80e3f0428b
2021-05-18 20:22:03 +00:00
Samuel Fufa b605d1d73c Merge "Fix header protection interactions" into sc-dev 2021-05-18 19:00:37 +00:00
Sunny Goyal 5bb515b6cc Merge "Moving taskbar lifecycle to TouchInteractionService" into sc-dev 2021-05-18 17:17:27 +00:00
Jonathan Miranda 7d4aaaa73d Merge "Add WorkspaceRevealAnim, successor to StaggeredWorkspaceAnim." into sc-dev 2021-05-18 16:46:12 +00:00
Samuel Fufa 0a709374ae Fix header protection interactions
Bug: 184711608
Bug: 187790639
Preview: https://drive.google.com/file/d/1MDh71t8DQn0SxTQY3-GZTfIlGECQs_Kn/view?usp=sharing&resourcekey=0-ep9C3q9Meo8cQShVJqnKEw
Test: Manual
Change-Id: I9c939a894adc3e9cd1ed1beb7c11f9c2dd673824
2021-05-18 16:28:55 +00:00
Pat Manning 049434a504 Merge "Animate task translation on dismissal." into sc-dev 2021-05-18 09:32:19 +00:00
Sunny Goyal e215fb730b Moving taskbar lifecycle to TouchInteractionService
> Inflating taskbar views with a non-launcher window context
> Removing separate taskbar view in Launcher
> Handling taskbar icon clicks directly instead of going via launcher
> Fixing some relayouts during show/hide animation

Bug: 187353581
Test: Manual
Change-Id: Ia7d44acbb770bf0345922234b3daa5cc040a5843
2021-05-17 21:47:08 -07:00
Jon Miranda 7d2dfcfb3f Add WorkspaceRevealAnim, successor to StaggeredWorkspaceAnim.
- Added support for widgets for the new close animation.
- This anim is used with the new app close.
- This anim is not compataible with the old app close, so we need to
  keep StaggeredWorkspaceAnim in case we turn the app close flag off.

- We will also use this anim in the lockscreen to launcher anim, will
  connect them in a follow up CL.

Bug: 188413065
Bug: 173107751
Test: manual
Change-Id: Icab3fd700f2c268bb1c4509a37466e4e6748f789
2021-05-17 23:04:07 +00:00
Hyunyoung Song b83e8f614a Merge "Catch NPE for AllAppsContainerView.dispatchRestoreInstanceState" into sc-dev 2021-05-17 21:44:16 +00:00
Steven Ng c47d8a027d Merge "Add a scrim underneath the top section of search & recommendation UI" into sc-dev 2021-05-17 17:51:41 +00:00
TreeHugger Robot 6facaad569 Merge "Revert to overview coming from the side instead of bottom" into sc-dev 2021-05-17 17:04:43 +00:00
Alina Zaidi f0e11cbbc3 Merge "Modify pin widget dialog open-close animation." into sc-dev 2021-05-17 16:51:50 +00:00
Pat Manning cc64218e68 Animate task translation on dismissal.
Test: manual
Bug: 186416527
Fix: 186416527
Change-Id: I3919b96b96fdd490e15968b7c2e680dad7f6e5d6
2021-05-17 16:21:38 +00:00
Hyunyoung Song be26cb271f Merge "Fix searchbox font and other specs" into sc-dev 2021-05-17 15:56:36 +00:00
Hyunyoung Song 05d3e86401 Fix searchbox font and other specs
Bug: 187654557
Test: manual, see attached image on the bug

Change-Id: I570df1bcc926258ca406810ea10b3d1fdd3cd2ec
2021-05-17 01:08:44 -07:00
Hyunyoung Song 2cecad8e75 Catch NPE for AllAppsContainerView.dispatchRestoreInstanceState
TL;DR;;
Missing view id for work profile recycler view
caused restore failure as there are different type of
views that contains same id. However, even after that fix,
lack of view id in slice views generated by other process
causes failure when mFlags on these not restored slice
views needs to be accessed.

Bug: 186596139
Test: manual
Change-Id: I8a97598c27acbc05ac8a39c50fe5862e541d62ad
2021-05-17 00:47:28 -07:00
Yogisha Dixit 07449132fb Merge "Log widget features." into sc-dev 2021-05-15 15:07:40 +00:00
Winson Chung 8b74cbbf96 Merge "Add a content overlay for auto-enter w/o a source hint rect" into sc-dev 2021-05-14 23:44:24 +00:00
Yogisha Dixit 0b15c7ee07 Log widget features.
Design doc: go/widgets-logging
Note that this doesn't log dynamic colors yet. I'll work on that in a
follow-up CL.

Bug: 185778648
Test: manual
Change-Id: I04249ef267907b4112c220fb206e077d1bee783a
2021-05-15 00:26:41 +01:00
Tony Wickham 82d5a0681d Revert to overview coming from the side instead of bottom
Test: Visually checking all of these. As appropriate, repeat in 0, 2, 3
button modes, landscape/portrait/fake landscape, and 3P launcher
- Quick switch from home
- Home to overview
- Overview to home (swipe up)
- Overview to home (tap outside)
- Overview to home (back invocation)
- Quick switch from app
- Swipe up and hold from app
- Dismiss an app
- Empty recents
- Split select state to home
- Modal state to home
Fixes: 185411781

Change-Id: If00a22fee35c832a259bfc62808efbac5990ce2e
2021-05-14 16:06:44 -07:00
Tony Wickham dd2c6aaa3d Merge "Fix AnimatorListeners.forEndCallback()" into sc-dev am: 41c73d4a23
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14554337

Change-Id: If2de7a4269c82faad883df9bbfa0f73893a534e7
2021-05-14 22:30:29 +00:00
Tony Wickham 38dd6ec901 Fix AnimatorListeners.forEndCallback()
Override onAnimationEnd(Animator), rather than (Animator, boolean)
which may not be called.

Test: Swipe right to quick switch from home, then swipe back left
(in the same gesture), ensure next quick switch isn't broken.
Bug: 185554764

Change-Id: I53e7526ed5b55fbae9aa654ace70a6ef7561e1d8
2021-05-14 14:49:08 -07:00
Alina Zaidi d80cec62b4 Modify pin widget dialog open-close animation.
Pin widget sheet should open from bottom up and close on drag down.
Behaviour with navigation bar is similar to that of widgets bottom sheet.

Add a drag layer and reuse AbstractSlideInView for open-close
animation.

Test: Tested manually- opening, closing through dragging/ cancel button/
back button. Adding widget to screen by dragging/ add to home screen
button.
Bug: 186124244

Change-Id: I4b77d5bdd4ed1689b651847dfed69d19cafa7456
2021-05-14 17:59:50 +01:00
Sunny Goyal 8324cd0d58 Merge "Revert "Revert "Exposing AnimatorListeners in StateManager to receive both success and failure callback""" into sc-dev am: 10dfa61db8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14532343

Change-Id: I5cbd3a1fbd5370e52b2748e9545beec232bd016f
2021-05-14 16:04:45 +00:00