Commit Graph

4284 Commits

Author SHA1 Message Date
TreeHugger Robot 5cf55827da Merge "Adding ripple effect to the "All Apps tab" buttons." into sc-v2-dev am: 3ba95852f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16359044

Change-Id: I01ee5a75a82798c002798d91538ecee0d455277b
2022-02-11 02:25:05 +00:00
TreeHugger Robot 3ba95852f3 Merge "Adding ripple effect to the "All Apps tab" buttons." into sc-v2-dev 2022-02-11 02:11:50 +00:00
Bill Yi 2a599f3eea Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0dfd8609046378398394e3eff496d783ade48a41
2021-12-15 06:58:05 +00:00
Sebastian Franco 3a50ab4af1 Adding ripple effect to the "All Apps tab" buttons.
Test: Manually tested
Fix: 192252147
Change-Id: I38d37b581b998dc05f087533cff3968ebe0cb00d
2021-12-13 14:18:32 -06:00
TreeHugger Robot 7f4adf679e Merge "Allow restore across form factors" into sc-v2-dev am: 5599b02141
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16440220

Change-Id: I46024c6edf3539fa495ed491c679d1cdce8b5dd0
2021-12-11 00:36:04 +00:00
Alex Chau ab26c62c4a Allow restore across form factors
- Removed deviceTypeCompatible check and allow restore across for mfactors
- In AOSP default device_profile, mark 3x3, 4x4, and 5x5 as phone only. On tablets they'll reflow to 6x5.

Bug: 198575341
Bug: 210129187
Test: Only 3x3, 4x4 and 5x5 are enabled on phone
Test: Only 6x5 is enabled on tablet
Test: Phone backup of 4x4 get restored and reflow to 6x5 on tablet
Change-Id: I36a641d47fcee86ace0fea3d9194d61d12517f13
2021-12-10 22:00:49 +00:00
TreeHugger Robot 287d976c91 Merge "Add launcher grid spec for tablet" into sc-v2-dev am: b1ae1ca124
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16371727

Change-Id: Id456a1dfa7e7f3578aa80cc281eb6680575c4cef
2021-12-08 23:14:44 +00:00
Alex Chau 1c883d861e Add launcher grid spec for tablet
- Introduced device_category to allow grids to be only enabled for certain device types. By default grids are enabled for all device types, so old OEM device_profiles aren't affected
  - Removed device_profiles_split.xml as a result and merged with device_profiles.xml
- Added deviceType in InvariantDeviceProfile to replace isSplitDisplay and centralize the logic
- Only has 6x5 grid with new default layout that works better for tablets

Bug: 198575341
Test: manual
Change-Id: I03f6727ce837ffeee6321b6d7c53942338d0cf30
2021-12-08 18:22:34 +00:00
Alex Chau 992db75dae Use percentage scaling for overview thumbnail size
- Limit overview to screen ratio to be at max 70%
- Tuned row spacing and page spacing
- Added 2 more test activities to testOverviewForTablet to avoid dismissing tasks at end of grid, as more grid tasks are now shown

Bug: 207350366
Test: manual
Change-Id: Id04871464bdb3ef2d6b046977b0ffd9bd51bc230
Merged-In: Id04871464bdb3ef2d6b046977b0ffd9bd51bc230
2021-12-07 14:50:40 +00:00
Alex Chau 4f7952ead4 Use percentage scaling for overview thumbnail size
- Limit overview to screen ratio to be at max 70%
- Tuned row spacing and page spacing
- Added 2 more test activities to testOverviewForTablet to avoid dismissing tasks at end of grid, as more grid tasks are now shown

Bug: 207350366
Test: manual
Change-Id: Id04871464bdb3ef2d6b046977b0ffd9bd51bc230
2021-12-07 11:00:48 +00:00
Alex Chau abda7bc69c Merge "Add back screenshot button to Launcher3" into sc-v2-dev am: 5656154f1a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16365185

Change-Id: If09fd87ad2c2c1d6ca473c9260fbb91ea3f822c3
2021-12-06 17:51:21 +00:00
Alex Chau 5656154f1a Merge "Add back screenshot button to Launcher3" into sc-v2-dev 2021-12-06 17:37:42 +00:00
TreeHugger Robot c0f7659683 Merge "Constraint Snackbar's width to 504dp" into sc-v2-dev am: 3013c7ecf5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16388221

Change-Id: I7067c281f20b405f47253a486275189f63b6b5d9
2021-12-03 19:37:51 +00:00
Alex Chau dc73072797 Constraint Snackbar's width to 504dp
Fix: 209005185
Test: manual
Change-Id: I512ddb575a9fced4bf2608806aef875fe34304e6
2021-12-03 16:20:42 +00:00
Alex Chau 1bf0fe1b70 Add back screenshot button to Launcher3
- Also make spacing between buttons always 36dp
- Updated screenshot button image for Launcher3

Fix: 208384949
Test: Start overview in Launcher3WithQuickStep, test screenshot button is working
Change-Id: Ieb60ce134813202c1d14137fff0a131e1f5f8c96
2021-12-03 12:32:29 +00:00
TreeHugger Robot 0dc5a85eb5 Merge "Add icons for staged split" into sc-v2-dev am: 7f54d5cde4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16374164

Change-Id: I45dd40a636e1586fb6e522b90a753585fa0ec1d6
2021-12-02 23:20:39 +00:00
Vinit Nayak 455197bf41 Add icons for staged split
Fixes: 208649953
Change-Id: I8b7bb3a650e836608ebe6aa50631026f5f6a7c63
2021-12-01 14:58:53 -08:00
TreeHugger Robot 0a3ae68934 Merge "Fling to close tasks in the GestureNav can be too small." into sc-v2-dev am: 96f34af124
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16170178

Change-Id: I4834f39f505dad8ffd2d0db826c4e6f6bf364f31
2021-11-30 18:47:53 +00:00
TreeHugger Robot 96f34af124 Merge "Fling to close tasks in the GestureNav can be too small." into sc-v2-dev 2021-11-30 18:34:09 +00:00
Vinit Nayak f36ba262a8 Merge "Show multiple App Info A11y options for split app icons" into sc-v2-dev am: 458832c09e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16301835

Change-Id: I8ea18722f8dae8dffe62b09f1d4ef4eae3e45b94
2021-11-23 20:22:11 +00:00
Vinit Nayak f957244b88 Show multiple App Info A11y options for split app icons
* AccessibilityNode actions are required to have a
unique resourceId to show as an action in A11y dialog.
For now, only AppInfo option is shown for each app in split,
but moving forward we'll need to add resourceIDs for
each option that can show up for either app.

Fixes: 200609838
Test: Saw multiple options for App Info for each app
come up in talkback mode

Change-Id: I92b349347354ac639537021d775eea814c866a0e
2021-11-18 23:22:46 -08:00
TreeHugger Robot 6b818deec1 Merge "Reset split selection state when RecentsView resets" into sc-v2-dev am: 84b64d7910
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16299751

Change-Id: Id2bb37c56201df52da0be8749970b3ecd05eafdb
2021-11-19 00:04:16 +00:00
TreeHugger Robot 84b64d7910 Merge "Reset split selection state when RecentsView resets" into sc-v2-dev 2021-11-18 23:51:47 +00:00
Vinit Nayak 97f9bd575a Reset split selection state when RecentsView resets
* We weren't calling reset on the views
involved in split selection when recents view gets
a reset call (oops)
* Use device theme for split placeholder theme instead
of hardcoding to white

Fixes: 206155455
Change-Id: I3768fd574cb21eec9562d89c1a93eaa3f53d5ff1
2021-11-18 14:06:27 -08:00
TreeHugger Robot cce039642b Merge "Adding back the badges on widgets for widget recommendations." into sc-v2-dev am: 160d85c815
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16279659

Change-Id: I2f163917e70b9cb9fc6d49dc2b60cb4d0da73373
2021-11-18 17:45:14 +00:00
TreeHugger Robot 160d85c815 Merge "Adding back the badges on widgets for widget recommendations." into sc-v2-dev 2021-11-18 17:44:50 +00:00
TreeHugger Robot f46f911fd1 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-11-18 17:20:21 +00:00
Bill Yi 645278133c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I96e0a393c618e4bf956a23d2da8066d123f13932
2021-11-18 04:20:51 +00:00
TreeHugger Robot 61795cd45a Merge "Add animated background to the suw all set page." into sc-v2-dev am: 010faef3a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16223698

Change-Id: I9cadb5c6909ad68ca3ba1cadc9c72ba1b7a1716d
2021-11-18 00:23:49 +00:00
TreeHugger Robot 010faef3a5 Merge "Add animated background to the suw all set page." into sc-v2-dev 2021-11-18 00:07:35 +00:00
Sebastian Franco 0a1328d9fb Adding back the badges on widgets for widget recommendations.
Test: Manual Testing
Fix: 202956924
Change-Id: I859d3d93d95bdc8d0742eb6b5dd40ad12a386928
2021-11-17 15:08:09 -06:00
Sebastian Franco 3b86202a95 Fling to close tasks in the GestureNav can be too small.
The problem is that the velocity threshold to activate the fling
was set using pixels per second, so a better aproach would is to
use dp/s. So now there is a variable set in the dimes.xml file
called base_swift_detector_fling_release_velocity.

Test: Manually tested
Fix: 201252634
Change-Id: Ief14f25de136dead74f03cb24d2120b67900239e
2021-11-16 14:46:36 -06:00
Hyunyoung Song 5401d47b53 Merge "Add FeatureFlag to enable two line label inside all apps" into sc-v2-dev am: 3f14c80d4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16224885

Change-Id: I9f25d2fa72e5b6bc1ff4fff8de74ba92937583ab
2021-11-11 21:44:09 +00:00
Hyunyoung Song 3f14c80d4c Merge "Add FeatureFlag to enable two line label inside all apps" into sc-v2-dev 2021-11-11 21:29:30 +00:00
TreeHugger Robot 3181cf0b1d Merge "Update Split Overview menu strings" into sc-v2-dev am: 39c22aa9ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16240901

Change-Id: Ia2639bc3a0b7a1d8b1384518cfbc121c35679f22
2021-11-11 21:17:43 +00:00
Vinit Nayak 14ed91fb5b Update Split Overview menu strings
Bug: 181704764
Change-Id: Icaf51a702d529e20a0e65c4708fc7bc833e5eeeb
2021-11-11 11:20:04 -08:00
Hyunyoung Song afe8fadc15 Add FeatureFlag to enable two line label inside all apps
Bug: 201388851
Test: screenshot on the bug
Change-Id: Id01d6f9f9e25b98cad8368ac0faf671addf793f8
2021-11-10 22:26:51 -08:00
Schneider Victor-tulias d0865f8219 Add animated background to the suw all set page.
Test: Ran all set page in landscape/portrait, dark/light mode
Fixes: 190828563
Change-Id: Ie7fbc6ce6777e9cec8d4dcb5dff3090dc167a161
2021-11-10 14:15:55 -08:00
Bill Yi 657f9f832a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib4454b1544113a5c942e181642b0cfb90565001c
2021-11-05 22:12:48 +00:00
Alex Chau 9184e1f3f4 Merge "Update overview clear all button to be larger" into sc-v2-dev am: 67ddd0fefd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16183382

Change-Id: I5359d6320c9fb1d4a43f25d199d13b23170fb39a
2021-11-05 12:02:31 +00:00
Alex Chau 67ddd0fefd Merge "Update overview clear all button to be larger" into sc-v2-dev 2021-11-05 11:49:56 +00:00
Samuel Fufa 7f355ff178 Merge "[Search] Show search suggestions with in Recyclerview" into sc-v2-dev am: 4112ae6a5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16172124

Change-Id: I8dac511ad4116e9a1355962b5ec12f2f28029591
2021-11-04 21:04:37 +00:00
Alex Chau 56bd257478 Update overview clear all button to be larger
- Tuned the size and corner radius
- Tuned the margin from screen edge
- Tuned the vertical position

Bug: 204153113
Test: manual
Change-Id: Ibf3df599b31c7ecc2c9c951fc89e7e09c90253ef
2021-11-04 16:02:17 +00:00
sfufa@google.com 6cf7b319ac [Search] Show search suggestions with in Recyclerview
This change removes usage of FloatingHeaderView to display suggested web results to using RecyclerView.

Bug: 204116666
Test: Manual [apk attached to BR]
Change-Id: I7f8f1a5630f3cc2b29e7276636eaf45cda148566
2021-11-03 10:27:04 -07:00
Brian Isganitis 97ad331b6b Merge "Decrease character limit for "Home settings" to 20." into sc-v2-dev am: f0fa83e988
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16132965

Change-Id: Ida688e617aa9b84c7612e8ed4089ab1cbd44dbbf
2021-11-01 20:12:17 +00:00
Brian Isganitis f0fa83e988 Merge "Decrease character limit for "Home settings" to 20." into sc-v2-dev 2021-11-01 20:00:32 +00:00
Jonathan Miranda 470c4ffe3b Merge "Remove PROTOTYPE_APP_CLOSE feature flag and associated code." into sc-v2-dev am: 9b85616119
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16151440

Change-Id: Ibe2f993cfb5614d4a5a39463277f23ca7c126604
2021-11-01 18:51:55 +00:00
Jonathan Miranda 9b85616119 Merge "Remove PROTOTYPE_APP_CLOSE feature flag and associated code." into sc-v2-dev 2021-11-01 18:35:44 +00:00
Bill Yi 9252143fb6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifdcb1408fd64a714b08364c9e2106ade4c4a6fd7
2021-10-30 01:23:53 +00:00
Jon Miranda 029a644a6e Remove PROTOTYPE_APP_CLOSE feature flag and associated code.
Flag was never enabled, safe to remove.

Bug: 200999899
Test: manual
Change-Id: Ie2646d8c4b9a1c40fac1bfd7dadf4ec714171aec
2021-10-29 16:07:29 -07:00