Vinit Nayak and Automerger Merge Worker
7f5fa6d1e6
Merge "Take margin insets into account when setting position" into sc-dev am: 0f3053ceae
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15152173
Change-Id: Ic1ce3fbd0e68848a7095f3408d877117b0678adb
2021-06-30 17:32:59 +00:00
Vinit Nayak and Android (Google) Code Review
0f3053ceae
Merge "Take margin insets into account when setting position" into sc-dev
2021-06-30 17:29:44 +00:00
Yogisha Dixit and Automerger Merge Worker
aacc518984
Merge "Log widget features to new features field." into sc-dev am: f91abaa6f9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15133002
Change-Id: Ia2f5626249f63f7d6aa28b7646e0cbb230bb7ce8
2021-06-30 17:26:59 +00:00
Yogisha Dixit and Android (Google) Code Review
f91abaa6f9
Merge "Log widget features to new features field." into sc-dev
2021-06-30 17:25:46 +00:00
Cyrus Boadway and Automerger Merge Worker
9d609707c1
Merge "Defer onColorsChanged updates during widget-to-home animation" into sc-dev am: 1edaed8790
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147896
Change-Id: I9849c410aa7058ff3dc7f922c0b630c8230d3fd2
2021-06-30 17:23:56 +00:00
Cyrus Boadway and Android (Google) Code Review
1edaed8790
Merge "Defer onColorsChanged updates during widget-to-home animation" into sc-dev
2021-06-30 17:14:57 +00:00
TreeHugger Robot and Automerger Merge Worker
7dd886f92c
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: b31d55d960 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15137899
Change-Id: I8533b9699a54b4fa59545af4ce5ead1641417bff
2021-06-30 15:25:13 +00:00
TreeHugger Robot and Automerger Merge Worker
41cee5d3b4
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 814d644d81 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15137898
Change-Id: Ibacfafb4584aacdcd61ea91a6b9fac4922b4d324
2021-06-30 15:25:00 +00:00
TreeHugger Robot and Android (Google) Code Review
b31d55d960
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2021-06-30 15:09:53 +00:00
TreeHugger Robot and Android (Google) Code Review
814d644d81
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2021-06-30 15:08:32 +00:00
Tony Wickham and Automerger Merge Worker
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
Tony Wickham and Android (Google) Code Review
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
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
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
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 and Automerger Merge Worker
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
Jonathan Miranda and Android (Google) Code Review
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 and Automerger Merge Worker
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 and Android (Google) Code Review
50f43df36e
Merge "AllSet page fixes" into sc-dev
2021-06-30 04:31:34 +00:00
Hyunyoung Song and Automerger Merge Worker
77b58b8740
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: I69456796cf98fe16f671886208ab4b6fc0f6cd65
2021-06-30 04:19:05 +00:00
Hyunyoung Song and Android (Google) Code Review
77c532d799
Merge "Rebind recycler views if launcher activity restarted" into sc-dev
2021-06-30 04:00:23 +00:00
Jonathan Miranda and Automerger Merge Worker
b6efb6e2b5
Merge "Set elevation of popup and arrow to match. This ensures no shadow overlap." into sc-dev am: 26a485bb2a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147164
Change-Id: I848717324d99559141b25787ff8b2a50d15a36aa
2021-06-30 03:05:54 +00:00
Jonathan Miranda and Automerger Merge Worker
db36b95d56
Merge "Add split_display device profile." into sc-dev am: 8acc1ad025
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15144182
Change-Id: I50ce2463b8d709ac4a55ef637932aef094975d3d
2021-06-30 03:05:46 +00:00
Jonathan Miranda and Android (Google) Code Review
26a485bb2a
Merge "Set elevation of popup and arrow to match. This ensures no shadow overlap." into sc-dev
2021-06-30 02:56:18 +00:00
Jonathan Miranda and Android (Google) Code Review
8acc1ad025
Merge "Add split_display device profile." into sc-dev
2021-06-30 02:55:50 +00:00
Lucas Dupin and Automerger Merge Worker
d1ae89019b
Merge "Decouple zooms and blurs on app launch" into sc-dev am: c2ef0363af
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15145970
Change-Id: I29c18988d3a03cc0255b42e74c75a92fac601f06
2021-06-30 00:24:31 +00:00
Tony Wickham
8ae56bd4e3
Fully null check mRecentsAnimationController
...
It's already null checked everywhere else it's used.
Test: none
Fixes: 187354606
Change-Id: I50913c38b2653fe292d84fabe111ff3a3e10736d
2021-06-29 17:18:33 -07:00
Lucas Dupin and Android (Google) Code Review
c2ef0363af
Merge "Decouple zooms and blurs on app launch" into sc-dev
2021-06-30 00:11:01 +00:00
Sunny Goyal
ce50b9ed83
AllSet page fixes
...
> Updating background color
> Updating activity theme to not be transparent
> Updating default accent color
> Adding an accessible target to exit
Bug: 190447132
Bug: 190136972
Bug: 190454597
Test: Manual
Change-Id: Ia8ef67ed429c062a8d1109d7f444343ec4ca09cf
2021-06-29 16:32:37 -07:00
Steven Ng and Automerger Merge Worker
47c3cb02d5
Merge "Use category icon for pending conversation widgets" into sc-dev am: d35dcdec05
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142493
Change-Id: I39b454ae03ea578178bf1a3df0b9c741688aceb7
2021-06-29 23:15:31 +00:00
Jonathan Miranda and Automerger Merge Worker
99d61c87a9
Merge "Fix bug where status bar was not set properly." into sc-dev am: 1b6a8b2255
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15146553
Change-Id: Id0069cd48e1f190b67b69c6e6633745b1beca8f3
2021-06-29 23:15:23 +00:00
Steven Ng and Android (Google) Code Review
d35dcdec05
Merge "Use category icon for pending conversation widgets" into sc-dev
2021-06-29 23:15:04 +00:00
Jonathan Miranda and Android (Google) Code Review
1b6a8b2255
Merge "Fix bug where status bar was not set properly." into sc-dev
2021-06-29 23:03:15 +00:00
Jon Miranda
fa73c02172
Set elevation of popup and arrow to match. This ensures no shadow overlap.
...
Bug: 191823198
Test: long press app where arrow is on top and bottom in:
workspace, all apps, and search UI
Change-Id: Icc4ac259607175d5e12447a844ba166ba28b74af
2021-06-29 15:49:46 -07:00
Hyunyoung Song
0b9537e6fc
Rebind recycler views if launcher activity restarted
...
Bug: 185038312
Test: manual
TL;DR;;
What was attempted but was too much refactoring of the code.
Failed attempt #1 : try re triggering the search.
This was not trivial as SearchSession object is yet created.
Failed attempt #2 : Restoring AdapterItems in AlphabeticalAppsList
This meant AdapterItems class and also it's children
had to extend Parceleable object.
Ultimate fix:
Original issue of dupe view id among slice and work recyclerview
should be fixed. And restoring should just work.
Change-Id: I1bddd6aa5bc736ade3b02f69aa947d64cfa467d6
2021-06-29 14:52:57 -07:00
Jon Miranda
401b921c19
Fix bug where status bar was not set properly.
...
- Need to check both alpha of the view, and alpha of the background color.
Bug: 187467559
Test: check status bar colors when using:
- on white wallpaper,
- on black wallpaper,
- on wallpaper with white text
- on wallpaper with dark text
Change-Id: Ie6f34d34dfa9dea716f95bd6a95125fbd650fc29
2021-06-29 14:23:55 -07:00
Yogisha Dixit and Automerger Merge Worker
1d161e8209
Merge "Show resize frame when widget is added." into sc-dev am: 419ee4599e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13956205
Change-Id: I40b2ab79e02502b9aeda11d89fc3dcd439b4c9e3
2021-06-29 21:19:55 +00:00
Yogisha Dixit and Android (Google) Code Review
419ee4599e
Merge "Show resize frame when widget is added." into sc-dev
2021-06-29 21:07:34 +00:00
Lucas Dupin
0f00c35268
Decouple zooms and blurs on app launch
...
We'd like to be able to disable blurs during app launch, but without
disabling zooms as well. The previous sysprop would set the depth of
BackgroundAppState to 0, when what we want is to conserve wallpaper
zoom.
Bug: 191969790
Test: adb shell setprop ro.launcher.blur.appLaunch false
Change-Id: Ie4b26096f6ac723c3981bba2829557e6cc6c733b
2021-06-29 13:02:12 -07:00
Jon Miranda
c26e5fff7c
Allow two lines max for text view in system shortcuts.
...
This makes it more accessible for more languages.
Bug: 185770234
Test: set language to Spanish, ensure 2 lines
ensure deep shortcuts remain 1 lines
Change-Id: I652fe6a51bde5d8c30f695a0a56f0879412bca01
2021-06-29 12:53:27 -07:00
Samuel Fufa and Automerger Merge Worker
d3f63d9565
Merge "Update snackbar color" into sc-dev am: 48ec126d8b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15129885
Change-Id: Id5aaf7b520de0ee62cae76365d0fa2a8bde19bed
2021-06-29 19:04:25 +00:00
Samuel Fufa and Android (Google) Code Review
48ec126d8b
Merge "Update snackbar color" into sc-dev
2021-06-29 18:48:38 +00:00
Alina Zaidi and Automerger Merge Worker
890df3490c
Merge "Make sure search recycler view is bound to fast scroller if user is in search mode at the time of attachment of work/personal recycler view." into sc-dev am: 7ed32025f1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142492
Change-Id: I9e72697fd77b867c06734d539b699b06ea0a2752
2021-06-29 18:28:28 +00:00
Alina Zaidi and Android (Google) Code Review
7ed32025f1
Merge "Make sure search recycler view is bound to fast scroller if user is in search mode at the time of attachment of work/personal recycler view." into sc-dev
2021-06-29 18:13:23 +00:00
Yogisha Dixit
037a5362d8
Show resize frame when widget is added.
...
I referenced the code in Workspace.java that updates the widget view's
layout params before showing the resize frame.
Test: manual, AddWidgetTest and AddConfigWidgetTest tapl tests
Bug: 183437963
Change-Id: I6655917878fa22d6084b4bf39fc0661e7278d6f9
2021-06-29 18:25:38 +01:00
Jon Miranda
f70265f4ec
Add split_display device profile.
...
Bug: 192215417
Test: manual set isSplitDisplay=true, ensure the added device profile
gets set on device
Change-Id: Ibe33c33d3af140352c0bb4fb44460106ad898285
2021-06-29 17:10:12 +00:00
Steven Ng
12f7a59e5c
Use category icon for pending conversation widgets
...
Fix: 192333050
Test: Manual
Change-Id: Ie3895cd4747f1bec1c8ca9af82347bb0eafa7415
2021-06-29 18:04:09 +01:00
Alina Zaidi and Automerger Merge Worker
6644b6f3d7
Merge "Modify ripple for cancel button in search bar in widget picker." into sc-dev am: 8fb6ca3e5e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15142312
Change-Id: Ia24b17b7f6dffa6e89330af3c74fb5cd80d71d71
2021-06-29 16:44:54 +00:00