Commit Graph

28165 Commits

Author SHA1 Message Date
TreeHugger Robot 5a763db39d Merge "Clearing track-path bitmap cache when the icon shape changes" into ub-launcher3-rvc-dev 2020-05-27 21:12:51 +00:00
vadimt 835e612aee Dumping TIS state on failures
Bug: 156287114
Change-Id: Ib438aae3cc4682b1f1c958e59337c095480d910a
2020-05-27 13:48:58 -07:00
Tony Wickham f844ee9f8d Update LauncherState toString()
Change-Id: Iea3b219da546fce27480304eb3b82b4dacb907ee
2020-05-27 15:41:32 -05:00
Sunny Goyal 601f35d76a Updating swipe up on home animations am: a314d5ad58
Change-Id: I8ecea85b1358c3dc1149b3ec77141e0a8c083be0
2020-05-27 20:35:34 +00:00
Sunny Goyal 0b83e24216 Clearing track-path bitmap cache when the icon shape changes
Bug: 157123766
Change-Id: Ie7efaab55de47afff593012a906f3912aca90ce9
2020-05-27 20:14:53 +00:00
TreeHugger Robot 95b92626d3 Merge "Using TaskViewSimulator for animating task launch" into ub-launcher3-rvc-dev am: 32f6cd1116
Change-Id: Ib21ab057d5f88ccd467f100b8c8b61f9ddd25622
2020-05-27 19:54:57 +00:00
Sunny Goyal a314d5ad58 Updating swipe up on home animations
> Scaling down home activity on swipe-up from home and spring back to place on cancel
> Fading out recents on swipe-up to home, so ensure that adjecent tiles also dissapear
> Instead of controlling alpha, controlling full transform for base and home task. This allows adding custom animation for home task on swipe up.
> Removing alpha hanging for fallback activity in baseSwipeHandler. Instead controlling full transform for home activity
> Adding feature flag to use QuickstepLauncher as 3P Launcher to make development easier.

Bug: 156398988
Change-Id: I69cc59f2c9c95d15df6926ba635e7d6c251dceb6
2020-05-27 19:49:46 +00:00
TreeHugger Robot 32f6cd1116 Merge "Using TaskViewSimulator for animating task launch" into ub-launcher3-rvc-dev 2020-05-27 19:35:44 +00:00
Samuel Fufa eec3d09828 Avoid unnecessary predictor recreations.
Bug: 156778758
Test: Manual
Change-Id: I1bb53273c1976f700596b5ec34697ed4e1788e55
2020-05-27 12:33:53 -07:00
Vinit Nayak 281193e996 Move content resolver call to constructor and cache
Changing fixed rotation enabled system setting flag
should be followed by a restart of launcher for it
to take effect.

Bug: 149571513
Change-Id: I84fbb654c325076571a038604fa929984d22f254
2020-05-27 12:21:40 -07:00
TreeHugger Robot e89e9c51bc Merge "Use device insets for multiwindow, else use thumbnail insets" into ub-launcher3-rvc-dev am: 6137535005
Change-Id: Ic0ec22deb764ba882eb1739e68d76c62a7113532
2020-05-27 19:19:09 +00:00
TreeHugger Robot 896588d01a Merge "Add navigation mode diags to the system anomaly detection" into ub-launcher3-rvc-dev am: 32d76efb79
Change-Id: I6126b8dc8eae04d78e70f6e2a84cec2769dad9fb
2020-05-27 19:19:00 +00:00
TreeHugger Robot 6137535005 Merge "Use device insets for multiwindow, else use thumbnail insets" into ub-launcher3-rvc-dev 2020-05-27 19:13:50 +00:00
TreeHugger Robot 32d76efb79 Merge "Add navigation mode diags to the system anomaly detection" into ub-launcher3-rvc-dev 2020-05-27 19:08:18 +00:00
Sunny Goyal e1e3f6ef5b Using TaskViewSimulator for animating task launch
Bug: 155816922
Bug: 156398988
Change-Id: I8d64322596e9d99df49b01cb9adfbfca6d95b89b
2020-05-27 18:42:49 +00:00
Tony Wickham 7c0f259baa Use device insets for multiwindow, else use thumbnail insets
This is consistent with what we do for the right/bottom clipped
insets already, and fixes cases where the device insets don't
match the thumbnail insets (e.g. for fullscreen apps).

Bug: 157097544
Change-Id: I630bb115cab571f3439bfbe8ded5affd924f7e64
2020-05-27 13:37:52 -05:00
vadimt 3096b78914 Add navigation mode diags to the system anomaly detection
Bug: 156095088
Change-Id: I3504cc2187c4bcc6229ecbcb0da360e310eeaa9f
2020-05-27 11:20:22 -07:00
TreeHugger Robot 39594cbed4 Merge "Keep recents attached to app window on continued switching" into ub-launcher3-rvc-dev am: 37a7d2af42
Change-Id: I97f63b2fd696f45da3eadfb7a03728dabd79c60b
2020-05-27 18:11:09 +00:00
Tony Wickham 1f3ecfaf52 Merge "Revert "Use splitscreen insets for multiwindow, else use thumbnail insets"" into ub-launcher3-rvc-dev am: 11a2d58bee
Change-Id: I6f2d11eea5c9b656a2a3fa5476ec1982dd040afe
2020-05-27 18:11:03 +00:00
Tony Wickham bda0600c02 Merge "Use splitscreen insets for multiwindow, else use thumbnail insets" into ub-launcher3-rvc-dev am: abaa39b9ea
Change-Id: I31cf36e09f13fc4ccc61c86911e575bc72c9b469
2020-05-27 18:10:56 +00:00
TreeHugger Robot 37a7d2af42 Merge "Keep recents attached to app window on continued switching" into ub-launcher3-rvc-dev 2020-05-27 18:07:11 +00:00
Tony Wickham 11a2d58bee Merge "Revert "Use splitscreen insets for multiwindow, else use thumbnail insets"" into ub-launcher3-rvc-dev 2020-05-27 18:05:58 +00:00
Tony Wickham a9aa2c6bb3 Revert "Use splitscreen insets for multiwindow, else use thumbnail insets"
This reverts commit c093b25c75.

Reason for revert: seems the flake isn't flaking after this change

Change-Id: I03c003103b610fcdd174fbf820c428d337d9109b
2020-05-27 18:01:30 +00:00
Tony Wickham abaa39b9ea Merge "Use splitscreen insets for multiwindow, else use thumbnail insets" into ub-launcher3-rvc-dev 2020-05-27 17:57:04 +00:00
Hyunyoung Song a451508818 use LauncherAtom.ItemInfo.getDefaultInstance inside StatsLogManager
Bug: 153611516
Change-Id: I8531df7ee61c336c9919f5ff137bb1e113c126ea
2020-05-27 09:59:04 -07:00
android-build-team Robot e0a4231c56 Snap for 6530637 from bfcbc6d77a to mainline-release
Change-Id: I0bf475a202854de84fc8caa080853d4271a26717
2020-05-27 07:11:54 +00:00
TreeHugger Robot 48383942e3 Merge "Validate pointer index in PagedView#onMotionEvent" into ub-launcher3-rvc-dev am: cba7f50947
Change-Id: If8f86e18412fc898badbf70aec13cb653e0c82ad
2020-05-27 05:15:51 +00:00
TreeHugger Robot cba7f50947 Merge "Validate pointer index in PagedView#onMotionEvent" into ub-launcher3-rvc-dev 2020-05-27 05:03:38 +00:00
TreeHugger Robot bfcbc6d77a Merge "Add all apps education tutorial." into rvc-dev am: f71079343a
Change-Id: Ief7d53b939658cfed3fb506ba1a74b6c8a015fd2
2020-05-27 04:29:21 +00:00
TreeHugger Robot 5b441fcf42 Merge "Add all apps education tutorial." into rvc-dev am: f71079343a
Change-Id: I8a89e5523a954b6b176680057f8eb26a9e8154ee
2020-05-27 04:29:06 +00:00
TreeHugger Robot f71079343a Merge "Add all apps education tutorial." into rvc-dev 2020-05-27 04:11:41 +00:00
Ben Lin c3b0cf88d1 Don't set shelf height if we are in landscape. am: e50d7a2f54
Change-Id: I638a9ccd39ee6a6d19c04ed93043bfe31eef9707
2020-05-27 03:19:51 +00:00
Ben Lin 1919e79a85 Don't set shelf height if we are in landscape. am: e50d7a2f54
Change-Id: Ic48751322fdeb0a776f7182c87dcc0c6c15d779f
2020-05-27 03:19:27 +00:00
Vinit Nayak 93bf1fe1f0 Validate pointer index in PagedView#onMotionEvent
Fixes: 157400422
Change-Id: I556e2e05323ec7f0a47a8a8e3321b8196ee77bcc
2020-05-26 17:22:13 -07:00
Tracy Zhou eabd69a811 Merge "Permission protect GridOptionsProvider" into ub-launcher3-rvc-dev am: b1eeeafa6f
Change-Id: Ic35a2a16315ba8fb736ed42689076aefdd18edbe
2020-05-26 22:51:56 +00:00
Tracy Zhou b1eeeafa6f Merge "Permission protect GridOptionsProvider" into ub-launcher3-rvc-dev 2020-05-26 22:36:37 +00:00
Tony Wickham c093b25c75 Use splitscreen insets for multiwindow, else use thumbnail insets
This is consistent with what we do for the right/bottom clipped
insets already, and fixes cases where the device insets don't
match the thumbnail insets (e.g. for fullscreen apps).

Bug: 157097544
Change-Id: I25216fef0d804704e7c7bd84316f932767c2f110
2020-05-26 16:55:58 -05:00
TreeHugger Robot f3cfd0ccad Merge "Fix NPE when recents animation controller is null" into ub-launcher3-rvc-dev am: 0bef6c937a
Change-Id: I3ce85e6eea0bf8c0e0e274c8b45eb19fa0d3dafb
2020-05-26 19:10:04 +00:00
TreeHugger Robot 0bef6c937a Merge "Fix NPE when recents animation controller is null" into ub-launcher3-rvc-dev 2020-05-26 18:48:42 +00:00
Tony Wickham a47a8f1b1d Fix NPE when recents animation controller is null
If it's null, that means the animation was already canceled or
finished, so we don't need to finish it anyway.

Bug: 157383670
Change-Id: I9b0dde76d5756536d8d97bc3d7f13723f903a79c
2020-05-26 13:05:29 -05:00
Jon Miranda 46fd4ec625 Add all apps education tutorial.
* Added FeatureFlag.ENABLE_ALL_APPS_EDU
* When user swipes up on nav bar three times and goes to hint state
  consecutively, we show the new All Apps education tutorial.
* For now we block interaction while the animation is playing,
  and we remove the view when the animation is done.
* Future CL will leave view up until user successfully reaches All Apps state.

Bug: 151768994
Change-Id: I903e0a3914d0558950ecb8cd714d97ddc10ca06b
(cherry picked from commit 517cec5344)
2020-05-26 15:21:28 +00:00
Tracy Zhou c6f3b4d0c7 Permission protect GridOptionsProvider
Fixes: 152004429
Test: Manual
Change-Id: I2576322b68b128acf28536a5e37a9853ac9d03c3
2020-05-23 01:24:25 -07:00
TreeHugger Robot 1b777fc2c3 [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev am: 69d772633d -s ours
am skip reason: subject contains skip directive

Change-Id: Iddb074067cdfae871af93057854f47e72c48001b
2020-05-22 23:35:21 +00:00
TreeHugger Robot a5a3030619 [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev am: 667ebafdfa -s ours
am skip reason: subject contains skip directive

Change-Id: I3dc1fc9b2f4b48f4e17c7dca38237f5c194077e7
2020-05-22 23:35:08 +00:00
TreeHugger Robot 69d772633d Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev 2020-05-22 23:23:03 +00:00
TreeHugger Robot 667ebafdfa Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev 2020-05-22 23:22:07 +00:00
Bill Yi 2a5d15c182 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I0391eda3ce9c7d9b9f90de359b5cf0b0363c0d00
2020-05-22 23:09:44 +00:00
Bill Yi 5051db820b Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I37782ef5afd3cf3606bef863f14731996ae9e0c9
2020-05-22 23:09:02 +00:00
Vinit Nayak 5d835bcdaa Enable RotationWatcher when home rotation is on
Update the PagedOrientationHandler when launcher
is allowed to rotate to ensure the correct one
gets set.

Fixes: 157173248
Change-Id: Iffb9df479fcccfb0fe2bd462167242b592949f69
2020-05-21 16:13:27 -07:00
Vinit Nayak b0961acdb6 Merge "Maintain fake nav bar position in overview for landscape" into ub-launcher3-rvc-dev am: c217c72bcc
Change-Id: I7b79762b31bfc34f67a5ec738c106694e725bb1c
2020-05-21 21:02:42 +00:00