Commit Graph

49925 Commits

Author SHA1 Message Date
TreeHugger Robot 5f6cb40a8d Merge changes from topic "presubmit-am-18a7324d3163401db618e725a06a3dba"
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 3e39786ec3 2p: 7d87573ef0
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 3e39786ec3
  Import translations. DO NOT MERGE ANYWHERE
2021-11-18 18:18:41 +00:00
TreeHugger Robot a516bf169d Merge "Adding back the badges on widgets for widget recommendations." into sc-v2-dev am: 160d85c815 am: cce039642b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16279659

Change-Id: I534d436f36a52cf02104b788d5e2477ed99f80f4
2021-11-18 18:05:21 +00:00
Bill Yi 9dc66c4bd7 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f841aa488d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7876bfffdef580a4b3a44e4342915ea7f4b980d7
2021-11-18 18:03:19 +00:00
Bill Yi 30e1f081d2 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f841aa488d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I70b3b55f8d70d3a966139aad88fc2682d9648777
2021-11-18 18:02:17 +00:00
TreeHugger Robot d178c724e4 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: f46f911fd1 -s ours am: acf9b8e0bb -s ours
am skip reason: subject contains skip directive

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

Change-Id: I482b0ff3e26eaea415b169e1cfda6e60aa991c7f
2021-11-18 18:00:31 +00:00
TreeHugger Robot cce039642b Merge "Adding back the badges on widgets for widget recommendations." into sc-v2-dev am: 160d85c815
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16279659

Change-Id: I2f163917e70b9cb9fc6d49dc2b60cb4d0da73373
2021-11-18 17:45:14 +00:00
TreeHugger Robot 160d85c815 Merge "Adding back the badges on widgets for widget recommendations." into sc-v2-dev 2021-11-18 17:44:50 +00:00
TreeHugger Robot acf9b8e0bb [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: f46f911fd1 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6197113208087d0a710cdf6a4fd2299a1b362827
2021-11-18 17:44:34 +00:00
TreeHugger Robot f46f911fd1 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-11-18 17:20:21 +00:00
Alex Chau 4670d37e55 Check if ThumbnailData's bitmap is null in TaskThumbnailCache
- This makes sure TaskThumbnailCache fetch for thumbnail when its Bitamp is null

Fix: 206959035
Test: See steps in b/206959035
Change-Id: I03b574b0f8cc7390a8cad618bd810f44f0dee279
2021-11-18 15:57:28 +00:00
Brian Isganitis 49f25681ef Make action optional for snackbar.
Test: Manual
Bug: 188222480
Change-Id: I923dcf50633d8ba751d86095f43e97563a53b692
2021-11-18 10:22:41 -05:00
Thales Lima 45f2306ce9 open grid task menu to the right of icon
This makes the TaskMenuViewWithArrow open to the right of the icon if
there is enough space, and to the left if not. It also works correctly
in RTL, inverting the side to open by default.

Bug: 193432925
Test: open Overview and tap the app icon
Change-Id: Ib1098f48ed28d2e0758fb0e3fb733e86271fa1a0
2021-11-18 12:01:16 -03:00
TreeHugger Robot 820c191397 Merge "Move live tile app to top when the task view is tapped" into sc-v2-dev am: 1edee616ae am: 09c784f071
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16286431

Change-Id: Id204fa1922e542fe02fbe9ada4fe2db07ae4eb83
2021-11-18 12:46:13 +00:00
TreeHugger Robot 09c784f071 Merge "Move live tile app to top when the task view is tapped" into sc-v2-dev am: 1edee616ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16286431

Change-Id: Ieb4ce8b4d9322391615cba715d3ab94448aa6864
2021-11-18 12:40:05 +00:00
Alex Chau 8f7d93e700 Refresh overlay when thumbnail was set for first time am: 60d5315e19 am: 031f292cd3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16279507

Change-Id: If5c7b6c59e7ed335b3ae606dce76a1111c75422a
2021-11-18 12:39:36 +00:00
TreeHugger Robot 1edee616ae Merge "Move live tile app to top when the task view is tapped" into sc-v2-dev 2021-11-18 12:26:05 +00:00
Alex Chau 031f292cd3 Refresh overlay when thumbnail was set for first time am: 60d5315e19
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16279507

Change-Id: Ie7f068b1839ec461ec52c7a2e201342b41131569
2021-11-18 12:20:33 +00:00
Alex Chau 7210d90e3f Merge "Recognizing Launcher builds consisting only of digits" into sc-v2-dev am: 90a9982b36 am: 3bf362fe30
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16285317

Change-Id: I9267f7bef72eb9f23afd4417c6c46380a79aae5d
2021-11-18 10:45:04 +00:00
Pratyush d51057a5d4 Making second argument configurable in wallpaper intent function
Bug: 190080582
Test: Build and Flash on device
Change-Id: I1cc78622d4faaca0aec0be04c28e893eb9d2d0f0
2021-11-18 10:40:28 +00:00
Alex Chau 3bf362fe30 Merge "Recognizing Launcher builds consisting only of digits" into sc-v2-dev am: 90a9982b36
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16285317

Change-Id: Id1503027367fdc2c4e4f20fcf12de9863e012667
2021-11-18 10:33:48 +00:00
Alex Chau 60d5315e19 Refresh overlay when thumbnail was set for first time
Bug: 202414125
Test: TaplTestsNexus.testOverviewActions && TaplTestsQuickstep.testOverviewActions
Change-Id: I2cc38df4c891fb21a8295d4f9c75e396c71449f2
2021-11-18 10:31:13 +00:00
Alex Chau 90a9982b36 Merge "Recognizing Launcher builds consisting only of digits" into sc-v2-dev 2021-11-18 09:59:59 +00:00
My Name edd5f77c51 Sending broadcast message when home screen is ready.
There is a lag between Pixel/Phone is starting message is displayed and when the home screen is actually ready. The lag is visible in low-end devices like JioPhone Next. To solve that a broadcast message is sent from QuickstepLauncher class when the UI is ready.

Bug: 199120420
Test: manual - tested on the device

Change-Id: I18628552a1513454127ef2f8ad5acd711d9015e6
2021-11-18 05:29:47 +00:00
TreeHugger Robot 611327d58b Merge "Use split thumbnail width/height directly" into sc-v2-dev am: 5394db834f am: d5bb753fb0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16290750

Change-Id: I1af553df752b9ae143c1e25b22bf9c715acc9ebb
2021-11-18 05:11:07 +00:00
TreeHugger Robot d5bb753fb0 Merge "Use split thumbnail width/height directly" into sc-v2-dev am: 5394db834f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16290750

Change-Id: I4a95e767af6bc7b8c88b341b5b3a23e3400e6442
2021-11-18 05:00:26 +00:00
TreeHugger Robot 5394db834f Merge "Use split thumbnail width/height directly" into sc-v2-dev 2021-11-18 04:42:27 +00:00
Bill Yi 027e895451 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8cf260dbb99b56631bf2eaaeff5c54e5c54bb36d
2021-11-18 04:22:20 +00:00
Bill Yi 645278133c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I96e0a393c618e4bf956a23d2da8066d123f13932
2021-11-18 04:20:51 +00:00
Bill Yi f841aa488d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I15ccd3db00e2a2353337a834b41706dedeac2749
2021-11-18 04:20:12 +00:00
Bill Yi b4858e6f82 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 3e39786ec3 2p: 7d87573ef0
Blank merge reason: parent was merged -s ours

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

Change-Id: I59f95b9dee2629073d6845157b8da509f09351a0
2021-11-18 04:19:46 +00:00
Bill Yi 7d87573ef0 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 3e39786ec3
Blank merge reason: commit message contains skip directive

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

Change-Id: I2c7bdb6829d1bf800661006080b2ff5d7a08a3b0
2021-11-18 04:19:40 +00:00
Bill Yi 8aa6d024aa [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 3e39786ec3
Blank merge reason: commit message contains skip directive

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

Change-Id: Ide698cc4f38b744d9126aaa550d68e2f73cb30fc
2021-11-18 04:19:40 +00:00
Bill Yi 3e39786ec3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I88e2ee9b0d5fd68d79eb888f201d649541ea0844
2021-11-18 04:19:33 +00:00
Vinit Nayak be7ce023de Use split thumbnail width/height directly
* When swiping to QS from home, the
bounds for the rect on screen are incorrect
because it's technically off-screen when
it's being queried

Fixes: 206155441
Change-Id: Ibb17f2ac291f867b6de06041c980e434ce92cf27
2021-11-17 19:05:29 -08:00
TreeHugger Robot 3bd6388995 Merge "Add animated background to the suw all set page." into sc-v2-dev am: 010faef3a5 am: 61795cd45a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16223698

Change-Id: I779e296c97cc6a6370fb3925a471f4392c058a40
2021-11-18 00:35:20 +00:00
TreeHugger Robot 7036f095df Merge "Use TOUCHABLE_INSETS_REGION when IME is visible" into sc-v2-dev am: ec2bd55047 am: 21ab217bf9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16286558

Change-Id: I58ba37b364d790e5548efac21a23465456e7d950
2021-11-18 00:29:52 +00:00
Tony Wickham 9ceae57095 Add support for dark tint on taskbar nav buttons
Tint the buttons when taskbar isn't drawing a background (either due to alpha or offset).

Test: Dark icons on a light wallpaper on home screen, dark icons when light IME is showing
Bug: 204256643
Change-Id: Iae634a1b604f50edc102905abd0d812a43c5346e
2021-11-17 16:28:21 -08:00
TreeHugger Robot 61795cd45a Merge "Add animated background to the suw all set page." into sc-v2-dev am: 010faef3a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16223698

Change-Id: I9cadb5c6909ad68ca3ba1cadc9c72ba1b7a1716d
2021-11-18 00:23:49 +00:00
Android Build Coastguard Worker 2251bfc803 Snap for 7924855 from 0e1cd933ba to sc-v2-release
Change-Id: I6920283ef0606109f32a8c073a99c4b0078ceae0
2021-11-18 00:11:53 +00:00
TreeHugger Robot 21ab217bf9 Merge "Use TOUCHABLE_INSETS_REGION when IME is visible" into sc-v2-dev am: ec2bd55047
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16286558

Change-Id: Ida331373a19c9c49013346dde8187f139eff4ed8
2021-11-18 00:11:43 +00:00
TreeHugger Robot 010faef3a5 Merge "Add animated background to the suw all set page." into sc-v2-dev 2021-11-18 00:07:35 +00:00
TreeHugger Robot ec2bd55047 Merge "Use TOUCHABLE_INSETS_REGION when IME is visible" into sc-v2-dev 2021-11-17 23:57:56 +00:00
Jason Chang 239baf3bf3 Merge "(5/n) Remove One-handed mode overlay mechanism from quickstep" 2021-11-17 23:38:01 +00:00
Vinit Nayak c1ec2d4260 Open taskMenu based on TaskIdAttributeContainer
* We were always passing in the same task no matter
which task icon was clicked.
* Use TaskIdAttributeContainer to associate
IconViews with their respective tasks

Fixes: 206154715
Test: Correct menu opens for split and fullscreen
tasks

Change-Id: I79a32541ea9ebae9ad78ad933f55212d0bc64b56
2021-11-17 15:29:42 -08:00
Tony Wickham 519a9a43d2 Merge changes I36871463,I691a5cbb,I62105c1c into sc-v2-dev am: 49da26f636 am: e60d5d4f6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16192239

Change-Id: I45da18a185b6d4aca7a2f0c5248ea3749adfd47c
2021-11-17 22:32:31 +00:00
Tony Wickham e60d5d4f6d Merge changes I36871463,I691a5cbb,I62105c1c into sc-v2-dev am: 49da26f636
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16192239

Change-Id: I7ad5455303a3aaddff6edc60d1d565e1464213e6
2021-11-17 22:19:42 +00:00
Fedor Kudasov c8f686710e Move FloatingTaskInit set up into init method
This makes the code more tidy and consistent with
other classes. Additionally, this allows for easier
annotation of the initialization code.

Bug: 205828770
Test: m LauncherGoResLib
Change-Id: Ib7ecf32cffd5c6af67a4c2095d7cb3e3a2f387e4
(cherry picked from commit f50acd3ed8)
2021-11-17 22:13:43 +00:00
Fedor Kudasov 2b2d5ba1c9 Merge "Move FloatingTaskInit set up into init method" 2021-11-17 22:13:26 +00:00
Tony Wickham 49da26f636 Merge changes I36871463,I691a5cbb,I62105c1c into sc-v2-dev
* changes:
  Update reorder and folder creation radii
  Fix misaligned folder creation drag over target
  Update CellLayout.DEBUG_VISUALIZE_OCCUPIED to include drag over targets
2021-11-17 22:08:28 +00:00
Tony Wickham bf4a91b0f1 Use TOUCHABLE_INSETS_REGION when IME is visible
This ensures the dismiss button is fully clickable even if taskbar is stashed.

Test: Stash taskbar, can dismiss keyboard by tapping anywhere on the back button
(Same with taskbar unstashed)
Fixes: 206851484

Change-Id: I06f86191e36b596a928c8db8d67a012be033daba
2021-11-17 14:04:25 -08:00