Commit Graph

13735 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 dad4b31932 Merge "Fix Workspace item move issues when using Talkback" into sc-v2-dev am: 1e46696161 am: f241144b77
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15453919

Change-Id: I1cf770a38992dc2a7a9478105973357fbbcfc645
2021-08-04 11:13:53 +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
Steven Ng b269cc5150 Don't delete widgets that violate min size requirement
Test: Manual
Bug: 194766124
Change-Id: I4713e65e27da23d833bb60fb556ae8924a63e305
2021-08-04 11:14:09 +01: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
Ashish Gupta 578ee95fa6 Merge "NIU Tooltip : tooltip timer changes" 2021-08-04 02:45:33 +00: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 5ed2aa3993 Correct cell layout spacing in n-panels UI am: 61cfa57ad8 am: 6f7a4b48e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15453925

Change-Id: I313081bb87649a5e387f04d1d140ae98e1a55296
2021-08-03 17:49:37 +00:00
Alex Chau ac9df38e9f Make icon drawable for non-focused grid tasks smaller
- Center the icon drawable in center of IconView with and allow a smlaler size to be set

Bug: 194194694
Test: dismiss focus task, swipe from app etc.
Change-Id: I2855249b13e2ccdb45f101bfb7afef4311f7b46f
2021-08-03 17:36:15 +01: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
TreeHugger Robot 5ffc39c7c7 Merge "Follow up CL for controller navigation fix" into sc-v2-dev am: 4b878f5318 am: 845ab22dae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15453920

Change-Id: I6d0d7c048f73b6615e021fd464edee2ecc02b5a1
2021-08-03 13:44:45 +00: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
kumarashishg 6a5c260404 NIU Tooltip : tooltip timer changes
Tooltip will hide only when the user tapped anywhere on the screen. Earlier tooltip was auto dismissed after 10 seconds.

Bug: 194775081
Test: Local build and run on Pixel 4a
Change-Id: I22f5cdd20e602fc261218d4fa801e80910083c62
(cherry picked from commit 89f7d40c217a81d17519ebf04bcb6b24c2c76b8a)
2021-08-03 02:22:38 +00:00
TreeHugger Robot 1e8579f7c2 Merge "Band-aid for getHomeActivities returning null" into sc-v2-dev am: 144b16bbb1 am: 1ce9633815
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15444309

Change-Id: I77468fbfc1194afb0b74363ec5511ba0b695737e
2021-08-02 19:57:16 +00: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 be86a2638f Merge "Adding support for overriding long-press menu in Launcher" into sc-v2-dev am: bb6bb5bbbd am: e1ef8e8dc8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15433782

Change-Id: If4af848156e9f830cc225381cb7de62623069c05
2021-07-30 23:04:43 +00:00
TreeHugger Robot c25ead5947 Merge "Fix Launcher3 tests for tablets" into sc-v2-dev am: f02c754eb9 am: 4ed4ca3e22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15431427

Change-Id: Ib28420c70f6c30c0154b73788fb8159cb17fd824
2021-07-30 23:04:35 +00: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 58ae9a7771 Merge "Add more restrictions on whether we increase the hotseat size for tall devices." into sc-dev am: 4a17e66166 am: f9b3703d09
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15412628

Change-Id: I43c3d38b6514335c468681e1aa3acc1ffe04d9ef
2021-07-30 20:59:33 +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 73b4a844b6 Merge "Use the right content to estimate the span in WidgetsFullSheet" into sc-v2-dev am: a54535b8f5 am: fc52326c13
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15430778

Change-Id: Ieef1015abf9d926996c73f14e1a8e4a53c11efa2
2021-07-30 14:47:54 +00: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 364c13c96a Merge "Fix cell size calculation in large screen devices" into sc-v2-dev am: 02d45252f3 am: ae72fc0587
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15420815

Change-Id: I642226dc08a9f1a0695d45f5fd7d82f20008479c
2021-07-30 11:59:10 +00: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 5046c484b7 Merge "Fix controller navigation on two panel launcher home" into sc-v2-dev am: 7f569f14b4 am: 2988ff1f46
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15261999

Change-Id: Iaeef314e1fdb933cba71122348fb1b861249e87f
2021-07-30 09:11:15 +00: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 d43f814723 Merge "Fixing hotseat hidden in 3P Launcher" into sc-v2-dev am: eb6391ff8d am: 543d5c511a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15422854

Change-Id: Iee516fccb11fe8b1ad7d36303a121723964885e2
2021-07-29 22:26:52 +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 8671e54334 Merge "Removing GridMigrationTask-v1 since it has been disabled for a while" into sc-v2-dev am: b2f8f42510 am: fa01653b83
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15404308

Change-Id: Idd8e1bb0ca99a2b3d26372c1559c4a0ee5253a24
2021-07-29 19:00:16 +00: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
TreeHugger Robot 12c5a761eb Merge "Simplifying color extraction registration logic" 2021-07-29 00:26:01 +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
Sunny Goyal 031418c6e1 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 22:42:55 +00:00
Lucas Dupin 4bbd2092ff Merge "Add depth to -1 screen" into sc-v2-dev am: 6d80cafc68 am: 103d4536dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15405469

Change-Id: Ifbbf248af32fe0a94e2888197c67c698afd46385
2021-07-28 22:06:38 +00: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 00381bd780 Merge "Fix incorrect PreloadIconDrawable initialization." into sc-v2-dev am: 7889887b56 am: 9a10dd0ece
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15406136

Change-Id: Ia23905bda85766fae596afc5b1f8590731ce3e7e
2021-07-28 21:05:00 +00:00
Schneider Victor-tulias 7889887b56 Merge "Fix incorrect PreloadIconDrawable initialization." into sc-v2-dev 2021-07-28 20:43:01 +00:00
TreeHugger Robot f47e8cbf69 Merge "Let TaskbarDragView scale up before switching to system drag view" into sc-v2-dev am: d750d16b69 am: e8a936f96e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15406135

Change-Id: I90c42636333034a2c33dd9401bcfddd8a6cf99c7
2021-07-28 20:13:26 +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