Commit Graph

49925 Commits

Author SHA1 Message Date
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
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
Pierre Barbier de Reuille d1bde5e6f3 Merge "Stop trying to draw a view not attached to the view tree" into sc-dev 2021-04-07 20:40:10 +00:00
Alex Johnston a538ffe2a4 resolve merge conflicts of 8786016e85 to rvc-qpr-dev
Bug: 168802517
Change-Id: I84db4b2328ecdd40991f661f23f635f4dd1a42ab
Merged-In: I3e6ba1d8645335785e8e26cdc895ea9c0017a0fd
2021-04-07 18:01:43 +00:00
Alex Johnston 18217e7f94 Block recent work profile apps content capture am: 8786016e85
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989187

Change-Id: I0e39d019e358dd8e0016927a9c9b50717cf6eb93
2021-04-07 17:00:40 +00:00
Samuel Fufa 9245773737 [Search] Update specs per UX
- Moves search related resources go NexusLauncher

Test: Visual
Bug: 184369338
Change-Id: Ic466395192d1fd891aeebec93b491d453edf84aa
2021-04-07 11:54:34 -05:00
Pierre Barbier de Reuille ad41a56166 Stop trying to draw a view not attached to the view tree
The behavior of the framework when we try to do so is undefined. In our
case, it almost work, but no clipping is applied, which is a problem for
Android S (before that, widget couldn't use clipping in the first
place).

Instead of drawing the view through a drawable, this really add the view
and adds also a badge ImageView for badges instead of drawing them
indirectly.

Note that, temporarily, we have to re-allow drawing the view after it
has been attached, but the underlying framework bug being fixed, this
should be fine (I tested it and it really seems to be).

Bug: 183609936
Test: Using hand designed app (see bug)
Change-Id: I929ef8fc81c98c49406f2d940cd5efc28319886d
2021-04-07 15:51:43 +01:00
android-build-team Robot 939bb2cab4 Snap for 7263361 from 4f7d8fc3fb to sc-v2-release
Change-Id: I39ed030995c4189cbe77f279378f61ac61454c2e
2021-04-07 01:08:45 +00:00
android-build-team Robot f2ee2a093d Snap for 7263361 from 4f7d8fc3fb to sc-release
Change-Id: I65e01da8d73c3e9b8f13f67f56fa18ac5f4128ff
2021-04-07 01:08:08 +00:00
Schneider Victor-tulias c33ca110e1 Merge "Add logging for adding pending icons to the workspace." into sc-dev am: adfbdcf8fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989020

Change-Id: I891e54b0af9b4e4611ddbaa284652d373344cc5c
2021-04-07 00:32:28 +00:00
Schneider Victor-tulias e06877601f Merge "Add logging for adding pending icons to the workspace." into sc-dev am: adfbdcf8fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989020

Change-Id: Id2f2375d270db285909645f12255ca4a51337ee9
2021-04-07 00:32:19 +00:00
Schneider Victor-tulias adfbdcf8fe Merge "Add logging for adding pending icons to the workspace." into sc-dev 2021-04-06 23:45:53 +00:00
TreeHugger Robot 327d9b89c2 Merge "Simplifying widget search pipeline" into sc-dev am: 47fe0d14f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14040011

Change-Id: I5d6e5d00012985e64b9d7065f5f222db0014baba
2021-04-06 23:28:16 +00:00
TreeHugger Robot 27bdd56e9d Merge "Simplifying widget search pipeline" into sc-dev am: 47fe0d14f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14040011

Change-Id: Ic6c462b48b0002199a8a851e4f6382fe25f16dba
2021-04-06 23:27:35 +00:00
TreeHugger Robot 47fe0d14f0 Merge "Simplifying widget search pipeline" into sc-dev 2021-04-06 23:12:32 +00:00
Samuel Fufa f73fc80718 Merge "[Search] make AbstractSlideinView#createColorScrim overridable" into sc-dev am: 4f7d8fc3fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14101075

Change-Id: I3e9ca28c14f370b7a0661223ab6467f5234dd583
2021-04-06 23:07:05 +00:00
Samuel Fufa 035567f641 Merge "[Search] make AbstractSlideinView#createColorScrim overridable" into sc-dev am: 4f7d8fc3fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14101075

Change-Id: I44fd7b791c47dacba64c61ad5423a4e5bea9b951
2021-04-06 23:06:37 +00:00
Sunny Goyal c82916fecb Some cleanup in RecentsView
> Merging overview and all-apps scrims into a single View
> Decoupling TaskMenuView from taskView

Bug: 184676497
Test: Manual

Change-Id: I49f7249eaa2a800054385ab8e73a441d6a1b5e16
2021-04-06 15:47:33 -07:00
Samuel Fufa 4f7d8fc3fb Merge "[Search] make AbstractSlideinView#createColorScrim overridable" into sc-dev 2021-04-06 22:36:28 +00:00
Winson Chung 28a0ba13f2 Merge "Fix noisy log from sysui flag changes" into sc-dev am: 7cf7c31e46
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14098021

Change-Id: I0e0d167ed4a6e1dd79a632cfae41428c3bad1654
2021-04-06 22:26:36 +00:00
Winson Chung fc540e8be1 Merge "Fix noisy log from sysui flag changes" into sc-dev am: 7cf7c31e46
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14098021

Change-Id: I67ff6c8c39d6ba579e7b3c7186ebde4f92950a39
2021-04-06 22:23:43 +00:00