Commit Graph

10934 Commits

Author SHA1 Message Date
Tony Wickham
c5dfbc9d7d Merge "Provide 0 insets to VoiceInteractionWindow in gesture nav" into tm-qpr-dev am: 2765792793
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19277085

Change-Id: I527a43278cd25025daebda73acaa48694ad51d6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-14 22:34:07 +00:00
Tony Wickham
2765792793 Merge "Provide 0 insets to VoiceInteractionWindow in gesture nav" into tm-qpr-dev 2022-07-14 22:17:09 +00:00
Tony Wickham
f02057d685 Merge "Fix constant crash when setting MultiStateCallback.DEBUG_STATES=true" into tm-qpr-dev am: 8b3fda7eb8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19220284

Change-Id: I20a00c519fda1e3ad0fec8e910dc2ba2f27c1b62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 18:05:47 +00:00
Tony Wickham
8b3fda7eb8 Merge "Fix constant crash when setting MultiStateCallback.DEBUG_STATES=true" into tm-qpr-dev 2022-07-13 17:45:26 +00:00
Tony Wickham
fd170e25cb Provide 0 insets to VoiceInteractionWindow in gesture nav
Test: Invoke assistant on tablet on both geture nav and 3 button mode;
In gesture nav mode: assistant shows at the very bottom of the screen,
layered on top of the taskbar background (in z order)
In 3 button mode: assistant shows right above the taskbar, which only
shows the 3 buttons (no taskbar icons) while assistant is showing
Fixes: 225200928

Change-Id: I2fbc05e696b58e8801e704092aa2741cb57c05c4
2022-07-13 10:33:12 -07:00
Schneider Victor-tulias
3535dd5906 Merge "Pause the AllSetActivity background animation more reliably." into tm-qpr-dev am: 2b3bd3039b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19239008

Change-Id: I14edb00abbe20a8c20deecad34ea12c0ce20f2f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 14:13:30 +00:00
Schneider Victor-tulias
2b3bd3039b Merge "Pause the AllSetActivity background animation more reliably." into tm-qpr-dev 2022-07-13 14:13:14 +00:00
Pat Manning
07815a4015 Merge "Show splash screen in quickswitch if thumbnail wrong aspect/orientation." into tm-qpr-dev am: de5be15650
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18675989

Change-Id: I9b583676f1225a875322a3598883adcefc2b3a31
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 14:13:09 +00:00
Pat Manning
de5be15650 Merge "Show splash screen in quickswitch if thumbnail wrong aspect/orientation." into tm-qpr-dev 2022-07-13 13:56:34 +00:00
Pat Manning
980bbf0f3b Merge "Add DeviceProfile tests on all attributes across different configurations." into tm-qpr-dev am: e700efde22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19197012

Change-Id: I29ea9726f8031a835bc6e7ad2d89285a1e0a7441
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 11:11:12 +00:00
Pat Manning
655b454612 Merge "Clip taskbar size from bottom of thumbnail in overview." into tm-qpr-dev am: f77606c8be
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19195510

Change-Id: I74e31b6a36daadf5eb76728928ca560e503e049c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 11:11:00 +00:00
Pat Manning
e700efde22 Merge "Add DeviceProfile tests on all attributes across different configurations." into tm-qpr-dev 2022-07-13 10:45:50 +00:00
Pat Manning
f77606c8be Merge "Clip taskbar size from bottom of thumbnail in overview." into tm-qpr-dev 2022-07-13 10:43:12 +00:00
Yunfan Chen
11bf8eb23c Merge "Provide IME insets with insetsSizeOverrides" into tm-qpr-dev am: 4726b4fc21
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19085273

Change-Id: I858618fe5c8310764a5dc726ab30cbf75f97c681
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 03:14:29 +00:00
Yunfan Chen
4726b4fc21 Merge "Provide IME insets with insetsSizeOverrides" into tm-qpr-dev 2022-07-13 02:45:58 +00:00
Schneider Victor-tulias
5f6b07d31c Pause the AllSetActivity background animation more reliably.
- Pause the animation when the alpha <= 0.1f, rather than 0f
- Pause the animation when the AllSetActivity pauses
- Do not vibrate if the AllSetActivity is not resumed

Bug: 236924895
Test: manually launched AllSetActivity and swiped up at various speeds
Change-Id: I1019f680730cfc72e9ad305d7ae09cff8a1637be
2022-07-12 12:43:13 -07:00
Pat Manning
0041ae3543 Show splash screen in quickswitch if thumbnail wrong aspect/orientation.
Test: manual
Bug: 202826469
Change-Id: I8337876ba26bf82d4f65697a86e6727be713ad53
2022-07-12 18:21:06 +01:00
Pat Manning
26f70f777e Add DeviceProfile tests on all attributes across different configurations.
Fix: 237542518
Test: DeviceProfilePhoneTest.kt
Test: DeviceProfileVerticalBarTest.kt
Test: DeviceProfilePhone3ButtonTest.kt
Test: DeviceProfileVerticalBar3ButtonTest.kt
Test: DeviceProfileTabletLandscapeTest.kt
Test: DeviceProfileTabletPortraitTest.kt
Test: DeviceProfileTabletLandscape3ButtonTest.kt
Test: DeviceProfileTabletPortrait3ButtonTest.kt
Test: DeviceProfileTwoPanelLandscapeTest.kt
Test: DeviceProfileTwoPanelPortraitTest.kt
Test: DeviceProfileTwoPanelLandscape3ButtonTest.kt
Test: DeviceProfileTwoPanelPortrait3ButtonTest.kt
Change-Id: I1596dcd1fb8c9b353cdfcab224d7670d88bed716
2022-07-12 14:17:18 +01:00
Pat Manning
9f61347bc6 Clip taskbar size from bottom of thumbnail in overview.
Remove other TaskView clipping logic as it is always false for other sides.

Fix: 234007059
Test: TaskThumbnailViewTest
Change-Id: I56210605fb8c2f433236a82932aaa2800afe392b
2022-07-12 13:27:25 +01:00
Alex Chau
252ab19883 Merge "Make workspace and hotseat scale down in widgets picker" into tm-qpr-dev am: fbd9ebd0a0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19222026

Change-Id: I1da2872a3a9a81fb757b972af3cc637020c1f89d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-12 11:51:01 +00:00
Alex Chau
fbd9ebd0a0 Merge "Make workspace and hotseat scale down in widgets picker" into tm-qpr-dev 2022-07-12 10:08:20 +00:00
Tony Wickham
ae888f4fd2 Fix constant crash when setting MultiStateCallback.DEBUG_STATES=true
AbsSwipeUpHandler didn't increase STATE_NAMES size last time we added a
state. Changed to ArrayList to dynamically update the size, copied from
how GestureState does it, to avoid this issue in the future.

Test: Set DEBUG_STATES to true, verified logs when performing gestures
Bug: 227514981
Change-Id: I747e66a744f4fd25f0b0289e348d8b3ed2376370
2022-07-08 19:22:46 -07:00
Hongwei Wang
0e8d19d321 Merge "Adjust the auto-pip app bounds for TaskBar" into tm-qpr-dev am: 46f79bda0c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19138223

Change-Id: Ic64af241e8535061cfbb5cf532dedbd5bbeac82a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 21:47:29 +00:00
Hongwei Wang
46f79bda0c Merge "Adjust the auto-pip app bounds for TaskBar" into tm-qpr-dev 2022-07-08 21:31:48 +00:00
Alex Chau
0c4e11b479 Make workspace and hotseat scale down in widgets picker
- Also centralized workspace content scale percentage to DeviceProfile

Test: manual
Fix: 231699666
Change-Id: I3f8dcb9921e0cd93ad391d51120b189005ad07df
2022-07-08 19:03:48 +01:00
Hongwei Wang
314c95030a Merge "Ensure sendUserLeaveHint be false when split from Overview" into tm-qpr-dev am: 2501f228bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19200327

Change-Id: Ic596680288bfbd88fbece03689d1f22445ecca18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 17:19:41 +00:00
Hongwei Wang
2501f228bd Merge "Ensure sendUserLeaveHint be false when split from Overview" into tm-qpr-dev 2022-07-08 17:02:58 +00:00
Sunny Goyal
f0ee118786 Merge "Removing tabWidth calculation and using DeviceProfile directly" into tm-qpr-dev am: 251ee0a066
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19038314

Change-Id: I1df6294c6af71d3327fb15c5527771ae16c3be9d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 16:05:19 +00:00
Sunny Goyal
251ee0a066 Merge "Removing tabWidth calculation and using DeviceProfile directly" into tm-qpr-dev 2022-07-08 15:39:30 +00:00
Alex Chau
129ef58102 Merge "Always return portrait orientation handler when Recents activity can rotate" into tm-qpr-dev am: 1eb730a69c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19149828

Change-Id: I9e5bccfe2e0433c5bea743010fdce98298ee56d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 11:11:18 +00:00
Alex Chau
ee3b9da502 Merge "Use taskbarSize to calculate clippedInsets" into tm-qpr-dev am: 653cad4ec6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19168832

Change-Id: I8a7256b0655ee6dd0fb467230b30a7dfa16e7d41
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 11:11:08 +00:00
Alex Chau
1eb730a69c Merge "Always return portrait orientation handler when Recents activity can rotate" into tm-qpr-dev 2022-07-08 10:52:01 +00:00
Alex Chau
653cad4ec6 Merge "Use taskbarSize to calculate clippedInsets" into tm-qpr-dev 2022-07-08 10:51:51 +00:00
Alex Chau
11c1ba8bba Merge "Enable overlay for all fully visible tasks" into tm-qpr-dev am: 2446d706dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19197022

Change-Id: I81c900a1ba77f27ed2a7732047af330fa320a8d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 09:50:47 +00:00
Hongwei Wang
a9f258cb12 Adjust the auto-pip app bounds for TaskBar
When on tablet / large-screen devices where TaskBar is present, the
bounds of the recents animation leash would be cut by TaskBar height,
therefore we need to adjust the app bounds for auto-pip accordingly.

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/fmMql9z3gYIu98ntQYklQU
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/hvoqi4bBWyPMgwzEXXrnnC
Bug: 201824622
Test: Enter PiP from GMM on tablet and unfolded foldables, both \
      landscape and portrait, with TaskBar stashed and unstashed.
Change-Id: Id91190b8f0045db4af0f2a3f1993149dc34457ab
2022-07-07 10:41:37 -07:00
Alex Chau
fb790ea6c7 Enable overlay for all fully visible tasks
Fix: 238310277
Test: In tablet, all fully visible tasks have overlay enabled
Test: In handheld, only current and not adjacent tasks have overlay enabled
Test: No overlay in groupedTaskView
Change-Id: I59b8bebc4e701d3042217f9af222db0b5337ea16
2022-07-07 15:59:44 +01:00
Hongwei Wang
81dde0d3fb Ensure sendUserLeaveHint be false when split from Overview
This is to ensure that we do not enter PiP when the user intention is to
create split-screen.

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/gSDHKaYxyTEQ6665rr4lt9
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/hTmOVfZDExC14JaJ5fXAZf
Bug: 234070451
Test: Split from menu option when in Overview in both folded and \
      unfolded states, see also videos
Change-Id: Id0a2470f9b37cae2e0897d0570f68909c995f8e0
2022-07-06 16:18:46 -07:00
Pat Manning
5ddfc2d9d8 Merge "Hide action buttons instead of whole overview actions view in order to show share target." into tm-qpr-dev am: 6501379fcc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19149826

Change-Id: Ifd0d3f3ff3890efb9976b5550b8b80492f9843ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-06 20:16:29 +00:00
Pat Manning
6501379fcc Merge "Hide action buttons instead of whole overview actions view in order to show share target." into tm-qpr-dev 2022-07-06 20:05:03 +00:00
Tony Wickham
7b0cba0590 Merge "Proper fix for gesture nav flicker using runOnPageScrollsInitialized()" into tm-qpr-dev am: 4b2bf90f2c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18902861

Change-Id: Iddd40148542e59405c836044592f62ae8fbfcd46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-06 16:51:28 +00:00
Tony Wickham
885bc9af34 Merge "Add null check on mRecentsView in the InputConsumerProxy" into tm-qpr-dev am: ca6480341e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19153319

Change-Id: I87a6dbe39d9e0d31d09dd9ce81fe0ca068b9ad10
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-06 16:51:20 +00:00
Tony Wickham
5397c871da Merge "Move TEST_HARNESS_TRIGGER_TIMEOUT to MotionPauseDetector directly" into tm-qpr-dev am: 0c8ceda6e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19136583

Change-Id: I4a0fc50d4de18f6f872bef88d0d9968891567a23
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-06 16:51:02 +00:00
Tony Wickham
4b2bf90f2c Merge "Proper fix for gesture nav flicker using runOnPageScrollsInitialized()" into tm-qpr-dev 2022-07-06 16:30:01 +00:00
Tony Wickham
ca6480341e Merge "Add null check on mRecentsView in the InputConsumerProxy" into tm-qpr-dev 2022-07-06 16:27:14 +00:00
Tony Wickham
0c8ceda6e7 Merge "Move TEST_HARNESS_TRIGGER_TIMEOUT to MotionPauseDetector directly" into tm-qpr-dev 2022-07-06 16:25:03 +00:00
Pat Manning
7ab2ff0007 Hide action buttons instead of whole overview actions view in order to show share target.
Test: manual.
Fix: 234606068
Change-Id: I1b7115a6faffd1dcb00528220fe6607f8035c4fe
2022-07-06 14:50:00 +01:00
Thales Lima
a70b07d04c Add new hotseat bottom margin options am: b8c0595d42
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18605485

Change-Id: I9f981862969fb50dab551efdfaeebd7d4aa9ac95
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-06 10:45:33 +00:00
Thales Lima
b8c0595d42 Add new hotseat bottom margin options
This changes how the hotseat height is calculated and by consequence how spaces are distributed in the workspace as well. This is the first of a series of changes that will improve and streamline workspace calculations.

Bug: 228998463
Fix: 234023782
Fix: 230191631
Fix: 232914299
Fix: 236238226
Test: manual, HSV and comparing to mocks
Change-Id: If021e8ba2c7c24c0bf9f27a1aa7aa946792ed04f
2022-07-05 15:33:47 +01:00
Pat Manning
e73e245ba4 Merge "Simplify vertical bar hotseat bottom calculation for spring loaded state." into tm-qpr-dev am: 0f8bbef729
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19084089

Change-Id: I9f37a2b63b11bd8496d0d86d4f04beea97466a9b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-05 11:11:52 +00:00
Pat Manning
0f8bbef729 Merge "Simplify vertical bar hotseat bottom calculation for spring loaded state." into tm-qpr-dev 2022-07-05 10:28:10 +00:00