Sihua Ma
dfd8bfc7e0
Added functions to pass launcher widget span info to preview
...
To calculate the widget scales correctly for the launcher preview in different grids, the span info of the widgets in the launcher is necessary. Querying the launcher widget info in the database and passing it to the preview render.
Test: Verified that no exceptions were happening when changing preview grid layouts
Bug: 228328759
Change-Id: I681d21b176c8fe5208431a79009d9ba8279cda6a
2022-07-14 20:17:19 +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
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
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
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
4726b4fc21
Merge "Provide IME insets with insetsSizeOverrides" into tm-qpr-dev
2022-07-13 02:45:58 +00:00
Winson Chung
0eb98be739
Merge "Extend accessibility timeout indefinitely before overview screenshot" into tm-qpr-dev
2022-07-13 00:26:28 +00:00
Sunny Goyal
eb966492f7
Merge "Generalizing the PredicitonScroll view so that in can be used in all-apps" into tm-qpr-dev
2022-07-12 21:33:17 +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
Winson Chung
8bd458b518
Extend accessibility timeout indefinitely before overview screenshot
...
Test: atest TaplTestsQuickstep#testOverviewActions
Bug: 236730000
Change-Id: I4db9fc01aaa048cead47e14c34df609bb43f3906
2022-07-12 16:31:57 +00: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
Thales Lima
8693d0a52f
Merge "Take account of IME insets" into tm-qpr-dev
2022-07-12 10:34:42 +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
Sunny Goyal
c9e5c2bd2a
Merge "Adding support for continously capturing view hierarcy in Launcher" into tm-qpr-dev
2022-07-12 05:56:36 +00:00
Sunny Goyal
0eb857666c
Merge "Fixing tab width and panner not aligned with the all-apps icons" into tm-qpr-dev
2022-07-12 05:55:43 +00:00
TreeHugger Robot
aa9fff3329
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev am: a356d24c97 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19246949
Change-Id: Ieee73929fda2f2d4d0a09e7c42a954b3de12cba4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-12 05:30:15 +00:00
Bill Yi
7ac5b8c51b
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 365e4be720 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19246949
Change-Id: I92b3d8ed01a428d5050ad04f0bf5821b2786d674
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-12 05:30:11 +00:00
TreeHugger Robot
0488e58e6a
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev am: 9bbc46d544 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19246947
Change-Id: I92f1d010567dc791e6d250529807b51349098079
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-12 05:30:06 +00:00
Bill Yi
d419b08852
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b4e2d0dfc4 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19246947
Change-Id: I9361eafffb06286d7fb10670f0247f8314441934
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-12 05:29:52 +00:00
Bill Yi
dd771ddacf
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6f01bd7532 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19246429
Change-Id: Id38c6e58b7c454556b4766dc9bf00efc31f97132
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-12 05:29:35 +00:00
TreeHugger Robot
a356d24c97
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev
2022-07-12 04:55:30 +00:00
TreeHugger Robot
9bbc46d544
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev
2022-07-12 04:55:30 +00:00
Bill Yi
365e4be720
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ibd9feb46912529ba291b6770cd12a485b5c5c615
2022-07-11 16:23:16 -07:00
Bill Yi
b4e2d0dfc4
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ida0738df20b5ce2570c92c8050bf46c87c2efea3
2022-07-11 16:22:20 -07:00
Bill Yi
6f01bd7532
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I31fe2d40b83c2fda9017ba9f8dcbf47c4b88812c
2022-07-11 16:21:41 -07:00
Sunny Goyal
25972b1f2f
Adding support for continously capturing view hierarcy in Launcher
...
Bug: 238243939
Test: Verified data being captured and dumped
Change-Id: Ibe069d39ccf728f7b953f85085e58976be6e05ac
2022-07-11 15:43:54 -07:00
Sunny Goyal
eab51677ae
Fixing tab width and panner not aligned with the all-apps icons
...
Bug: 234008165
Test: Verified on device
Change-Id: Ibec3eed4aef730439d79b086d6ae23b63b66361e
2022-07-11 15:39:32 -07:00
Chilun Huang
ac57ddeb4c
Workaround to return 1/3 of the position
...
Some devices in portrait mode have the same symptoms as b/234322284.
Simply return 1/3 of the position like the X axis to solve the problem.
Bug: 238202110
Test: atest Launcher3Tests:TaplTestsLauncher3#testAddDeleteShortcutOnHotseat
Change-Id: Ic7d3756cfbda6673a62b266c6093745b8311e6ac
2022-07-11 15:19:16 +08: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
46f79bda0c
Merge "Adjust the auto-pip app bounds for TaskBar" into tm-qpr-dev
2022-07-08 21:31:48 +00:00
Bill Yi
6819c89c53
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev am: f09f6bae58 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19166417
Change-Id: I06df9c7c338b8f8d531ca2450dc9c570ba75e44d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-08 20:42:01 +00:00
Bill Yi
055a11e3f5
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 53cadeca3b -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19166417
Change-Id: If591a3abb6d208967074ac67712cf928c24f038f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-08 20:41:44 +00:00
Bill Yi
33053ee192
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f1575e527c -s ours am: 2554fa8abf -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19166415
Change-Id: Ie4e8ca64a59629613a16b1523206b262552aa09e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-08 20:33:17 +00:00
TreeHugger Robot
b95fb20fa3
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: 8ae4e43732 -s ours am: 3eaaecaa9e -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19118362
Change-Id: I2cfc3f89124475a921f1a1f5dd7fa79ba2fb80ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-08 20:28:13 +00:00
Bill Yi
37256ab2af
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ec17e24889 -s ours am: 9976faf55a -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19118362
Change-Id: I8895e003db2c9eb43b08f5f7a3cb74dbe1565f94
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-08 20:27:58 +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
2501f228bd
Merge "Ensure sendUserLeaveHint be false when split from Overview" into tm-qpr-dev
2022-07-08 17:02:58 +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
Brandon Dayauon
ed46b45910
Merge "Add ripple effect to work toggle button and "turn on work apps" button" into tm-qpr-dev
2022-07-08 14:55:07 +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
2446d706dc
Merge "Enable overlay for all fully visible tasks" into tm-qpr-dev
2022-07-08 09:34:53 +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
Becky Qiu
5672b0991e
Merge "[Toast] Add a feature flag to use local overrides for search timeout." into tm-qpr-dev
2022-07-07 17:16:21 +00:00
Brandon Dayauon
96f0bc582d
Add ripple effect to work toggle button and "turn on work apps" button
...
Created new drawable xml specifically for the turn on work apps button because
the dismiss button (x) icon on the EDU card shares this drawable. This way I don't
cause collateral damage for the (x) icon dismiss button.
Changed shape -> ripple in work_apps_toggle background
bug: 229385255
test: Manually on oriole and video in bug thread
Change-Id: Id01bfb04c07a724687b0322339b12c8fc9130dfa
2022-07-07 10:14:07 -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
Thales Lima
f0c633bc48
Take account of IME insets
...
Fix: 233159032
Test: manual
Change-Id: I2a23c13f7b2bcd8b0c758140dd1fdd5bb800f3f1
2022-07-07 11:57:04 +01:00