Commit Graph
60459 Commits
Author SHA1 Message Date
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 83a69ac83c Snap for 7269597 from ddbf785d68 to tm-release
Change-Id: I069f4f0c6099bcc1218bfb64cccbfafac58ecb96
2021-04-09 03:07:53 +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
android-build-team Robot 55e00f0809 Snap for 7266203 from e06877601f to tm-release
Change-Id: Id400ee5cd5d5ddc8849b6978a866a3d5ca2e79a1
2021-04-08 03:07:42 +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
Alex Johnston 52ac08243a [automerger skipped] Block recent work profile apps content capture am: 8786016e85 am: 18217e7f94 -s ours am: 781b84146f -s ours
am skip reason: skip tag Change-Id I3e6ba1d8645335785e8e26cdc895ea9c0017a0fd with SHA-1 284aaba153 is already in history

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

Change-Id: Iffd4890b302d31bd050f9774eaa42fc085188369
2021-04-07 22:54:52 +00:00
Alex Johnston 31ddbf2eab [automerger skipped] Block recent work profile apps content capture am: 8786016e85 am: 18217e7f94 -s ours am: 781b84146f -s ours
am skip reason: skip tag Change-Id I3e6ba1d8645335785e8e26cdc895ea9c0017a0fd with SHA-1 284aaba153 is already in history

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

Change-Id: If182613690b41be6a05662702fc1fa40685b805b
2021-04-07 22:54:05 +00:00
Sunny Goyal 8b9919de9f Removing some dependency on icon shape
Bug: 183641907
Test: Manual
Change-Id: Ifd492a850bb9918ad378385abe544362e34e70b0
2021-04-07 14:46:16 -07:00
Alex Johnston 781b84146f [automerger skipped] Block recent work profile apps content capture am: 8786016e85 am: 18217e7f94 -s ours
am skip reason: skip tag Change-Id I3e6ba1d8645335785e8e26cdc895ea9c0017a0fd with SHA-1 284aaba153 is already in history

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

Change-Id: I3b808f2f32a8bb21a19046062824440cb720d555
2021-04-07 21:39:10 +00:00
TreeHugger Robot 79d67913f3 Merge "Some cleanup in RecentsView" into sc-dev am: 63c169561c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14106036

Change-Id: I3fd57f23d414414dc279c73f066bb4dc079f4bfe
2021-04-07 21:11:02 +00:00
TreeHugger Robot b3dfb3cb8f Merge "Some cleanup in RecentsView" into sc-dev am: 63c169561c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14106036

Change-Id: I90749bc0c39124e4d2be5af93ba4a11ab4ae386c
2021-04-07 21:10:54 +00:00
Pierre Barbier de Reuille 71cf2f593f Merge "Stop trying to draw a view not attached to the view tree" into sc-dev am: d1bde5e6f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989193

Change-Id: I1274a9fe111647630dafd71a4d30fcdc7adebd97
2021-04-07 21:10:54 +00:00
Pierre Barbier de Reuille ca90819278 Merge "Stop trying to draw a view not attached to the view tree" into sc-dev am: d1bde5e6f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989193

Change-Id: Id0858c4be58a4f5d9c47e0bd7681002a3974cc37
2021-04-07 21:10:41 +00:00
Schneider Victor-tulias e845463a1b Update Home settings nav bar color.
Updated the Hime settings nav bar color to match that of the wallpaper picker app.

Test: manual

fixes: 183396026
Change-Id: Id2302a553c5ddf645d497cb832608efecb3e70ad
2021-04-07 14:09:26 -07:00
Vadim Tryshev 7f52f4090c Revert "Fixing testOverview test"
This reverts commit 17ba630cd9.

Reason for revert: For unknown reasons, the problem had fixed itself

Change-Id: Ifdf884a4ca0e3cd96d85da2725216fd34bfdcbe0
2021-04-07 21:07:56 +00:00
TreeHugger Robot 63c169561c Merge "Some cleanup in RecentsView" into sc-dev 2021-04-07 21:06:55 +00:00