Commit Graph

16456 Commits

Author SHA1 Message Date
vadimt 6b534ee54f Diagnose when lab device sends fake touch screen events to test
Bug: 189874683
Test: local
Change-Id: I8ac569ab049bafaa0a6263598f2b43a99386e6d9
2021-08-06 15:49:02 -07:00
Jonathan Miranda b7bacd4de0 Merge "Update extra space allocations for taller devices." into sc-dev am: dd16ecbc61 am: 2bf9863aa4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15457550

Change-Id: I9711b3b6e7e239eb7fc6e271bd46d45d83bea19f
2021-08-05 18:51:58 +00:00
Jonathan Miranda 86d80936ac Merge "Update extra space allocations for taller devices." into sc-dev am: dd16ecbc61
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15457550

Change-Id: I8fe398bacbdc11a3ba6d43829c1be75248249740
2021-08-05 18:42:44 +00:00
Jonathan Miranda dd16ecbc61 Merge "Update extra space allocations for taller devices." into sc-dev 2021-08-05 18:33:56 +00:00
Steven Ng cea65b75d8 Fix wallpaper parallax calculation for large screen devices
Test: manual
Bug: 193403434
Change-Id: Ifaed71f8c3645b012def02a9ea36fc3fb29bac00
2021-08-05 16:05:50 +01:00
Alex Chau cae25fe501 Merge "Make icon drawable for non-focused grid tasks smaller" into sc-v2-dev am: 42f914e254 am: f8829ff94f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15455151

Change-Id: I9e996edb7fe6ec167172e06ffe522e160fd337b7
2021-08-05 10:37:41 +00:00
Alex Chau 42f914e254 Merge "Make icon drawable for non-focused grid tasks smaller" into sc-v2-dev 2021-08-05 09:57:19 +00:00
Brian Isganitis 07af48c5c3 Merge "Fix crash from previewing launcher with unknown wallpaper colors." into sc-dev am: 200d7634d1 am: 14648b5790
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15462873

Change-Id: I0ffdcffff8e7232e0985a6450d508662bfd9bc1c
2021-08-05 01:39:00 +00:00
Brian Isganitis c2a6378fc1 Merge "Fix crash from previewing launcher with unknown wallpaper colors." into sc-dev am: 200d7634d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15462873

Change-Id: I4965f54b75f9762ef51ed15f27f43f73b2919164
2021-08-05 01:28:12 +00:00
Brian Isganitis 200d7634d1 Merge "Fix crash from previewing launcher with unknown wallpaper colors." into sc-dev 2021-08-05 01:08:00 +00:00
Alex Chau 6dd7241400 Merge "Increase motion pause timeout for tests" into sc-v2-dev am: 974635127b am: a2b4e128f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15455154

Change-Id: I8047595ab7c363ae24d8de5bfaf4f7d065302181
2021-08-04 22:22:36 +00:00
Alex Chau 974635127b Merge "Increase motion pause timeout for tests" into sc-v2-dev 2021-08-04 21:59:53 +00:00
Steven Ng 2a5db232c4 Merge "Don't delete widgets that violate min size requirement" into sc-dev am: 5fc53cbc22 am: ab862a2fcd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15455163

Change-Id: If11c1030f48cae979c3be4f6a60278f3bd0c9ef2
2021-08-04 20:50:15 +00:00
Steven Ng f4b1b0af75 Merge "Don't delete widgets that violate min size requirement" into sc-dev am: 5fc53cbc22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15455163

Change-Id: I2783668d3315537fd64b2a6175064abbcbbe132f
2021-08-04 20:29:24 +00:00
TreeHugger Robot 699668e7ff Merge "Storing form factor as part of backup and disabling restore if form-factor is different" into sc-v2-dev am: b78e77f581 am: 707b1d8e66
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15446311

Change-Id: I9f2a9c6e72a0243a030259efff372ca93d6beecc
2021-08-04 20:12:40 +00:00
TreeHugger Robot b78e77f581 Merge "Storing form factor as part of backup and disabling restore if form-factor is different" into sc-v2-dev 2021-08-04 19:12:10 +00:00
Alex Chau 0dfe56cff1 Increase motion pause timeout for tests
- In cuttlefish occasionally MOTION_MOVE and MOTION_UP takes more than 300ms due to lag, increasing the motion pause timeout to avoid getting false signals in tests

Bug: 194114179
Test: atest NexusLauncherOutOfProcTests:com.android.launcher3.memory.MemoryTests#testAppLaunchFromWorkspace
Change-Id: I0a33f34b5bf96f4f7ae56020c5a27f4ef9a0ff64
2021-08-04 20:09:06 +01:00
Jon Miranda a56cb84141 Update extra space allocations for taller devices.
- Take less space from cells
- Distribute some of the empty space above the workspace
- Already confirmed from previous testing that these thresholds
  only affect taller devices

Bug: 194688362
Test: long press on app icons,
      test drag and drop bounds
      test drop target bounds
      test folder opening bounds
      test all grids on taller devices

Change-Id: If90b7663ab4afedca1193bdd73a0ae38a1f25243
2021-08-04 12:00:36 -07:00
Brian Isganitis dafa5040ef Fix crash from previewing launcher with unknown wallpaper colors.
Test: Open wallpaper app with live wallpaper applied should not crash.
Fix: 195246865
Change-Id: Id64de32b35aa7a553daa752438060d7f6822bec8
2021-08-04 18:31:20 +00:00
Sunny Goyal c96d6c7550 Merge "Using themed icons in taskbar" into sc-v2-dev am: a67358bc8d am: fcbe069fee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15456194

Change-Id: I724840feed8f01e0f961c819795b555c8cb8985b
2021-08-04 17:00:28 +00:00
Sunny Goyal 68031ca3f9 Storing form factor as part of backup and disabling restore if form-factor is different
Bug: 195301649
Test: Manual
Change-Id: I9a9c4bc9246f40af2209cb914b3966319bc78bff
2021-08-04 09:51:04 -07:00
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