Commit Graph

34630 Commits

Author SHA1 Message Date
Automerger Merge Worker 33f64f4051 Merge "Don't set shelf height if we are in landscape. am: e50d7a2f54 am: f75d7c958f am: a9c0bbee04" into rvc-qpr-dev-plus-aosp am: 1a3c88062f
Change-Id: I87f22cac5c6ec8c285196b7dfa3cf643c1890d2b
2020-05-27 04:17:28 +00:00
Ben Lin cf6c4d1719 Don't set shelf height if we are in landscape. am: e50d7a2f54 am: f75d7c958f am: 8ad487f679 am: a00624ca72
Change-Id: Id817ff647231869eec2745baa954fd6f633ee2eb
2020-05-27 04:17:15 +00:00
TreeHugger Robot f71079343a Merge "Add all apps education tutorial." into rvc-dev 2020-05-27 04:11:41 +00:00
Ben Lin ebef324448 Don't set shelf height if we are in landscape. am: e50d7a2f54 am: c3b0cf88d1 am: 2ab32eea3d
Change-Id: I48de1046adf4b5757d10a524f46b96cfb7e95ed3
2020-05-27 04:00:48 +00:00
Automerger Merge Worker 1a3c88062f Merge "Don't set shelf height if we are in landscape. am: e50d7a2f54 am: f75d7c958f am: a9c0bbee04" into rvc-qpr-dev-plus-aosp 2020-05-27 04:00:39 +00:00
Ben Lin a00624ca72 Don't set shelf height if we are in landscape. am: e50d7a2f54 am: f75d7c958f am: 8ad487f679
Change-Id: Ida03be8a9b513204077e3c277d146b8ccff876ef
2020-05-27 04:00:31 +00:00
Ben Lin 73cbdeb127 Don't set shelf height if we are in landscape. am: e50d7a2f54 am: f75d7c958f am: a9c0bbee04
Change-Id: I918a3ea442c077872285b76b67beb0b169fbad0d
2020-05-27 04:00:31 +00:00
Ben Lin 2ab32eea3d Don't set shelf height if we are in landscape. am: e50d7a2f54 am: c3b0cf88d1
Change-Id: I0e8ded855237ac5e03f0cb80e0dc47d28480ff70
2020-05-27 03:38:52 +00:00
Ben Lin a9c0bbee04 Don't set shelf height if we are in landscape. am: e50d7a2f54 am: f75d7c958f
Change-Id: If6c10b70709435451c05d0345d38e4a032826184
2020-05-27 03:38:35 +00:00
Ben Lin 8ad487f679 Don't set shelf height if we are in landscape. am: e50d7a2f54 am: f75d7c958f
Change-Id: I245ddd026168f8d2fd7ee8bde6a7242d1e864a43
2020-05-27 03:38:20 +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 f75d7c958f Don't set shelf height if we are in landscape. am: e50d7a2f54
Change-Id: Ib7c5c785e63822614e6112482ecbcaf77e29bfb2
2020-05-27 03:19:40 +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
Vinit Nayak c217c72bcc Merge "Maintain fake nav bar position in overview for landscape" into ub-launcher3-rvc-dev 2020-05-21 20:59:25 +00:00
TreeHugger Robot 3434958c0d Merge "Adding a method checking whether Overview has tasks" into ub-launcher3-rvc-dev am: 1152e4526d
Change-Id: Ibc576da43e3d738cf811b4ae4e84c89deab5e8a7
2020-05-21 20:55:58 +00:00
TreeHugger Robot 2bf7c5114f Merge "Insert delays in dumping input state" into ub-launcher3-rvc-dev am: 9eae863216
Change-Id: I1176f367590453d87237edf6ea93fd41f8a67cdb
2020-05-21 20:55:50 +00:00
TreeHugger Robot 91dc7860cd Merge "Checking success of injectInputEvent" into ub-launcher3-rvc-dev am: bfe7b44a91
Change-Id: I3147762fcd054816e18f8dc0fca10497c0e446f1
2020-05-21 20:55:42 +00:00
TreeHugger Robot 1152e4526d Merge "Adding a method checking whether Overview has tasks" into ub-launcher3-rvc-dev 2020-05-21 20:47:31 +00:00
TreeHugger Robot 9eae863216 Merge "Insert delays in dumping input state" into ub-launcher3-rvc-dev 2020-05-21 20:39:29 +00:00
TreeHugger Robot bfe7b44a91 Merge "Checking success of injectInputEvent" into ub-launcher3-rvc-dev 2020-05-21 20:29:34 +00:00
Ben Lin e50d7a2f54 Don't set shelf height if we are in landscape.
Bug: 147155783
Test: Start PIP, Rotate launcher, stop getting height offset update
Change-Id: Ifc6c11882293228ffd19ac534ee59b1cf29d9a96
2020-05-21 13:13:27 -07:00
vadimt e238271384 Adding a method checking whether Overview has tasks
Change-Id: I9817218990c470ad7f266e336d931e2cd313535e
2020-05-21 13:11:42 -07:00
vadimt f5e98ead9d Insert delays in dumping input state
Hpoing to avoid overwhelming logcat

Bug: 156287114
Change-Id: Ia0e95ade205a2c5cd6d7a27b59c9896fb78370af
2020-05-21 12:42:32 -07:00
vadimt 623670c2e3 Checking success of injectInputEvent
Bug: 156287114
Change-Id: Id000b39a187c909475dd6dd409d14430b3654517
2020-05-21 12:32:33 -07:00
Vinit Nayak c609421f2a Maintain fake nav bar position in overview for landscape
NavBar defaults to display when quickswitch ends,
which is always portrait since home is now always
in portrait. We keep the same nav region that the
user used to swipe up to enter recents and reset once
they swipe to home.

Fixes: 156053957
Test: Swipe up from landscape app, then swipe up
from the same nav bar region to go home.

Change-Id: Ia4cf8172850b991aa5e145897622be3b2afa3779
2020-05-21 11:24:16 -07:00
Vadim Tryshev a49f9930d0 Merge "Failing with diags when UiObject2 container disappears" into ub-launcher3-rvc-dev am: 2c75d08806
Change-Id: Ie6d9e6b7555dd3bc021b11b25f3d79409161baa8
2020-05-21 18:06:26 +00:00
Vadim Tryshev 2c75d08806 Merge "Failing with diags when UiObject2 container disappears" into ub-launcher3-rvc-dev 2020-05-21 17:53:03 +00:00
android-build-team Robot 26c99fc939 Snap for 6517089 from 063267b017 to mainline-release
Change-Id: Ieb0376d91a23f03d24c1d1c61be555af59e39ea7
2020-05-21 07:13:26 +00:00
Tony Wickham c613d9fe42 Update some TouchInteractionService logs am: c7c883a880
Change-Id: Ief38dc10c14dc628abb3a620f5793aefa1f107da
2020-05-21 07:10:43 +00:00
Tony Wickham 17312c3566 Keep recents attached to app window on continued switching
- LAST_TASK now has recentsAttachedToAppWindow = true, to match
  NEW_TASK. Though this does mean there's a small chance of
  seeing recents translating in if you swipe up and back down,
  this is preferable to seeing recents translate away if you
  swipe right and back left in two consecutive gestures.
- Until passing the touch slop for a new gesture, keep recents
  attached to the app window. This avoids cases where you
  could have recents view translate away mid-gesture, such as
  in the following case: swipe from A to B, swipe from B back
  to A, touch down during the transition back to A. Before this
  change, you would see recents translate away; with this
  change, recents instead stays in place until we get another
  signal indicating it should detach, such as swiping to home.

Bug: 157153404
Change-Id: I63a3a8b988af1aac5177f101b0b75e73e56b1ceb
2020-05-21 00:55:54 -05:00
android-build-team Robot 487b818346 Snap for 6516174 from 41dc164d11 to rvc-release
Change-Id: I3456ca36b4a954d3d3bc37b96ddf12c8452cde52
2020-05-21 01:06:32 +00:00
Sreyas 1e2457743b Logging to debug Overview Actions not working.
Change-Id: Ic5571ce0c02296415f24413403cbdf62fa9b4594
2020-05-20 17:53:48 -07:00
Automerger Merge Worker 49b9207af5 Merge "Merging from ub-launcher3-rvc-dev @ build 6511067 am: 41dc164d11 am: 3ec5c4970c" into rvc-d1-dev-plus-aosp am: 7c47583cc4 am: 35185d7f3b
Change-Id: I9f03b716b8d93fe8672d4f153034593abd47c020
2020-05-20 22:16:53 +00:00