Commit Graph

12946 Commits

Author SHA1 Message Date
TreeHugger Robot
1f920c4494 Merge "[Search] Scale up small search icons on drag start" into sc-v2-dev am: 198030c1e0 am: fc659b35d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15987006

Change-Id: I0ba838e7cb58508217c0a979fbf5fb1c7d096c75
2021-10-09 05:28:33 +00:00
TreeHugger Robot
198030c1e0 Merge "[Search] Scale up small search icons on drag start" into sc-v2-dev 2021-10-09 05:01:30 +00:00
Samuel Fufa
c75cdd4d6c Merge changes I097134c4,Icfe39c30 into sc-v2-dev am: 8469dc98c6 am: 9029902721
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15998125

Change-Id: I5b3d7943f58aa4858cb592c9335e1ec54eab3691
2021-10-08 23:07:07 +00:00
Samuel Fufa
8469dc98c6 Merge changes I097134c4,Icfe39c30 into sc-v2-dev
* changes:
  [Work profile][Test] Remove tracing logs for testWorkeduFlow
  [Work Profile] Enable work profile tests
2021-10-08 22:37:09 +00:00
Jonathan Miranda
d85ab8c8d8 Merge "Update folder preview and folder background colors." into sc-v2-dev am: 273aa1c7af am: 6e7544f0a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15998135

Change-Id: I0f688a0eb7e490f97043dd347eb97cb0e5b6654e
2021-10-08 18:49:08 +00:00
Jonathan Miranda
273aa1c7af Merge "Update folder preview and folder background colors." into sc-v2-dev 2021-10-08 18:22:06 +00:00
Thales Lima
919aed4e78 Merge "launcher: refactoring variables into arrays" into sc-v2-dev am: 292a993c4a am: ca8a29846d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992133

Change-Id: Ia22d7339c83468fb7799d7cb0bb7c168de0389bc
2021-10-08 16:44:01 +00:00
Thales Lima
292a993c4a Merge "launcher: refactoring variables into arrays" into sc-v2-dev 2021-10-08 16:15:18 +00:00
Thales Lima
83bedbfe97 launcher: refactoring variables into arrays
There are a lot of variables that can be merged together into arrays
following some optimizations done in other places.

Bug: 191879424
Test: checking cell size and extra space in dumpsys
Change-Id: I1d73fbb5da2df2345ced7f46df5bae5d75d9d6b1
2021-10-08 13:36:56 +01:00
TreeHugger Robot
89d3205314 Merge "Enable QUICK_WALLPAPER_PICKER for droidfood." into sc-v2-dev am: 96ddd1cfd8 am: 1fb3837973
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16010252

Change-Id: If556bf82e505efb912d15d72f825e657f93445bb
2021-10-08 03:16:10 +00:00
TreeHugger Robot
96ddd1cfd8 Merge "Enable QUICK_WALLPAPER_PICKER for droidfood." into sc-v2-dev 2021-10-08 02:50:59 +00:00
Samuel Fufa
8bf5966603 Merge "[Work profile] Fix flickering work mode switch" into sc-v2-dev am: 3aae069e2b am: 0d9c103b2f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15997528

Change-Id: Idc3eb4a9bac0e8f8140122d2c5cdcccde865a1bb
2021-10-07 23:53:05 +00:00
sfufa@google.com
9f0981dc4f [Work profile][Test] Remove tracing logs for testWorkeduFlow
Bug: 159671700
Test: NA
Change-Id: I097134c45155f0e65ef4376fab803796f3fdb12a
2021-10-07 16:48:41 -07:00
sfufa@google.com
bd977f3598 [Work Profile] Enable work profile tests
Bug: 159671700
Test: presbumit
Change-Id: Icfe39c30d603a4ae4cac576bc44037f545437ced
2021-10-07 16:48:20 -07:00
Samuel Fufa
3aae069e2b Merge "[Work profile] Fix flickering work mode switch" into sc-v2-dev 2021-10-07 23:42:42 +00:00
Brian Isganitis
5b2221637f Enable QUICK_WALLPAPER_PICKER for droidfood.
Test: Wallpapers show up in long-press menu by default.
Bug: 188222480
Change-Id: I51441b0f7f50f40adf4ff15c42a5be792723cc03
2021-10-07 18:37:26 -04:00
Alex Chau
c6b6d85089 Merge "Use displayId to determine CHANGE_ACTIVE_SCREEN" into sc-v2-dev am: 5d2309285c am: eac5ca8736
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16005915

Change-Id: I9162ab87433685863179ba361805f5233d0fb41b
2021-10-07 19:44:50 +00:00
Andy Wickham
b0ce06270d Merge "Removes Smartspace Feedback flag." into sc-v2-dev am: a01741bb61 am: 5e2367c39a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15995211

Change-Id: Ic139779d0a2302b1b2d0d8869fd76d37eb48546a
2021-10-07 19:44:24 +00:00
Brian Isganitis
c417a952db Merge "Have PopContainerWithArrow require BaseDraggingActivity." into sc-v2-dev am: e3b26d0102 am: f5b5785a35
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15984295

Change-Id: I7b251e9f122e1638ca516aaef58daf5068fcdee4
2021-10-07 19:44:06 +00:00
Alex Chau
5d2309285c Merge "Use displayId to determine CHANGE_ACTIVE_SCREEN" into sc-v2-dev 2021-10-07 19:35:43 +00:00
Andy Wickham
a01741bb61 Merge "Removes Smartspace Feedback flag." into sc-v2-dev 2021-10-07 18:36:11 +00:00
Brian Isganitis
e3b26d0102 Merge "Have PopContainerWithArrow require BaseDraggingActivity." into sc-v2-dev 2021-10-07 18:01:23 +00:00
Alex Chau
4f140f96e8 Use displayId to determine CHANGE_ACTIVE_SCREEN
- Currently CHANGE_ACTIVE_SCREEN is dispatched when rotating too, which is incorrect. mScreenSizeDp is different in portrait and landscape, and varies more than swapping width/height due to different insets applied. Therefore, use the change of unique display id as a signal instead.

Fix: 202366729
Test: Rotate device, overview stays
Test: Unfold devices, overview goes away
Change-Id: Id8a7d4a1e237717521bfc5a5a67f23c4ee801c61
2021-10-07 14:44:01 +01:00
TreeHugger Robot
1f90841df5 Merge "[OneSearch] Log events with timestamp into logcat for debugging." into sc-v2-dev am: 137dd35d26 am: 1816c9d1b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15975400

Change-Id: I236ac5aa3539cd349a10822f9901d0e62116ac35
2021-10-07 08:43:15 +00:00
TreeHugger Robot
137dd35d26 Merge "[OneSearch] Log events with timestamp into logcat for debugging." into sc-v2-dev 2021-10-07 08:03:57 +00:00
Andy Wickham
e5f2877eaa Removes Smartspace Feedback flag.
Bug: 202296180
Test: Manual
Change-Id: Ifff851116c09c0729a8152a93eb2d758f7c9b126
2021-10-06 20:12:08 -07:00
Jon Miranda
b77878ebe3 Update folder preview and folder background colors.
Bug: 201332301
Test: light theme / dark theme
      open and close folder, ensure colors are accurate

Change-Id: I49198eb2faee03111be33051fd1cb08094844c77
2021-10-06 16:57:33 -07:00
Becky Qiu
f11ecb7f59 [OneSearch] Log events with timestamp into logcat for debugging.
Bug: 199289915
Test: example log: https://paste.googleplex.com/5741834610409472
Change-Id: I24b2e68b36cb897ae3e6ccc38cf0561d38af6751
2021-10-06 15:20:47 -07:00
sfufa@google.com
01e0009b71 [Work profile] Fix flickering work mode switch
Since there is no system broadcast with Intent.ACTION_MANAGED_PROFILE_ADDED, UserCache's user list does not get updated when a new profile is installed until launcher is restarted. This change fixes that problem by getting the freshest list of users directly from UserManager.

This change also applies the proper padding to work apps recycler-view after work mode switch is attached.

Test: Manual
Bug: 201191227
Change-Id: I0f570eba44ebb845d0d6f8c5f14a63f9a8c18539
2021-10-06 14:27:55 -07:00
sfufa@google.com
1c5e607940 [Search] Scale up small search icons on drag start
Bug: 199341710
Test: manual
Change-Id: I243c3e84e3093d4a9c605b187a625c0580d9933f
2021-10-05 18:09:26 -07:00
TreeHugger Robot
565c5ed6e2 Merge "Add TAPL test that dismissing focused task causes next task to become focused." into sc-v2-dev am: 1bf753f7a6 am: e77cae7f0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15947750

Change-Id: I9c7cac5e73845ed4f08d2d518e661891188a0ce6
2021-10-06 00:45:44 +00:00
TreeHugger Robot
1bf753f7a6 Merge "Add TAPL test that dismissing focused task causes next task to become focused." into sc-v2-dev 2021-10-06 00:14:46 +00:00
TreeHugger Robot
4778c11c6d Merge "Update logging to help debug b/200572078" into sc-v2-dev am: feeb788941 am: 96daf27101
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15971864

Change-Id: Ib9e64f2766ca8184fd363af78ffd0efe786783b9
2021-10-05 22:03:24 +00:00
TreeHugger Robot
feeb788941 Merge "Update logging to help debug b/200572078" into sc-v2-dev 2021-10-05 21:33:55 +00:00
Brian Isganitis
6a1b0a5824 Have PopContainerWithArrow require BaseDraggingActivity.
Fix: 201978182
Test: No
Change-Id: I3ed46c07cce88b939d1a085ab62d5413ca217e5a
2021-10-05 14:38:14 -04:00
Pat Manning
a140a0b611 Add TAPL test that dismissing focused task causes next task to become
focused.

Test: TaplTestsQuickstep.java
Bug: 197630182
Change-Id: I6f29dc6e3954f1b22ce8ffdf0a83db97202caefe
2021-10-05 18:00:11 +00:00
Thales Lima
1de472e558 Merge "launcher: create more space options" into sc-v2-dev am: 9a6b20f0cb am: c760160125
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15953000

Change-Id: I6113b9a28f0d33cdff55f3db584e853ed7f7a603
2021-10-05 16:14:19 +00:00
Thales Lima
9a6b20f0cb Merge "launcher: create more space options" into sc-v2-dev 2021-10-05 15:38:57 +00:00
Thales Lima
78d00adcbe launcher: create more space options
The grid doesn't have a constant space between cells anymore, so we need
new attributes for the different spaces in different situations.

Bug: 191879424
Test: checking cell size and extra space in dumpsys
Change-Id: I4b6aae5b3fea281490c00cd13d0cd3a25372f21b
2021-10-05 12:26:05 +01:00
Samuel Fufa
9a69b861ac Merge "[Search] Avoiding hiding keyboard when clearing search text" into sc-v2-dev am: 7a0cdc4801 am: fdaae1db08
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15971865

Change-Id: I81aba8e5349bd2c38de1da8f1011ce91d6d9541a
2021-10-05 03:56:13 +00:00
Samuel Fufa
7a0cdc4801 Merge "[Search] Avoiding hiding keyboard when clearing search text" into sc-v2-dev 2021-10-05 03:22:26 +00:00
sfufa@google.com
95245e50f8 Support drag/drop on search results am: ca76de0e6e am: 027f65279f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910881

Change-Id: I5634db28e9a3dc9582d321de636274700f56e5b8
2021-10-05 00:43:23 +00:00
sfufa@google.com
b0ec41285b [Search] Avoiding hiding keyboard when clearing search text
Bug: 199555357
Test: manual
Change-Id: I7bc9b7097427aed3b526c8d75956d323e819e79b
2021-10-04 14:23:14 -07:00
Schneider Victor-tulias
cd1ef70350 Update logging to help debug b/200572078
The class name logged in a repro of b/200572078 was shortened too much to find the class. Updated logging to get the full name.

Test: ran launcher and checked logs
Bug: 200572078
Change-Id: I12324348b4a8a56d4ab06ca54f13a90f8cbea955
2021-10-04 21:12:26 +00:00
sfufa@google.com
ca76de0e6e Support drag/drop on search results
Bug: 199341710
Test: manual
Change-Id: I9879c2a3769d4f930ab0289d2f26e4757971549d
2021-10-04 13:14:12 -07:00
Sunny Goyal
775843922d Merge "Ignoring display size change when display is off" into sc-v2-dev am: 954a3dd0cc am: 2eee3cbeb6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15951925

Change-Id: I485fd7e95b6972c398970854af25de0671eae467
2021-10-01 18:15:24 +00:00
Sunny Goyal
954a3dd0cc Merge "Ignoring display size change when display is off" into sc-v2-dev 2021-10-01 17:54:08 +00:00
Thales Lima
fea867b980 Merge "launcher: create attrs for more horizontal margin options" into sc-v2-dev am: bfb6996484 am: 11f703dd36
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15879755

Change-Id: Ia344342fa38c7e9a330280a29aa852279779662b
2021-10-01 13:44:25 +00:00
Thales Lima
bfb6996484 Merge "launcher: create attrs for more horizontal margin options" into sc-v2-dev 2021-10-01 13:20:25 +00:00
Steven Ng
f6dce85efb Merge "Group weather widgets under the widget category" into sc-v2-dev am: 9114f280a2 am: bec302ab6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15897183

Change-Id: I982d42b726a75e58fb2f9c2a608e7bfb4bd6874a
2021-10-01 10:44:44 +00:00