Commit Graph

13651 Commits

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

Change-Id: Ib9b769981534d4c9a250e308c98a35c08c6bc4f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-04 19:39:45 +00:00
Alex Chau 53d3be9d66 Add ScreenRecordrule to FallbackRecentsTest
Bug: 223278795
Test: presubmit
Change-Id: Iec9157165bb21626af7036a9c4df0dfcc447f890
2022-04-04 19:58:16 +01:00
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
Yunfan Chen e3f7624ecb Adjust the insets frame providing method per API change
The frameworks side made a change to provide different insets frames for
different types of insets. Update the corresponding code to reflect that
change.

Test: build
Bug: 215411414
Change-Id: I57ecbb778fd0f0d3a19cc6712d747cad6664644b
2022-04-04 17:59:54 +09:00
Thiru Ramasamy dde19ea64d Rename "ONE_SEARCH" attributes to "WEB_SEARCH"
* Minor fix to logging

Bug: 210792253
Test: manual
Change-Id: Ib32b945e1fa7696b3b8360dae01e1bd00295ff8d
2022-04-01 23:10:43 +00:00
Tracy Zhou c886a9aa03 Merge "Fix npe in FrameHandler" into tm-dev am: 76a99eccc0 am: a2291a2292
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17534537

Change-Id: Id3a21f0b15e2353f0124e6a3bccb76435164c6aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 18:41:55 +00: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
Merissa Tan f3ba57dd3f Merge "Disable taskbar stashing on desktop environment." 2022-04-01 18:19:59 +00:00
Tracy Zhou 6bf22f786b Merge "Do not append additional delimiters" into tm-dev am: bb75f59792 am: 6811c5b8ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17528595

Change-Id: Ia11c0410168db21e7c9c9855f518225d6b2a5dce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 05:05:12 +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
Tony Wickham 978dde27ff Merge "Log when calling disposeEventHandlers" into tm-dev am: 6e9c06998d am: 77f76a5e8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17356395

Change-Id: Ifba63ca659a637334407f455fe00ec1ef1515a77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 01:26:05 +00:00
Merissa Tan ce3af8d690 Disable taskbar stashing on desktop environment.
Bug: 223736439
Test: Manual
Change-Id: Iceb349b8a1dbae41e13ef1890a6834d66776c9af
(cherry picked from commit 215479443ce0339f75c691195dd14b4e9d5f4da1)
2022-03-31 18:03:56 -07: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 188ae14220 Listen for density changes through DisplayController callbacks
* Make display controller callbacks member variable for
clarity.
* Created follow-up refactor (b/227669780)

Fix: 227329641
Test: Repro steps in bug no longer make taskbar appear
when it shouldn't

Change-Id: I83702c0b817749943d2a9c4c5f0e44342a475e75
2022-03-31 16:20:23 -07: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
TreeHugger Robot 697a168260 Merge "Add metrics for taskbar 3 button nav" 2022-03-31 19:19:24 +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
Schneider Victor-tulias 12387cf091 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: Idcd57e272603e311b178e980f78a9c6e17dc2870
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 17:34:23 +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
Tony Wickham adf429fa75 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: Ifc3e4ab34a83c9d62f56010b4f420c60ea7b2a3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 17:33:23 +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 eb2f9d1d6c 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: I573733c080c1e30ad1fc71641cf72f81079eba39
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 11:11:04 +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
wilsonshih 64cfa05d59 Update orientation state while gesture animation start.
While quickswitch in landscape mode, the orientation handler would be
update to LandscapePagedViewHandler when receive onLauncherStart,
however, it might be too late because the VelocityTracker can already
tracking with PortraitPagedViewHandler at
AbsSwipeUpHandler#setupRecentsViewUi, which leads the wrong
judgement while PagedView#onTouchEvent handling the ACTION_UP that
the velocity can nearly 0 from mOrientationHandler.getPrimaryVelocity.

By update the orientation handler earlier at onGestureAnimationStart,
the velocity tracking result should stay consistent from ACTION_DOWN
till ACTION_UP.

Bug: 213867585
Bug: 209936664
Bug: 221805258
Test: run below tests w/o shell transition.
atest FlickerTests:QuickSwitchBetweenTwoAppsForwardTest
atest FlickerTests:QuickSwitchBetweenTwoAppsBackTest

Change-Id: If73fa8d88cc372b6f783fb6cdda4148d11a2ee19
2022-03-31 13:03:39 +08: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 cb2ebaf6a8 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: I64857ab83e08d079776208a3f820069b8d48253e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 04:25:13 +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
Vinit Nayak ddbf5374aa Add metrics for taskbar 3 button nav
Fixes: 221075063
Test: wwlogcat shows right events,
new events show up on aster dashboard

Change-Id: I3864ac02ea00f281d33ccb26b95a4916bd8b6be9
2022-03-31 01:38:39 +00:00
Tony Wickham 864f8d45b8 [RESTRICT AUTOMERGE] Ignore taskbar system gesture inset on Launcher
- Also have Taskbar report itself as MANDATORY_GESTURE_INSETS

Test: Able to drag bottom workspace items
Bug: 205493938
Change-Id: I014991b1cc6dbd66fa275a7766304ebd92171328
2022-03-30 23:57:16 +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 b6ec53d050 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: Id343c879e195896a53a02b00e918f208307b90ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-30 22:26:41 +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
Benno Lin 264d9a67de Enable pressback tests
Bug: 205027405
Test: Manual
Change-Id: I5bb41fc27db17e95d7a7c91cec2bbf85f33d6dad
(cherry picked from commit b5b70930e9)
2022-03-30 10:36:38 +00:00
Benno Lin 7c2a7ac094 Merge "Enable pressback tests" 2022-03-30 10:35:54 +00:00
shawnlin 34aad9e022 Fixed cts failure of WindowInsetsControllerTests
If stashing taskbar is caused IME visiblity, we could just skip updating
rounded corner insets since the rounded corners will be covered by IME
during IME is showing and task bar will be restored back to unstashed
when IME is hidden.

Bug: 225765490
Test: atest WindowInsetsControllerTests
Change-Id: If8f40add0d4d9f746169d26f46f27545b4023e90
2022-03-30 18:20:32 +08:00
Sunny Goyal 6d5a1c1307 Fixing crash when unfolding with an app already open
Bug: 227388787
Test: Manual
Change-Id: Ib1726b99a978bd613c337c2eff4873322d894485
2022-03-29 16:29:05 -07:00