Commit Graph

12338 Commits

Author SHA1 Message Date
Sunny Goyal a67358bc8d Merge "Using themed icons in taskbar" into sc-v2-dev 2021-08-04 16:32:15 +00:00
TreeHugger Robot 1e46696161 Merge "Fix Workspace item move issues when using Talkback" into sc-v2-dev 2021-08-04 10:48:22 +00:00
Andras Kloczl e32e8641d6 Fix Workspace item move issues when using Talkback
- fix the crash when an item was moved onto the right panel
- fix the issue that prevented the user from moving an item from the left panel

Test: manual
Bug: 194903736
Change-Id: Ib41f5d6d08e8815a52631ef952d32dcf899455e2
2021-08-04 11:04:19 +02:00
Sunny Goyal 59f1915c9d Using themed icons in taskbar
Bug: 195437559
Test: Verified on device
Change-Id: If8c0a72e037783e96abbaae6b60aa36a686fcfea
2021-08-03 12:25:22 -07:00
Steven Ng 61cfa57ad8 Correct cell layout spacing in n-panels UI
Test: manual
Fix: 184966000
Change-Id: I6940413c24f41df0b1ffcfd4bec4b0c5c3497b6d
2021-08-03 16:40:41 +01:00
Andras Kloczl b063294e60 Follow up CL for controller navigation fix
Fixing unresolved comment: http://shortn/_YCaiPNApNc

Test: manual test with a game controller, check on both normal and two panel home
Bug: 187205980
Change-Id: I8cae48effcce852c85273f16d1107dec90ff6f51
2021-08-03 14:03:58 +02:00
TreeHugger Robot 144b16bbb1 Merge "Band-aid for getHomeActivities returning null" into sc-v2-dev 2021-08-02 19:20:01 +00:00
vadimt 42a7d1af83 Band-aid for getHomeActivities returning null
It can return null immediately after android.intent.action.ACTION_PREFERRED_ACTIVITY_CHANGED
notification.

Test: local
Bug: 187080582
Change-Id: I8625fdfc0add57fed832bdca4713747a005bf08c
2021-08-02 10:38:12 -07:00
Brian Isganitis bb6bb5bbbd Merge "Adding support for overriding long-press menu in Launcher" into sc-v2-dev 2021-07-30 22:47:46 +00:00
TreeHugger Robot f02c754eb9 Merge "Fix Launcher3 tests for tablets" into sc-v2-dev 2021-07-30 22:36:52 +00:00
Jonathan Miranda 4edf78695d Merge "Add more restrictions on whether we increase the hotseat size for tall devices." into sc-dev am: 4a17e66166
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15412628

Change-Id: Ifb92308f3c0a3fef040e3a863e9e11300ad46334
2021-07-30 20:50:28 +00:00
Jonathan Miranda 4a17e66166 Merge "Add more restrictions on whether we increase the hotseat size for tall devices." into sc-dev 2021-07-30 20:37:29 +00:00
Sunny Goyal 831212ec92 Adding support for overriding long-press menu in Launcher
Bug: 188222480
Test: Manual
Change-Id: Ic0b425fafde8beedc15a5aa42a8897b9143a3309
2021-07-30 16:07:26 -04:00
Alex Chau 6951aef060 Fix Launcher3 tests for tablets
- Consider taskbar size for bottom gesture size, by using TargetInsets
- TargetInsets should substract overlapping taskbar size when it's present
- For pressHome, use the same gesture scope when context menu is present as well.
- For pressHome, GestureScope.INSIDE_TO_OUTSIDE should only be used when it's already at home screen on launcher3 tablet.

Bug: 193539246
Test: NexusLauncherTest and Launcher3Test
Change-Id: I4a20522f3b38ef326acae4b189df11a125990411
2021-07-30 20:39:05 +01:00
Steven Ng 3edfa98ba7 Use the right content to estimate the span in WidgetsFullSheet
Test: Manual
Fix: 194784402
Change-Id: I150f4c7b5a0344caa2bea3f1502894cb0f32e208
2021-07-30 13:15:26 +01:00
TreeHugger Robot 02d45252f3 Merge "Fix cell size calculation in large screen devices" into sc-v2-dev 2021-07-30 11:39:26 +00:00
Steven Ng 2a5c594855 Fix cell size calculation in large screen devices
Test: Digital clock widget is no longer cropped.
Bug: 184966000, 194784402
Change-Id: I26c406da1e10232019f34620a4d2bc0dbafcbb31
2021-07-30 11:14:11 +01:00
András Klöczl 7f569f14b4 Merge "Fix controller navigation on two panel launcher home" into sc-v2-dev 2021-07-30 08:43:27 +00:00
TreeHugger Robot eb6391ff8d Merge "Fixing hotseat hidden in 3P Launcher" into sc-v2-dev 2021-07-29 21:51:39 +00:00
Andras Kloczl 7e91244a1b Fix controller navigation on two panel launcher home
Test: manual test with a game controller, check on both normal and two panel home
Bug: 187205980
Change-Id: I2515e476556098acf407c0bdcd634e3dd1cb308c
2021-07-29 22:04:27 +02:00
Sunny Goyal 71ef9683db Fixing hotseat hidden in 3P Launcher
Bug: 193539246
Test: Manual
Change-Id: I3e756457710f2a3909623c7eeec457319eb6c3b8
2021-07-29 13:00:19 -07:00
TreeHugger Robot b2f8f42510 Merge "Removing GridMigrationTask-v1 since it has been disabled for a while" into sc-v2-dev 2021-07-29 18:37:15 +00:00
Sunny Goyal e6935d895a Merge "Simplifying color extraction registration logic" into sc-v2-dev 2021-07-29 06:53:15 +00:00
Sunny Goyal 278939fdf3 Removing GridMigrationTask-v1 since it has been disabled for a while
Also removing some data migration support

Bug: 194937047
Test: Presubmit
Change-Id: I392a5f6e49ec170f63056a7664de47229896f390
2021-07-28 15:55:43 -07:00
Sunny Goyal 69a8eecdc9 Simplifying color extraction registration logic
> Calulating correct location irrespective of transient
  state (scale/translation)
> Removing extraction pause/resume logic
> Simplifying location calculation and registration (only use one location instead of a list)

Bug: 194732483
Test: Manual
Change-Id: I255d83761bff5e09c9fb0a5e398d0be0c1d0956f
2021-07-28 15:43:13 -07:00
Lucas Dupin 6d80cafc68 Merge "Add depth to -1 screen" into sc-v2-dev 2021-07-28 21:40:42 +00:00
Jon Miranda 80dda30f49 Add more restrictions on whether we increase the hotseat size for tall devices.
Bug: 194688362
Test: test devices that should not be affected, ensure they are not affected
Change-Id: I0e027354dbafcce30cf616998d2a7bfab516b5de
2021-07-28 14:20:59 -07:00
Schneider Victor-tulias 7889887b56 Merge "Fix incorrect PreloadIconDrawable initialization." into sc-v2-dev 2021-07-28 20:43:01 +00:00
TreeHugger Robot d750d16b69 Merge "Let TaskbarDragView scale up before switching to system drag view" into sc-v2-dev 2021-07-28 19:52:43 +00:00
Lucas Dupin 87d752062e Add depth to -1 screen
Wallpaper will zoom out as you drag the overlay

Test: manually pull overlay
Fixes: 192502999
Change-Id: I9067b70d10497d4e16a5ef601161fbedfa9307e1
2021-07-28 12:36:31 -07:00
Schneider Victor-tulias 2b10cb2b69 Fix incorrect PreloadIconDrawable initialization.
Fixes: 194435394
Test: tapped installing icon then went home with airplane mode on and off
Change-Id: I0dca790bbaf710a7dcbb3a30758174304ede3a38
2021-07-28 18:35:24 +00:00
Tony Wickham 27ab9d96eb Let TaskbarDragView scale up before switching to system drag view
Test: Long press taskbar icons, ensure they aniamte the scale up
Fixes: 182981908
Change-Id: I573fe66c93ebf995b3f56f2c003dee987687b6a7
2021-07-28 08:03:14 -10:00
Alex Chau 8e83f31100 Merge "Tune Overview size according to VisD" into sc-v2-dev 2021-07-28 10:41:16 +00:00
TreeHugger Robot ce4bdd3561 Merge "Enables Enhanced Smartspace by default." into sc-dev 2021-07-28 00:01:31 +00:00
Andy Wickham 2afb784531 Enables Enhanced Smartspace by default.
Test: MemoryTests.java, manual
Bug: 187428578
Merged-In: Iffc6ae9b79db47d0585486529d2d8dfdf0a24692
Merged-In: I497523aa1be78e4d0890a7a74a1bd08d4ca50f50
Change-Id: I497523aa1be78e4d0890a7a74a1bd08d4ca50f50
2021-07-27 12:34:55 -10:00
Steven Ng 522c1506f1 Do not allow add view in DeferredAppWidgetHostView
Also set rounded corners to DeferredAppWidgetHostView

Test: manual
Fix: 193885118
Change-Id: I663b5b4a50da1f2348be1792923ee73fe8e6a2e8
2021-07-27 17:11:35 +01:00
Steven Ng 3de51d518d Merge "Remove drop target button drawable padding if text isn't hidden" into sc-v2-dev 2021-07-27 13:21:57 +00:00
TreeHugger Robot 8d5cd17801 Merge "Use 32dp as the content margin for widgets pickers in large screen devices" into sc-v2-dev 2021-07-27 12:47:45 +00:00
Steven Ng 24c16de329 Use 32dp as the content margin for widgets pickers in large screen
devices

Test: manual
Bug: 194369046
Change-Id: I7376eab59d57bdd9ccc8a64e9f321358e09ee579
2021-07-27 12:00:52 +01:00
TreeHugger Robot d616cc2db0 Merge "Fix launcher preview for two panel follow up" into sc-v2-dev 2021-07-27 01:01:50 +00:00
TreeHugger Robot a8fb9629fe Merge "Enables Enhanced Smartspace by default." into sc-v2-dev 2021-07-27 00:22:16 +00:00
Andras Kloczl 454ea214ad Fix launcher preview for two panel follow up
Fixing a possible context issue that was suggested
on the previous CL (ag/15079450) after it got submitted.

Bug: 185508060
Test: manually check launcher preview in wallpaper app
Change-Id: Ia653b833e4c1b911c7d7cac38c35ec2d12ab3a29
2021-07-27 00:27:32 +02:00
Andy Wickham 075c50e0c6 Merge "Doesn't scale PagedView snap speed during tests." into sc-v2-dev 2021-07-26 19:42:38 +00:00
Steven Ng a1dcbce15a Remove drop target button drawable padding if text isn't hidden
Test: manual
Fix: 194320733
Change-Id: I12adeaf37cee5a0fcf383641f24b7750f14daf27
2021-07-26 17:10:56 +01:00
Alex Chau 5fd9d491b0 Tune Overview size according to VisD
- Removed modalTransformY as overview actions no longer need to move in modal view
- Moved row spacing and page spacing to DeviceProfile
- Added several tablet / orientation specific DeviceProfile params

Bug: 194194694
Test: Manual
Change-Id: Id5435e7f6fc1b6fb7c0e55e55fa240cf84c4d6da
2021-07-26 12:01:30 +01:00
Alex Chau 646f804627 Add overviewShowAsGrid to DeviceProfile
- Simplified a lot of dp.isTablet && FeatureFlags.ENABLE_OVERVIEW_GRID.get() usage

Bug: 194194694
Test: manual
Change-Id: Idfb0ad192048106bbe6f8e2a28fa5613b86e5208
2021-07-26 11:59:34 +01:00
Jonathan Miranda 8f16a7703e resolve merge conflicts of 6d9e866669 to sc-v2-dev
Add more extra space to hotseat for taller devices.

Bug: 194533368
Bug: 192520231
Change-Id: Ib4705342329767a3e4eb2781aff6cd72220e4eaa
Test: manual test on taller devices
2021-07-23 23:13:44 +00:00
Andy Wickham da5a89b130 Doesn't scale PagedView snap speed during tests.
Settings.Global.getFloat causes a Binder
transaction which breaks BinderTests.java
when running it from Android Studio.

Test: BinderTests.java
Bug: 187428578
Change-Id: I07ce2fe256dba0bfa98a5dade538d68e7ce357ff
2021-07-23 23:08:46 +00:00
Andy Wickham 02db569cad Enables Enhanced Smartspace by default.
Bug: 187428578
Test: BinderTests.java, MemoryTests.java, manual
Change-Id: Iffc6ae9b79db47d0585486529d2d8dfdf0a24692
2021-07-23 12:40:59 -10:00
TreeHugger Robot 6d9e866669 Merge "Update hotseat sizing for 4x5 grids." into sc-dev 2021-07-23 22:39:48 +00:00