Commit Graph

2743 Commits

Author SHA1 Message Date
Tony Wickham 721a89d93a Merge "Cleanup taskbar touchableInsets" into sc-dev am: c9846dc6e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14096731

Change-Id: I5331b56137d960f1d5eea3622e8255bcf5f64937
2021-04-06 19:08:24 +00:00
Tony Wickham c9846dc6e7 Merge "Cleanup taskbar touchableInsets" into sc-dev 2021-04-06 18:36:05 +00:00
Samuel Fufa 06702c00b9 Merge "[Search][Layout] Fix blank space when predictions are disabled" into sc-dev am: 50c6a37ea9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14102304

Change-Id: I7e4b49d72b7d4fadacaeba5a372b0305908c34aa
2021-04-06 17:57:57 +00:00
Zak Cohen be66b43c9f Merge "Overview - update Clear All and Empty message drawing" into sc-dev am: fd9af2f017
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14096074

Change-Id: I8cef2fa1301f7faa0e70a12978da3724aaa7397d
2021-04-06 17:57:52 +00:00
Samuel Fufa 50c6a37ea9 Merge "[Search][Layout] Fix blank space when predictions are disabled" into sc-dev 2021-04-06 17:56:51 +00:00
Zak Cohen fd9af2f017 Merge "Overview - update Clear All and Empty message drawing" into sc-dev 2021-04-06 17:42:05 +00:00
Samuel Fufa 5461089baa [Search][Layout] Fix blank space when predictions are disabled
This regression is caused due to getExpectedHeight relying on view visibility state while AlphaUpdateListener.updateVisibility was reseting the views visibility.

Bug: 184211402
Test: local
Change-Id: Ib756f5eb8f6356a18a025626008b97fd7c77fec9
2021-04-06 04:05:20 -05:00
TreeHugger Robot 18210721e7 Merge "[Hotseat] Don't show hotseat edu in tests" into sc-dev am: ce271c1067
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14094674

Change-Id: Ib625be5cb0a041e476bc84cc9097d0e7367daa7c
2021-04-06 06:49:45 +00:00
TreeHugger Robot ce271c1067 Merge "[Hotseat] Don't show hotseat edu in tests" into sc-dev 2021-04-06 06:18:56 +00:00
TreeHugger Robot e508dd17a8 Merge "Add split placeholder view above OverviewScrim" into sc-dev am: e77fc9cc25
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14094826

Change-Id: I38e33d134b4a7727431d87932ec1716e02c8cedb
2021-04-06 03:15:42 +00:00
TreeHugger Robot e77fc9cc25 Merge "Add split placeholder view above OverviewScrim" into sc-dev 2021-04-06 02:34:19 +00:00
Tony Wickham e13a4a4475 Cleanup taskbar touchableInsets
- Remove obsolete visibleInsets hack and isDraggingItem() check
- Have TaskbarController determine whether taskbar is touchable,
  rather than TaskbarContainerView.
- Disallow touches during transition to home (can potentially
  improve this later)

Test: Swupe home, tap taskbar folder during transition, ensure
don't end up in broken state with the uninteractable folder open
Bug: 182512211

Change-Id: Id625ce8b9b876a8a1b450b7d6fb771540e23bc08
2021-04-05 17:33:44 -07:00
Zak Cohen 23b7fea6eb Overview - update Clear All and Empty message drawing
Update Clear All and Empty message to use primary color, not workspace
color, as they are drawn on floating background now, not wallpaper.

Bug: 184260454
Fixes: 184260454
Test: local build, flash and run
Change-Id: Ie8ef4b7ace3053c2068a27b7cbedbbb039fc36d8
2021-04-05 23:45:02 +00:00
Becky Qiu 41e66d7deb Merge "Shared element transition between image and sharesheet." into sc-dev am: 9b85dc836d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13926966

Change-Id: Ia460de836ff797d724d1996e9f138e86f01d6649
2021-04-05 22:57:36 +00:00
Becky Qiu 9b85dc836d Merge "Shared element transition between image and sharesheet." into sc-dev 2021-04-05 22:18:34 +00:00
Samuel Fufa 2043f2009f [Hotseat] Don't show hotseat edu in tests
Bug: 180972179
Test: presubmit
Change-Id: I2e82c0c90804d0149717ebdcd83fdac9c822ce7d
2021-04-05 16:49:47 -05:00
Zak Cohen 326ac3b06b Merge "Overview - add the ability to color scrim task views." into sc-dev am: 7ec7c22b07
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14066161

Change-Id: Ib099cef7e9f26b77e161c0b8cf1f58a6223bd6c2
2021-04-05 21:37:16 +00:00
Samuel Fufa 185253e2d5 [Search][Motion] Normal<->AllApps transition revamp am: ee9aff9b5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13900476

Change-Id: I76a17e05879a7309d2005b6c76a0d64ce196acc4
2021-04-05 21:36:24 +00:00
Zak Cohen 7ec7c22b07 Merge "Overview - add the ability to color scrim task views." into sc-dev 2021-04-05 21:05:25 +00:00
Vinit Nayak e3f7d0d1b4 Add split placeholder view above OverviewScrim
Only show single split option for landscape and
seascape overview menu options.

Bug: 181705607
Change-Id: I577fbaed41b5debd007c953851ec2056988057d9
2021-04-05 12:41:06 -07:00
Sreyas 8a9cc9689a Shared element transition between image and sharesheet.
Bug: 182373655
Test: Manual
Change-Id: I6f5abffa0c4911d939ba45476fe1301d65b840cf
2021-04-05 19:15:55 +00:00
Samuel Fufa ee9aff9b5b [Search][Motion] Normal<->AllApps transition revamp
Preview video attached to BR

Key changes:

- SearchUiManager#getScrollRangeDelta is removed. AllApps initial vertical offset is now controlled by deviceProfile.allAppsOpenVerticalTranslate.
- ShelfScrimView is renamed to AllAppsScrimView. Scrim no longer does vertical translate with AllApps open.  Shelf/overview related code removed.
- Scrim and AllApps content transition are animated with different interpolators. Scrim color is a blend of accentColor and allAppsScrim with proportion determined by progress*TINT_DECAY_MULTIPLIER

Bug: 183001675
Test: Manual
Change-Id: Id6bde7ee65c55c83c2973fe41f458b9364d39ecd
2021-04-05 13:32:51 -05:00
Zak Cohen ec4407b4ef Overview - add the ability to color scrim task views.
Bug: 184202238
Test: local build and flash
Change-Id: If700cb6dffc3966fe860c40d98d40a5899c236e4
2021-04-05 11:17:02 -07:00
Alex Chau d1c72d3116 Merge "Focus running task in overview grid" into sc-dev am: 5bd9ba2a80
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13973225

Change-Id: Ide467f1966ace3e8bfd72cae21e64d1324eda62e
2021-04-02 04:22:39 +00:00
Alex Chau 5bd9ba2a80 Merge "Focus running task in overview grid" into sc-dev 2021-04-02 03:57:58 +00:00
TreeHugger Robot 72e6426a5c Merge "Fixing notification dots settings not updated properly" into sc-dev am: 20efbbbb1c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14056550

Change-Id: I37edb3687cc75426d5a91d20dc843ab719b64aea
2021-04-01 20:34:48 +00:00
Sunny Goyal 8924c1d84d Merge "Removing some unused classes" into sc-dev am: 7a5b6f868a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14053587

Change-Id: I3195c57057d7ea1202837dafec186e86a35d3c82
2021-04-01 20:33:09 +00:00
TreeHugger Robot 20efbbbb1c Merge "Fixing notification dots settings not updated properly" into sc-dev 2021-04-01 20:14:34 +00:00
Sunny Goyal 7a5b6f868a Merge "Removing some unused classes" into sc-dev 2021-04-01 20:11:14 +00:00
Alex Chau dfde4d96ea Focus running task in overview grid
- calculateTaskSize now returns the Rect for focused task
- Introduced calculateGridTaskSize for non-focused task, and translate non-focused tasks to fit the grid
- As Task Rect is now vertically centered, removed ClearAllButton's grid vertical translation
- When ClearAllButton is not shown (e.g. quickswitch), make sure ClearAllButton's scroll won't be used when page snapping. This happens when page scrolls are translated so they're negative.
- Added back ActionsView when task is focused below the TaskView, which become invisible as you scroll
- In Modal state, move the ActionsView down so it won't cover the TaskView

Bug: 175939487
Test: manual
Change-Id: Idfa94a51f856418adc0503cf04211dcb4b1814fe
2021-04-01 14:52:25 +01:00
Winson Chung 68416ba426 Merge "Expose the full task info with the remote animation target" into sc-dev am: 80988abae3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13927514

Change-Id: Iaf10c3f0dd9c18dd5a191270333122bde652b001
2021-04-01 04:00:05 +00:00
Winson Chung 80988abae3 Merge "Expose the full task info with the remote animation target" into sc-dev 2021-04-01 03:56:56 +00:00
Sunny Goyal 58530bd64b Fixing notification dots settings not updated properly
Also avoiding settings cache reset whenever someone registers
a new listener

Bug: 184200027
Test: Manual
Change-Id: I0c8b7084b6b4656102e9041b779b80a98624ddd8
2021-03-31 15:57:49 -07:00
Marvin Bernal 100256c7c4 Merge "Add System Back function to SystemUiProxy" into sc-dev am: a090cfc836
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14040067

Change-Id: I8466fe6457470e4bb79895fe6d4053994e030d5d
2021-03-31 21:12:18 +00:00
Zak Cohen 9ca302cc4f Merge "Overview - update UI to use solid color scrim." into sc-dev am: 00611188e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14036591

Change-Id: I2aa43861a43616f018604a42625fb34fa543dfb1
2021-03-31 21:11:37 +00:00
Marvin Bernal a090cfc836 Merge "Add System Back function to SystemUiProxy" into sc-dev 2021-03-31 20:59:03 +00:00
Zak Cohen 00611188e5 Merge "Overview - update UI to use solid color scrim." into sc-dev 2021-03-31 20:34:00 +00:00
Sunny Goyal 157a9ee7dd Removing some unused classes
Bug: 184183801
Test: Manual
Change-Id: I946b4b4d486d52e467bb3df7dcac65e534803b7d
2021-03-31 12:59:57 -07:00
Zak Cohen a547b781ee Overview - update UI to use solid color scrim.
Also required updates to colors and status bar icons to match with new
color.

Bug: 179922117
Test: local build and flash on two devices

Change-Id: Ibec54107f52c01f125e6d100abe32434f2067b71
2021-03-31 11:25:41 -07:00
Alex Chau 638d50b035 Merge "Changes page alignment in PagedView calcualtion" into sc-dev am: 21dfadab76
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14018930

Change-Id: Ic9d43d0a62fe2b92e04609a149438dc0ad289479
2021-03-31 11:03:01 +00:00
Alex Chau 21dfadab76 Merge "Changes page alignment in PagedView calcualtion" into sc-dev 2021-03-31 10:36:12 +00:00
TreeHugger Robot 7afac06821 Merge "Using an independent drawable for rounded corners" into sc-dev am: 70c3d5f98b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14015805

Change-Id: Ie3e1c530bf5c2a361707679f15d52a6633c05c73
2021-03-31 09:42:39 +00:00
TreeHugger Robot 70c3d5f98b Merge "Using an independent drawable for rounded corners" into sc-dev 2021-03-31 09:02:00 +00:00
Marvin Bernal 3804f91a46 Add System Back function to SystemUiProxy
Bug: 183988752
Test: mp launcher
Change-Id: Iaddd1f8a9440c80840209d653c0b3e59b8138a26
2021-03-31 01:37:18 +00:00
Tony Wickham ffba11d89a Merge changes I2af1792e,Ice314d46,Ib17d4a5e into sc-dev am: 7e7116278b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989016

Change-Id: Id2fbb744423c5160f7c7fb4d5e746325454c9f53
2021-03-30 23:11:55 +00:00
Tony Wickham 7e7116278b Merge changes I2af1792e,Ice314d46,Ib17d4a5e into sc-dev
* changes:
  Invert StateAnimationConfig.PLAY_ANIMATION as SKIP_ALL_ANIMATIONS
  Remove Overview atomic animation support
  In 2 button mode, animate to HINT_STATE instead of OVERVIEW directly
2021-03-30 22:27:07 +00:00
Sunny Goyal 940c27ef1a Using an independent drawable for rounded corners
Bug: 183641907
Test: Manual
Change-Id: I3114d43d07c03884348e1c33805545f19bb8d540
2021-03-30 14:47:44 -07:00
Sunny Goyal c12e51db94 Merge "Simplifying all-apps seach pipeline" into sc-dev am: 07fb2fea34
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14022231

Change-Id: I8e396949acabf56638574b16b9b70025a8092aa1
2021-03-30 20:09:16 +00:00
Sunny Goyal 07fb2fea34 Merge "Simplifying all-apps seach pipeline" into sc-dev 2021-03-30 19:50:23 +00:00
Hongwei Wang c9bf5df98e Merge "Pass the whole auto pip transaction to recents animation" into sc-dev am: d21362a5a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13922245

Change-Id: I34a6de51cbcd5aa91253fb768a6ed6f1f676992a
2021-03-30 19:48:35 +00:00