Commit Graph

10169 Commits

Author SHA1 Message Date
Pat Manning 1d460f33bf Merge "Animate overivew actions view hiding on scroll." into tm-dev am: 10b77ab7e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17414979

Change-Id: I1786c6a70f1d52917c5cb95f9fb79f96e89503c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-04 18:57:09 +00:00
Pat Manning 10b77ab7e7 Merge "Animate overivew actions view hiding on scroll." into tm-dev 2022-04-04 18:43:08 +00:00
Pat Manning 458dcdbe1e Animate overivew actions view hiding on scroll.
Test: manual
Fix: 221113300
Change-Id: Ie21343e280639e027f012d9c734b798f4dc4e71a
2022-04-04 17:10:27 +01:00
Tracy Zhou a2291a2292 Merge "Fix npe in FrameHandler" into tm-dev am: 76a99eccc0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17534537

Change-Id: Icd9665e61dd033ef5970be41939f9070c892d77d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 18:26:34 +00:00
Tracy Zhou 6811c5b8ab Merge "Do not append additional delimiters" into tm-dev am: bb75f59792
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17528595

Change-Id: I8661f7a6320c9214104cc1639645721ad8e66548
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 04:49:42 +00:00
Tracy Zhou b5f7e4fc19 Fix npe in FrameHandler
Previously we check if the view root is null, but after ag/16308550 we no longer do so

Fixes: 208657242
Test: N/A
Change-Id: I0bb4a1b26ca8b201393587e7d0d922b7d4e08419
2022-03-31 21:46:47 -07:00
Tracy Zhou bb75f59792 Merge "Do not append additional delimiters" into tm-dev 2022-04-01 04:26:20 +00:00
Tracy Zhou 0439fcdd5c Do not append additional delimiters
Fixes: 227665358
Test: N/A
Change-Id: I6ec0bca286c0824e474f04a61b7d855858490120
2022-03-31 17:15:46 -07:00
Vinit Nayak 8a3d35de16 Merge "Add metrics for taskbar 3 button nav" into tm-dev am: c8b2fdbc6a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17387076

Change-Id: I990f9cef669dec1734ca99b9c35c75ea626ce493
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 23:41:16 +00:00
Tony Wickham 77f76a5e8a Merge "Log when calling disposeEventHandlers" into tm-dev am: 6e9c06998d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17356395

Change-Id: I36622417b3f550077fff67fb0f3ec5bdcc54f393
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 23:36:50 +00:00
Vinit Nayak c8b2fdbc6a Merge "Add metrics for taskbar 3 button nav" into tm-dev 2022-03-31 23:22:33 +00:00
Tony Wickham 6e9c06998d Merge "Log when calling disposeEventHandlers" into tm-dev 2022-03-31 23:20:46 +00:00
Vinit Nayak 26b6b577b9 Add metrics for taskbar 3 button nav
Fixes: 221075063
Test: wwlogcat shows right events,
new events show up on aster dashboard

Change-Id: I3864ac02ea00f281d33ccb26b95a4916bd8b6be9
Merged-In: I3864ac02ea00f281d33ccb26b95a4916bd8b6be9
2022-03-31 19:36:47 +00:00
Schneider Victor-tulias f652834c96 Merge "Add public constructors to gesture tutorial fragments." into tm-dev am: 3a6b7360a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17388919

Change-Id: Iaa4bdd5b0b301581f7d6c12169e9873b10b28ab8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 17:34:28 +00:00
Tony Wickham 6ffd4094f4 Merge "Decouple taskbar background color from overview" into tm-dev am: e0c464a0e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17511887

Change-Id: I382310a23fc595b896d9bdd78647f1f488bb8b27
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 17:33:47 +00:00
Schneider Victor-tulias 3a6b7360a2 Merge "Add public constructors to gesture tutorial fragments." into tm-dev 2022-03-31 17:30:14 +00:00
Tony Wickham e0c464a0e0 Merge "Decouple taskbar background color from overview" into tm-dev 2022-03-31 17:28:40 +00:00
Tony Wickham ae82fc4ba0 Decouple taskbar background color from overview
- Taskbar background is 15L but Overview dark should be 35L

Test: Swipe up from taskbar (which is 15L), background matches until
going to overview, then animates to appropriate overview color based on
theme (light or dark).
Bug: 227344452
Change-Id: I52d892a569c8db565b4cfe271e532009f34ec669
2022-03-31 17:28:16 +00:00
Alex Chau 35daa8d180 Merge "Using the WindowMetrics API instead of display.getRealSize" into tm-dev am: 5f8386cf26
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17326029

Change-Id: I75528d40dcdc9a77ad5f91e02fc21b64d5aeeac0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 11:11:17 +00:00
Alex Chau 5f8386cf26 Merge "Using the WindowMetrics API instead of display.getRealSize" into tm-dev 2022-03-31 10:58:40 +00:00
Vinit Nayak 1c2074924f Merge "Fix translation for secondary split thumbnail in RTL" into tm-dev am: 254c77e279
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17489781

Change-Id: Ie0178c43d1a377d7c62fcdd15187d3e2c7f421f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 04:25:18 +00:00
Vinit Nayak 254c77e279 Merge "Fix translation for secondary split thumbnail in RTL" into tm-dev 2022-03-31 04:19:42 +00:00
Schneider Victor-tulias 054faba0a1 Add public constructors to gesture tutorial fragments.
The lack of public, no-arg constructors was causing the tutorial to crash on re-creation (eg. rotating the screen.) Added public constructors and refactored event logging.

Also added an update to the All Set page to allow the subtitle to display in one line.

Fixes: 226321558
Fixes: 226550217
Test: manual
Change-Id: I00a6135e658a66313df5e07833e6c6a20a618672
2022-03-30 23:51:18 +00:00
Hongwei Wang edcccb95d1 Merge "Handle shadow radius for auto-pip in Launcher" into tm-dev am: fe43ca95da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17456665

Change-Id: Iacec57ccb2a9a0a58d1462221d8c9101f859e1aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-30 22:25:39 +00:00
Hongwei Wang fe43ca95da Merge "Handle shadow radius for auto-pip in Launcher" into tm-dev 2022-03-30 22:23:51 +00:00
Sunny Goyal 36c0f76e21 Using the WindowMetrics API instead of display.getRealSize
Bug: 221961069
Bug: 195408476
Bug: 198965093
Test: Verified locally and presubmit
Change-Id: I4dac9c19df4c43e6a38ba5c05f27d25f4cfcb071
2022-03-30 21:07:23 +00:00
Vinit Nayak 1322fc3710 Fix translation for secondary split thumbnail in RTL
Fix: 225157531
Test: Swipe up in RTL shows both thumbnails
were expected.

Change-Id: I87d286b6ce6542c7cffadf86e3d4d99a3618f984
2022-03-30 10:32:51 -07:00
Vinit Nayak a448235246 Merge "Always look for MODE_OPENING during task launch from overview" into tm-dev am: db2c726560
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17463979

Change-Id: Idba1440fba5a86ec262424f316e1e8aec17c1b36
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-29 21:32:42 +00:00
Vinit Nayak db2c726560 Merge "Always look for MODE_OPENING during task launch from overview" into tm-dev 2022-03-29 21:11:26 +00:00
TreeHugger Robot 4cb55616e2 Merge "Close system windows when toggling overview" into tm-dev 2022-03-29 16:56:16 +00:00
TreeHugger Robot 4ef2fdbbbb Merge changes from topic "presubmit-am-9de16cff35414de28b1c0e513808501b" into tm-mainline-prod
* changes:
  [automerge] Close system windows when toggling overview 2p: 6be66c96ef
  Close system windows when toggling overview
2022-03-29 16:56:16 +00:00
Tony Wickham b2aa48cad6 Merge "Fix problems with taskbar floating views on rotation" into tm-dev 2022-03-29 16:36:16 +00:00
Tony Wickham 95428f272e Merge changes from topic "presubmit-am-b069ec7d3d1a463eb4cbb90602477d0e" into tm-mainline-prod
* changes:
  [automerge] Fix problems with taskbar floating views on rotation 2p: 538c9a0b52
  Fix problems with taskbar floating views on rotation
2022-03-29 16:36:16 +00:00
Tony Wickham c30e733d5f Merge "Update gesture region when display size changes" into tm-dev 2022-03-29 16:33:58 +00:00
Presubmit Automerger Backend aa624d0364 [automerge] Close system windows when toggling overview 2p: 6be66c96ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17454593

Change-Id: Iab40a4eff58a4e5d684cc639493a7e1d1e105d77
2022-03-29 15:28:18 +00:00
Presubmit Automerger Backend 00ede443b1 [automerge] Update gesture region when display size changes 2p: 30be4bfdb3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17454826

Change-Id: I3fc27e42bf3cc86a65715e80e0ff89ecf41a5290
2022-03-29 15:26:07 +00:00
Alex Chau f10b877fbd Merge "Add screen record to FallbackRecentsTest#goToOverviewFromHome" into tm-dev 2022-03-29 11:39:44 +00:00
Alex Chau 5f9302f1fb Merge changes from topic "presubmit-am-5842fd4d086449bf9c13a6d08b64df31" into tm-mainline-prod
* changes:
  [automerge] Add screen record to FallbackRecentsTest#goToOverviewFromHome 2p: 2871958fb4
  Add screen record to FallbackRecentsTest#goToOverviewFromHome
2022-03-29 11:39:44 +00:00
TreeHugger Robot 38aeb36043 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-03-29 07:37:55 +00:00
Vinit Nayak 526f4ce7ae Always look for MODE_OPENING during task launch from overview
* Previously the target mode was dependent on whether liveTile
was running or not, opposite targets seem to be coming in from
WM now.
* Remove a bunch of un-used code from LauncherSplitScreenListener
that was used when we only allowed one split pair in overview
previously. Now that is handled by RecentTasksController in shell
so we don't need any additional bookkeeping.

Fix: 212220301
Test: Able to launch side tasks in overview
Change-Id: I002340d98ba379cb4ab9ae37eadfa235d6b5e56d
2022-03-28 21:32:09 -07:00
Tony Wickham 9d15f43e4f [automerge] Fix problems with taskbar floating views on rotation 2p: 538c9a0b52
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17454588

Change-Id: I466ebee4271ddcf9e890a42025e7e322555d2aff
2022-03-29 00:19:31 +00:00
Sebastián Franco 9d5eef80cd Merge "Brighten theme-icons when in Dark mode and add dark color for taskbar" into tm-dev 2022-03-29 00:00:33 +00:00
Sebastián Franco 0c391a7df2 Merge changes from topic "cherrypick-217247494-b0lshr6mfa" into tm-mainline-prod
* changes:
  [automerge] Brighten theme-icons when in Dark mode and add dark color for taskbar 2p: 5282efddc9
  Brighten theme-icons when in Dark mode and add dark color for taskbar
2022-03-29 00:00:33 +00:00
Tony Wickham 30be4bfdb3 Update gesture region when display size changes
Test: change resolution on device, ensure bottom gestures work
Fixes: 225169659
Change-Id: Iafc4a797741092c82bc89b46dd2babe6d1c13512
2022-03-28 16:50:01 -07:00
Hongwei Wang b46d6ebc01 Handle shadow radius for auto-pip in Launcher
Bug: 206508708
Test: Verify the auto-enter-pip transition
Change-Id: I1e99c3e1ce890885d95006293a1469491c5c6672
2022-03-28 16:44:28 -07:00
Presubmit Automerger Backend 33dd1d8026 [automerge] Add screen record to FallbackRecentsTest#goToOverviewFromHome 2p: 2871958fb4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17400000

Bug: 223278795
Change-Id: I0c0782efbb4231837b4cea96fbb3c66de37f481e
2022-03-28 22:25:32 +00:00
Vinit Nayak 6be66c96ef Close system windows when toggling overview
Fix: 203835798
Test: Tap on overview with notification shade,
it closes

Change-Id: I01a5cab4fabf7950f48290418df3ae6cb270305c
2022-03-28 14:54:07 -07:00
Tony Wickham 538c9a0b52 Fix problems with taskbar floating views on rotation
- Close all views except TYPE_REBIND_SAFE
- Make All Apps TYPE_REBIND_SAFE again
- Reapply fullscreen to ensure any remaining floating views such as taskbr edu are laid out correctly upon rotation

Test: Rotating with folder and/or popup closes them; rotating with all apps stays open; rotating with all apps + popup closes popup but not all apps; rotating taskbar edu lays out correctly; opening shortcut or notification from all apps popup still closes all apps
Fixes: 220074790
Fixes: 219981733
Change-Id: I1dfea4ed0a636ab84bcc4e33304c80a689da01cd
2022-03-28 14:48:20 -07:00
Alex Chau 2871958fb4 Add screen record to FallbackRecentsTest#goToOverviewFromHome
Bug: 223278795
Test: none
Change-Id: I3ddcf5db0980968636a6b67ef2dbfe8d44446cc7
2022-03-28 16:16:56 +01:00
Jeremy Sim db92b5d73f Merge "Fix issue with camera overlapping split staging UI" into tm-dev 2022-03-26 19:41:48 +00:00