Commit Graph

10026 Commits

Author SHA1 Message Date
TreeHugger Robot 9685efe3e3 Merge "Sync hotseat/taskbar handoff" into tm-dev am: b873662734
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17141808

Change-Id: Ie2ea0b095938733890aa1a8d9d1f2297586933f0
2022-03-10 10:03:58 +00:00
TreeHugger Robot b873662734 Merge "Sync hotseat/taskbar handoff" into tm-dev 2022-03-10 09:22:21 +00:00
Tracy Zhou eaee10b6c4 Merge "Support launching an intent and a task from the same app as multi-instance" into tm-dev am: 6416cea0e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17076088

Change-Id: I439589d84b0a1c16faafaa884b98a66f0949d4b5
2022-03-10 02:11:59 +00:00
Tracy Zhou 4689a255a0 Merge "Fix wrong initial staged split position" into tm-dev am: fec75c5a0e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17144691

Change-Id: Id7106484cbad6ba03a84074eba68fb0bdd656a61
2022-03-10 02:11:39 +00:00
Tracy Zhou 6416cea0e5 Merge "Support launching an intent and a task from the same app as multi-instance" into tm-dev 2022-03-10 02:09:53 +00:00
Tracy Zhou fec75c5a0e Merge "Fix wrong initial staged split position" into tm-dev 2022-03-10 01:47:53 +00:00
Abhilasha Chahal fa71aec80a Merge "Revert "Revert "Extract out common adapter logic to support diff..."" into tm-dev am: c7115ec833
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17133627

Change-Id: Ia1550660d2c29c707a383b57c6c5d481e2c1f9ba
2022-03-10 00:39:47 +00:00
Abhilasha Chahal c7115ec833 Merge "Revert "Revert "Extract out common adapter logic to support diff..."" into tm-dev 2022-03-10 00:18:07 +00:00
Thiru Ramasamy aeadd1e729 Merge "[OneSearch] Add LAUNCHER_ALLAPPS_SCROLLED event." into tm-dev am: fe72583a86
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17128393

Change-Id: Ic6d8605d6ae50fbd56ee3836a83ccfdb1358e6d0
2022-03-09 23:28:03 +00:00
Tracy Zhou d9cb8cfa0d Support launching an intent and a task from the same app as multi-instance
Similar to ag/16820166, add FLAG_ACTIVITY_MULTIPLE_TASK to the fillInIntent

Fixes: 222583964
Fixes: 217965464
Fixes: 221415250
Test: https://recall.googleplex.com/projects/f46cfe9c-8076-4efe-bf8a-b1cc4f1f5e1b/sessions/7606236a-3350-49d6-bfad-9e6a609413d1
Change-Id: I676358ef1cbff8317995430de961a0a3242c0cbf
2022-03-09 15:21:45 -08:00
Thiru Ramasamy fe72583a86 Merge "[OneSearch] Add LAUNCHER_ALLAPPS_SCROLLED event." into tm-dev 2022-03-09 23:11:16 +00:00
Tracy Zhou dd2bea9e70 Fix wrong initial staged split position
This is caused by having set a wrong animation duration in the 3 button case. Before this change we have a fixed duration of 370ms which happens to be almost match the Overview transtion duration in gesture nav. However the transition duration in 3-button is set to 250ms. After the transition duration, any unfinished animation is cancelled including this one, resulting in the wrong staged split position. Instead this change pulls the transition duration of toState from the caller = RecentsViewStateController.

Fixes: 222210349
Test: manual
Change-Id: Ie2f3dbe38bb6df33961e2ee78b8a55d0e925501f
2022-03-09 14:44:35 -08:00
Tony Wickham 65d26c5f20 Merge "Keep reporting > 0 insets on home screen" into tm-dev am: 808b6c2fed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17084127

Change-Id: I2c7136fd125da0bee3af21cb8ff440af03b11073
2022-03-09 22:39:00 +00:00
TreeHugger Robot 8ccc2bbf43 Merge "Updating window manager estimation logic:" into tm-dev am: d586e1948b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17070486

Change-Id: I02864003cf66b733a420afec69756edade427cc4
2022-03-09 22:38:35 +00:00
TreeHugger Robot 5e862806ad Merge "Remove stale log statement for b/195430732" into tm-dev am: 94a54982b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17125713

Change-Id: Ida11bbefeb5ec90c3ce578add4b0a53af1cb7925
2022-03-09 22:38:11 +00:00
Tony Wickham 808b6c2fed Merge "Keep reporting > 0 insets on home screen" into tm-dev 2022-03-09 22:37:13 +00:00
TreeHugger Robot d586e1948b Merge "Updating window manager estimation logic:" into tm-dev 2022-03-09 22:24:12 +00:00
TreeHugger Robot 94a54982b9 Merge "Remove stale log statement for b/195430732" into tm-dev 2022-03-09 22:22:15 +00:00
Brian Isganitis 4f6da077ca Merge "Close Taskbar AFVs when locking screen." into tm-dev am: 3f7ac842e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17114550

Change-Id: I0a9315f715d3e266f057697ae1383702632d4ea9
2022-03-09 22:15:02 +00:00
Brian Isganitis 3f7ac842e0 Merge "Close Taskbar AFVs when locking screen." into tm-dev 2022-03-09 21:47:55 +00:00
Schneider Victor-tulias 2ab75e9489 Merge "Update gesture nav tutorial with updated phone landscape layouts" into tm-dev am: 18bc66e365
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17126576

Change-Id: I3b57c080a828872076f28864efaea705ef090089
2022-03-09 21:05:43 +00:00
TreeHugger Robot 3d46d030b6 Merge "Play fallback animation if there are multiple closing targets." into tm-dev am: 441a7d76ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17127939

Change-Id: Icff8c50b7e000b999f2c423ea62ccbd7d33962d0
2022-03-09 21:05:34 +00:00
Schneider Victor-tulias 18bc66e365 Merge "Update gesture nav tutorial with updated phone landscape layouts" into tm-dev 2022-03-09 21:04:24 +00:00
TreeHugger Robot 441a7d76ef Merge "Play fallback animation if there are multiple closing targets." into tm-dev 2022-03-09 20:44:18 +00:00
TreeHugger Robot bd20c78803 Merge "Restrict the area for the input to unsatsh the taskbar" into tm-dev am: df022bd4c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17016891

Change-Id: I31b51fc6b808819c18cfb362aaaf4edd98e83817
2022-03-09 19:18:22 +00:00
Sunny Goyal 187b16cb91 Updating window manager estimation logic:
> Moving the code from ApiWrapper to Resource overlays for better maintainability
> Accounting for display cutouts in insets estimation
> Using same logic in display controller and view inset dispatching

Test: Verified on device
Bug: 221961069
Change-Id: I78466353563692ce3f7512b0146ef8b61ef14bc0
2022-03-09 11:15:58 -08:00
TreeHugger Robot df022bd4c9 Merge "Restrict the area for the input to unsatsh the taskbar" into tm-dev 2022-03-09 18:51:36 +00:00
Jon Miranda ede8718e63 Sync hotseat/taskbar handoff
+ Do not allow sync during tests

Bug: 223443781
Bug: 202507555
Test: open/close apps in hotseat/taskbar
Change-Id: I2f434d440a26999219e785b8671768e27d0dcad3
2022-03-09 10:06:47 -08:00
Sam Dubey 523fc8afcf Merge "Revert "Extract out common adapter logic to support different Al..."" into tm-dev am: a57dc7d402
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17141723

Change-Id: Ifb7d6af1e3c61fbd85518043c3c6d57dacefb358
2022-03-09 18:00:34 +00:00
Abhilasha Chahal 9c7096c8ac Revert "Revert "Extract out common adapter logic to support diff..."
Revert^2 "Fixing AdapterItem import"

1a27c278d6c6594b552b620b4d2b67e68bef23f2

Change-Id: Ia3bf9f0b3aaff0d1e2d102320e917462b38935b2
2022-03-09 17:45:45 +00:00
Sam Dubey a57dc7d402 Merge "Revert "Extract out common adapter logic to support different Al..."" into tm-dev 2022-03-09 17:32:34 +00:00
Sam Dubey 4f1a232cca Revert "Extract out common adapter logic to support different Al..."
Revert "Fixing AdapterItem import"

Revert submission 17044827-tm-dev-216150568

Reason for revert: Broke builds
Bug: 223609269
Reverted Changes:
I53eba3c8c:Fixing AdapterItem import
I1068e75d0:Extract out common adapter logic to support differ...
I24d8e54e8:Fix AdapterItem imports

Change-Id: I931c666db7dcb2c8eef1894b56b59ed688218def
2022-03-09 17:25:15 +00:00
Abhilasha Chahal 27ef4654b6 Merge "Extract out common adapter logic to support different AllApps layouts" into tm-dev am: c19c0f9eab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17044827

Change-Id: Ic14c2bc75f1c700d68adc6352f316535789218af
2022-03-09 16:40:48 +00:00
Abhilasha Chahal c19c0f9eab Merge "Extract out common adapter logic to support different AllApps layouts" into tm-dev 2022-03-09 16:25:00 +00:00
Thiru Ramasamy 2f733b6ce9 [OneSearch] Add LAUNCHER_ALLAPPS_SCROLLED event.
* Simplified logcat message
* Log latency events with different tag to help filter event logs from latency logs.

Bug: 210792253
Test: wwdebug && wwlogcat - http://gpaste/6546219850530816
Change-Id: I975a7140d14d3cb45f50d7db64aac3fa83ccd389
2022-03-09 07:14:01 -08:00
Sam Dubey c7d4e2a2a2 Merge "Revert "Sync hotseat/taskbar handoff"" into tm-dev am: 5c8ba15b1c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17129371

Change-Id: I9649b293f2e8cc3fac4d8029ee58500a6f02674b
2022-03-09 12:26:09 +00:00
Nick Chameyev 70913b90ff Merge "Do not run unfold taskbar animation when in portrait" into tm-dev am: 41b7f53805
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17070204

Change-Id: Ib6ecd12fc5cc46f62d1659531d024ffcdf57c88c
2022-03-09 12:02:14 +00:00
Sam Dubey 5c8ba15b1c Merge "Revert "Sync hotseat/taskbar handoff"" into tm-dev 2022-03-09 10:58:03 +00:00
Nick Chameyev 41b7f53805 Merge "Do not run unfold taskbar animation when in portrait" into tm-dev 2022-03-09 10:26:21 +00:00
Sam Dubey 8d55819f6e Revert "Sync hotseat/taskbar handoff"
This reverts commit 4937d79c03.

Reason for revert: Breaking launcher tests on cf foldable and tablet targets
Bug: 223485229

Change-Id: I7a54982967426c4da9eb62ba100226102be6549e
2022-03-09 07:53:39 +00:00
Jeremy Sim 4362094b8e Merge "Fix UI overlap when rotating in split select mode" 2022-03-09 03:36:36 +00:00
Vinit Nayak 824d036378 Remove stale log statement for b/195430732
Fixes: 195430732
Change-Id: I29e2ea3930238da4fe37f73a1368c4d233841cd0
2022-03-08 17:24:38 -08:00
Jon Miranda b2a5f266ad Play fallback animation if there are multiple closing targets.
Bug: 200247089
Test: close app w/ gesture nav, 3 button nav
      close split screen apps

Change-Id: I748f038eaf1542014f3acbb8fa31488936835dfe
2022-03-08 14:45:16 -08:00
Schneider Victor-tulias 38c59cfe4a Update gesture nav tutorial with updated phone landscape layouts
- Updated layout files to support landscape mode on phones
- Updated All Set page to say "tablet" rather than "phone" on tablets
- Hiding feedback view during gestures for better visibility
- Renamed files and resources to say "tablet" rather than "foldable"
- Added custom layout logic for the mock hotseat on foldables
- Updated feedback view margins

Test: manual
Fixes: 215063763
Fixes: 206895841
Fixes: 219251891
Change-Id: I56f7f33dd0617bdeeca4863f7d5de0143376c8bf
2022-03-08 13:57:42 -08:00
Xiang Wang 5de2a870cf Merge "Move the BitmapUtil to com.android.internal package" into tm-dev am: f86e884582
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16934327

Change-Id: I5909280b3247e7d7612ed5c0d88d3da69a584806
2022-03-08 20:21:50 +00:00
Xiang Wang f86e884582 Merge "Move the BitmapUtil to com.android.internal package" into tm-dev 2022-03-08 20:06:56 +00:00
Evan Rosky 402726f0b3 Merge "Switch to persist.wm.debug" into tm-dev am: 324b07b44b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17058517

Change-Id: I552b38c6defc68cb71b64b3b68a1fe224b0be580
2022-03-08 19:45:35 +00:00
Jon Miranda a58d80324d Merge "Sync hotseat/taskbar handoff" into tm-dev am: a95837767b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17111271

Change-Id: Iede9f6c0cb0d5d321eb32b50ddb6d460d820f75a
2022-03-08 19:44:38 +00:00
Evan Rosky 324b07b44b Merge "Switch to persist.wm.debug" into tm-dev 2022-03-08 19:34:01 +00:00
Jon Miranda a95837767b Merge "Sync hotseat/taskbar handoff" into tm-dev 2022-03-08 19:28:08 +00:00