Commit Graph

33809 Commits

Author SHA1 Message Date
Tracy Zhou d95465cc59 Merge "Clear command queue of OverviewCommandHelper on home tap" into sc-dev am: dec3330a83
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15416225

Change-Id: I605ffc7cd56f9407ed4aeff55a50db8021f69612
2021-07-29 21:48:37 +00:00
Tracy Zhou dec3330a83 Merge "Clear command queue of OverviewCommandHelper on home tap" into sc-dev 2021-07-29 21:32:22 +00:00
Jon Spivack e0feb07e72 NIU Actions: Change AppTheme to LauncherTheme am: d317f17273
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15413718

Change-Id: I5a23028b4d752b1265b29711bc2abb662717baf9
2021-07-29 19:48:51 +00:00
Tracy Zhou 6842315605 Clear command queue of OverviewCommandHelper on home tap
Fixes: 194934483
Test: manual
Change-Id: Id83b341245793c38c305e6ada5581ac4e49527a7
Merged-In: Id83b341245793c38c305e6ada5581ac4e49527a7
2021-07-29 19:09:53 +00:00
Jon Spivack d317f17273 NIU Actions: Change AppTheme to LauncherTheme
Some theme attributes used for the NIU Actions Overview were originally defined in a theme that inherited from LauncherTheme. However, 3rd-party Launchers that also used themes derived from LauncherTheme were unable to access these attributes, leading to crashes when they tried to open the Recents screen on Go devices. Just adding the attributes to LauncherTheme solves this issue.

Bug: 194810415
Test: Manual (tried a couple 3rd-party launchers on Wembley)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: I7a2541f2a2ab3b39e0c6cf2fe40a4b096047df70
2021-07-28 19:14:03 -07:00
TreeHugger Robot eb080c6b00 Merge "Enables Enhanced Smartspace by default." into sc-dev am: ce4bdd3561
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15365093

Change-Id: I22697256fdb913d31b2bd146e6b8ec744af26f78
2021-07-28 00:13:55 +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
TreeHugger Robot 9c50c9a130 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 0a5b66af2c -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15391702

Change-Id: I3ad10fd42d826b8f4d81155a92dc31aaa17a23c4
2021-07-27 14:51:25 +00:00
TreeHugger Robot 0a5b66af2c Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-27 14:39:44 +00:00
Bill Yi 6fc1eae8d0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia2101dbfa85b65d3de87200f0fbaf5d09c25a7d9
2021-07-27 09:13:26 +00:00
Tracy Zhou c94002600a Merge "Reset current task and dequeue overview commands when recents animation is cancelled" into sc-dev am: 024749a1e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15365516

Change-Id: I881b9d322e67699ecea9414b3db2f72d05e80c3b
2021-07-26 21:35:42 +00:00
Tracy Zhou 024749a1e0 Merge "Reset current task and dequeue overview commands when recents animation is cancelled" into sc-dev 2021-07-26 21:17:38 +00:00
Tracy Zhou 94e798bac1 Reset current task and dequeue overview commands when recents animation is cancelled
Fixes: 193925362
Test: manual
Change-Id: I792be003e5aabf34324075829d5381cba591892b
2021-07-26 12:17:01 -07:00
TreeHugger Robot 458b223ca8 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: aa4c71efa0 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15379183

Change-Id: I30f9b15c8349310c5aebd413a8b1fe8872c25af5
2021-07-24 05:59:54 +00:00
TreeHugger Robot 8b53153f61 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 19fc9302ba -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15379185

Change-Id: Ia8a3d17386774fd0e3d71425e14f9e412b843929
2021-07-24 05:59:38 +00:00
TreeHugger Robot aa4c71efa0 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-24 05:42:14 +00:00
TreeHugger Robot 19fc9302ba Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-24 05:36:43 +00:00
Bill Yi 38e18c295c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia201032e39017688795dd9082946690e7e77fd45
2021-07-24 03:07:29 +00:00
Bill Yi 818238558a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I47acd077e560f94d070da5dd2c9b66ac07950e49
2021-07-24 03:05:08 +00:00
TreeHugger Robot 2e8356ba64 Merge "Update hotseat sizing for 4x5 grids." into sc-dev am: 6d9e866669
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15376677

Change-Id: I0480a1b2b46c8b7a62f6dc7de9b671dc8c887503
2021-07-23 22:48:02 +00:00
Sunny Goyal cc0f183bb3 Merge "Fixing touch events ignored in some cases" into sc-dev am: e0e64b4851
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15362818

Change-Id: I2a01ed8b901306937bd3ccea185fddb3d45c43e2
2021-07-23 22:46:28 +00:00
TreeHugger Robot 6d9e866669 Merge "Update hotseat sizing for 4x5 grids." into sc-dev 2021-07-23 22:39:48 +00:00
Sunny Goyal e0e64b4851 Merge "Fixing touch events ignored in some cases" into sc-dev 2021-07-23 22:13:35 +00:00
Jonathan Miranda 74aecceafa Merge "Add more extra space to hotseat for taller devices." into sc-dev am: 0c7153bbdf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15363650

Change-Id: I22dce6692e5e284c5c12e21f1d179ce23ad870d3
2021-07-23 22:00:39 +00:00
Jonathan Miranda 0c7153bbdf Merge "Add more extra space to hotseat for taller devices." into sc-dev 2021-07-23 21:41:27 +00:00
Jon Miranda 80cddbccb6 Add more extra space to hotseat for taller devices.
Bug: 192520231
Test: manual test on taller devices
Change-Id: I3eccada67f0ba07d01f823c4156f02c3feb97f84
2021-07-23 20:01:16 +00:00
Jon Miranda 069f8c5ac9 Update hotseat sizing for 4x5 grids.
If the qsb bottom margin is smaller than the bottom insets,
we'll fall back to centering the qsb in the available freespace.

Bug: 194435265
Test: 4x5 grid
      multiple devices,
      with: gesture nav enabled
            3 button nav enabled

Merged-In: I9fd4f0da3f2bc9f0b38a621ad1192533260379e3
Change-Id: I711e7d168b80254e73df0d4e1854756d819a705b
2021-07-23 18:47:33 +00:00
TreeHugger Robot 2a1100694e Merge "Folder polish: unbold folder title, ensure icons not cropped in folder." into sc-dev am: 3f062ab8b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15365040

Change-Id: I95fda7bdcac71a1757237a11969baf89c7300d33
2021-07-23 18:22:48 +00:00
TreeHugger Robot 3f062ab8b6 Merge "Folder polish: unbold folder title, ensure icons not cropped in folder." into sc-dev 2021-07-23 18:10:48 +00:00
Jonathan Miranda d050a354a8 Merge "Update size limits to match spec." into sc-dev am: adeb26b0dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15338351

Change-Id: Icf0f3cf4bdbbf2a69e2595d9b512666a24fae47f
2021-07-23 06:59:11 +00:00
Jonathan Miranda adeb26b0dc Merge "Update size limits to match spec." into sc-dev 2021-07-23 06:46:27 +00:00
Jon Miranda f33f5b3fc5 Folder polish: unbold folder title, ensure icons not cropped in folder.
- Ensure folder items are scaled to fit within the height/width in 4x5 mode.
- This bug surfaced now since  we increased the icon size.

Bug: 194356039
Test: set display to large, set font to large
Change-Id: Ie360ca67c3c91649a471bce920b2fc6a82fb9661
2021-07-22 17:19:28 -07:00
Jon Miranda e4413cc6ae Update size limits to match spec.
Bug: 194124461
Test: Verified using screnshots over spec
      Only 4x5 grid is affected
      Tested on multiple devices, multiple display options

Change-Id: I301c512e416ed81f6d41f6f0ecbf5994d47d82bf
2021-07-22 16:26:18 -07:00
Adam Cohen 8b9d662114 Fix widget drop preview outline on 4x5 grids am: ed82e0daef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15351419

Change-Id: Iec817973aaea5eebddf3e09ecf0f6d97ff304999
2021-07-22 22:54:27 +00:00
Sunny Goyal 58e81e5da1 Fixing touch events ignored in some cases
Bug: 160218103
Test: Manual
Change-Id: Ifa71e742451acecd8979a6833a202c6189b4df52
2021-07-22 15:27:43 -07:00
Adam Cohen ed82e0daef Fix widget drop preview outline on 4x5 grids
=> We were not account for mBorderSpacing in the outline calculation
=> This was fine in most cases as this value is 0, but 4x5 appears to be the exception

Bug: 194227752

Test: manual, see video in bug.
Change-Id: Ib590bc142a0f65e75f92ee057f8b4f4b0f81521b
2021-07-22 12:31:21 -07:00
TreeHugger Robot 6ba5972f84 Merge "Measure WidgetsFullSheet before estimating the recommended table size" into sc-dev am: 6a01fe49a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15359118

Change-Id: Idaeaadb2e1ba47eb2f0d7c3cbcaf3b4529daecf1
2021-07-22 19:09:11 +00:00
TreeHugger Robot 6a01fe49a5 Merge "Measure WidgetsFullSheet before estimating the recommended table size" into sc-dev 2021-07-22 18:53:32 +00:00
Steven Ng a606d344a6 Measure WidgetsFullSheet before estimating the recommended table
size

Issue: The header view height was obtained before any measurement.

Test: On Pixel 5 4x5 gird with Photo widget shown in recommended
      table, make the device in landscape. Then open the full widgets
      picker. The widgets picker can be scrolled. Before this fix,
      scrolling is not possible.
Fix: 194172597
Change-Id: Ib30cf4b95d2ed23ff28f3d24e103f0e919b3a551
2021-07-22 16:08:15 +01:00
Jason Chang 668fd1db2f Merge "Fix unable to swipe up to exit one-handed mode under 2 button navigation" into sc-dev am: 1b3f5d3883
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15311532

Change-Id: I45544393dec62e60baebdda57602f931e0919b3a
2021-07-22 10:01:58 +00:00
Jason Chang 1b3f5d3883 Merge "Fix unable to swipe up to exit one-handed mode under 2 button navigation" into sc-dev 2021-07-22 09:43:13 +00:00
Jonathan Miranda b6347c9d48 Merge "Folder icon polish." into sc-dev am: 46378eb881
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15339889

Change-Id: If24654967e2ddc5e8672ae00776ef65f322a4c70
2021-07-22 00:35:55 +00:00
Jonathan Miranda 46378eb881 Merge "Folder icon polish." into sc-dev 2021-07-22 00:15:29 +00:00
Brian Isganitis 647f62657c Support overriding All Apps EDU animation on drag am: ec4a56a311
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15349065

Change-Id: Ibda4551f7ea83db1868458693190ef467a9ee683
2021-07-21 20:14:40 +00:00
Brian Isganitis ec4a56a311 Support overriding All Apps EDU animation on drag
Test: Dragging during All Apps EDU animation overrides the animation.
Bug: 160218103
Change-Id: I1c0a2d047bcb43ea7ce30cf87182b392dac313e4
2021-07-21 17:39:00 +00:00
TreeHugger Robot 6e5ef6038e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 3a7df28e8d -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15345231

Change-Id: I27496d3ba122cf5d71c6dcf6faf29de0224b5224
2021-07-21 12:59:10 +00:00
TreeHugger Robot 3a7df28e8d Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-21 12:46:42 +00:00
Bill Yi ae99b65b1f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I828bb455fd6ce0c8e5552cac3bf2090f29021ccd
2021-07-21 05:55:06 +00:00
Jason Chang edc7917521 Fix unable to swipe up to exit one-handed mode under
2 button navigation

Remove redundant condition checking when consuming One-handed mode
gesture events.

Bug: 193761450

Test: manual
Test: atest WMShellUnitTests
Change-Id: Id4687cb579c17d7de1a08b32c003e656cbbce820
2021-07-21 11:54:52 +08:00