Commit Graph

189 Commits

Author SHA1 Message Date
Samuel Fufa
ab4fb243b7 Merge "Refactor FolderInsetAnimationCallback to be used with any view" into sc-dev am: efa5df380c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15002979

Change-Id: I71867324537972713cb4660a70f20a4d06b5a012
2021-06-17 18:50:23 +00:00
Samuel Fufa
efa5df380c Merge "Refactor FolderInsetAnimationCallback to be used with any view" into sc-dev 2021-06-17 18:48:49 +00:00
Samuel Fufa
d04a92d1ed Refactor FolderInsetAnimationCallback to be used with any view
- Update ic_corp_off icon to outline
- Remove shadow from work toggle
- Translate work fab when keyboard is shown

Screenshot: https://screenshot.googleplex.com/593tEg7bE4kSS4y

Bug: 191251404
Bug: 191250785
Test: local
Change-Id: Ie7dddfd17eb90575a1e1f67e281070dd8d268f8d
2021-06-16 17:25:53 -05:00
Jonathan Miranda
c01e87daf0 Merge "Add ENABLE_SCRIM_FOR_APP_LAUNCH feature flag." into sc-dev am: 28e39335bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14987185

Change-Id: Iecfbdc781852e24aafb92744f9a3de4ff5cbbd00
2021-06-16 20:39:08 +00:00
Jon Miranda
b73e591712 Add ENABLE_SCRIM_FOR_APP_LAUNCH feature flag.
Bug: 191088291
Test: manual
Change-Id: Ia144c72e0fe1292ed856a37ee714a1cda50083d5
2021-06-16 18:13:23 +00:00
Brian Isganitis
2b81fec450 Add flag for widgets in Launcher preview
Test: Flag available in developer options (does nothing)
Bug: 185306338
Change-Id: I74063d0ef29f828f740633ce0dab860672f69d3d
2021-06-11 16:04:54 -04:00
TreeHugger Robot
7e019e8a47 Merge "Re-enable swipe up view inflation test." into sc-dev am: 93e232a57b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14848883

Change-Id: I0833ea17df3ef812c13168f3c503ae7b90586078
2021-06-09 01:06:26 +00:00
zakcohen
284eef2bf9 Re-enable swipe up view inflation test.
Disable chips by default as they are not plan of record for launch.

Bug: 141579810
Test: Local and ran test
Change-Id: Iae270c6ac4bbec4f7c29b1137cf926383443e85e
2021-06-08 14:24:20 -07:00
Hyunyoung Song
75987bddd3 Merge "Remove APP_SEARCH_IMPROVEMENTS" into sc-dev am: 9450883e74
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14829362

Change-Id: Id83670f5fbb70af1dd774025829b5fe301389936
2021-06-04 18:44:05 +00:00
Hyunyoung Song
2e747e2194 Remove APP_SEARCH_IMPROVEMENTS
Bug: 190104801
Test: manual, builds

Change-Id: Icd7f0f17bf79eda9fa8e10a6699be3852a34de67
2021-06-03 20:22:29 -07:00
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
d8035e1821 Merge "Turn off app close flag, Revert back to R implementation." into sc-dev 2021-06-01 18:18:38 +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
Jon Miranda
62769f10d7 Turn off app close flag, Revert back to R implementation.
Need more time to experiment with interpolated + springs based approach,
will aim for QPR instead.

Bug: 189120868
Bug: 173107751
Test: manual
Change-Id: I5698bd61c92b4fa719d82f2553125fc7f65b5969
2021-05-27 15:14:52 -07:00
Sunny Goyal
e85dc514cd Enabling themed icon feature
Bug: 183641907
Test: Manual
Change-Id: I79643803bb50ab2f4b40122258cd1c8bf89b90ad
2021-05-26 12:40:35 -07:00
Winson Chung
bdaa6036ec Revert "Enable SplitSelect flag by default"
This reverts commit 3f47826339.

Reason for revert: b/189245318

Bug: 189245318

Change-Id: I5e6704711cc7577102123ffc67c97a5644e7e86b
2021-05-25 20:26:01 +00:00
Vinit Nayak
3f47826339 Enable SplitSelect flag by default
Bug: 188195640
Change-Id: I5ea90460275aabf9d048b187c3da9f3202368ec3
2021-05-19 19:05:06 +00:00
Alex Chau
59da8e5a9d Launcher feature flags for large screen
- Enable TaskBar, Grid Overview and Two Panel

Bug: 188409266
Test: Manual
Change-Id: I55457b1ad98726cf7d7869fe96e0c4412b891d0b
2021-05-19 08:03:24 +00:00
Jon Miranda
b3a267b58a Tuning app close, and turn on flag.
- Tracks centery, slowed things down a bit

* We will be replacing StaggeredWorkspaceAnim with
  another animation, but I'm keeping it here in
  case we decide to turn the flag off later on.

Bug: 173107751
Test: manual
Change-Id: I5cd54ec374ad07c4912aff125a905b3b1dc7ebd5
2021-05-12 15:04:15 -07:00
Schneider Victor-tulias
05d883452f Enable smartspace card dismissals
Test: none
Bug: 184179894
Change-Id: I2529dc1ef8574f2eb6cec8d6b9de47bdf20a7ed2
2021-05-10 13:15:10 -07:00
Cyrus Boadway
5501636c72 Merge "Enable Quickstep widget launch and return animations" into sc-dev 2021-05-10 17:48:55 +00:00
Shan Huang
18caa92dba Add a background scrim to launcher for text protection.
This is a temporary approach to dim the wallpaper. Flip on ENABLE_WALLPAPER_SCRIM to enable the scrim.

In the long term we'll dim the wallpaper layer directly.

Test: Manual
Bug: 185890335
Change-Id: Ia88597bbcba6ae1536015d1b2a35260cab4a4453
2021-05-06 15:43:48 +08:00
Cyrus Boadway
aee5339869 Enable Quickstep widget launch and return animations
Turn on new widget animations by default.

Bug: 169042867
Test: manual
Change-Id: Ie35660c798731f5e3d341c8135adb8e2a7683eed
2021-05-05 16:11:48 +00:00
Steven Ng
3e6b93cedb Merge "Add a flag to enable custom local filter for recommended widgets" into sc-dev 2021-05-04 22:02:25 +00:00
Cyrus Boadway
3c94052bb5 Merge "Change flag type to control Quickstep widget app launch" into sc-dev 2021-05-04 17:34:01 +00:00
Cyrus Boadway
197c909483 Change flag type to control Quickstep widget app launch
Previously we'd relied on a SystemProperties to control which
InteractionHandler was used by Quickstep for widget app launches.

This switches to a more conventional FeatureFlag.

Bug: 169042867
Test: manual
Change-Id: I7abf815c6e204daf996ac0a81b1a354c4e3d5cda
2021-05-04 12:04:36 +00:00
Sunny Goyal
9ab43772ab Adding support for using themed icons on workspace
Bug: 183641907
Test: Manual

Change-Id: Ieda7e73b3ae4dfe3009e3f23754aff5f8826a967
2021-05-03 20:00:38 -07:00
Becky Qiu
a6cec336ff [Overview Sharing] Turn on the feature flag for overview sharing.
Bug: 186670923
Test: manual
Change-Id: I57514cde11dc3315c8671c286a6963d29cf346e1
2021-04-28 15:20:49 -07:00
Steven Ng
84298b3998 Add a flag to enable custom local filter for recommended widgets
Test: Run WidgetsPredictionUpdateTaskTest
Bug: 186648032
Change-Id: I2bd5e2c81f971e0a40a4b05c8cab2a7adb171f96
2021-04-28 18:47:33 +01:00
Becky Qiu
2eea322788 Revert "[Overview Sharing] Enable overview sharing for Droidfood."
This reverts commit f2efcb53d0.

Reason for revert: might break presubmit because of memory leak. see b/186579113

Change-Id: I7dfb303b7c4d0c9a8914f05f04b955e9f53c62c8
2021-04-27 23:50:02 +00:00
Becky Qiu
f2efcb53d0 [Overview Sharing] Enable overview sharing for Droidfood.
Bug: 169772466
Test: no test needed.
Change-Id: Id717f1e81699488c4eb88e8ec2b3b634e28a8661
2021-04-26 13:28:21 -07:00
TreeHugger Robot
70938389d6 Merge "Remove temp logic added to migrate users to new 4x5 grid." into sc-dev 2021-04-23 01:56:17 +00:00
Jon Miranda
c9ad2dd6c7 Add new app close implementation.
- We remove the fling completely
- We set damping to 1 for x/y springs so there is no
  bounciness, and updated the stiffness and bounds to tighten
  up the path to the final location.
- During the animation, we translate all launcher content
  down
- When the x/y springs, and rect animator all finish,
  we use a spring to bounce the launcher content back up

- Added AppCloseConfig so that the entire animation can
  be defined in one location, with getter methods so that
  all the involved parties of the animation can access the
  current value.
- The animations are all defined linearly, and then
  interpolated over using a 3 point curve.

Building behind feature flag as we tune the values.

Bug: 173107751
Test: manual, visual
Change-Id: I83ad0fa2c4234cf30004240d43e191354595adc8
2021-04-22 16:11:11 -04:00
Andy Wickham
d12af6bda2 Merge "Adds a flag for Smartspace feedback." into sc-dev 2021-04-21 00:53:18 +00:00
Schneider Victor-tulias
006cdeb641 Add a feature flag for smartspace dismiss option.
Test: manual
bug: 184179894
Change-Id: I568f7809f9a2407cf470d82c32a05956fcaaf807
2021-04-20 19:54:14 +00:00
Andy Wickham
5a85912b92 Adds a flag for Smartspace feedback.
Test: Manual
Change-Id: I96dd8dad8bd2ab136960d0bebeac67b8bc00b583
2021-04-19 17:23:11 -07:00
Jon Miranda
5eff0bbe13 Remove temp logic added to migrate users to new 4x5 grid.
Related changes:
- I81a91b8415effbe0bf7ba722f11ab44a4169e3df
- Ia7ae129048bf5878b216f31f949e10c71e608818

Bug: 183965808
Bug: 175329686
Test: manual
Change-Id: If9ae69d746f1c86db98275f0c00ae054e146b67e
2021-04-09 14:58:46 +00:00
Samuel Fufa
4f7d8fc3fb Merge "[Search] make AbstractSlideinView#createColorScrim overridable" into sc-dev 2021-04-06 22:36:28 +00:00
Samuel Fufa
ac120c9a47 [Search] make AbstractSlideinView#createColorScrim overridable
+ Introduce feature flag for people tile results

Bug: 183972880
Bug: 184003600
Test: Manual
Change-Id: Ia8b3af4e99a66f640f6f42fc5886d9cbfb5e913c
2021-04-06 03:18:07 -05:00
Tony Wickham
e78a70ba83 Send a notification when there's an uncaught exception
Guarded by FeatureFlag.NOTIFIY_CRASHES and IS_DEBUG_DEVICE

Test: Add a crash in the code, ensure a notification is posted
and can share the stack trace

Change-Id: I828cca3a99debf62f492960eb3cdc699cc0d7f9a
2021-04-05 15:18:12 -07:00
TreeHugger Robot
75d190651c Merge "Revert "Revert "Enable device search""" into sc-dev 2021-03-30 22:45:11 +00:00
Hyunyoung Song
04d432ee41 Revert "Revert "Enable device search""
This reverts commit 8ffdc4b6c4.

Reason for revert: b/183683148

Change-Id: I8429671f460e2ecbd187b8279aeed85009ffb334
2021-03-30 20:18:21 +00:00
Hyunyoung Song
cd64f3eec4 Merge "Revert "Enable device search"" into sc-dev 2021-03-30 17:39:17 +00:00
Hyunyoung Song
8ffdc4b6c4 Revert "Enable device search"
This reverts commit 6323aa270c.

Reason for revert: 4 tests failing in tapl
Bug: 184030316
Bug: 184030696
Bug: 184030463
Bug: 184030324

Change-Id: Ib5daebbca9bad4eefd20ca51755f5a02a9c4f6aa
2021-03-30 17:37:43 +00:00
Jonathan Miranda
2d2f50fe86 Merge "Migrate existing 4x5 and 4x4 grid users to a new 4x5 grid." into sc-dev 2021-03-30 13:18:06 +00:00
Jon Miranda
ec1277eec1 Migrate existing 4x5 and 4x4 grid users to a new 4x5 grid.
Due to the dogfood 4x5 grid using the wrong db, there may
be some rearranging of items.

The goal is to completely remove the old 4x4 and 4x5 grid,
but first we need to silently migrate users to the new grid.

We still  need to keep the old grids in the device profile
so we hide them from the Styles & Wallpaper app.

We also need to reset and remove the ENABLE_FOUR_COLUMN feature
flag from the UI.

- Added TODO to remove this logic in the tracking doc

Bug: 183965808
Bug: 175329686
Test: have old 4x4 or 4x5 grid set up
      install apk with these changes
      confirm that we are now using the new grid and the
      other grid options are inaccessible to the user
Change-Id: I81a91b8415effbe0bf7ba722f11ab44a4169e3df
2021-03-30 13:17:37 +00:00
Hyunyoung Song
6df27bfd08 Merge "Enable device search" into sc-dev 2021-03-30 03:53:11 +00:00
Tracy Zhou
0dd46fa242 Enable Live Tile
Test: presubmit
Fixes: 169694902
Change-Id: Id5cb0dae39a492de6ec54ef843c7492d1626e4db
2021-03-26 18:54:53 +00:00
Hyunyoung Song
6323aa270c Enable device search
Bug: 183683148
Test: presubmit

Change-Id: I464a8ba2bfe0af635d4d0f3a6cd10666e47976ce
2021-03-25 01:21:03 -07:00
Pierre Barbier de Reuille
298526e812 Enforce rounded corners on App Widgets.
The feature is controlled by the ENABLE_ENFORCED_ROUNDED_CORNERS flag
(currently set to false).

If does not yet handle P/H flags to control its behavior.

Bug: 183097166
Test: Manual tests with top 1P App Widgets (See bug for results)
Change-Id: I56fca1b717f37ad518588115409f2144a71d4b98
2021-03-23 20:57:33 +00:00