Commit Graph

16725 Commits

Author SHA1 Message Date
Jon Miranda 409344de6c Merge "Play fallback animation if icon in All Apps is covered by header." into tm-dev am: 6d3d7b1a2e am: 8c733de027
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18719804

Change-Id: Iab972feeb0a9620b44a46071c7d2b37a34b1fe6e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-08 01:07:10 +00:00
Jon Miranda 4d7e994275 Merge "Pause expensive view updates before setting hw/sw layers." into tm-dev am: 2dac4f7f4c am: 2f753f10d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18673700

Change-Id: Ibb5951eb17116577e9da1cb57e42f096542a0b2f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-08 01:06:47 +00:00
Jon Miranda 8533beb2ee Merge "Play fallback animation if icon in All Apps is covered by header." into tm-dev am: 6d3d7b1a2e am: f3af49fb68
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18719804

Change-Id: I4ba6e904fa574e6da2407640f6cfec4765c4669c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-08 01:06:20 +00:00
Jon Miranda 2dac4f7f4c Merge "Pause expensive view updates before setting hw/sw layers." into tm-dev 2022-06-08 00:15:35 +00:00
Jon Miranda 6d3d7b1a2e Merge "Play fallback animation if icon in All Apps is covered by header." into tm-dev 2022-06-08 00:14:45 +00:00
James O'Leary 20b1480435 Merge "Update notification dot from T90 to T80" into tm-dev am: 7bbf0b5e42 am: 234323c27d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18760367

Change-Id: I801e6b86bbac797cd23513b7a8c1e1744db3f623
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-07 23:26:00 +00:00
James O'Leary 03ad28caea Merge "Update notification dot from T90 to T80" into tm-dev am: 7bbf0b5e42 am: 05e31e6af9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18760367

Change-Id: Icd05132a35010d319433e5e8092135e8e3ed7eb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-07 23:25:15 +00:00
Vinit Nayak b646ff2e44 Merge "Rename split classes/variables for consistency" into tm-qpr-dev am: 2339933924 am: 4ce1da62ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18639433

Change-Id: Ia712014dcfd062e49cef660736f742ad64877db4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-07 23:03:32 +00:00
James O'Leary 7bbf0b5e42 Merge "Update notification dot from T90 to T80" into tm-dev 2022-06-07 22:39:46 +00:00
Vinit Nayak 2339933924 Merge "Rename split classes/variables for consistency" into tm-qpr-dev 2022-06-07 22:36:47 +00:00
Becky Qiu a61a2cc962 [Toast] Add query_length for launcher latency logging.
Bug: 235249335
Test: no test needed.
Change-Id: Ia16c241a2eb3cb50a17713216182192f7902be9e
2022-06-07 14:20:52 -07:00
TreeHugger Robot 7a655272a6 Merge "Set visibility when alpha == viewAlpha." into tm-qpr-dev am: b3e15776d5 am: 79505a419f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18768181

Change-Id: Ibcaa17b89cbc22e691df584ce93b4cedc9242452
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-07 19:52:01 +00:00
Brandon Dayauon 131207597c Merge "Fix issue where allAppsCellWidth is 0" into tm-qpr-dev am: e9b40bec24 am: 3232df8ec3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18763968

Change-Id: If1066da7d3f956cdb1c3fd72efba21638dbf34f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-07 19:51:40 +00:00
TreeHugger Robot b3e15776d5 Merge "Set visibility when alpha == viewAlpha." into tm-qpr-dev 2022-06-07 18:59:59 +00:00
Brandon Dayauon e9b40bec24 Merge "Fix issue where allAppsCellWidth is 0" into tm-qpr-dev 2022-06-07 18:49:46 +00:00
Josh Tsuji be86a05af3 Set visibility when alpha == viewAlpha.
Fixes: 232993553
Test: manually prevent all apps from going away on screen off, then unlock to it and swipe up
Change-Id: If2f30de9940c158b74064b3b935e38abdb8aab5f
2022-06-07 01:44:13 +00:00
Andy Wickham 36f3ed631f Merge "Enables keyboard option by default." into tm-dev am: 2d5bda75fc am: b8dd99d01e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18687151

Change-Id: I7634a2fcaf0f70ea0f91f2edc576ba78683911cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-06 22:36:18 +00:00
Andy Wickham 1fd139cbd2 Merge "Enables keyboard option by default." into tm-dev am: 2d5bda75fc am: 3800130f83
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18687151

Change-Id: Id7045ef07f9bd549292354767661cbf13ca3eeee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-06 22:27:14 +00:00
Andy Wickham 2d5bda75fc Merge "Enables keyboard option by default." into tm-dev 2022-06-06 21:45:17 +00:00
Brandon Dayauon 7a8a9ed170 Fix issue where allAppsCellWidth is 0
when using secondary display on non-scalable grids causing allApps to be squished.
Bug: 234748862
Test: Manual

Change-Id: I2e92bce69438a17eccb0e4b2b2e3f2bdbfa7600e
2022-06-06 14:32:22 -07:00
Vinit Nayak 5424fca602 Rename split classes/variables for consistency
* Use "select" when in the split screen
invocation process
* Drop usage of "staged" except when defining
constants

Fixes: 233006032
Change-Id: I809f0e1e9742aa6b6b09ad8731896ad3f0c9deb0
2022-06-06 14:02:15 -07:00
James O'Leary ede514f275 Update notification dot from T90 to T80
Bug: 213314628
Test: work with UX to pick something darker than T80, present options
from T70 to T90, get feedback to use T80, verify at runtime via
screenshot dot is T80.

Change-Id: Ic5b47a419eb7697c22c4dd9ab849b8a00d73be9f
2022-06-06 16:01:45 -04:00
Hyunyoung Song 863ebce70b Merge "Fix IME hiding animation being delayed after unlocking the device" into tm-dev am: d4a79eb99b am: fb5d602a99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18725729

Change-Id: If4d9e903a2911ccad62a91b7bed9942e22deb707
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-04 05:43:43 +00:00
Hyunyoung Song f9d168f13e Merge "Fix IME hiding animation being delayed after unlocking the device" into tm-dev am: d4a79eb99b am: e153da358c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18725729

Change-Id: Id97cd2e9fac15799679560ed34a84d5d2c81aa2a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-04 05:43:14 +00:00
Hyunyoung Song d4a79eb99b Merge "Fix IME hiding animation being delayed after unlocking the device" into tm-dev 2022-06-04 05:10:48 +00:00
TreeHugger Robot 13df7c439c Merge "Adds helper methods in SearchUiManager and OnboardingPrefs." into tm-dev am: dd053e79e2 am: 6b390b8c16
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18631233

Change-Id: Ib62c619c43e54b11d794a2222e31aeca2ac9f722
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-04 00:47:11 +00:00
TreeHugger Robot dae444b827 Merge "Adds helper methods in SearchUiManager and OnboardingPrefs." into tm-dev am: dd053e79e2 am: ddf7dfff31
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18631233

Change-Id: I033fc551db30a45910900b3c544b065293c2fd3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-04 00:46:04 +00:00
hyunyoungs d7a02ec7ae Fix IME hiding animation being delayed after unlocking the device
Hide keyboard with WindowInsetsController if could. In case
hideSoftInputFromWindow may ignored by input connection being finished
when the screen is off.

Bug: 233158645
Test: manual as steps:
  1.  Launch AllApps.
  2.  Tap search bar to invoke IME.
  3.  Screen off.
  4.  Screen on.
And all other keyboard hide cases such as back gesture, swipe down, etc.

Change-Id: I4154f38f94b6760a430f7510a650422020d8f59a
2022-06-03 14:19:45 -07:00
TreeHugger Robot dd053e79e2 Merge "Adds helper methods in SearchUiManager and OnboardingPrefs." into tm-dev 2022-06-03 20:10:27 +00:00
Vinit Nayak 107f79a4a2 Merge "Refactor TaskShortcutFactory to return List of SystemShortcuts" into tm-qpr-dev am: dde2536a52 am: 54cdc33ca1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18624822

Change-Id: Ia9e062b2e7ab1a86cdc703614fdbc44f01afb2df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-03 17:33:22 +00:00
Vinit Nayak dde2536a52 Merge "Refactor TaskShortcutFactory to return List of SystemShortcuts" into tm-qpr-dev 2022-06-03 16:39:11 +00:00
Andy Wickham 9899468884 Enables keyboard option by default.
This just enables the setting for this feature. The default
value of the setting itself is still false.

Bug: 231433168
Test: Manually verified the option worked as expected, including
showing the user education when typing directly in All Apps
without tapping the QSB. Also verified previous features like
the snackbar to enable keyboard by default worked as before.

Change-Id: If423ae49436d1bf71579d52a99aea5ca3f2407dc
2022-06-02 16:51:01 -07:00
Andy Wickham e20a35c7a3 Adds helper methods in SearchUiManager and OnboardingPrefs.
Bug: 233656600
Test: With topic change.
Change-Id: I9ddb910e94d389ec682617ce874fff6a2ce703c8
2022-06-02 16:44:16 -07:00
Jon Miranda f58db150af Play fallback animation if icon in All Apps is covered by header.
Bug: 230707341
Test: enter all apps
      scroll so icon is covered by header
      open app, swipe back to return to all apps
      confirm fallback animation plays

      repeat but scroll so icon is not covered by header
      confirm normal animation plays

Change-Id: I56cda07f3eccc11e8909f7fb28210f65cc6e0f1d
2022-06-02 16:06:37 -07:00
Jon Miranda 46ecc0ca08 Pause expensive view updates before setting hw/sw layers.
Prevents widgets from updating mid animation.
Also pauses view updates during app close animation.

Bug: 220939231
Bug: 230617085
Bug: 226171754
Test: manual

Change-Id: I0138d57e6a7b2c22fd9a029e971b3e27c7e9f22e
2022-06-02 12:21:01 -07:00
Sebastian Franco be7f84d5a1 Adding a case when there is only 1 system shortcut on the Popup Container
When there is only 1 system shortcut the Popup Container looks weird
because it shows the icon without text and it has a lot of space.

We already have a view to show the sorcuts with text and icons so I
reused that view and show it only if there is 1 system shortcut.

I also did a small refactor separating the sortcuts into
widgetShortcuts and nonWidgetShortcuts. The way I did it is not the
most efficient because it uses two passes, but I think it is easier to
read this way and we'll never have too many shortcuts.

Fix: 229356716
Test: Long press on the app icons in the workspace and in the
app drawer. Try different app some with one shortcut like the phone
app and some with multiple like.

Change-Id: Ie054af546758d0686914fc934772a76a3c690fe5
2022-06-02 11:59:17 -07:00
Brian Isganitis cd7cc294b8 Update download app icon treatment to latest mocks.
Demo: https://screenshot.googleplex.com/BfTvY2EaByJXwdw.png
Test: Manually using "start install session helper" in SupportApp.
Fix: 205714358
Change-Id: I3ec2fb776cbad974ae36f34b29f3081b3d073c83
2022-06-02 11:53:47 -07:00
Sunny Goyal 7f1b08672e Merge "Fixing wrong diffing logic in AdapterItem" into tm-dev am: c2c1fdad54 am: 3960374e68
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18701868

Change-Id: Ie0a5fd47908ddb962fbfacd7e058c76587ba9dcb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-02 17:17:52 +00:00
Sunny Goyal 13b5a16350 Merge "Fixing wrong diffing logic in AdapterItem" into tm-dev am: c2c1fdad54 am: 004fecba55
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18701868

Change-Id: I8cffb398ec85945511ce0ca67fc6ac11e3324c46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-02 17:16:37 +00:00
Sunny Goyal c2c1fdad54 Merge "Fixing wrong diffing logic in AdapterItem" into tm-dev 2022-06-02 16:45:31 +00:00
Luca Zuccarini 8009c1d446 Add support for text color animations in PropertySetter.
Bug: 233223446
Test: manual
Change-Id: Id321ad7f21e804b1d1063fbe207fb783bb45f759
2022-06-02 16:11:12 +00:00
Stefan Andonian d67e47294e Merge "Give FloatingIconView a copy of, rather than, the original icon." into tm-dev am: 0c809bbe67 am: 9dd7aa50ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18673699

Change-Id: If43a7b8fa1722abdc7d1c49a15cca1d7d5189bd4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-02 16:10:04 +00:00
Stefan Andonian 0c809bbe67 Merge "Give FloatingIconView a copy of, rather than, the original icon." into tm-dev 2022-06-02 15:33:45 +00:00
Vinit Nayak 28036435b6 Refactor TaskShortcutFactory to return List of SystemShortcuts
* Remove ENABLE_SPLIT_SELECT feature flag
* Remove unused SystemUiProxy methods

Bug: 233006032
Test: Options show up as expected
Change-Id: I9b98d962db79363a20ad41faa15404f1c156b9ec
2022-06-01 16:27:04 -07:00
Sunny Goyal 959a9f5444 Fixing wrong diffing logic in AdapterItem
Bug: 232932442
Test: Verified on device
Change-Id: I87eae4c238a7b2d9749859307d253822916bb31c
2022-06-01 15:02:39 -07:00
Luca Zuccarini 42947ea17f Merge "Update the workspace and background scale interpolators." into tm-dev am: a6c36eb4d0 am: 2cc475dcf1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18660446

Change-Id: Ia1e2cd5472bb0b423cf3446574984253019c6b4c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 17:41:31 +00:00
Luca Zuccarini 18fd235240 Merge "Update the workspace and background scale interpolators." into tm-dev am: a6c36eb4d0 am: 03a470116b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18660446

Change-Id: I1006f91629d54bfec2c73d7749ae85dc0a555733
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 17:41:01 +00:00
Luca Zuccarini a6c36eb4d0 Merge "Update the workspace and background scale interpolators." into tm-dev 2022-06-01 16:51:42 +00:00
Luca Zuccarini 728e234120 Merge "Remove workspace fade from ALL_APPS > NORMAL transition." into tm-dev am: 46338b09e3 am: 9e50fc0ade
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18670230

Change-Id: I8cf3773dff04ced9335355f9f99311df1a9bd97f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 10:17:35 +00:00
Luca Zuccarini 5f78aeab5f Merge "Remove workspace fade from ALL_APPS > NORMAL transition." into tm-dev am: 46338b09e3 am: f518ba7289
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18670230

Change-Id: Ib2697612f18adc60a7310f73f4cf1a391727244a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 10:16:54 +00:00