Commit Graph

58436 Commits

Author SHA1 Message Date
TreeHugger Robot 3bdc16ec26 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: bc4a01ee59 -s ours am: 1fcc9ced74 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic8fac2cb112dc364b3ec55090e472fb6116b5a79
2021-06-30 15:09:15 +00:00
Tony Wickham 69e6340c91 Merge "Fully null check mRecentsAnimationController" into sc-dev am: d61f224570 am: 4eacef2e1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147296

Change-Id: Ia7c8b6feadc756c24b7f877111e60da565097920
2021-06-30 15:09:01 +00:00
TreeHugger Robot 814d644d81 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-30 15:08:32 +00:00
Tony Wickham c6192426a0 Merge "Fully null check mRecentsAnimationController" into sc-dev am: d61f224570 am: 597943985f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147296

Change-Id: Ic9a36bc25a01d9ef5832918c9898a362fa1bf6c5
2021-06-30 15:07:00 +00:00
TreeHugger Robot 594422517a [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: f0b607b401 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie37e02e1c298a9f1b7f115d9efcd42c943c2213d
2021-06-30 15:06:22 +00:00
TreeHugger Robot 1fcc9ced74 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: bc4a01ee59 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I39d3b6d23c160e59d3c9d1970407cec9cc680fea
2021-06-30 15:00:49 +00:00
Tony Wickham 2067c978a2 Merge "Fully null check mRecentsAnimationController" into sc-dev am: d61f224570
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147296

Change-Id: I70839338c0e4d9e5b20a4ed41b0341fddc0979a3
2021-06-30 15:00:48 +00:00
Pierre Barbier de Reuille d95f68c86a Merge "Correct color extraction on App Widget drop." 2021-06-30 14:57:37 +00:00
Tony Wickham 597943985f Merge "Fully null check mRecentsAnimationController" into sc-dev am: d61f224570
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147296

Change-Id: I88d51d664b00ec21145281782612045fc6297663
2021-06-30 14:54:49 +00:00
Tony Wickham 4eacef2e1b Merge "Fully null check mRecentsAnimationController" into sc-dev am: d61f224570
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147296

Change-Id: Ie6cdb362ed480068fc1793ee454c3a3648a64061
2021-06-30 14:53:54 +00:00
TreeHugger Robot f0b607b401 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-06-30 14:48:14 +00:00
TreeHugger Robot bc4a01ee59 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-06-30 14:46:04 +00:00
Tony Wickham d61f224570 Merge "Fully null check mRecentsAnimationController" into sc-dev 2021-06-30 14:35:03 +00:00
Yogisha Dixit 4c3259a0eb Log widget features to new features field.
Bug: 185778648, 187734511
Test: manual
Change-Id: Ifa5d88602e4fccce153b207b2d57d10d13f33dc9
2021-06-30 14:14:55 +00:00
Pierre Barbier de Reuille 2881801c7b Correct color extraction on App Widget drop.
Disable color extraction on drop until the workspace is back to its
normal size, then re-enable it and force re-coloring. This needs to
happen if the drop is on the workspace, but also if the drop is on the
secondary target.

Fix: 192354264
Test: Manual, see bug for details.
Change-Id: If573641e4bb5a98ed6b5008e00f70f4bbe492c24
2021-06-30 14:13:56 +01:00
Cyrus Boadway 0d96baec13 Defer onColorsChanged updates during widget-to-home animation
Color change updates recreate the view, which can interfere with the
widget-to-home return animation, specifically the GhostView's use of the
AppWidgetHostView's render node.

Deferring the application of color changes until the end of the
animation allows the widget to settle and remove the GhostView before a
color change might recreate the widget's view.

Bug: 190818220
Test: manual
Change-Id: I6552e583ebb0e4810077d4e70fe9ecb07fd5d01a
2021-06-30 13:10:02 +00:00
Alex Chau 930d85fe0f Merge "Snap to relative position to snappd task when dismissing" into sc-v2-dev am: f35a887446 am: fa8f4be314
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142494

Change-Id: I1c1a07020d48c77d309fe947e3717e912a447ac4
2021-06-30 10:51:37 +00:00
Alex Chau fa8f4be314 Merge "Snap to relative position to snappd task when dismissing" into sc-v2-dev am: f35a887446
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142494

Change-Id: Icc1f598eb8a39f788c87b61dc99d4c7a12e07ef3
2021-06-30 10:36:33 +00:00
Alex Chau f35a887446 Merge "Snap to relative position to snappd task when dismissing" into sc-v2-dev 2021-06-30 10:24:11 +00:00
Bill Yi 3334740889 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9ee398f8d680364e8fc800b5158fc4ce55dfc283
2021-06-30 08:21:42 +00:00
Bill Yi d76d479169 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I56634b7bcddaa88b9bbb874a54bc003d821f4090
2021-06-30 08:20:43 +00:00
Bill Yi e463d19173 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I282f1e29562ee9f190c054db49af69ad90394b2d
2021-06-30 08:20:10 +00:00
Bill Yi ae265f756b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idcda8ddba143ad0decd633fb5691b6db36427570
2021-06-30 08:19:29 +00:00
Bill Yi f0353b5a9a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1fae17d8a50cccf65bb432eef39ac7cbc77f5fd8
2021-06-30 08:17:46 +00:00
Bill Yi a77f3a3096 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie7f978c5858b3280e706d0e65d31505f5be4bb2f
2021-06-30 08:17:13 +00:00
Vinit Nayak 4ce773962e Take margin insets into account when setting position
Previously we computed insets for task menu position
whenever a Task was told that orientation had changed.
This missed a path for the TaskMenuView's onScrollChanged()
listener, which also calls set position and wasn't taking
the insets into account.

Moved the inset into setPosition() directly so it's caught
on all code paths.

Also noticed 2 bugs where
* We were calling updateChildTaskOrientation() twice, it
already happens in the call to updateOrientationHandler()
* We were directly modifying insets from the activity's
drag layer instead of copying those insets to another rect
and then modifying (this is no longer an issue since we
are not touching those insets at all anymore)

Bug: 192400086
Test: Rotated w/ task menu open for fake and real
landscape. Nothing seems broken.
Note real landscape hides the menu whereas fake one
shows it (which was behavior before this change)

Change-Id: I613dac9519220f49285655ef11a1f72e4a6d31bd
2021-06-30 06:23:38 +00:00
Jonathan Miranda ffe14f0a5e Merge "Allow two lines max for text view in system shortcuts." into sc-dev am: d4b713c7ae am: ec448c10dd am: 868fa96dad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15135388

Change-Id: I8910ac54915ae8c932ab037aa16e66d3b7e6431c
2021-06-30 05:36:44 +00:00
Jonathan Miranda 35b1fc6af6 Merge "Allow two lines max for text view in system shortcuts." into sc-dev am: d4b713c7ae am: a305214073 am: 8bf82f25bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15135388

Change-Id: I140591c7c9d7932f8439fdde73aa39380c0a7042
2021-06-30 05:36:37 +00:00
Jonathan Miranda 868fa96dad Merge "Allow two lines max for text view in system shortcuts." into sc-dev am: d4b713c7ae am: ec448c10dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15135388

Change-Id: I72f72786bd76d45d37afd048c5c5e66e4242ece9
2021-06-30 05:27:08 +00:00
Jonathan Miranda 8bf82f25bc Merge "Allow two lines max for text view in system shortcuts." into sc-dev am: d4b713c7ae am: a305214073
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15135388

Change-Id: I1b4f0d02726f990671fe15dbc4ac23da197e5be5
2021-06-30 05:22:25 +00:00
Jonathan Miranda aad6509c09 Merge "Allow two lines max for text view in system shortcuts." into sc-dev am: d4b713c7ae am: 8703ceb1a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15135388

Change-Id: Iab1b813dd81bb7a37178c47466f356cacf74d50c
2021-06-30 05:21:40 +00:00
Jonathan Miranda ec448c10dd Merge "Allow two lines max for text view in system shortcuts." into sc-dev am: d4b713c7ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15135388

Change-Id: I9c471e724cdf171e87a97b42622b843258e87788
2021-06-30 05:12:26 +00:00
Jonathan Miranda 8703ceb1a6 Merge "Allow two lines max for text view in system shortcuts." into sc-dev am: d4b713c7ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15135388

Change-Id: Ibc5d7a5f683d2551fdd03b8d0335e7d93847d9e3
2021-06-30 05:11:45 +00:00
Jonathan Miranda a305214073 Merge "Allow two lines max for text view in system shortcuts." into sc-dev am: d4b713c7ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15135388

Change-Id: I023a9d099fb0f57aa15540d4d4fe00366b3df315
2021-06-30 05:10:20 +00:00
Sunny Goyal bbccce3997 Merge "AllSet page fixes" into sc-dev am: 50f43df36e am: 895dd1cb87 am: ea895791cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147340

Change-Id: Ia607c7165cd1cb2a36066206cdaf955eff5899be
2021-06-30 05:06:30 +00:00
Sunny Goyal bcc192fe99 Merge "AllSet page fixes" into sc-dev am: 50f43df36e am: ae7ef2d5c1 am: c78573cd00
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147340

Change-Id: Icecb872a505d0d7dfa8e3b97d3cb80744017242b
2021-06-30 05:06:05 +00:00
Jonathan Miranda d4b713c7ae Merge "Allow two lines max for text view in system shortcuts." into sc-dev 2021-06-30 05:02:14 +00:00
Sunny Goyal ea895791cc Merge "AllSet page fixes" into sc-dev am: 50f43df36e am: 895dd1cb87
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147340

Change-Id: If7067d835f61acee0e666892cd4f3e0d8802d4a4
2021-06-30 04:57:31 +00:00
Sunny Goyal c78573cd00 Merge "AllSet page fixes" into sc-dev am: 50f43df36e am: ae7ef2d5c1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147340

Change-Id: I3892a50bfedebf111876056b3720729086434941
2021-06-30 04:57:16 +00:00
Sunny Goyal ec0dc1daf4 Merge "AllSet page fixes" into sc-dev am: 50f43df36e am: 9227721d72
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147340

Change-Id: I8a0d3ed75797454b244df9b6b6650d1a27c06afd
2021-06-30 04:56:44 +00:00
Sunny Goyal ae7ef2d5c1 Merge "AllSet page fixes" into sc-dev am: 50f43df36e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147340

Change-Id: I7a000e357abf704bceea0bedca3407439ca50206
2021-06-30 04:42:29 +00:00
Hyunyoung Song 478c2bfc61 Merge "Rebind recycler views if launcher activity restarted" into sc-dev am: 77c532d799 am: 77b58b8740 am: b0344bd1f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15136464

Change-Id: I552df2be5b74105c25d2e3ce0d2808a6ce86f9c5
2021-06-30 04:42:11 +00:00
Hyunyoung Song c27411b9cf Merge "Rebind recycler views if launcher activity restarted" into sc-dev am: 77c532d799 am: 6eee4e4f3d am: 02b5d2fb12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15136464

Change-Id: I075883445acd72dd6f1bef64f7295a5edcf7a21a
2021-06-30 04:41:58 +00:00
Sunny Goyal 9227721d72 Merge "AllSet page fixes" into sc-dev am: 50f43df36e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147340

Change-Id: I70d67df56f081297722bbe761a7c0eda933aaae4
2021-06-30 04:41:39 +00:00
Sunny Goyal 895dd1cb87 Merge "AllSet page fixes" into sc-dev am: 50f43df36e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147340

Change-Id: Ibcebfcd6fa76e425bcc7c371a30ca6b5bba9df94
2021-06-30 04:40:41 +00:00
Sunny Goyal 50f43df36e Merge "AllSet page fixes" into sc-dev 2021-06-30 04:31:34 +00:00
Hyunyoung Song b0344bd1f6 Merge "Rebind recycler views if launcher activity restarted" into sc-dev am: 77c532d799 am: 77b58b8740
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15136464

Change-Id: Ic1ba1f2ef3d2de5086ec09e68db1644e100ecfcf
2021-06-30 04:30:43 +00:00
Hyunyoung Song 02b5d2fb12 Merge "Rebind recycler views if launcher activity restarted" into sc-dev am: 77c532d799 am: 6eee4e4f3d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15136464

Change-Id: I15b6f462f604473e50f9244a1716937309e38130
2021-06-30 04:30:15 +00:00
Hyunyoung Song 195e547033 Merge "Rebind recycler views if launcher activity restarted" into sc-dev am: 77c532d799 am: b61d9e30ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15136464

Change-Id: Ifd5f0692b729169d74839477e96ca0cb00a8fc1a
2021-06-30 04:29:48 +00:00
Hyunyoung Song 6eee4e4f3d Merge "Rebind recycler views if launcher activity restarted" into sc-dev am: 77c532d799
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15136464

Change-Id: Iaa257f243aac6c2378a89102ab9bbae2d412d500
2021-06-30 04:20:04 +00:00