Holly Jiuyu Sun and Android (Google) Code Review
e5d943e848
Merge "[PS] Update resource files to include round background." into main
2024-01-24 03:53:28 +00:00
Federico Baron and Android (Google) Code Review
dc2f747213
Merge "Fix nested scrolling in two pane picker left pane" into main
2024-01-22 19:38:46 +00:00
fbaron
db1e3d53e3
Fix nested scrolling in two pane picker left pane
...
Fix: 319151078
Test: Verify there's no nested scrolling
Flag: NONE
Change-Id: Ic974c85e1845f45aa0646a1ebf29696f75c9ab90
2024-01-22 09:00:57 -08:00
Sebastian Franco
9ae403298d
Updating launcher settings so that they become split-screen
...
Following this guide:
https://developer.android.com/guide/topics/large-screens/activity-embedding#extract_an_activity_from_a_split_to_full_window
Bug: 204463748
Test: Open the settings app and open multiple settings, for now
only the options inside of the launcher3 package work
Flag: ACONFIG com.android.launcher3.Flags.enableTwoPaneLauncherSettings DEVELOPMENT
Change-Id: Ie6a9eb3760171da92d94cf06376127b02afff8df
2024-01-19 22:33:20 +00:00
Bill Yi and Android (Google) Code Review
4d97c8b865
Merge "Import translations. DO NOT MERGE ANYWHERE" into main
2024-01-19 18:49:23 +00:00
Sunny Goyal
e0c1649d87
Cleaning up some unused notifications functionality
...
Bug: 321154530
Test: Presubmit
Flag: N/A
Change-Id: I1ff2a4f19595659d89e7d72ee1b29036bbd54d8f
2024-01-19 00:21:02 -08:00
Bill Yi
5b3446a8ca
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I77decbecbcf69b45b8d1db8cf8413684bda113ca
2024-01-18 13:13:04 -08:00
Anushree Ganjam and Android (Google) Code Review
cbfa8043c8
Merge "Add "Don't suggest app" shortcut to suggested apps." into main
2024-01-17 22:25:17 +00:00
Anna Zhuravleva and Android (Google) Code Review
9de29f211a
Merge "Do not show install shortcut for Settings" into main
2024-01-17 17:18:33 +00:00
Anna Zhuravleva
d986fda1d5
Do not show install shortcut for Settings
...
Private profile shares Settings with the main user,
this change disable showing "Install to private"
long-press shortcut for Settings.
Bug: 316118005
Test: long press on Settings app
Flag: ACONFIG com.android.launcher3.Flags.enable_private_space_install_shortcut DEVELOPMENT
Change-Id: Iecc0bdf60879ce5c74288942d39bbb3add68fd9c
2024-01-17 16:06:38 +00:00
Helen Cheuk and Android (Google) Code Review
456c085338
Merge "Configured color attribute properly for focus outline" into main
2024-01-17 10:55:53 +00:00
Holly Sun
22dd6a5435
[PS] Update resource files to include round background.
...
Bug: 19531436
Test: manual
Flag: aconfig enable_inject_private_space_tile teamfood
Change-Id: I287d5cb1c613419035b5b2e4da7c64f897de7c23
2024-01-16 16:37:41 -08:00
helencheuk
2691cdfa8b
Configured color attribute properly for focus outline
...
Bug: 310953377
Test: Manual
Flag: ACONFIG com.android.launcher3.enable_focus_outline Development
Change-Id: If85c33ecea3241e69927917e910386d0346ef43b
2024-01-15 18:35:11 +00:00
Bill Yi and Android (Google) Code Review
f35f5f3917
Merge "Import translations. DO NOT MERGE ANYWHERE" into main
2024-01-12 20:09:43 +00:00
Anushree Ganjam
5e9b71e055
Add "Don't suggest app" shortcut to suggested apps.
...
This works for suggested apps in both Home and AA+. When enable_shortcut_dont_suggest_app is true, the secondary drop target "Don't Suggest app" is removed instead "Don't suggest app" is added to shortcuts.
Video: https://b.corp.google.com/issues/319250810#comment5
Home: https://screenshot.googleplex.com/d7Wts48X6EmFAYg.png
Private space app suggested: https://screenshot.googleplex.com/BukzCRTvkzbpwQ3.png
AA+: https://screenshot.googleplex.com/ADMCHnQ378jvJEE.png
Private space app suggested : https://screenshot.googleplex.com/AYga8Km3646AqMt.png
Bug: 319250810
Flag: aconfig com.android.launcher.enable_shortcut_dont_suggest_app DEVELOPMENT
Test: Manual.
Change-Id: Ia7df749a1c7d806bd9d74124be138384c3050119
2024-01-12 10:33:24 -08:00
Anna Zhuravleva and Android (Google) Code Review
eb1966c278
Merge "Add shortcut to install an app to Private space" into main
2024-01-12 15:51:05 +00:00
Johannes Gallmann and Android (Google) Code Review
9532717757
Merge changes I05d517a7,Ided0a095 into main
...
* changes:
Minor clenaup in LauncherBackAnimationController
Fix window corner radius for predictive back to home on Felix
2024-01-12 10:33:56 +00:00
Bill Yi
11766a67bb
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I4e130d40326ad2b4580d7449c5c9229dc83cefc9
2024-01-11 17:26:25 -08:00
Holly Jiuyu Sun and Android (Google) Code Review
de4ac178b9
Merge "Implement Install Apps button in Private Space." into main
2024-01-11 23:18:46 +00:00
Anna Zhuravleva
29a3139815
Add shortcut to install an app to Private space
...
Introduce long-press shortcut to install a copy
of the main user app to private space.
Test: manual, installed apps in different stores
and tried shortcut
https://screenshot.googleplex.com/6oAVamTytiYmvPC.png
Bug: 316118005
Flag: ACONFIG com.android.launcher3.Flags.enable_private_space_install_shortcut DEVELOPMENT
Change-Id: I702cd2a27388e3cc6e9e126308d5479836ba6655
2024-01-11 12:40:28 +00:00
Holly Sun
97b1bba413
Implement Install Apps button in Private Space.
...
UX mock: https://www.figma.com/file/K6bIIcG882EiJNjxvSWsFT/V%E2%80%A2-Private-Space?node-id=7246%3A83750&mode=dev
UX icon spec: https://www.figma.com/file/K6bIIcG882EiJNjxvSWsFT/V%E2%80%A2-Private-Space?type=design&node-id=19979-224329&mode=design&t=50SDFdomAtonNU4V-0
Video: https://drive.google.com/file/d/1VtTzxR46dLiaozOo6sOHADv1qTcBOwDP/view?usp=sharing
Screenshot:
https://screenshot.googleplex.com/3ShcUozVrkGMHbc
https://screenshot.googleplex.com/3F4c3yzJ7RUpma7
Reason to use PrivateSpaceInstallAppButtonInfo: reuse `VIEW_TYPE_ICON`, which needs an AppInfo.
Bug: 308064949
Test: manual
Flag: ACONFIG com.android.launcher3.private_space_app_installer_button development
Change-Id: I3fb27fae8324d4b276816b17f9b0a2d9b6f33ed2
2024-01-10 14:28:33 -08:00
Jordan Silva
d29f0644f2
Update the device twoPanelId specs to use the default spec when it is not defined
...
In some situations, DeviceProfile is recreated with an invalid InvariantDeviceProfile leading to a crash, because it tries to use an non existent responsive grid spec. To prevent the crash, we are update the responsive grid two panel specs to use the default spec when two panel spec is not defined.
Bug: 317993862
Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD
Test: NexusLauncherImageTests
Test: DeviceProfileDumpTest
Test: DeviceProfileAlternativeDisplaysDumpTest
Change-Id: I8b8095745787ad47b006892452a54942f981713e
2024-01-10 15:11:26 -03:00
Jordan Silva and Android (Google) Code Review
07af3b06ac
Merge "Update responsive grid spec cell size remainderSpace logic" into main
2024-01-09 12:52:10 +00:00
Johannes Gallmann
0614de59e1
Minor clenaup in LauncherBackAnimationController
...
Bug: 311365390
Flag: NONE
Test: presubmit
Change-Id: I05d517a7b49728ea66f6b805837f66b4a28ded53
2024-01-09 08:31:08 +00:00
Jordan Silva
2de6a277b7
Update responsive grid spec cell size remainderSpace logic
...
Refactoring the cellSize spec of responsive grid to divide the remainder space in code instead of dividing by cols/rows in the spec definition. For example, instead of using 0.2 in the spec for 5x5 grid (1 / number of rows), it is going to use 1 (100% of the remainder space) and divide the percentage by the number of cols or rows in code.
Fix: 313621277
Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD
Test: NexusLauncherImageTests
Test: CalculatedWorkspaceSpecTest
Test: DeviceProfileDumpTest
Test: DeviceProfileAlternativeDisplaysDumpTest
Change-Id: Ifaec838ac9751562ecedc1fe39b966ee3d092de3
2024-01-08 19:40:01 -03:00
Brandon Dayauon and Android (Google) Code Review
4f673d2517
Merge "Increase predicted app row by 4dp to be same as SEARCH_RESULT_APP_ROW" into main
2024-01-08 18:00:05 +00:00
Brandon Dayauon
3dd0f12cad
Increase predicted app row by 4dp to be same as SEARCH_RESULT_APP_ROW
...
Verified that there should be no jumping going on in the top app row between A-Z list and Toast.
bug: 312781931
Test: manual -video:
https://drive.google.com/file/d/11GX-5mVr5BoZY29IyX5FvrIA_yT57MOJ/view?usp=sharing
Flag: None
Change-Id: I5c35c04eb500f52780b0b77c542e0a861346a3fd
2024-01-05 17:09:23 -08:00
Sunny Goyal and Android (Google) Code Review
1a8f804195
Merge "Removing ENABLE_CACHED_WIDGET since we now have always listenign widget" into main
2024-01-05 00:02:54 +00:00
Sunny Goyal
4df719a1e6
Removing ENABLE_CACHED_WIDGET since we now have always listenign widget
...
> Also using PendingWidgetView for deferred widget view
Bug: 270395008
Flag: LEGACY ENABLE_CACHED_WIDGET enabled
Test: Exising widgets tests pass.
Verified UI by forcefully rendering deferred widget
Change-Id: Id34f89d778f9f993c1b7ad13f66e57fda9843417
2024-01-04 09:26:10 -08:00
Fengjiang Li and Android (Google) Code Review
772675ed11
Merge "Revert "Fix small gap between widget resize frame and widget background."" into main
2024-01-03 00:51:44 +00:00
Fengjiang Li and Android (Google) Code Review
e81f4b8dc5
Revert "Fix small gap between widget resize frame and widget background."
...
This reverts commit 1e6bbf368b .
Reason for revert: b/317375712 TAPL is failing
Change-Id: Ib6b200f99c9feb7986ffca50015c02f3e558fc84
2024-01-02 23:00:03 +00:00
Tracy Zhou
5ad10ff6f6
Adjust the layout of nav buttons in 3 button mode with task bar / nav bar unification
...
In nav bar, we assign layout weight 0.25:0.5:1(for home but the content width of home is set to 80dp):0.5:0.25 with a LinearLayout. Since we use a FrameLayout for taskbar (to support both folded and unfolded task bar), in this change we are matching the layout by manually calculating the width of each section (since we are already manipulating like so in different layoutters)
Bug: 230395757
Test: https://screenshot.googleplex.com/3P6vDrgb6geqTUm
Change-Id: I6ba201477621f173e42c5211fcc68b24e3022122
2024-01-02 14:34:51 -08:00
Brandon Dayauon and Android (Google) Code Review
f4d2c13752
Merge "Change all apps handle color to outLineVariant." into main
2023-12-27 01:03:56 +00:00
Brandon Dayauon and Android (Google) Code Review
46884202f5
Merge "Fix padding between text and (x) icon in work profile card." into main
2023-12-21 22:25:41 +00:00
Brandon Dayauon
c800c97697
Change all apps handle color to outLineVariant.
...
Before the change the color was colorSurfaceVariant but should be updated to outlineVariant.
bug:275087095
Test: Manual -
Before darkTheme:https://screenshot.googleplex.com/94KykP7mjhBsKUc
After darkTheme:https://screenshot.googleplex.com/3N5XaSRonQkFuis
Before lightTheme:https://screenshot.googleplex.com/BNigdK4GWgSe2fm
After lightTheme: https://screenshot.googleplex.com/3Li5DUCDxXeACac
Flag: None
Change-Id: Ie7b077e05108d53dab869fcc1225ddae993207f2
2023-12-21 18:52:29 +00:00
Fengjiang Li and Android (Google) Code Review
f63532e610
Merge "Fix small gap between widget resize frame and widget background." into main
2023-12-21 01:34:16 +00:00
Fengjiang Li
1e6bbf368b
Fix small gap between widget resize frame and widget background.
...
There is a 1dp gap on left/top/right/bottom between widget resize frame and widget background. Increasing the margin by 1dp will fill this gap.
Fix: 291104076
Test: See https://b.corp.google.com/issues/291104076#comment9
Flag: NA
Change-Id: I05143d76c98de7bbcfdca5cfacb21b3ace669861
2023-12-20 14:26:21 -08:00
Federico Baron and Android (Google) Code Review
c42e7ffddd
Merge "Update folder preview dark theme color" into main
2023-12-19 23:22:47 +00:00
fbaron
7bc30906c4
Update folder preview dark theme color
...
Fix: 314843350
Test: Verify on device
Flag: NONE
Change-Id: I2a4cb62dacb05193412b99aca0d3bfabfb77f959
2023-12-19 19:21:59 +00:00
helencheuk
1b3b67d004
Add radius to widget internal focus to fit new focus outline design
...
Bug: 310953377
Test: Manual
Flag: ACONFIG com.android.launcher3.enable_focus_outline Development
Change-Id: I9b11e8bf21dbb5045586907f0fc13577e236c8e7
2023-12-19 11:27:04 +00:00
Brandon Dayauon
6ac1d24876
Fix padding between text and (x) icon in work profile card.
...
- Simplified the .xml to just use linear layout and remove the extra relativelayout that was used for the button when it can just be a
Framelayout.
- Now according to spec https://www.figma.com/file/mf67dbMngw0a3aev2HTinD/Work-Profile-%26-Bluechip?type=design&node-id=2185-0&mode=design&t=n0pl6vP5rnSrTyyv-0
the additional padding is now included.
bug: 309120438
Test: Manual photos-
before: https://screenshot.googleplex.com/48kUpYCVQGYMwdm
after: https://screenshot.googleplex.com/AcisTmXQeZ3NT3C
Flag: None
Change-Id: I3c1850a20f49a2a4e809410b4aaef688ea9b3e2c
2023-12-18 13:37:16 -08:00
Helen Cheuk and Android (Google) Code Review
9c0f738cdb
Merge "Add focus outline to launcher" into main
2023-12-15 18:03:36 +00:00
helencheuk
b4626f4698
Add focus outline to launcher
...
Fix: 310953377
Test: TBC
Flag: ACONFIG com.android.launcher3.enable_focus_outline Development
Change-Id: Ie395ec74c8a4a13a68539ca7ec6496481d96b860
2023-12-15 16:56:31 +00:00
Bill Yi and Android (Google) Code Review
f431ab4db7
Merge "Import translations. DO NOT MERGE ANYWHERE" into main
2023-12-15 00:13:22 +00:00
Bill Yi
7c68b61e09
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Idd965f2d99f1a2d07b0844424d6d300a2302d8d4
2023-12-13 15:11:53 -08:00
Charlie Anderson and Android (Google) Code Review
797ed83700
Merge "Add wrapper for logging backup & restore metrics from Launcher" into main
2023-12-13 19:33:26 +00:00
Tracy Zhou
9ccd5d4257
Introduce taskbar_phone_size
...
In small screen, we use 48dp for nav bar height, while it's 60dp for task bar.
Bug: 230395757
Test: manual
Change-Id: Ia7083a1b2246981466e1163404c63b645a6bf5b1
2023-12-13 00:38:15 -08:00
Federico Baron and Android (Google) Code Review
4266fa49e2
Merge "Update two pane sheet widget picker to use RelativeLayout since ConstraintLayout was causing test failures" into main
2023-12-13 01:47:21 +00:00
Brandon Dayauon and Android (Google) Code Review
d7f0ccf52e
Merge "Move UnionDecorationHandler to Launcher" into main
2023-12-13 00:00:14 +00:00
fbaron
b3b0215cb1
Update two pane sheet widget picker to use RelativeLayout since ConstraintLayout was causing test failures
...
There are test failures when using ConstraintLayout without a known solution, see https://chat.google.com/room/AAAACwktJi8/2OogGWfbLvI . Switching back to a relativelayout to resolve those issues.
Bug: 301918659
Test: WidgetPickerImageTest
Flag: ACONFIG com.android.launcher3.enable_unfolded_two_pane_picker DEVELOPMENT
Change-Id: I004c2d77ca308d85b29217d4f1e548067126556f
2023-12-12 15:12:40 -08:00