Commit Graph
60459 Commits
Author SHA1 Message Date
TreeHugger Robot 9e0dcab1b1 Merge "Don't set mLikelyToStartNewTask=true before slop for first gesture" into ub-launcher3-rvc-dev am: 946696124a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855486

Change-Id: I0fd87abb4465f988414d0db3713c7bb189a0a810
2020-06-15 20:46:02 +00:00
Sunny Goyal 8cd8d15886 Fixing sysui scrim not updating in landscape UI
Bug: 156422012
Change-Id: I2e1e9149e8337dd663bf564bd1b7f661ec2864e9
2020-06-15 13:42:07 -07:00
TreeHugger Robot 946696124a Merge "Don't set mLikelyToStartNewTask=true before slop for first gesture" into ub-launcher3-rvc-dev 2020-06-15 20:24:51 +00:00
Tony Wickham f3cd3762c9 Don't set mLikelyToStartNewTask=true before slop for first gesture
We should only set it to true before the slop when continuing the
gesture, otherwise gestures to home could attach the adjacent
task view before the transition even starts.

Bug: 158855957
Change-Id: I86eba9bad9c85e05d5274d7396160762a28e5cf1
2020-06-15 14:09:14 -05:00
Tony Wickham 9459f3101f Don't reset RecentsView in onIdpChanged()
Resetting unloads visible task data and thus will leave recents
blank if overview state is enabled. Instead, unload and reload
visible task data to take new icon shape into account.

(The reason we're getting onIdpChanged() on nav bar mode change
is because the change in nav bar height causes the computed icon
size to change very slightly.)

Also fix InvariantDeviceProfile copy constructor by copying
iconBitmapSize.

Test:
- Change between 0 button and 3 button nav modes, verify recents
  doesn't appear blank
- Change icon shape in Styles and Wallpapers and go to recents,
  verify icon shape is reflected in task icons

Bug: 156354328
Change-Id: Ife29f51e85814ff483d055005fa2645135d5ec3d
2020-06-15 14:02:12 -05:00
Sunny Goyal b10e865e48 Preventing parallel motion event dispatching from view system and event proxy
1) When view system is already dispatching an event, proxy-dispatch is restricted
   to gesture only and follow the gesture dispatching rule.
2) If a full-proxy-dispatch is going on, and view-dispatch comes in, view-dispatch
   takes over and proxy-dispatch is cancelled.
3) During gesture-only proxy dispatch, if view-dispatch already started a gesture,
   proxy dispatch is ignored. Otherwise view-dispatch is restricted to non-gesture
   dispatching only (and proxy-dispatch is already restricted to gesture only).

Bug: 158130948
Change-Id: Ied351663e16beda5acf49a52bdefea881c18b9cf
2020-06-15 11:50:54 -07:00
TreeHugger Robot c7cfadbfab Merge "[race condition] Improve hotseat availability when launcher is recreated" into ub-launcher3-rvc-dev am: 832aa03a4b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855093

Change-Id: I0073105aea8e37f0bb01efc2472c47f1ec55d883
2020-06-15 18:21:53 +00:00
TreeHugger Robot 05bc926cae Merge "Gates blur code behind BlurUtils#supportsBlursOnWindows." into ub-launcher3-rvc-dev am: 8555146d9a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11812122

Change-Id: I81f464584141ad192e95cc33f6e7f51da59d45d7
2020-06-15 18:21:21 +00:00
TreeHugger Robot cba652e143 Merge "Remove a comment that a line of code is a workaround" into ub-launcher3-rvc-dev am: 72cf3d31a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11870186

Change-Id: I9ae8121b6c562990b0b3e10e25f0b2eca74d3916
2020-06-15 18:20:50 +00:00
TreeHugger Robot 832aa03a4b Merge "[race condition] Improve hotseat availability when launcher is recreated" into ub-launcher3-rvc-dev 2020-06-15 18:16:59 +00:00
TreeHugger Robot 8555146d9a Merge "Gates blur code behind BlurUtils#supportsBlursOnWindows." into ub-launcher3-rvc-dev 2020-06-15 18:14:01 +00:00
TreeHugger Robot 72cf3d31a5 Merge "Remove a comment that a line of code is a workaround" into ub-launcher3-rvc-dev 2020-06-15 18:06:20 +00:00
vadimt f6a179d3ae Remove a comment that a line of code is a workaround
Bug: 157099707
Change-Id: I417df10735438caf6fd7fd5833817b5c43a1e856
2020-06-15 10:19:15 -07:00
Samuel Fufa 8e90ee0362 [race condition] Improve hotseat availability when launcher is recreated
In cases where onCreate does not get called before bindPredictedItems, mHotseatPredictionController will be null. This results in the hotseat remaining empty until AiAi sends predictions.

Bug: 158867468
Test: Manual
Change-Id: I4f3c3fc41f489e96a9f91dc9505202ae9ce9cce1
2020-06-14 18:30:50 -07:00
android-build-team Robot b3a3ff6152 Snap for 6588207 from d62e043be1 to mainline-release
Change-Id: I1d632f2586639a03c8da41fb5874279f0593bfe6
2020-06-14 07:14:41 +00:00
thiruram 1c3191b2d8 Updates StatsLogManager to log LauncherAtom.ItemInfo directly. am: 8da127f175
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855083

Change-Id: I2fb367e2d6d9e3b08253aebf3e1bcbe117d5df7e
2020-06-14 03:02:42 +00:00
thiruram 8da127f175 Updates StatsLogManager to log LauncherAtom.ItemInfo directly.
This method is requied for logging tap on QSB with just container info.

Bug: 154717227

Change-Id: I0c61c86724b4faafe4073a578b92a654ca23727a
2020-06-14 02:02:08 +00:00
android-build-team Robot be04ac81bd Snap for 6587919 from 1e587f5da2 to sc-release
Change-Id: Ie95b1e9bd0fc4d9f2a342bc08076615ac6cf0642
2020-06-13 23:12:37 +00:00
android-build-team Robot 9595878f4f Snap for 6587913 from fcad20bad9 to rvc-release
Change-Id: Ic306cad5dc2d581c321aef7b418864dfcf90d46d
2020-06-13 23:12:29 +00:00
Sunny Goyal 1e587f5da2 Fixing recents animation not getting completed sometimes when using 3P launcher am: fcad20bad9 am: e9db94416b am: 57f9589037 am: ad225f8dc4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855087

Change-Id: Ie930c6b70b69ac01d5172973edf6eef5d57713db
2020-06-13 04:16:21 +00:00
Automerger Merge Worker 7770e0b0a0 Merge "Fixing recents animation not getting completed sometimes when using 3P launcher am: fcad20bad9 am: ee59005a19 am: 17a9fcac80" into rvc-qpr-dev-plus-aosp am: c5c989c346
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855087

Change-Id: I0422c3fa01e60d1d1144ab6611f7f58942e85475
2020-06-13 04:16:05 +00:00
Sunny Goyal dadc461c24 Fixing recents animation not getting completed sometimes when using 3P launcher am: fcad20bad9 am: ee59005a19 am: 460b071595 am: 48b6590680
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855087

Change-Id: Iba32991a75ffaf4de2d9ccf98a7cde572b86fa57
2020-06-13 04:15:42 +00:00
Sunny Goyal ad225f8dc4 Fixing recents animation not getting completed sometimes when using 3P launcher am: fcad20bad9 am: e9db94416b am: 57f9589037
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855087

Change-Id: Ie577a6548ed6a16168db0e4e46d6b4daaab2a511
2020-06-13 03:54:23 +00:00
Automerger Merge Worker c5c989c346 Merge "Fixing recents animation not getting completed sometimes when using 3P launcher am: fcad20bad9 am: ee59005a19 am: 17a9fcac80" into rvc-qpr-dev-plus-aosp 2020-06-13 03:54:21 +00:00
Sunny Goyal a3b255f169 Fixing recents animation not getting completed sometimes when using 3P launcher am: fcad20bad9 am: ee59005a19 am: 17a9fcac80
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855087

Change-Id: I554d21a91cac7a09ea2dd48beeadb57b3ed2042d
2020-06-13 03:54:16 +00:00
Sunny Goyal 48b6590680 Fixing recents animation not getting completed sometimes when using 3P launcher am: fcad20bad9 am: ee59005a19 am: 460b071595
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855087

Change-Id: I08a8bc6535804992f369c0468df225ed93572da4
2020-06-13 03:54:09 +00:00
Sunny Goyal 57f9589037 Fixing recents animation not getting completed sometimes when using 3P launcher am: fcad20bad9 am: e9db94416b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855087

Change-Id: Icdfc16830ef29f268a6cb21854dc474d69de2199
2020-06-13 03:40:07 +00:00
Sunny Goyal 17a9fcac80 Fixing recents animation not getting completed sometimes when using 3P launcher am: fcad20bad9 am: ee59005a19
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855087

Change-Id: I476a97d19bff3347ae79f3b4a8ab7da0c3fd1d1a
2020-06-13 03:39:56 +00:00
Sunny Goyal 460b071595 Fixing recents animation not getting completed sometimes when using 3P launcher am: fcad20bad9 am: ee59005a19
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855087

Change-Id: I2388ab6578f91a8a12e116de3657971a8bd3a9e3
2020-06-13 03:39:55 +00:00
Sunny Goyal d62e043be1 Fixing recents animation not getting completed sometimes when using 3P launcher am: fcad20bad9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855087

Change-Id: I90213b391bfe7eb0eb442459e23b499a36948bfb
2020-06-13 03:28:12 +00:00
Sunny Goyal e9db94416b Fixing recents animation not getting completed sometimes when using 3P launcher am: fcad20bad9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855087

Change-Id: Ife8ce507eb559f1230f3ab832d9ec2a78c863001
2020-06-13 03:27:58 +00:00
Sunny Goyal ee59005a19 Fixing recents animation not getting completed sometimes when using 3P launcher am: fcad20bad9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855087

Change-Id: Ic1e3ae2bd5d9356375bef17679ea53a6a96f7b8d
2020-06-13 03:27:57 +00:00
android-build-team Robot 90dc1bc8a6 Snap for 6586161 from c29b122c6f to sc-release
Change-Id: I9074010d07520512effe93bfd78cd698e94309de
2020-06-13 02:04:32 +00:00
android-build-team Robot acb8fbca39 Snap for 6586393 from 84dc3a45ee to rvc-release
Change-Id: I6f58d1831ac50eda82705706595f8e338cfd7492
2020-06-13 01:11:17 +00:00
Vadim Tryshev 5ed293ce65 Merge "Enable FallbackRecentsTest" into ub-launcher3-rvc-dev am: aeacb7c850
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11845343

Change-Id: I73d88c6a020be776c10933603ca9031341735f47
2020-06-13 01:04:28 +00:00
TreeHugger Robot ca3ef22e44 Merge "[Overview Actions] onBackPressed for the modal state will go to overview." into ub-launcher3-rvc-dev am: 48f600c51d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11842733

Change-Id: Ib518725530a774aa29dc0d9a80ec2bc2febaf813
2020-06-13 01:04:19 +00:00
Becky Qiu afc6b02999 [Overview Actions] Add a decelerateInterpolator for motion of select mode. am: e1fdf3e059
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855082

Change-Id: Id23f4532e8c9e9a8ca628a291d88ac4b8283caca
2020-06-13 01:04:07 +00:00
Vadim Tryshev aeacb7c850 Merge "Enable FallbackRecentsTest" into ub-launcher3-rvc-dev 2020-06-13 00:55:06 +00:00
TreeHugger Robot 48f600c51d Merge "[Overview Actions] onBackPressed for the modal state will go to overview." into ub-launcher3-rvc-dev 2020-06-13 00:52:48 +00:00
Becky Qiu e1fdf3e059 [Overview Actions] Add a decelerateInterpolator for motion of select mode.
Test: local
Bug: 157777836

Change-Id: I8cbc14c41e9046aa5993fe4add010acdd612539a
2020-06-12 17:07:42 -07:00
Becky Qiu fb40075752 [Overview Actions] onBackPressed for the modal state will go to overview.
Test: local
Bug: 157778187
Change-Id: Ie5252d39e54ca11de389dd698bfb7751fdf8f60e
2020-06-12 17:04:18 -07:00
Sunny Goyal fcad20bad9 Fixing recents animation not getting completed sometimes when using 3P launcher
Bug: 158855992
Change-Id: I2c0cb74edfea5406e79aa99d6604183e63c1f0f1
(cherry picked from commit 05179b6650)
2020-06-12 22:54:36 +00:00
TreeHugger Robot 51bada0694 Merge "Fixing recents animation not getting completed sometimes when using 3P launcher" into ub-launcher3-rvc-dev am: 690b8fb3f2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11853117

Change-Id: I44041ee32a2b8b52a8412e43053e47bd1c946796
2020-06-12 22:50:10 +00:00
TreeHugger Robot 690b8fb3f2 Merge "Fixing recents animation not getting completed sometimes when using 3P launcher" into ub-launcher3-rvc-dev 2020-06-12 22:35:40 +00:00
Vinit Nayak b5e1639fff [automerger skipped] Notify SysUi on device rotation for back gesture am: 84dc3a45ee am: 0055cbe7f3 -s ours am: a382757563 -s ours am: 08c78aea78 -s ours
am skip reason: Change-Id I33a71698411d9bc2416b6660f8dbd53233628917 with SHA-1 84dc3a45ee is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11821823

Change-Id: Id3c49a06f9af72c62a169926b1a72093f99a3a95
2020-06-12 22:20:26 +00:00
Automerger Merge Worker 78e1a97f46 [automerger skipped] Merge "Notify SysUi on device rotation for back gesture am: 84dc3a45ee am: 8829b68d50 am: ceda1b50ce" into rvc-qpr-dev-plus-aosp am: c95a513d93 -s ours
am skip reason: Change-Id I33a71698411d9bc2416b6660f8dbd53233628917 with SHA-1 84dc3a45ee is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11821823

Change-Id: I3de8a7f3a4171743006c1c5535d2e708cc0ba557
2020-06-12 22:19:39 +00:00
Vinit Nayak c29b122c6f [automerger skipped] Notify SysUi on device rotation for back gesture am: 84dc3a45ee am: 8829b68d50 am: 67c734338e am: 19640e3bc7 -s ours
am skip reason: Change-Id I33a71698411d9bc2416b6660f8dbd53233628917 with SHA-1 05cd0aedf3 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11821823

Change-Id: I8fb73f2a9b0167c4242f52482bfa3c7e4055061c
2020-06-12 22:18:37 +00:00
vadimt 01bb8125b0 Enable FallbackRecentsTest
With some temporary workarounds.

Bug: 143488140

Change-Id: Id1ed2d06fd3265a6aa7f98d2900733f580359944
2020-06-12 15:12:37 -07:00
Sunny Goyal 05179b6650 Fixing recents animation not getting completed sometimes when using 3P launcher
Bug: 158855992
Change-Id: I2c0cb74edfea5406e79aa99d6604183e63c1f0f1
2020-06-12 22:07:41 +00:00
Vinit Nayak 08c78aea78 [automerger skipped] Notify SysUi on device rotation for back gesture am: 84dc3a45ee am: 0055cbe7f3 -s ours am: a382757563 -s ours
am skip reason: Change-Id I33a71698411d9bc2416b6660f8dbd53233628917 with SHA-1 84dc3a45ee is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11821823

Change-Id: Ia56af984c1fbe720842aed7a9a49dc6c10d51144
2020-06-12 22:03:58 +00:00