Commit Graph

34209 Commits

Author SHA1 Message Date
Jonathan Miranda 1676ef9700 Merge "Turn off app close flag, Revert back to R implementation." into sc-dev am: d8035e1821
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14750661

Change-Id: Iee90e5897e98c8e06ea957c0b5f8418936c7d866
2021-06-01 19:52:01 +00:00
Jonathan Miranda 783a577b4a Merge "Update device paddings to spec." into sc-dev am: 920b6e7ffd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14757163

Change-Id: Idd12264e590ea09869efaee30dc89ae6ce783404
2021-06-01 19:51:56 +00:00
Jonathan Miranda bd5a18f298 Merge "Make BaseIcon.Workspace so that it can be overriden." into sc-dev am: 8a51f11b63
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14754618

Change-Id: Ida61085ead3304a8c1eeb7beacf708b1c8e68e43
2021-06-01 19:51:48 +00:00
Jonathan Miranda 2abc3933ed Merge "Change folderFillColor to colorBackgroundFloating." into sc-dev am: dfde41cf1e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14754919

Change-Id: I7d4b2b8f1dbd68032677134a20b09b2a28fdb2b5
2021-06-01 19:51:40 +00:00
Alex Chau 5081182bcb Merge "Ensure RecentsOrientedState.mRecentsRotation is up to date on swipe up" into sc-dev am: 5e13d36cba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14683793

Change-Id: I9af64949edc129c53ab6ef202d3e2423a92837da
2021-06-01 19:51:36 +00:00
Rajeev Kumar 1ff0ae14c4 Merge "NIU Actions: Support Dark Mode and Landscape" into sc-dev am: f6e138cf21
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14753495

Change-Id: If50ea4927c64482748adf65ea5714491b55457f1
2021-06-01 19:51:28 +00:00
Alina Zaidi 3683bf6c72 Merge "Update buttons in pin widget picker." into sc-dev am: 8bd4ef6122
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14678281

Change-Id: Ie52b48d6a2fb2bc991e4e0b56102e4ce5a1bfe2f
2021-06-01 19:51:19 +00:00
Alina Zaidi f14a4682b6 Merge "Add more education tips for widgets. (2/3)" into sc-dev am: 8a8c36cca9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14678271

Change-Id: I54f4236c54a56fa6c6945f2bd72f9530badccd00
2021-06-01 19:50:57 +00:00
Sunny Goyal 4c29af3a6d Fixing deadlock when surface creation is waiting on surface destroy
Bug: 189049869
Test: Manual
Change-Id: I0f92d3666dab81bc381163d93530119d45c4fdbd
2021-06-01 12:36:38 -07:00
Jonathan Miranda cdc73b512e Merge "Update launcher content animation to spec." into sc-dev 2021-06-01 19:24:33 +00:00
Jonathan Miranda d8035e1821 Merge "Turn off app close flag, Revert back to R implementation." into sc-dev 2021-06-01 18:18:38 +00:00
Jonathan Miranda 920b6e7ffd Merge "Update device paddings to spec." into sc-dev 2021-06-01 18:18:08 +00:00
Jonathan Miranda 8a51f11b63 Merge "Make BaseIcon.Workspace so that it can be overriden." into sc-dev 2021-06-01 18:17:43 +00:00
Jonathan Miranda dfde41cf1e Merge "Change folderFillColor to colorBackgroundFloating." into sc-dev 2021-06-01 18:17:17 +00:00
Lucas Dupin 6e50860616 Set blur on effect layer during app launch
Test: manual
Fixes: 189207458
Change-Id: I8fabba92c6831c2fd54fe08156fc9a9b5d141a56
2021-06-01 11:07:17 -07:00
Alex Chau 5e13d36cba Merge "Ensure RecentsOrientedState.mRecentsRotation is up to date on swipe up" into sc-dev 2021-06-01 17:54:41 +00:00
Rajeev Kumar f6e138cf21 Merge "NIU Actions: Support Dark Mode and Landscape" into sc-dev 2021-06-01 17:43:43 +00:00
Alina Zaidi 8bd4ef6122 Merge "Update buttons in pin widget picker." into sc-dev 2021-06-01 17:34:43 +00:00
Alina Zaidi 8a8c36cca9 Merge "Add more education tips for widgets. (2/3)" into sc-dev 2021-06-01 17:34:18 +00:00
zakcohen 7ce8f57530 Task Overlay - refresh task overlay on size change.
The task overlay should be refreshed on size change for rotation changes.

Bug: 187515688
Test: Local
Change-Id: I1a4fa6bfbc66b9d24cfa906184bdefb9067db5ae
2021-06-01 17:34:06 +00:00
Alina Zaidi 8cabe52f81 Update buttons in pin widget picker.
Bug: 188504905
Test: Tested manually
Change-Id: Ibce57d7f70700b5f36b588ad85f8a829d4d4c5c2
2021-06-01 16:09:07 +01:00
TreeHugger Robot 23bb5e0bfc Merge "Further adjust work profile tabs paddings in the widgets picker" into sc-dev am: 04ef35f854
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14748539

Change-Id: I606a60882b3635d3e67535ec5727e39a30eac876
2021-06-01 13:33:27 +00:00
TreeHugger Robot 04ef35f854 Merge "Further adjust work profile tabs paddings in the widgets picker" into sc-dev 2021-06-01 13:13:03 +00:00
Alina Zaidi f2c79dea0d Add more education tips for widgets. (2/3)
Show education dialog on WidgetsFullSheet.
-Have a button in widget education dialog to intent into PixelTips apps.
-Make sure arrow tip view shows after dismissing education dialog on
WidgetsFullSheet if there is a widget to show it on.
-Update colors and layout for arrow tips.

Test: Tested manually
Bug: 185354491
Change-Id: I5cbdd02fc4f19a49a42dac4451b071e3d604747f
2021-06-01 13:58:18 +01:00
Steven Ng 7e3d96c620 Show app widget resize frame after launcher state change
When this bug occurs, the resize frame coordinate is incorrect because
the launcher state animation has not finished when the drag view
finishes animating back to its original position.

Test: Quickly long press and release a widget from the home screen.
      Observe the resize frame is correctly shown around the widget.

Bug: 186370472
Change-Id: I6bfba2e85e3354a215c26203dd22df13db3b8b83
2021-06-01 12:20:32 +01:00
Steven Ng a0d49dcfb4 Further adjust work profile tabs paddings in the widgets picker
Test: Open widgets picker and observe tabs paddings are correctly set.
Bug: 188872382
Change-Id: Ib6a735bf2b0710f86b8641533cadb27116049341
2021-06-01 11:40:36 +01:00
Steven Ng 02045feb20 Merge "Don't dismiss keyboard after clicking X button on the widgets search bar" into sc-dev am: 755723403b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14748544

Change-Id: Id13572638904399f37f24ae3ff4c6f527128d972
2021-06-01 10:32:13 +00:00
Steven Ng 755723403b Merge "Don't dismiss keyboard after clicking X button on the widgets search bar" into sc-dev 2021-06-01 10:05:26 +00:00
Bill Yi a0475f7b30 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: a4adcbc8ed -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie9f447662edfaeca20fd10bd8d1e142ebb01fba0
2021-05-31 18:24:55 +00:00
Bill Yi ba1e4e7a14 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I896fae3bbf2b553b8e2bf44439f74237f074525e
2021-05-31 10:53:35 +00:00
Bill Yi a4adcbc8ed Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iaaa324a8b618f499da8f48f819efec176e124e85
2021-05-31 10:53:02 +00:00
Sunny Goyal 52a82bac34 Merge "Enabling themed icon feature" into sc-dev am: 8a7f973264
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14738710

Change-Id: I65bbaa5b25d63dd1d0b4e1773fdb6dcd85f3b1d9
2021-05-28 19:20:29 +00:00
Sunny Goyal 8a7f973264 Merge "Enabling themed icon feature" into sc-dev 2021-05-28 18:53:40 +00:00
TreeHugger Robot af44c7f976 Merge "Force initialize task stack callback for gesture modes on init" into sc-dev am: e1a5d6bb1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14754620

Change-Id: I65d94d520827ed3a9ed586853a6b533fdbf43fd4
2021-05-28 06:00:09 +00:00
TreeHugger Robot e1a5d6bb1b Merge "Force initialize task stack callback for gesture modes on init" into sc-dev 2021-05-28 05:31:03 +00:00
Jon Miranda 5df1fa5031 Update launcher content animation to spec.
- Scales content
- Fades in scrim

Bug: 177264697
Test: manual
Change-Id: Ie60908b6c417d94f1e075ea9728bd48eea55083e
2021-05-27 22:21:30 -07:00
Jon Miranda 8fc592d246 Update device paddings to spec.
Bug: 188094809
Test: verify using device profile dump
Change-Id: I51633d590bd9079ad62a79099b3f8df1cab7894c
2021-05-27 21:04:06 -07:00
Zak Cohen 3fe81d1570 Merge "Remove overview feedback." into sc-dev am: 295ab38446
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14749512

Change-Id: I833e29f1b60916a22bfa7519c1b6c140f040bdeb
2021-05-28 02:49:30 +00:00
Zak Cohen 295ab38446 Merge "Remove overview feedback." into sc-dev 2021-05-28 02:37:45 +00:00
TreeHugger Robot 1349db5daf Merge "Adding more diags for WellbeingModel" into sc-dev am: db6b24a001
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14706421

Change-Id: Ic6b3838c60b9c4040cb3a25ec1deedaaf1acd3b2
2021-05-28 02:36:55 +00:00
TreeHugger Robot db6b24a001 Merge "Adding more diags for WellbeingModel" into sc-dev 2021-05-28 02:12:42 +00:00
Vinit Nayak 23aa129016 Force initialize task stack callback for gesture modes on init
This handles an edge case where RotationTouchHelper#mMode starts as 3 button (by default)
* then changes to gesture nav.
* then onDestroy called
* then on re-initialization mMode will be gesture nav instead of 3-button
(it maintains state because of it being singleton).

The check to register the callback won't happen because we register only if previous mode and
current mode differ.
Don't rely on default value of mMode being 3 button when initializing

Bug: 181928969
Test: Followed repo steps in bug.
Restarted phone in all 3 nav modes and verified
expected quickswitch behavior

Change-Id: I381eba7417c4cde593edf4b9a34da55b50774e98
2021-05-27 19:01:09 -07:00
Jon Miranda 2d35d4b97c Make BaseIcon.Workspace so that it can be overriden.
Bug: 188094809
Test: manual
Change-Id: Id31502e66d96806054e1cdd6549b226b2a22173e
2021-05-27 18:55:15 -07:00
Jon Spivack 7e9830c8b1 Merge "NIU Actions: Do not send image URI when sending error code" into sc-dev am: 55cca920e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14752490

Change-Id: Id4662845c9031d2faef21d71d8770becd9a4f099
2021-05-28 01:44:32 +00:00
Jon Miranda de907805d1 Change folderFillColor to colorBackgroundFloating.
There seems to be some nuance that prevents me from defining it once in
the base theme, so just updated all of them individually to prevent
any edge case from slipping through.

Bug: 188095988
Test: manual
Change-Id: I1dea639f174fa4ec09bda93a6e2017993b2007a5
2021-05-28 01:21:21 +00:00
Jon Spivack 55cca920e0 Merge "NIU Actions: Do not send image URI when sending error code" into sc-dev 2021-05-28 01:14:21 +00:00
Jon Spivack 1e1f85beff NIU Actions: Support Dark Mode and Landscape
This adds light and dark color variants for the UI elements on the Go Recents screen. Toggling Dark Mode will switch between the themes. Additionally, the button spacing definitions have been updated to better support Landscape orientation.

Bug: 187866121
Bug: 183714277
Test: Manual (Pixel 3A)
Change-Id: Ia2c0cbf372882aad87e4018d10d8f85bd92842e0
2021-05-27 16:23:51 -07:00
Brian Isganitis 08fdf4d269 Create settings activity layout with explicit toolbar
This layout will be overridden to have a collapsible toolbar on API 31.

Test: Settings layout unchanged
Bug: 187732263
Change-Id: I0c098dd0a09a1787a10035a3d3f35ecf461cfc20
2021-05-27 18:41:18 -04:00
Brian Isganitis a9a063294e Merge "Give each preference screen its own activity and toolbar title" into sc-dev am: 8d6ca68786
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14709732

Change-Id: I058985cbd1edbdb9cf1487eed4a51f9863cda0e7
2021-05-27 22:32:56 +00:00
TreeHugger Robot 98fc06fcc2 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 30adb97c13 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Icd40e6b891efdd289ff03ad280733d0abf1f62cb
2021-05-27 22:32:50 +00:00