Commit Graph

4780 Commits

Author SHA1 Message Date
Bill Yi 0530d40ef9 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-04-22 04:45:13 +00:00
TreeHugger Robot 570337ce17 Merge "Bring Widget Picker message style inline with All Apps message style." into tm-dev am: 0bd7fbde6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17890715

Change-Id: I4dfe28ef02ca1cbba1f96e28ed8dbb8e6cac469f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-22 02:45:01 +00:00
TreeHugger Robot 0bd7fbde6d Merge "Bring Widget Picker message style inline with All Apps message style." into tm-dev 2022-04-22 02:14:43 +00:00
Bill Yi db60e79024 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-22 00:17:18 +00:00
Zak Cohen 1dc4dea6ae Bring Widget Picker message style inline with All Apps message style.
Bug: 188227318
Test: Local flash with TestDPC to test message.
Change-Id: I63403f1472a582a63299e647604eaea25b50b8e7
2022-04-21 10:53:17 -07:00
Thales Lima d2f6c827b3 Merge "Making tablet grid scalable and tuning size" into tm-dev am: 1e583dfa0e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17707273

Change-Id: I9e34ab4342507e11ac19ad62d2a2508423bc69b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-21 14:56:10 +00:00
Thales Lima 26aa8c2496 Making tablet grid scalable and tuning size
Bug: 227344807
Test: manual and HSV
Change-Id: I739cd814ecb8f693b4873cd78f2e8c182538be3b
2022-04-21 11:10:22 +00:00
Bill Yi ca70cf78c7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iafba4925f7a964d8ab84cf180d21386e322fc873
2022-04-21 04:12:20 +00:00
Pat Manning 8db98c43be Merge "Update widget edit icon to use material colors." into tm-dev am: 37edea679c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17656215

Change-Id: Ic5465a476cd9f3f42ae931c2b65a9910eb04e4a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 12:39:59 +00:00
Pat Manning 37edea679c Merge "Update widget edit icon to use material colors." into tm-dev 2022-04-20 11:54:36 +00:00
Bill Yi a7572a77d6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I99b021e480994659cd0a29f18d6e315d8daff052
2022-04-19 19:04:37 +00:00
Thales Lima b508cbbc7c Merge "Tune menu size" into tm-dev am: 1dcf3d1ab9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17570024

Change-Id: Ic4ed8101bff74974e4574eea62f59e027bb1ae35
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-19 15:52:44 +00:00
Thales Lima 1dcf3d1ab9 Merge "Tune menu size" into tm-dev 2022-04-19 15:36:10 +00:00
Bill Yi 9c2701fd8d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2dfeeb7269d946917cd84eba22751ba4bfcb2781
2022-04-18 12:43:15 +00:00
Bill Yi da78e7047e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9ff5d01375187fe18ba873d32b73590a73844f50
2022-04-17 08:56:19 +00:00
TreeHugger Robot cf80645111 Merge "Polish the back to home gesture animation to match the spec." into tm-dev 2022-04-16 01:51:10 +00:00
Shan Huang 4ce2b40f91 Polish the back to home gesture animation to match the spec.
Bug:228533817
Test: Enable back animation from FlagFlipper (Predicitve Back Animation)
and swipe back on Flag Flipper. Try in both portrait and landscape mode.

Change-Id: I7792dc5079698c1b5a7dd3cd06344ba46c4a2da6
2022-04-15 19:26:11 +00:00
Sihua Ma af91920955 Merge "Showing alert dialog when shortcut version higher than the App" into tm-dev 2022-04-14 18:26:10 +00:00
Bill Yi 614046bd46 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-14 15:06:26 +00:00
Sihua Ma da8759ae29 Showing alert dialog when shortcut version higher than the App
Creating an AlertDialog when the disabled reason of the shortcut is DISABLED_REASON_VERSION_LOWER, which happens when the backed-up shortcut was created from an application that has a version higher than the one installed on the device. The AlertDialog will direct the user to the play store and update the application.

Test: Manual
Fix: 224796975
Change-Id: I0125fada60b48176775de6782ba03ee6790904aa
2022-04-14 01:34:44 -07:00
Thales Lima 7bb79ae8e2 Tune menu size
Fix: 223351193
Bug: 214586519
Test: check sizes with HSV and Window
Change-Id: I2fa8d03eb80e952ebc238e6f4db5563f774128cd
2022-04-13 14:21:36 +01: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 1d313372fe Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifc067459518e15838a8a472234a26eb7b2214ebd
2022-04-12 21:25:52 +00:00
Pat Manning 48beebbed5 Update widget edit icon to use material colors.
Fix: 216821024
Test: manual
Change-Id: I3c3e463e33d7a611010e426eca1378cde027c6d6
2022-04-12 18:26:06 +01: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