Commit Graph

35750 Commits

Author SHA1 Message Date
TreeHugger Robot ae72fc0587 Merge "Fix cell size calculation in large screen devices" into sc-v2-dev am: 02d45252f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15420815

Change-Id: Ib057e0d174e5629c7e47c881e4e55dd8483fd7b7
2021-07-30 11:50:39 +00:00
TreeHugger Robot 02d45252f3 Merge "Fix cell size calculation in large screen devices" into sc-v2-dev 2021-07-30 11:39:26 +00:00
Steven Ng 2a5c594855 Fix cell size calculation in large screen devices
Test: Digital clock widget is no longer cropped.
Bug: 184966000, 194784402
Change-Id: I26c406da1e10232019f34620a4d2bc0dbafcbb31
2021-07-30 11:14:11 +01:00
András Klöczl 2988ff1f46 Merge "Fix controller navigation on two panel launcher home" into sc-v2-dev am: 7f569f14b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15261999

Change-Id: I2414078c267aeec335bc4ef433cc78270af3cc46
2021-07-30 08:55:59 +00:00
András Klöczl 7f569f14b4 Merge "Fix controller navigation on two panel launcher home" into sc-v2-dev 2021-07-30 08:43:27 +00:00
Alex Chau b922ac8534 Merge "Always treat FallbackRecentsView as visible if isInLiveTileMode is true" into sc-v2-dev am: 2095731650
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15410554

Change-Id: I81bcd447d2281df56f23cca29dd9619a300b2d00
2021-07-29 22:55:23 +00:00
Alex Chau 2095731650 Merge "Always treat FallbackRecentsView as visible if isInLiveTileMode is true" into sc-v2-dev 2021-07-29 22:44:30 +00:00
Tracy Zhou 078bf5fafa [automerger skipped] Merge "Clear command queue of OverviewCommandHelper on home tap" into sc-dev am: dec3330a83 am: d95465cc59 -s ours
am skip reason: Merged-In Id83b341245793c38c305e6ada5581ac4e49527a7 with SHA-1 6842315605 is already in history

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

Change-Id: I557aac174d1d3497c5b16922bb5ffa25c17d639b
2021-07-29 22:10:26 +00:00
TreeHugger Robot 543d5c511a Merge "Fixing hotseat hidden in 3P Launcher" into sc-v2-dev am: eb6391ff8d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15422854

Change-Id: Ibdb4f4db7f42f4b1c68f7ca265d926be5bd83f2f
2021-07-29 22:10:20 +00:00
Tracy Zhou f3c061ebdf [automerger skipped] Merge "Clear command queue of OverviewCommandHelper on home tap" into sc-dev am: dec3330a83 -s ours am: dc69cfdeba -s ours
am skip reason: Merged-In Id83b341245793c38c305e6ada5581ac4e49527a7 with SHA-1 86bd1dce8d is already in history

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

Change-Id: I63640f47e97c1be02d6bdcd2f08839206d4711c6
2021-07-29 22:10:06 +00:00
TreeHugger Robot eb6391ff8d Merge "Fixing hotseat hidden in 3P Launcher" into sc-v2-dev 2021-07-29 21:51:39 +00:00
Tracy Zhou dc69cfdeba [automerger skipped] Merge "Clear command queue of OverviewCommandHelper on home tap" into sc-dev am: dec3330a83 -s ours
am skip reason: Merged-In Id83b341245793c38c305e6ada5581ac4e49527a7 with SHA-1 86bd1dce8d is already in history

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

Change-Id: I4bdf382fe29d0202cf1c33a2e29eeb894c9b6e63
2021-07-29 21:50:33 +00:00
Tracy Zhou d95465cc59 Merge "Clear command queue of OverviewCommandHelper on home tap" into sc-dev am: dec3330a83
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15416225

Change-Id: I605ffc7cd56f9407ed4aeff55a50db8021f69612
2021-07-29 21:48:37 +00:00
Tracy Zhou dec3330a83 Merge "Clear command queue of OverviewCommandHelper on home tap" into sc-dev 2021-07-29 21:32:22 +00:00
Jon Spivack b716f13461 NIU Actions: Change AppTheme to LauncherTheme am: d317f17273 am: aa10ba9d0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15413718

Change-Id: I3e4033d6ea20248cdf8dcf3798eb7aa02f4bfc4a
2021-07-29 20:07:18 +00:00
Andras Kloczl 7e91244a1b Fix controller navigation on two panel launcher home
Test: manual test with a game controller, check on both normal and two panel home
Bug: 187205980
Change-Id: I2515e476556098acf407c0bdcd634e3dd1cb308c
2021-07-29 22:04:27 +02:00
Jon Spivack d7e3f18701 NIU Actions: Change AppTheme to LauncherTheme am: d317f17273 am: e0feb07e72
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15413718

Change-Id: I8cb0784e5502effcd266afb05b35d9081b5eca3c
2021-07-29 20:01:46 +00:00
Sunny Goyal 71ef9683db Fixing hotseat hidden in 3P Launcher
Bug: 193539246
Test: Manual
Change-Id: I3e756457710f2a3909623c7eeec457319eb6c3b8
2021-07-29 13:00:19 -07:00
Jon Spivack aa10ba9d0b NIU Actions: Change AppTheme to LauncherTheme am: d317f17273
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15413718

Change-Id: I4b9f0acb7338b56f1683180b4d068239d30398be
2021-07-29 19:49:39 +00:00
Jon Spivack e0feb07e72 NIU Actions: Change AppTheme to LauncherTheme am: d317f17273
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15413718

Change-Id: I5a23028b4d752b1265b29711bc2abb662717baf9
2021-07-29 19:48:51 +00:00
Tracy Zhou 4a1bfd97c3 Merge "Clear command queue of OverviewCommandHelper on home tap" into sc-v2-dev am: 64231c8db1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15420889

Change-Id: Ib592ca43eec42e27c4b5a11b43e7866a9e54c651
2021-07-29 19:25:41 +00:00
Tracy Zhou 6842315605 Clear command queue of OverviewCommandHelper on home tap
Fixes: 194934483
Test: manual
Change-Id: Id83b341245793c38c305e6ada5581ac4e49527a7
Merged-In: Id83b341245793c38c305e6ada5581ac4e49527a7
2021-07-29 19:09:53 +00:00
Tracy Zhou 64231c8db1 Merge "Clear command queue of OverviewCommandHelper on home tap" into sc-v2-dev 2021-07-29 19:09:39 +00:00
TreeHugger Robot fa01653b83 Merge "Removing GridMigrationTask-v1 since it has been disabled for a while" into sc-v2-dev am: b2f8f42510
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15404308

Change-Id: Ifb060343fe99a015b4f0dc475a38391a92a042ee
2021-07-29 18:48:28 +00:00
TreeHugger Robot b2f8f42510 Merge "Removing GridMigrationTask-v1 since it has been disabled for a while" into sc-v2-dev 2021-07-29 18:37:15 +00:00
Tracy Zhou 86bd1dce8d Clear command queue of OverviewCommandHelper on home tap
Fixes: 194934483
Test: manual
Change-Id: Id83b341245793c38c305e6ada5581ac4e49527a7
2021-07-29 17:23:01 +00:00
Alex Chau 7a8e2a259a Merge "Clean up screen record for tests" into sc-v2-dev am: bf89b27f90
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15410564

Change-Id: Ic90766ea48cc757dd968e35a6e88938186fc5296
2021-07-29 17:12:30 +00:00
Alex Chau bf89b27f90 Merge "Clean up screen record for tests" into sc-v2-dev 2021-07-29 17:00:12 +00:00
Thales Lima 7bd0203a0e Merge "launcher: change default state for RecentsActivity" into sc-v2-dev am: 3c1a1195b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15371935

Change-Id: I48d3bfd1addf5cc66ed58939691649d5ac98ac7d
2021-07-29 12:27:44 +00:00
Thales Lima 3c1a1195b4 Merge "launcher: change default state for RecentsActivity" into sc-v2-dev 2021-07-29 12:13:50 +00:00
Alex Chau 27ee6447db Clean up screen record for tests
- Add new record and remove obsolete ones

Bug: 193440212
Bug: 193125090
Bug: 192005114
Test: manual
Change-Id: I860c42961e710e1542d9d911338dd359896b6970
2021-07-29 11:01:09 +01:00
Alex Chau 455718e842 Always treat FallbackRecentsView as visible if isInLiveTileMode is true
- activity.hasBeenResumed is no longer an accurate indicator after live tile has been introduced, indeed it's always false
- Return recentsView regardless if there is a runningTask as well

Bug: 194286330
Test: In fallback Recents with 3 button, tap overview button from home screen, then tap overview button again. Try combination with back and home button
Change-Id: Ib2775a11f5466abc433763f24192e7bfdcf191a2
2021-07-29 08:42:37 +00:00
Sunny Goyal 8b42832709 Merge "Simplifying color extraction registration logic" into sc-v2-dev am: e6935d895a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15388927

Change-Id: I6aabac0f9af9c97937cc59f2d0f21ba752e0c36e
2021-07-29 07:02:00 +00:00
Sunny Goyal e6935d895a Merge "Simplifying color extraction registration logic" into sc-v2-dev 2021-07-29 06:53:15 +00:00
Jon Spivack d317f17273 NIU Actions: Change AppTheme to LauncherTheme
Some theme attributes used for the NIU Actions Overview were originally defined in a theme that inherited from LauncherTheme. However, 3rd-party Launchers that also used themes derived from LauncherTheme were unable to access these attributes, leading to crashes when they tried to open the Recents screen on Go devices. Just adding the attributes to LauncherTheme solves this issue.

Bug: 194810415
Test: Manual (tried a couple 3rd-party launchers on Wembley)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: I7a2541f2a2ab3b39e0c6cf2fe40a4b096047df70
2021-07-28 19:14:03 -07:00
Sunny Goyal 278939fdf3 Removing GridMigrationTask-v1 since it has been disabled for a while
Also removing some data migration support

Bug: 194937047
Test: Presubmit
Change-Id: I392a5f6e49ec170f63056a7664de47229896f390
2021-07-28 15:55:43 -07:00
Sunny Goyal 69a8eecdc9 Simplifying color extraction registration logic
> Calulating correct location irrespective of transient
  state (scale/translation)
> Removing extraction pause/resume logic
> Simplifying location calculation and registration (only use one location instead of a list)

Bug: 194732483
Test: Manual
Change-Id: I255d83761bff5e09c9fb0a5e398d0be0c1d0956f
2021-07-28 15:43:13 -07:00
Lucas Dupin 103d4536dd Merge "Add depth to -1 screen" into sc-v2-dev am: 6d80cafc68
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15405469

Change-Id: I8eddc6d9dc3747d435847422b580bc85912c0299
2021-07-28 21:54:47 +00:00
Lucas Dupin 6d80cafc68 Merge "Add depth to -1 screen" into sc-v2-dev 2021-07-28 21:40:42 +00:00
Schneider Victor-tulias 9a10dd0ece Merge "Fix incorrect PreloadIconDrawable initialization." into sc-v2-dev am: 7889887b56
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15406136

Change-Id: I0e87580cfe72da099dd3ef7b9ffae55d99093405
2021-07-28 20:53:04 +00:00
Schneider Victor-tulias 7889887b56 Merge "Fix incorrect PreloadIconDrawable initialization." into sc-v2-dev 2021-07-28 20:43:01 +00:00
TreeHugger Robot e8a936f96e Merge "Let TaskbarDragView scale up before switching to system drag view" into sc-v2-dev am: d750d16b69
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15406135

Change-Id: I54225ee1227ca979620266972989e271898ebf9f
2021-07-28 20:05:19 +00:00
TreeHugger Robot d750d16b69 Merge "Let TaskbarDragView scale up before switching to system drag view" into sc-v2-dev 2021-07-28 19:52:43 +00:00
Lucas Dupin 87d752062e Add depth to -1 screen
Wallpaper will zoom out as you drag the overlay

Test: manually pull overlay
Fixes: 192502999
Change-Id: I9067b70d10497d4e16a5ef601161fbedfa9307e1
2021-07-28 12:36:31 -07:00
Schneider Victor-tulias 2b10cb2b69 Fix incorrect PreloadIconDrawable initialization.
Fixes: 194435394
Test: tapped installing icon then went home with airplane mode on and off
Change-Id: I0dca790bbaf710a7dcbb3a30758174304ede3a38
2021-07-28 18:35:24 +00:00
Tony Wickham 27ab9d96eb Let TaskbarDragView scale up before switching to system drag view
Test: Long press taskbar icons, ensure they aniamte the scale up
Fixes: 182981908
Change-Id: I573fe66c93ebf995b3f56f2c003dee987687b6a7
2021-07-28 08:03:14 -10:00
Thales Lima 0cdf92f90c launcher: change default state for RecentsActivity
When the user presses the home button, because fallback Recents doesn't
have a way to change the state, we rely on `onStop` to reset the state.
This makes the state be cleared correctly.

Fixes 192254944
Test: follow the bug

Change-Id: I177b09392214d078373e3852517b57d9172d944d
2021-07-28 16:03:43 +00:00
TreeHugger Robot ea1d6f9796 Merge "Nullify mParallelRunningAnim after it ends to avoid updating it" into sc-v2-dev am: b574095bf8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15406133

Change-Id: Iec3f27847eb47a608548a2e02f404031454300a2
2021-07-28 11:50:51 +00:00
TreeHugger Robot b574095bf8 Merge "Nullify mParallelRunningAnim after it ends to avoid updating it" into sc-v2-dev 2021-07-28 11:30:54 +00:00
Alex Chau 8b11c3b574 Merge "Tune Overview size according to VisD" into sc-v2-dev am: 8e83f31100
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15371943

Change-Id: I742f4474937a14976b6ce941b139a158b9fda53c
2021-07-28 10:56:18 +00:00