Commit Graph

60459 Commits

Author SHA1 Message Date
TreeHugger Robot 181f803258 Merge "Prevent removing the feedback view and callbacks when the user completes a gesture." into tm-dev 2022-03-24 12:17:42 +00:00
TreeHugger Robot e34ee57bf0 Merge changes from topic "presubmit-am-eb37b7cc8d444482bb756474cc862d14" into tm-mainline-prod
* changes:
  [automerge] Prevent removing the feedback view and callbacks when the user completes a gesture. 2p: c7dee917db
  Prevent removing the feedback view and callbacks when the user completes a gesture.
2022-03-24 12:17:42 +00:00
TreeHugger Robot fd94106366 Merge changes from topic "presubmit-am-eb37b7cc8d444482bb756474cc862d14"
* changes:
  [automerge] Prevent removing the feedback view and callbacks when the user completes a gesture. 2p: c7dee917db 2p: 57d709f70c
  [automerge] Prevent removing the feedback view and callbacks when the user completes a gesture. 2p: c7dee917db
  Prevent removing the feedback view and callbacks when the user completes a gesture.
2022-03-24 12:17:42 +00:00
Abhilasha Chahal aa45014155 Merge "Use numAllAppsColumns to calculate height of all apps icons" into tm-dev am: a35179d4ea am: 05fb992282
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17183243

Change-Id: I9352b19a9a99091b403067d473278930dff2e6a5
2022-03-24 11:44:41 +00:00
Nicolo' Mazzucato ff84d2bc66 Tune fold animation on top of apps
On top of apps, the fold animation is triggered only after a threshold. On Launcher, there is not threshold.

In this way, we don't show fold animation while apps might be handling table top/half_folded state.

+ timeout to finish the animation made shorter

Test: atest DeviceFoldStateProviderTest
Bug: 225185239
Change-Id: I5adf82e853af9a5dee5af41a853abb84c9926ccd
2022-03-24 11:31:51 +00:00
Abhilasha Chahal 05fb992282 Merge "Use numAllAppsColumns to calculate height of all apps icons" into tm-dev am: a35179d4ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17183243

Change-Id: Id4cb6718816533e3dd2706ea086e61c4b5c17fc8
2022-03-24 11:21:10 +00:00
Abhilasha Chahal 6f1862f494 Merge "Use numAllAppsColumns to calculate height of all apps icons" into tm-dev am: a35179d4ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17183243

Change-Id: I332a8ceca7eb060487b140eee8f33f135e221c0a
2022-03-24 11:20:52 +00:00
Abhilasha Chahal a35179d4ea Merge "Use numAllAppsColumns to calculate height of all apps icons" into tm-dev 2022-03-24 11:02:31 +00:00
TreeHugger Robot 6b2cdcb270 Merge "Aligning Hotseat and Workspace icons in vertical bar mode" into tm-dev am: b8e0d2c052 am: daa960adad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17314347

Change-Id: I300e02586b22bc7bd66c88dc208a2f012d810c2d
2022-03-24 09:54:03 +00:00
TreeHugger Robot 7131a064de Merge changes from topic "presubmit-am-08780e110858405ea39dc68192daceab" into tm-mainline-prod am: 8fc2065eee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17314347

Change-Id: I63f90177c4226520abdda2e9d60d6b8cc6c22c70
2022-03-24 09:53:08 +00:00
TreeHugger Robot f45f133a18 Merge "Aligning Hotseat and Workspace icons in vertical bar mode" into tm-dev am: b8e0d2c052
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17314347

Change-Id: I726f27461331f723adfeec840ebcbb032e1a8afa
2022-03-24 09:51:53 +00:00
TreeHugger Robot daa960adad Merge "Aligning Hotseat and Workspace icons in vertical bar mode" into tm-dev am: b8e0d2c052
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17314347

Change-Id: Ib4161cf4bd71c5ee5d07b0592f80560c5b569b8a
2022-03-24 09:51:45 +00:00
TreeHugger Robot b8e0d2c052 Merge "Aligning Hotseat and Workspace icons in vertical bar mode" into tm-dev 2022-03-24 09:23:50 +00:00
TreeHugger Robot 8fc2065eee Merge changes from topic "presubmit-am-08780e110858405ea39dc68192daceab" into tm-mainline-prod
* changes:
  [automerge] Aligning Hotseat and Workspace icons in vertical bar mode 2p: 38bb3b0c5c
  Aligning Hotseat and Workspace icons in vertical bar mode
2022-03-24 09:23:50 +00:00
TreeHugger Robot a2ed76b57b Merge changes from topic "presubmit-am-08780e110858405ea39dc68192daceab"
* changes:
  [automerge] Aligning Hotseat and Workspace icons in vertical bar mode 2p: 38bb3b0c5c 2p: 677d9c5aac
  [automerge] Aligning Hotseat and Workspace icons in vertical bar mode 2p: 38bb3b0c5c
  Aligning Hotseat and Workspace icons in vertical bar mode
2022-03-24 09:23:50 +00:00
Bill Yi 0437823e12 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2e25b2357f36ad85b531c7e10cc1b08e4a242567
2022-03-24 05:38:49 +00:00
Bill Yi f36424907b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4c6e57268e691ea3a8a1b8039e575e4459cb32c7
2022-03-24 05:38:09 +00:00
Bill Yi 72fc7fe9a5 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: dffa0c3186 2p: ea971fd90f
Blank merge reason: parent was merged -s ours

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17369272

Change-Id: If1055dc0c218368444c972ecb3ccd2f4e30b701c
2022-03-24 05:37:45 +00:00
Bill Yi ea971fd90f [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: dffa0c3186
Blank merge reason: commit message contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17369272

Change-Id: I47dc9059b56e416b2e13a2c7d71d9c69423ea13c
2022-03-24 05:37:39 +00:00
Bill Yi dffa0c3186 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia234a01c49be8012beba9944f28198a1a04d162a
2022-03-24 05:37:30 +00:00
Bill Yi 8d2798b2b7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I36d108c06cfbb8987c1afdd8166a08ab5b3b049a
2022-03-24 05:37:04 +00:00
Bill Yi 912c597978 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 9f5fe666e0
Blank merge reason: commit message contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17369267

Change-Id: Ida842e39d3cbac50a13754c0b554f1761bddd02c
2022-03-24 05:36:11 +00:00
Bill Yi 385c8631e0 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 5b0608e0c2
Blank merge reason: commit message contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17369268

Change-Id: Ia81372b4161506cc7752ff9691e70ad99b0dfcae
2022-03-24 05:35:50 +00:00
Bill Yi 5b0608e0c2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2481624f80c74293e15a1b520a1ee471fc741171
2022-03-24 05:35:40 +00:00
Bill Yi 9f5fe666e0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I37c082ae9b255c6a2ec997f2d39b41e1bd432ad7
2022-03-24 05:35:02 +00:00
Hongwei Wang 90ec2826de Merge "Hide the Taskbar when user leaves PiP mode" into tm-dev am: ca9f9ebec5 am: 9ffd7495dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17339827

Change-Id: I12e3d3652f6c5a2817efcebe8590cb23a6c06605
2022-03-24 01:12:47 +00:00
Android Build Coastguard Worker 2fb3f17d76 Snap for 8345013 from 85eeb4e62e to tm-release
Change-Id: I7163e34ccfada28511c2a595334421a51b0625e1
2022-03-24 01:09:12 +00:00
Hongwei Wang f6d1e7e03a Merge "Hide the Taskbar when user leaves PiP mode" into tm-dev am: ca9f9ebec5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17339827

Change-Id: I08dae192c4a4223fbdacaa7b12e5ef55a88b4868
2022-03-24 01:04:03 +00:00
Hongwei Wang 9ffd7495dc Merge "Hide the Taskbar when user leaves PiP mode" into tm-dev am: ca9f9ebec5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17339827

Change-Id: If7e76daf0b5fda4be9506b47e7db9422c1c94f31
2022-03-23 22:50:16 +00:00
Hongwei Wang ca9f9ebec5 Merge "Hide the Taskbar when user leaves PiP mode" into tm-dev 2022-03-23 22:38:48 +00:00
Sunny Goyal eeca859bc9 Adding a feature flag to disable icon overrides
Bug: 226388663
Test: Verified locally by disabling the feature
Change-Id: Icfbe790046209b15dbdc0e44dcf1a14f1f50de62
2022-03-23 15:31:38 -07:00
Vinit Nayak 6996c40660 [automerge] Hide taskbar when launcher receives nav and keyguard showing 2p: c750e3d3aa 2p: ea034204db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17358924

Change-Id: I72147a61f31a62f0a33def4e275c6ff6b46210e9
2022-03-23 21:11:42 +00:00
Vinit Nayak ea034204db [automerge] Hide taskbar when launcher receives nav and keyguard showing 2p: c750e3d3aa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17358924

Change-Id: I226fc5ade3d197e16479bf46c65328bc87c3fa7d
2022-03-23 21:11:32 +00:00
Abhilasha Chahal dfd154f18d Use numAllAppsColumns to calculate height of all apps icons
Additionally opens up access of some fields to allow them to be overridden.

Test: Manually verified that Launcher3 layout does not change

Launcher3 APKs: https://drive.google.com/drive/folders/1hBcZU9xou4tZJxbTmkya_LyBbD2oYuwV?resourcekey=0-R0I1IQ2rSUIEfPjW8S_ppA&usp=sharing

Bug: 216150572

Change-Id: I4b97a7e9e15973fc5aa70a4b98f0b73dd5bf3c17
2022-03-23 21:09:54 +00:00
Vinit Nayak c750e3d3aa Hide taskbar when launcher receives nav and keyguard showing
* On large screen we receive notification shade expanded
signals even on keyguard.
* Add a check to not show taskbar if keyguard is showing

Fixes: 223465924
Test: Taskbar doesn't show on 3 button nav except
on bouncer, as expected.

Change-Id: I4a7ea14422eda13ae8571793ed7ba1a1964072d6
2022-03-23 14:09:25 -07:00
Tony Wickham 0bf6a14a79 Log when calling disposeEventHandlers
Test: local logs
Bug: 210426498
Change-Id: If9dadcb45a03a81d9e82932997ba5297534e0b81
2022-03-23 13:39:57 -07:00
Sebastián Franco 6b8168d59a Merge "Revert "Combining the Thumbnail bitmap with the background to fix background spilling in the front."" into tm-dev am: da297fb0f1 am: a6246b06eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17299099

Change-Id: Ie771c0f6511bd2c40d4d3932457f33289c7e65db
2022-03-23 20:31:41 +00:00
Sebastián Franco 7480980dca Merge "Revert "Combining the Thumbnail bitmap with the background to fix background spilling in the front."" into tm-dev am: da297fb0f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17299099

Change-Id: I112ec42762f246af0e68194aa77974fd2b3ac703
2022-03-23 20:14:18 +00:00
Sebastián Franco a6246b06eb Merge "Revert "Combining the Thumbnail bitmap with the background to fix background spilling in the front."" into tm-dev am: da297fb0f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17299099

Change-Id: I30ffda32e94e7881d65bfd44d491df8d5c5a1c02
2022-03-23 20:14:17 +00:00
Sebastian Franco 12db27fe34 Task thumbnail background is spilling to the front, making the BK 1px smaller to fix it
This change ag/17003268 was meant as a solution for b/146521490 but
it's ineficient so this other solution is simpler and more performant.

This solution only makes the background 1px smaller and that prevents
it from spilling in the Anti Aliasing.

Test: Put Telegram in recent Task (shouldn't be the first one) and you won't see a white border. Also when a task was in multitask the backgroudn should be draw.
Fix: 223761979
Change-Id: I6855e9ecce1e06f7a9311c62a038d34b04fe2398
2022-03-23 13:11:20 -07:00
Sebastián Franco da297fb0f1 Merge "Revert "Combining the Thumbnail bitmap with the background to fix background spilling in the front."" into tm-dev 2022-03-23 20:01:42 +00:00
Sihua Ma 00663101b6 [automerge] Aligning Hotseat and Workspace icons in vertical bar mode 2p: 38bb3b0c5c 2p: 677d9c5aac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17314347

Change-Id: I0b978d16596e72ea3b7e9ffe988cd6a251bed9c7
2022-03-23 18:27:56 +00:00
Sihua Ma 677d9c5aac [automerge] Aligning Hotseat and Workspace icons in vertical bar mode 2p: 38bb3b0c5c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17314347

Change-Id: I90c98cbbcdfeb455785bb0dd3d364b62a2284e72
2022-03-23 18:27:50 +00:00
Sihua Ma 38bb3b0c5c Aligning Hotseat and Workspace icons in vertical bar mode
Changing the padding of the Hotseat Bar to align the hotseat icons with the Workspace icons.

Test: Manual
Fix: 223553482
Change-Id: I7939c3a900dfe22d2ce3f71d408f1d2778a0af2a
2022-03-23 18:27:41 +00:00
Schneider Victor-tulias cef4eb1f64 [automerge] Prevent removing the feedback view and callbacks when the user completes a gesture. 2p: c7dee917db 2p: 57d709f70c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17353319

Change-Id: I78e9dc3af40fac7913681b1c7fb9b4308bcf9b86
2022-03-23 18:15:25 +00:00
Schneider Victor-tulias 57d709f70c [automerge] Prevent removing the feedback view and callbacks when the user completes a gesture. 2p: c7dee917db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17353319

Change-Id: I93eff85f975432d03e32c1aec3f97211759bf8a5
2022-03-23 18:15:18 +00:00
Schneider Victor-tulias c7dee917db Prevent removing the feedback view and callbacks when the user completes a gesture.
Touching the screen immediately removed the feedback view and any callbacks attached. When the user successfully completed a gesture, one of those callbacks progresses the tutorial to its next step.

Fixes: 226028473
Test: manual
Change-Id: Ic432a5b73aa4410cb0188f50a57e3df637afb52d
2022-03-23 11:08:08 -07:00
Presubmit Automerger Backend 9a60b2baf8 [automerge] Brighten theme-icons when in Dark mode and add dark color for taskbar 2p: 5282efddc9 2p: e3a8e17984
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17003267

Bug: 217247494
Change-Id: I049e1980b49f16ca694f6ad8a6835e29369eb332
2022-03-23 17:48:15 +00:00
Presubmit Automerger Backend e3a8e17984 [automerge] Brighten theme-icons when in Dark mode and add dark color for taskbar 2p: 5282efddc9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17003267

Bug: 217247494
Change-Id: I6c9679e4078b9f7c15eb5de422c4386a53142d32
2022-03-23 17:48:08 +00:00
Sebastian Franco 5282efddc9 Brighten theme-icons when in Dark mode and add dark color for taskbar
Bug: 217247494
Test: change between dark and light mode and transition in and out of apps
Change-Id: Ia5e38d674a56eb95a48cb1e8c2688586594a69f9
2022-03-23 10:47:52 -07:00