Commit Graph

398 Commits

Author SHA1 Message Date
Luca Zuccarini
2098381808 [Toast] Introduce SysUI's animation library to the transition manager.
Bug: 250588519
Test: manual, see videos in bug
Change-Id: Iccc440c95ecc14d39e35d911798e239b698b950a
2023-01-27 13:49:40 +00:00
Holly Sun
6a62176621 Move ENABLE_HIDE_GBOARD_HEADER_STATIC from feature flag to server side flag.
Bug: 266708932
Test: manual with adb command
Change-Id: Id064367ee970120cf0aa668b9c81613f7262bad8
2023-01-25 10:12:38 -08:00
Jagrut Desai
b207102b98 Merge "Adding a debug feature flag for taskbar pinning." into tm-qpr-dev 2023-01-19 21:50:05 +00:00
Jagrut Desai
ffe8cc01d5 Adding a debug feature flag for taskbar pinning.
Bug: 265307333
Test: cl

Change-Id: I95cea392924fb9dc2acff99cd97a5fb4ddc32fbc
2023-01-19 19:16:23 +00:00
Federico Baron
a9e5f5a1ef Merge "Set the ENABLE_DOWNLOAD_APP_UX_V2 flag to true" into tm-qpr-dev 2023-01-18 19:36:59 +00:00
Luca Zuccarini
da31c5e3a3 Merge "[Toast] Add a feature flag for result launch animations." into tm-qpr-dev 2023-01-13 15:14:55 +00:00
Jeremy Sim
9dfeb03a71 Merge "Fix transition animations for launch-from-staged operation" into tm-qpr-dev 2023-01-12 23:08:37 +00:00
Luca Zuccarini
50ef8004e0 [Toast] Add a feature flag for result launch animations.
Bug: 250588519
Test: manual
Change-Id: I6d605bf8b1008a3b12497e1d04601735ad79c001
2023-01-11 13:16:02 +00:00
Jeremy Sim
5f8dd20236 Fix transition animations for launch-from-staged operation
This change makes it so that a smoother animation will play when the user cancels the splitscreen flow by tapping the staged app to launch the app in fullscreen. Since this was the only blocker to activating the feature, this change also enables launch-from-staged by default and removes the flag.

Fixes: 257513449
Test: Manual
Change-Id: Iabff2fc72bfcd6975d216b5cd86e0df7a772b308
2023-01-10 15:44:23 -08:00
Ikram Gabiyev
448e0ade10 Filter recents view instances by package name
Filter instances of GroupTasks based on package name
as a part of support for multi-instance

Add a feature flag to toggle multi-instance features

See the video below for how to use the demo.
Note: some extra UI elements were added since video
was recorded, but the filtering process is the same.
http://recall/-/da585DRwKRZK3S2xxcQrSm/gW9HZnbCvGyH1DQiVizOW2

See go/multi-instance for more info about the feature

Bug: 253520408

Test: manually tested the instance filtering

Change-Id: I19c947ca353699096388b9fbbdca6d75cb0041a7
2022-12-28 00:10:48 +00:00
Brandon Dayauon
238bbfaf7b Merge "Extend/shrink work button when scrolling" into tm-qpr-dev 2022-12-21 05:31:33 +00:00
Brandon Dayauon
c9672b9002 Extend/shrink work button when scrolling
most of the change was from this CL: ag/19223926
moved scroll listener definition to WorkProfileManager.java
Added feature flag

bug: 194188980
test: Video - https://drive.google.com/file/d/18UM7UDNQz-Z8Q2Sh8VEKHm9LXRVJaWFM/view?usp=sharing
Change-Id: Ib80784e0f5108b28658141ca5e495a27fab34a3c
2022-12-20 14:38:40 -08:00
Brian Isganitis
746b2243f9 Add flag for Taskbar education tooltip.
Test: Manual
Bug: 263157739
Change-Id: I1c427d250864db1b8dee58584d503908a0fd9c8d
2022-12-19 20:47:21 +00:00
Anushree Ganjam
65ef25a423 Move the Impression Logging Flag to AllAppsDeviceConfigFlag
Bug: 204781396
Test: Manual
Change-Id: I2dae1e34fca9e1c7e430ccaf5e3439a49ef8afc7
2022-12-16 00:24:03 +00:00
Alex Chau
ab800f71d0 Temporarily use 1f bottomSheetDepth for multi-display
Bug: 259893832
Test: Manual and DeviceProfileDumpTest
Change-Id: I196958e6f9f889de003b4d3a22a176bfd7e49511
2022-12-14 18:17:18 +00:00
TreeHugger Robot
c995ec1dd8 Merge "Set the default value for SCROLL_TOP_TO_RESET to true." into tm-qpr-dev 2022-12-13 20:44:23 +00:00
TreeHugger Robot
be968ab8e2 Merge "Adding feature flag for simulating two CellLayouts using one." into tm-qpr-dev 2022-12-13 16:56:38 +00:00
TreeHugger Robot
f7590ed79c Merge "Remove delightful page indicator" into tm-qpr-dev 2022-12-10 05:47:19 +00:00
Jon Miranda
229d9bc3b7 Merge "Enable transient taskbar flag on by default." into tm-qpr-dev 2022-12-10 02:03:04 +00:00
Sebastian Franco
5f022614b0 Adding feature flag for simulating two CellLayouts using one.
Bug: 188081026
Test: compiles
Change-Id: Idd9ad8c6d0e4814d93fc9dd019e250d9469020d8
2022-12-10 00:37:43 +00:00
Federico Baron
3f82a06c7f Remove delightful page indicator
Due to design changes, we are no longer going to use the  changes guarded under the flag SHOW_DELIIGHTFUL_PAGINATION, so we remove the flag and the code that was guarded by that flag

Bug: 261904707
Test: verify flag SHOW_DELIGHTFUL_PAGINATION no longer exists and that the regular pagination works without issues after removing all this code
Change-Id: I244b88b98df0357aa99a325a11988e8248a03206
2022-12-08 15:00:02 -08:00
Holly Sun
66a7fdcd90 Set the default value for SCROLL_TOP_TO_RESET to true.
Per UX, we can enable this feature by default.

Bug: 218846025
Test: manual
Change-Id: I828515ec45e84007cee3893cd2b76fca7c5afee2
2022-12-08 14:13:07 -08:00
Sunny Goyal
9898d7906e Merge "Adding support for generating manachrome icon from a colored icon" into tm-qpr-dev 2022-12-08 18:54:59 +00:00
Jon Miranda
7234034cee Enable transient taskbar flag on by default.
Bug: 261859222
Test: manual
Change-Id: I46ed930aba743f76da3b6fe94629fdb0f585ee55
2022-12-08 16:45:10 +00:00
Sunny Goyal
d954229d1a Adding support for generating manachrome icon from a colored icon
Bug: 261625158
Test: Verified on device
Change-Id: Ibda922fd2c9c0a856ea02a8e73f43af8573f2450
2022-12-07 22:57:24 -08:00
TreeHugger Robot
1c744c996c Merge "Remove feature flags and use search config flags." into tm-qpr-dev 2022-12-07 22:58:39 +00:00
Jon Miranda
6ba531d1aa Merge "Turn flag on by default: ENABLE_TASKBAR_REVISED_THRESHOLDS" into tm-qpr-dev 2022-12-07 17:33:53 +00:00
TreeHugger Robot
5e0d7ae019 Merge "Revert "Revert "Enable taskbar in overview by default""" into tm-qpr-dev 2022-12-07 17:14:15 +00:00
Alex Chau
5dec2aceb1 Revert "Revert "Enable taskbar in overview by default""
This reverts commit 6f0b0fe742.

Bug: 245320601
Reason for revert: Re-land "Enable taskbar in overview by default"

Change-Id: Ie722a608d6bd7168744ffc81c156e4307d4c1d2d
2022-12-06 19:45:29 +00:00
Holly Sun
581aa03806 Remove feature flags and use search config flags.
Bug: 210661150
Test: manual
Change-Id: I6aa176895f80f31840570ce2c0ecbfbfb11079a1
2022-12-06 11:31:31 -08:00
Tony Wickham
7286c5be98 Add feature flag to force taskbar to be persistent.
This will allow us to test taskbar pinning before the entrypoint for
such a setting is finalized.

Test: manual, TODO: will need to update TaplTestsTaskbar to account for
this mode
Flag: FORCE_PERSISTENT_TASKBAR [off]
Bug: 258604917

Change-Id: I4535978563ffbe9a6cc6ece7720cdb75e787ff44
2022-12-06 00:51:46 +00:00
Becky Qiu
5c46bea3bc Merge "[Toast] Remove feature flag for rich answer, use all apps flag instead." into tm-qpr-dev 2022-12-01 02:00:31 +00:00
Federico Baron
32828ecefd Set the ENABLE_DOWNLOAD_APP_UX_V2 flag to true
We will split the feature into two parts. The part that is guarded under ENABLE_DOWNLOAD_APP_UX_V2 is feature complete (everything except for the skeleton motion). The skeleton motion will be guarded by another flag (ENABLE_DOWNLOAD_APP_UX_V3). This is so that we have an improvement over the current version of restore icon treatment prior to release that we can start testing

Bug: 254858049
Test: Download an app and check how it looks when pending/donwloading/installing
Change-Id: I711f9d8acdb40689e71782acff6ef43907bb7435
2022-12-01 00:48:01 +00:00
TreeHugger Robot
575048df99 Merge "Add flags for new restore icon treatment" into tm-qpr-dev 2022-11-29 20:11:11 +00:00
Jon Miranda
6f5062e64c Turn flag on by default: ENABLE_TASKBAR_REVISED_THRESHOLDS
Bug: 260002412
Test: manual
Change-Id: I2b5f2a434f5768c1834fa15d814f001e13b719da
2022-11-29 11:14:12 -08:00
Becky Qiu
9820d4746d [Toast] Remove feature flag for rich answer, use all apps flag instead.
This is to prepare for the server launch.

Bug: 241295640, 256693300
Test: local
Change-Id: Idf1fe2b05e998dbab790d3dc1a7ea63f9daa2df7
2022-11-29 11:01:58 -08:00
Federico Baron
791c9cbc37 Add flags for new restore icon treatment
We're updating the way apps look when they're pending, downloading, and installing. It will look like this mock https://docs.google.com/presentation/d/1V9-1C3mJ3zRGsuzzzYExisr9vLYecgADa1FucMoW_aw/edit#slide=id.g16c002f332d_1_0

Bug: 254858049
Test: N/A
Change-Id: I4403f857c9c1fc24c65223886008252462209804
2022-11-29 18:39:55 +00:00
TreeHugger Robot
aa14bd45c4 Merge "Add feature flag to control whether to inject fallback app results when AiAi fails to return app corpus results." into tm-qpr-dev 2022-11-29 00:37:53 +00:00
Becky Qiu
b96e084557 Merge "[Toast] Add a feature flag for rich answer" into tm-qpr-dev 2022-11-23 01:10:10 +00:00
Sihua Ma
09f04d34a3 Merge "Adding the flag for putting widget host in the background" into tm-qpr-dev 2022-11-22 19:22:09 +00:00
Jon Miranda
e57cab1da8 Merge "Add revised thresholds for transient taskbar behind flag ENABLE_TASKBAR_REVISED_THRESHOLDS." into tm-qpr-dev 2022-11-22 17:20:21 +00:00
Jon Miranda
3d72ac1a78 Add revised thresholds for transient taskbar behind flag ENABLE_TASKBAR_REVISED_THRESHOLDS.
Bug: 260002412
Test: enable flag
Change-Id: I4d82a853061b1540b6c6aea5e58b05a3ea6638e0
2022-11-21 23:46:34 +00:00
Sihua Ma
04ce9fa3ef Adding the flag for putting widget host in the background
Bug: 235358918
Test: N/A
Change-Id: I300bb5e293de6995a0e69402a6e337739055ca59
2022-11-21 14:17:50 -08:00
TreeHugger Robot
db81133e94 Merge "Removing ENABLE_LOCAL_COLOR_POPUPS feature flag" into tm-qpr-dev 2022-11-21 21:45:47 +00:00
Becky Qiu
654c3d1b98 [Toast] Add a feature flag for rich answer
Bug: 241295640
Test: tested with opt-in suggest data.
Change-Id: I424525eed93c60e77566bcaf673f9f1ff61e1fa1
2022-11-21 19:44:44 +00:00
Sunny Goyal
bbe956ef5f Removing ENABLE_LOCAL_COLOR_POPUPS feature flag
The feature has been disabled for a while and is not working correctly.
Also there is no UX plan to revisit this currently

Bug: 206508141
Bug: 259733681
Test: Presubmit
Change-Id: If1279c22b9d074592ba181c7caa0cf38f9cb842e
2022-11-21 10:21:45 -08:00
TreeHugger Robot
c9c45ed783 Merge "Adds flag to show 2 rows of predicted apps in All Apps 0 state." into tm-qpr-dev 2022-11-19 00:48:49 +00:00
Holly Sun
c62080726a Add feature flag to control whether to inject fallback app results when AiAi fails to return app corpus results.
Bug: 255355348
Test: manual
Change-Id: Ic314f2f7fb1939f470b687d1f869753489ae8da6
2022-11-18 14:51:28 -08:00
Tracy Zhou
a71d353ff8 Merge "Implement split from workspace to workspace" into tm-qpr-dev 2022-11-17 07:04:48 +00:00
Jeremy Sim
6692f78229 Allow user to tap on stashed app to launch task in fullscreen
This patch implements a new feature that allows the user to tap on the staged app rectangle in split staging mode. When the user does so, split selection will be canceled, and the staged app will animate out to fill the screen and launch in fullscreen.

Done by creating a new onClick listener on mFirstFloatingTaskView that sets up the screen-filling animation, and then calls a new RecentsView function, launchStagedTask(), that launches mSplitHiddenTaskView and cleans up RecentsView afterwards (similar to what happens when a split pair is selected, but only one app is launched).

Open issues:
- After the staged task animates out to fill the screen, the task itself loads instantly without animating in. Ideally, it should fade in, similar to what happens when two split tasks are loaded in.

Bug: 257513449
Test: Manual on tablet
Change-Id: I2ae8e13e1c9848aae1978a536766c370949fd08b
2022-11-16 15:28:31 -08:00