Commit Graph
49755 Commits
Author SHA1 Message Date
Steven Ng abf7d457be Merge "Fix drag-n-drop for recommended widgets" into sc-dev am: 8b097ce381
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14141532

Change-Id: I983bdcd709667d2bc213419e1030c0609b5d3fad
2021-04-09 17:27:31 +00:00
Steven Ng 3eb0c8a204 Merge "Set a max down scale ratio for recommended widgets" into sc-dev am: ab293546be
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14141527

Change-Id: I76f32a1784acbbb593edd2faf9c3c2b15a72ada6
2021-04-09 17:27:17 +00:00
Steven Ng 4d29474dcb Merge "Set a max down scale ratio for recommended widgets" into sc-dev am: ab293546be
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14141527

Change-Id: I40e8fa0db96f3da2020ebc2c7501b61027d6f78e
2021-04-09 17:26:50 +00:00
Steven Ng 8b097ce381 Merge "Fix drag-n-drop for recommended widgets" into sc-dev 2021-04-09 17:15:33 +00:00
Steven Ng ab293546be Merge "Set a max down scale ratio for recommended widgets" into sc-dev 2021-04-09 17:14:28 +00:00
Schneider Victor-tulias d7f68425ca Merge "Update Home settings nav bar color." into sc-dev am: 12f6419f9a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14117506

Change-Id: Ia8006346474271e4398d50adee13728366937c8f
2021-04-09 17:08:47 +00:00
Schneider Victor-tulias 41f058f782 Merge "Update Home settings nav bar color." into sc-dev am: 12f6419f9a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14117506

Change-Id: Id2f8ea573cab00fd39cd11b89ab2e03f2df69487
2021-04-09 17:07:24 +00:00
Schneider Victor-tulias 12f6419f9a Merge "Update Home settings nav bar color." into sc-dev 2021-04-09 16:35:34 +00:00
Jon Miranda 5eff0bbe13 Remove temp logic added to migrate users to new 4x5 grid.
Related changes:
- I81a91b8415effbe0bf7ba722f11ab44a4169e3df
- Ia7ae129048bf5878b216f31f949e10c71e608818

Bug: 183965808
Bug: 175329686
Test: manual
Change-Id: If9ae69d746f1c86db98275f0c00ae054e146b67e
2021-04-09 14:58:46 +00:00
Steven Ng f7b7faed77 Fix drag-n-drop for recommended widgets
Bug: 184917820
Test: Drag-n-drop a recommended widget from the all widgets tray
Change-Id: If9efffc2e156836ff1b4048c3d40782ba4d5976b
2021-04-09 15:26:31 +01:00
Steven Ng f22239191d Set a max down scale ratio for recommended widgets
If the down scale ratio is smaller than the max down scale ratio,
recommended widgets won't be shown

Bug: 183500375
Test: Rotate to landscape on Pixel 3 and then launch widget picker.
      Recommended widgets are not shown. Rotate to portrait.
      Recommended widgets are shown.
Change-Id: I48b76b23c5bf505c79da82c7b27ea4db85f5d717
2021-04-09 14:54:35 +01:00
Pierre Barbier de Reuille 04c013cfed Update the test appwidget for dynamic colors am: 46fbb5c702
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14139565

Change-Id: I02055b8c93e6482a53bbacdbbfe990642f562c8b
2021-04-09 12:47:35 +00:00
Pierre Barbier de Reuille 467130203e Update the test appwidget for dynamic colors am: 46fbb5c702
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14139565

Change-Id: Ia2380c002aad1621047aad4fb45c75520d6b761d
2021-04-09 12:47:10 +00:00
Steven Ng 3691179041 Set width & height of app icons in all widgets tray to 48dp
Bug: 184877669
Test: Change the grid size and observe app icons in all widgets
      tray stay the same.
Change-Id: I856d5fada579474fffb6296d641fb686623ca2cc
2021-04-09 11:15:50 +01:00
Pierre Barbier de Reuille 46fbb5c702 Update the test appwidget for dynamic colors
Fix: 184924547
Test: Installed widget locally
Change-Id: Icb50cfd5cec053c3cbe9b25fe317ad71e0b16bf6
2021-04-09 10:55:05 +01:00
Andras Kloczl 7a1ca0b299 Launcher home currentpage refactoring
Calling cancelLongPress on all the visible pages when needed
and enabling hardware acceleration on them when a folder
animation is in progress.

Test: manual
Bug: 174464691
Change-Id: Ib11265abfd184fed41acc9a6347a32aec12895f2
2021-04-09 11:22:14 +02:00
shawnlin efbbdbd35d Attached the navigation bar to app for launching from Launcher am: ffb976c404
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14031674

Change-Id: I239cbee54b6c5f1b4ac66e7978a86454c470d046
2021-04-09 07:59:17 +00:00
shawnlin 65b6cec480 Attached the navigation bar to app for launching from Launcher am: ffb976c404
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14031674

Change-Id: I34179afef340560360767322bd7e1150b2069fe5
2021-04-09 07:58:49 +00:00
shawnlin ffb976c404 Attached the navigation bar to app for launching from Launcher
- Play the nav bar fade-out animation at the same time when the app
  launching animation starts and make the fade-in animation ends at the
  same time when app launching animation ends.
- To make the nav bar fade-in animation looks like it's attached to the
  app, apply crop rect and translation that the app targets apply to the
  nav target.

Bug: 181638132
Test: manual: click app icon on launcher to launch an activity and
observe the navigation bar animation.

Change-Id: If7e610eca5fccbb747a76c87335a600b018195a6
2021-04-09 04:04:42 +00:00
android-build-team Robot c38f3567df Snap for 7269314 from 21784eaf08 to sc-v2-release
Change-Id: Ib3245b4c3be6653702c2842f5f0d6152883bbdca
2021-04-09 01:08:52 +00:00
android-build-team Robot cafc2c2964 Snap for 7269314 from 21784eaf08 to sc-release
Change-Id: I3adf20eb6d779cf845f5d4df12ed569690b682a6
2021-04-09 01:08:34 +00:00
András Klöczl 6563fdf3df Merge "Update icon and text size for two panel home screen" into sc-dev am: 12eeecc36b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14103520

Change-Id: I8b388f4f42accb16802154429b023082c3bba1b9
2021-04-08 23:15:22 +00:00
András Klöczl ddbf785d68 Merge "Update icon and text size for two panel home screen" into sc-dev am: 12eeecc36b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14103520

Change-Id: I9a8301cc5bd914d73149d421fe1f774d636f45e1
2021-04-08 23:15:12 +00:00
András Klöczl 12eeecc36b Merge "Update icon and text size for two panel home screen" into sc-dev 2021-04-08 22:48:26 +00:00
android-build-team Robot 2121a1b209 Snap for 7269201 from a538ffe2a4 to rvc-qpr3-release
Change-Id: If859efaaab8aae2518d6e0344ebbeca4335e2213
2021-04-08 22:05:42 +00:00
Steven Ng 833a0b9fa9 Add a widget conversations category for grouping widgets in the picker
Bug: 184878454
Test: Open the full widget picker and observe the conversation widget
      from SystemUi is listed under conversations.
Change-Id: I53cd74d80ce3c4ff77a92cd660ca9283416e9fd3
2021-04-08 22:35:55 +01:00
Alex Chau 0fc65c38b9 Merge "Calculate ClearAllButton's scroll offset after it's laid out" into sc-dev am: 21784eaf08
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14112622

Change-Id: I779bbe504f4df9de04baae036a81f1b4385942d3
2021-04-08 21:09:27 +00:00
Alex Chau 27f08d961c Merge "Check showAsGrid when applying secondary translate on TaskViewSimulator" into sc-dev am: 6c01b3b088
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14113495

Change-Id: Ia8b28f5ade6b2386571899d053e8e554502d9f59
2021-04-08 21:09:16 +00:00
Alex Chau 6622fa5a51 Merge "Calculate ClearAllButton's scroll offset after it's laid out" into sc-dev am: 21784eaf08
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14112622

Change-Id: I2222de7a9d72fe0b276bb374735c1e22bb0180e4
2021-04-08 21:08:48 +00:00
Alex Chau f92128f177 Merge "Check showAsGrid when applying secondary translate on TaskViewSimulator" into sc-dev am: 6c01b3b088
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14113495

Change-Id: Ia60d2c2c118615d85adb78dcb1c8bc8b956ebf88
2021-04-08 21:06:34 +00:00
Alex Chau 21784eaf08 Merge "Calculate ClearAllButton's scroll offset after it's laid out" into sc-dev 2021-04-08 20:44:45 +00:00
Alex Chau 6c01b3b088 Merge "Check showAsGrid when applying secondary translate on TaskViewSimulator" into sc-dev 2021-04-08 20:43:19 +00:00
Steven Ng bf105c67b4 Merge "Use a separate personal/work tabs layout for the widget picker" into sc-dev am: 1b5e45acae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14103513

Change-Id: I097524426790c6b68403ba9120094602bbbe1406
2021-04-08 19:21:57 +00:00
Steven Ng d560fb8888 Merge "Use a separate personal/work tabs layout for the widget picker" into sc-dev am: 1b5e45acae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14103513

Change-Id: Ie7c4ea6fd3db4f4f60becaef8e54d28950c49861
2021-04-08 19:21:17 +00:00
Steven Ng 1b5e45acae Merge "Use a separate personal/work tabs layout for the widget picker" into sc-dev 2021-04-08 18:48:52 +00:00
Alex Chau 5fee81233b Calculate ClearAllButton's scroll offset after it's laid out
- ClearAllButton's width is 0 before it's laid out, making the calcualtion incorrect

Bug: 184570027
Test: Restart device or change screen size, ClearAllButton is in correct position
Change-Id: I2cefccbe18925cb3d9dac705b333400639b7049e
2021-04-08 17:22:12 +00:00
Alex Chau f7df816a8a Check showAsGrid when applying secondary translate on TaskViewSimulator
Bug: 184566209
Test: manual
Change-Id: I53d78553a67c8cd056a9cafad0f163e2c6401550
2021-04-08 17:21:58 +00:00
Winson Chung 38bd95ceb5 Merge "Reset force-minimized split state when in live tile mode" into sc-dev am: 01b5d5e332
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14098020

Change-Id: I47f93ac0ca0fc94d03f466c905c111c376998603
2021-04-08 17:04:05 +00:00
Winson Chung 3b85860fb2 Merge "Reset force-minimized split state when in live tile mode" into sc-dev am: 01b5d5e332
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14098020

Change-Id: Iae66943d109331cf277efdacc730bd9064a49ee4
2021-04-08 17:04:02 +00:00
Jon Spivack a65d68b6bf Support LauncherGoGoogle builds in Android.bp
LauncherGoGoogle has dependencies in Launcher3. In order to build it with Android.bp files, these must be exported as filegroups/libraries.

Bug: 184175022
Test: Manual (built/installed on local device)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: I1748ab9ccda06dadbd05c2ffcc77b59478ce37c7
2021-04-08 09:55:05 -07:00
Winson Chung 01b5d5e332 Merge "Reset force-minimized split state when in live tile mode" into sc-dev 2021-04-08 16:30:28 +00:00
Alex Johnston fd147073ca [automerger skipped] resolve merge conflicts of 8786016e85 to rvc-qpr-dev am: a538ffe2a4 am: 5dd7e72e1d -s ours am: 8236471783 -s ours
am skip reason: skip tag Change-Id I3e6ba1d8645335785e8e26cdc895ea9c0017a0fd with SHA-1 8786016e85 is already in history

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

Change-Id: I72c6f92a75e8490ade21f31ea62137207cb45c85
2021-04-08 14:12:49 +00:00
Alex Johnston ebf4b4a465 [automerger skipped] resolve merge conflicts of 8786016e85 to rvc-qpr-dev am: a538ffe2a4 am: 5dd7e72e1d -s ours am: 8236471783 -s ours
am skip reason: skip tag Change-Id I3e6ba1d8645335785e8e26cdc895ea9c0017a0fd with SHA-1 8786016e85 is already in history

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

Change-Id: Iafc730ee7b628e2424c01b2c69fe3f2bb45de3a0
2021-04-08 14:12:27 +00:00
Alex Johnston 8236471783 [automerger skipped] resolve merge conflicts of 8786016e85 to rvc-qpr-dev am: a538ffe2a4 am: 5dd7e72e1d -s ours
am skip reason: skip tag Change-Id I3e6ba1d8645335785e8e26cdc895ea9c0017a0fd with SHA-1 8786016e85 is already in history

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

Change-Id: I9f745ba547b331b4953ea060127b463a5acc28f0
2021-04-08 13:35:09 +00:00
Andras Kloczl 6057cb9fe6 Update icon and text size for two panel home screen
Adding new field for landscape icon text size and changing
the logic for when to use landscape sizes.

Test: manual
Bug: 182796672
Change-Id: I89833e8fd90f2606937c3b95ac10229a042213ec
2021-04-08 15:27:27 +02:00
Alex Johnston 5dd7e72e1d resolve merge conflicts of 8786016e85 to rvc-qpr-dev am: a538ffe2a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14102694

Change-Id: I31f76112edeb770bc3b9c017f6205392dbe3f5a8
2021-04-08 12:46:10 +00:00
Steven Ng fd604ee7ae Use a separate personal/work tabs layout for the widget picker
1. Apps are feminine while widgets are masculine in some languages.
   We should use a different set of strings to ensure strings are
   translated with the right context.
2. We will be using a different theme for widget tabs. Let's keep
   the layout separate.

Bug: 184613311
Test: manual
Change-Id: I88df8ca6091e4b6ddf81f34f180a6ce2cada16e3
2021-04-08 11:14:24 +00:00
Pinyao Ting a39f45ba28 Fix BackupRestoreTest
Modified the test in comply with changes in Roboelectric framework.

Bug: 184793993
Test: wip
Change-Id: I31af8ea828d0070bb9161e553c5a5054e5d0b432
2021-04-07 19:40:02 -07:00
android-build-team Robot 38005f1128 Snap for 7266202 from adfbdcf8fe to sc-v2-release
Change-Id: I1d48d4939b2aa96f3dedeb0f56bce8263015d520
2021-04-08 01:08:36 +00:00
android-build-team Robot 09cb5eebd9 Snap for 7266202 from adfbdcf8fe to sc-release
Change-Id: Ica4ba9cbec576af160996e8ed17edd111635e488
2021-04-08 01:08:12 +00:00