Commit Graph

4759 Commits

Author SHA1 Message Date
TreeHugger Robot 4561a37a72 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev 2022-04-14 17:12:02 +00:00
Pat Manning 8c4dd9e6dc Update edit state drop target and hotsteat margins.
Bug: 227336507
Test: manual
Change-Id: Id47f312e00d86143e6c95d21d6e37b7196590cef
2022-04-13 12:04:08 +01:00
Bill Yi 50594a6a1b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9fb83496e458e0a3429700de3c250992aeb5fc55
2022-04-12 21:27:04 +00:00
Pat Manning 4349d21246 Merge "Adjust grid cell visualizations." into tm-dev 2022-04-12 11:50:38 +00:00
Bill Yi 40a73e5bb5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie5a1e0d0b95362dc19c4b098dbdbccfed3cd925c
2022-04-09 04:07:47 +00:00
Thales Lima b7d44d8c1a Merge "Revert "Making tablet grid scalable and tuning size"" into tm-dev 2022-04-08 21:52:55 +00:00
Luca Zuccarini 45c43c7058 Merge "[Toast] Polish the layout of the QSB, tabs and header protection." into tm-dev 2022-04-08 17:21:32 +00:00
Thales Lima 4ea95b7fd8 Revert "Making tablet grid scalable and tuning size"
Revert "[automerge] Making tablet grid scalable and tuning size ..."

Revert submission 17607211-aosp_tablet_tune

Reason for revert: Breaking a test b/228490147
Reverted Changes:
I88e581231:[automerge] Making tablet grid scalable and tuning...
I078d19905:Making tablet grid scalable and tuning size
Original bug: b/227344807

Change-Id: Ie6e55edcf5b82b73ad2c8ed7ffd5f0fa5b53594a
2022-04-08 14:14:25 +00:00
Sebastián Franco 608b5cd5d8 Merge "Make the text for the drop target buttons fit if it's too long." into tm-dev 2022-04-07 22:14:07 +00:00
TreeHugger Robot 44f9f67696 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-07 18:51:23 +00:00
Luca Zuccarini a5e95419f5 [Toast] Polish the layout of the QSB, tabs and header protection.
Specs and screenshot in the bug.

Fixes: b/227902759
Test: manual
Change-Id: Ia713c923a71207cfaab7068f20c8606d816f8b43
2022-04-07 16:53:53 +00:00
Sebastian Franco d2d8e97a65 Make the text for the drop target buttons fit if it's too long.
The text "Don't suggest app" is too long when the device language
is GE or JA, or if you make the text bigger in settings.

Before truncating the text completely we are going to try to make
the text smaller until it gets to a predefined value
(button_drop_target_min_text_size).

Test: Change the language to German (Deutch) and install a new app and drag it to the workspace to see the button "App nicht vorschlagen"
Test: Also, a nice way to test is to go to SecondaryDropTarget#setupUi and hardcode the option to always show "Don't suggest app"
Fix: 221480721
Change-Id: I99def4e23cd17109a297aecaa620cef7a0d137e7
2022-04-07 16:39:29 +00:00
TreeHugger Robot b9879a0b85 Merge "Making tablet grid scalable and tuning size" into tm-dev 2022-04-07 15:43:40 +00:00
Thales Lima c0481524da Making tablet grid scalable and tuning size
Bug: 227344807
Test: manual and HSV
Change-Id: I078d19905947eb924de8b6ed9067b70a32674bfa
2022-04-07 11:21:48 +00:00
Brandon Dayauon e3589debfd Merge "Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE" into tm-dev 2022-04-06 20:41:24 +00:00
Pat Manning 08610ca583 Adjust workspace grid and cellLayout paddings.
This is a partial revert of ag/17540098

Bug: 202971709
Test: manual
Change-Id: Ia49e48f336bcca906aae6b014d88f10421b83d0c
2022-04-06 13:10:50 +01:00
Pat Manning 52307a4604 Adjust grid cell visualizations.
This is a partial revert of ag/17540098

Bug: 202971709
Test: manual
Change-Id: Ia6f863701c169709053980766337b3caae6fba76
2022-04-06 13:07:08 +01:00
Bill Yi 777dddbdb9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9b223c149fced7402e479f63808abb215cbf85f1
2022-04-05 21:30:12 +00:00
Pat Manning de25c0db36 Adjust edit state drop targets and workspace scaling per device type and orientation.
This is a partial revert of ag/17540098

Bug: 202971709
Test: manual
Change-Id: I0a642f932afd75e47ce11a2c1ee94643d1a67e0c
2022-04-05 20:56:03 +00:00
Brandon Dayauon d20011be15 Change work_app_edu to be like T spec: https://screenshot.googleplex.com/43ThiCnqrAqAQgE
Fixed the button to show on Portrait mode..streamline added for work_mode_fab.
Took out unneccessary attributes such as textColor for the button and took out background.

How it looks in landscape: https://screenshot.googleplex.com/AVaUEztqsXYA28N
How it looks in portrait: https://screenshot.googleplex.com/3oTG3j7yZLCxkLz
Apk: https://drive.google.com/file/d/1qLeiJSF3lHf7tZzoHWwBHGxDgbveTIYX/view?usp=sharing

Test: Manual - Tested on local Pixel device (Raven)
Bug: 224731116
Bug: 224731300
Change-Id: If1392806adecf1ce02723d20686ca6bf524f6464
2022-04-05 11:50:18 -07:00
Brian Isganitis 63c32cab98 Create ResourceBasedOverride for SearchSessionManager.
This override will allow Launcher3 to initialize and control a search session implementation.

Bug: 216683257
Test: Manual
Change-Id: I43d4793ef176cfd8e074961286356b96f9222ca9
2022-04-04 17:02:41 -07:00
TreeHugger Robot f89d83f4e0 Merge "Remove unnecessary offset from the app label ICU string" into tm-dev 2022-04-01 20:28:20 +00:00
Pat Manning 5575dfeaad Merge "Revert "Adjust edit state drop targets, workspace scaling, and m..."" into tm-dev 2022-04-01 02:05:41 +00:00
Tony Wickham e0c464a0e0 Merge "Decouple taskbar background color from overview" into tm-dev 2022-03-31 17:28:40 +00:00
Tony Wickham ae82fc4ba0 Decouple taskbar background color from overview
- Taskbar background is 15L but Overview dark should be 35L

Test: Swipe up from taskbar (which is 15L), background matches until
going to overview, then animates to appropriate overview color based on
theme (light or dark).
Bug: 227344452
Change-Id: I52d892a569c8db565b4cfe271e532009f34ec669
2022-03-31 17:28:16 +00:00
Alex Chau 537552d55d Merge "Update overview scrim color to system_neutral2_200" into tm-dev 2022-03-31 14:39:52 +00:00
Thales Lima c1ea50a43d Merge "Make inline qsb part of grid attrs" into tm-dev 2022-03-31 08:30:10 +00:00
Thales Lima 12d0eff037 Make inline qsb part of grid attrs
This should make it more configurable, and be independent of the screen size set by the user.

Fix: 223726518
Test: atest Launcher3Tests:HotseatSizeTest
Test: atest Launcher3Tests:InlineQsbTest
Change-Id: If04f3fb0f556103f60b580c757a9fc06da561516
2022-03-30 20:57:57 +01:00
Sihua Ma f8c9905eae Merge "Updating font to Google Sans for widget dialog when work profile is paused" into tm-dev 2022-03-30 19:49:41 +00:00
Alex Chau 013a85e926 Update overview scrim color to system_neutral2_200
Fix: 227344452
Test: manual
Change-Id: I2a101cbfbdea56144fa09ccb06f904018b35e80a
2022-03-30 18:15:57 +01:00
Thales Lima ececa893b7 Merge "Add border space to all apps cells" into tm-dev 2022-03-30 16:42:46 +00:00
Steven Ng 120e48b40c Remove unnecessary offset from the app label ICU string
Test: Enable talk back, focus on an app icon that has one notification.
      Talk back announced the number of notification correctly.
Fix: 227131579

Change-Id: I80c21bab27c6cc6813a1ca0e51b702db34d58424
2022-03-30 16:45:48 +01:00
Luca Zuccarini 4e813d37c0 Merge "Refactor the floating header's positioning." into tm-dev 2022-03-30 13:03:48 +00:00
Thales Lima 080d890383 Add border space to all apps cells
Also remove tablet condition, phones should also follow the workspace size.

Fix: 218638090
Test: visual and HSV
Change-Id: Ib201011391c28c0f1dcd0ce8645c3191655a7227
2022-03-30 11:56:27 +01:00
Sihua Ma 59cfcd0946 Updating font to Google Sans for widget dialog when work profile is paused
Changing the font family of no_widgets_text to Google Sans.

Test: Manual
Fix: 226612140
Change-Id: I70d98c9571aa3a62bb61685b10ae46530630bf97
2022-03-30 00:23:44 +00:00
TreeHugger Robot c248d6f005 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-03-29 17:53:29 +00:00
Luca Zuccarini 0c3961c367 Refactor the floating header's positioning.
Maintains the existing behavior while simplifying the overall layout.

See go/all-apps-qsb-positioning for details.

Bug: 221418522
Test: manual
Change-Id: I25a737cdfa431e8eb3a00b639984caed70819252
2022-03-29 10:18:33 +00:00
Sebastián Franco 9d5eef80cd Merge "Brighten theme-icons when in Dark mode and add dark color for taskbar" into tm-dev 2022-03-29 00:00:33 +00:00
Bill Yi c84b58beda Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3be3f48686dffb7e57b7acef22185df2bf78476b
2022-03-28 23:54:55 +00:00
Pat Manning e372366bb3 Revert "Adjust edit state drop targets, workspace scaling, and m..."
Test: manual

Revert submission 17004675-edit-state

Reason for revert: b/226274309
Reverted Changes:
Ib50509b6f:Adjust edit state drop targets per device type and...
Id1817cd3c:Adjust edit state drop targets, workspace scaling,...

Change-Id: I22863d7735f49f6a040a17cf56cc66f20a3e0986
2022-03-28 08:24:54 -04:00
Bill Yi 0437823e12 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2e25b2357f36ad85b531c7e10cc1b08e4a242567
2022-03-24 05:38:49 +00:00
Sebastian Franco 5282efddc9 Brighten theme-icons when in Dark mode and add dark color for taskbar
Bug: 217247494
Test: change between dark and light mode and transition in and out of apps
Change-Id: Ia5e38d674a56eb95a48cb1e8c2688586594a69f9
2022-03-23 10:47:52 -07:00
Tracy Zhou 8d06bb8991 Merge "Update initial staged split UX." into tm-dev 2022-03-22 22:44:33 +00:00
Thales Lima b7ef569591 Change size of All Apps bottom sheet
This brings the size of the bottom sheet closer to the spec provided by UX. For that type of flexibility to be possible, more attributes are introduced and some calculations had to be changed.

This shouldn't affect phones.

Bug: 218638090
Test: visual, with dumpsys and HSV
Change-Id: Ieee7580d80d8e100837b1cdd7a1455c4d65612dc
2022-03-22 12:19:46 +00:00
Tracy Zhou 4ff3615b23 Update initial staged split UX.
- Introduce inset to the staged split view
- Update width of the staged split view
- Introduce rounded corners to staged split view. It's tricky to animate it in with smooth transition considering the rounded corners. The best way to handle it is to draw content as if part of it is off the screen, so that when it's animated in, the rounded corners can slide in onto the screen correctly.

Fixes: 219085340
Test: https://recall.googleplex.com/projects/f46cfe9c-8076-4efe-bf8a-b1cc4f1f5e1b/sessions/09a99b75-3614-4d20-b6d4-a78108f769d8

Change-Id: I24d90cc9e2695d822cb2de8b21e2d5519f2e344d
2022-03-21 21:21:42 -07:00
Brandon Dayauon 4f733127a7 Merge "Change Home screen to 'home screen' when it's in middle of a sentence" into tm-dev 2022-03-21 17:25:19 +00:00
TreeHugger Robot 016dd3656d Merge "Adjust edit state drop targets, workspace scaling, and margins per device type and orientation." into tm-dev 2022-03-21 17:07:10 +00:00
Thales Lima c307cd137f Merge "Add more border space options" into tm-dev 2022-03-21 15:14:18 +00:00
TreeHugger Robot 0a9d1226a6 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-03-19 00:35:45 +00:00
Brandon Dayauon 85a6bab0dc Change Home screen to 'home screen' when it's in middle of a sentence
Test: Manual - Tested on local pixel device
Bug: 224967365
Change-Id: I37365167b0be6d654735d46c4a070b926e828f8e
2022-03-18 14:59:31 -07:00