Commit Graph

33301 Commits

Author SHA1 Message Date
Sunny Goyal 52b1c94b76 Fixing touches getting ignored just after swipe-up am: 1a286a189e am: c3e4d2c7ab am: aa9d7fa1ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12240767

Change-Id: I8d1efcfc2fe2e70e22b4975e94c579deb2cc77fb
2020-07-27 19:24:01 +00:00
Sunny Goyal aa9d7fa1ff Fixing touches getting ignored just after swipe-up am: 1a286a189e am: c3e4d2c7ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12240767

Change-Id: Iadf8c714a7ba74ab137c5f16cabc7100d9be32d0
2020-07-27 19:09:24 +00:00
Sunny Goyal c3e4d2c7ab Fixing touches getting ignored just after swipe-up am: 1a286a189e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12240767

Change-Id: Iabaa1f7f6320c7ccc359a41dc40ca50d2ec169a3
2020-07-27 18:55:11 +00:00
TreeHugger Robot 25b5872296 Merge "Fixing touches getting ignored just after swipe-up" into ub-launcher3-rvc-qpr-dev am: 8527620201 am: 7ed153fbb7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12212836

Change-Id: Ic4d6a37008a7e214357c995e3d37c4a4a9da2694
2020-07-27 18:04:51 +00:00
Sunny Goyal 1a286a189e Fixing touches getting ignored just after swipe-up
Moving the input proxy logic outside the recents controller, so that it
is not lied to the controller lifecycle.

> Fixing input consumer not getting registered if recentsController
  was not received until ACTION_UP
> Fixing input events being ignored after finishing recentsAnimation,
  but before handler is invalidated

Bug: 161750900
Change-Id: Ib06617caef77f18a71c5a231e781291c3a4ee57e
(cherry picked from commit ff4b142789)
2020-07-27 17:56:18 +00:00
Sunny Goyal 16e165defe Fixing touches getting ignored just after swipe-up
Moving the input proxy logic outside the recents controller, so that it
is not lied to the controller lifecycle.

> Fixing input consumer not getting registered if recentsController
  was not received until ACTION_UP
> Fixing input events being ignored after finishing recentsAnimation,
  but before handler is invalidated

Bug: 161750900
Change-Id: Ib06617caef77f18a71c5a231e781291c3a4ee57e
(cherry picked from commit ff4b142789)
2020-07-27 17:55:47 +00:00
TreeHugger Robot 7ed153fbb7 Merge "Fixing touches getting ignored just after swipe-up" into ub-launcher3-rvc-qpr-dev am: 8527620201
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12212836

Change-Id: I8b75c8a27d1185c5110ee146a2449a4e7b907fcd
2020-07-27 17:54:37 +00:00
Tracy Zhou 5db25d5787 Align live tile with the current task view in Overview when the users swipes up to dismiss
Test: manual
Bug: 160911104
Change-Id: I64b6e737cb11a9bea25b59762431d1023d2153ac
2020-07-27 10:40:23 -07:00
TreeHugger Robot 6ad91913b1 Merge "Add thiruram@ to launcher/owners list." into ub-launcher3-master 2020-07-27 17:39:29 +00:00
TreeHugger Robot 8527620201 Merge "Fixing touches getting ignored just after swipe-up" into ub-launcher3-rvc-qpr-dev 2020-07-27 17:36:41 +00:00
thiruram 83901e1d7d Add thiruram@ to launcher/owners list.
Change-Id: Ia26bf6be82d45a2e4da2377543a699d6f9eb9d90
2020-07-27 09:54:47 -07:00
thiruram 90573f0515 Logs system navigation details part of launcher snapshot logging.
Bug: 157997545
Change-Id: I18e908dc62bb790c3a77e1aacd0236a7d84e8ce5
2020-07-27 09:51:52 -07:00
vadimt f8ceabbcc1 Misc test improvements
Ignoring state events from NexusLauncher in Launcher3 tests.
Improving diags for failed app launch.

Change-Id: I3ffb49c598edef7b6698b48ba7b63e6163ef25b4
2020-07-24 17:59:50 -07:00
Tracy Zhou 0e649985e7 Move the live tile as the recent view scrolls in Overview
Also
- Add offsetY for the case that user swipes up the live tile in Overview
- Fix the relative layer to use MIN_VALUE

Bug: 160911104
Test: manual

Change-Id: I7432240763cca94abe12086868e584cf8a453763
2020-07-24 17:06:31 -07:00
Andy Wickham 17f379bf4b Adds haptics to Overview gesture in Sandbox.
Change-Id: I4b8ec88bfc051de287b1b8ac27c4b5ab9ac90bbf
2020-07-24 16:49:15 -07:00
Sunny Goyal ff4b142789 Fixing touches getting ignored just after swipe-up
Moving the input proxy logic outside the recents controller, so that it
is not lied to the controller lifecycle.

> Fixing input consumer not getting registered if recentsController
  was not received until ACTION_UP
> Fixing input events being ignored after finishing recentsAnimation,
  but before handler is invalidated

Bug: 161750900
Change-Id: Ib06617caef77f18a71c5a231e781291c3a4ee57e
2020-07-24 16:48:56 -07:00
Hyunyoung Song 72ffd8ead6 Merge "Add InsetTransitionController to device search" into ub-launcher3-master 2020-07-24 22:04:19 +00:00
Hyunyoung Song d25dabb466 Add InsetTransitionController to device search
Also removed plugin support as if both the feature flag and
the plugin is turned on, there are object/resource contention

Bug: 161594550

Change-Id: I2cb98e83c46c7e47db96b90fa8d7cb9620643221
2020-07-24 13:57:16 -07:00
TreeHugger Robot a02206e4f8 Merge "Minimal Phone Mode (part-1)" into ub-launcher3-rvc-qpr-dev am: 5484fd3e7a am: 07ab7015f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12171290

Change-Id: I4eeb9731c15b3b0d0aac32b4545675e11cc8391a
2020-07-24 18:51:37 +00:00
TreeHugger Robot 07ab7015f4 Merge "Minimal Phone Mode (part-1)" into ub-launcher3-rvc-qpr-dev am: 5484fd3e7a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12171290

Change-Id: I6b1fd31db8c70cd19d351db074bf2af8fe258e9c
2020-07-24 18:29:11 +00:00
TreeHugger Robot 5484fd3e7a Merge "Minimal Phone Mode (part-1)" into ub-launcher3-rvc-qpr-dev 2020-07-24 18:16:16 +00:00
andychou 3a8075366c Add ActivityOptions for SecondDisplayLaucher to launch activity
Currently, SecondDisplayLauncher doesn't specify ActivityOption to
launch on second display, so application will launch on main display
even the user tries to launch APP from SecondDisplayLauncher.
So need to specify ActivityOption then activity can launch on the correct
display

Bug: 162042798
Test: manual testing
Change-Id: Iceb4e01b725834983a5d01cf54350f61851ad172
2020-07-24 20:19:31 +08:00
vadimt 0bc32dcce6 Recycling already running activities
This saves time on non-restarting activities that already exist.

Change-Id: I1506e70342608d2a8d7154d25d36e28aa8cb7554
2020-07-23 20:00:37 -07:00
vadimt 4c80053950 Speed up tests by injecting input events asynchronously
This way, we can get a humble ~3% acceleration

Change-Id: I53705d457838ea41be9af9ae0851ee8d2e2c1c3f
2020-07-23 19:13:10 -07:00
TreeHugger Robot 37c01dc58a Merge "Eliminating 10-sec wait for a non-existing widget" into ub-launcher3-master 2020-07-23 23:43:05 +00:00
TreeHugger Robot cae7831764 Merge "Adding support for storing container based item list in the model" into ub-launcher3-master 2020-07-23 23:14:11 +00:00
vadimt e1c0dda778 Eliminating 10-sec wait for a non-existing widget
If we want to ensure that a widget doesn't exist, it's sufficient to
wait 100 ms

Change-Id: I9982e89e1a376678df2271954ce177a90a6a579d
2020-07-23 23:06:19 +00:00
Alex Mang 91da602e4c Merge "Add filtering of preferences in developer options" into ub-launcher3-master 2020-07-23 22:57:40 +00:00
TreeHugger Robot 20017da3f4 Merge "Fixing oav text overlap." into ub-launcher3-rvc-qpr-dev am: 6039c70261 am: 11fb39a2f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12173855

Change-Id: I5a3daf62e17a2deaf151a3cb9c6e7215f859a8a4
2020-07-23 22:55:50 +00:00
TreeHugger Robot 11fb39a2f5 Merge "Fixing oav text overlap." into ub-launcher3-rvc-qpr-dev am: 6039c70261
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12173855

Change-Id: I9155c9e8146aaa13deff6a34d7869bb4b09a0fd3
2020-07-23 22:39:19 +00:00
Sunny Goyal 28f5075eb0 Adding support for storing container based item list in the model
These items get updated automatically during various model tasks.
Also simplifying the pinned shortcut state, by calculating the
list of ppined shortcut on demand, instead of storing a refCount.

Bug: 160748731
Change-Id: I3169d293552b05b4f4d6c529397fbc761887a282
2020-07-23 15:27:50 -07:00
TreeHugger Robot 6039c70261 Merge "Fixing oav text overlap." into ub-launcher3-rvc-qpr-dev 2020-07-23 22:26:16 +00:00
TreeHugger Robot dedc797f36 [automerger skipped] Merge "Handle uiMode changes" into ub-launcher3-rvc-qpr-dev am: 6e1861104c am: 81da5a7c96 -s ours
am skip reason: Change-Id Ia83f02d18a0433c8be59d1f488e58b38476ba5ff with SHA-1 0c2b05947e is in history

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

Change-Id: Ibff57765d666df4824c03e7260b3f01c95fb3310
2020-07-23 21:40:07 +00:00
TreeHugger Robot 81da5a7c96 Merge "Handle uiMode changes" into ub-launcher3-rvc-qpr-dev am: 6e1861104c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12202453

Change-Id: Idf98b8cb8596f682986afa5097c748fd34d14689
2020-07-23 21:29:37 +00:00
TreeHugger Robot d9282b9a2c Merge "Use TouchDelegate to listen for icon view taps on RecentsView" into ub-launcher3-rvc-qpr-dev am: 9da3ccf611 am: 0a83e55dd0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12174367

Change-Id: If90aa734b918b25530881b377e78cbf5ccd69c15
2020-07-23 21:24:50 +00:00
TreeHugger Robot 6e1861104c Merge "Handle uiMode changes" into ub-launcher3-rvc-qpr-dev 2020-07-23 21:17:35 +00:00
TreeHugger Robot 0a83e55dd0 Merge "Use TouchDelegate to listen for icon view taps on RecentsView" into ub-launcher3-rvc-qpr-dev am: 9da3ccf611
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12174367

Change-Id: Ibe1eb803395f8a7c9db66a6ee0a592a8c4d5c9b7
2020-07-23 21:07:35 +00:00
Winson Chung 0ad7b172e6 Handle uiMode changes
- Launcher already dedupes if there are no theme changes

Bug: 148988542
Test: adb shell cmd uimode car yes/no, adb shell cmd uimode night yes/no
Change-Id: Ia83f02d18a0433c8be59d1f488e58b38476ba5ff
Merged-In: Ia83f02d18a0433c8be59d1f488e58b38476ba5ff
2020-07-23 21:05:31 +00:00
TreeHugger Robot 9da3ccf611 Merge "Use TouchDelegate to listen for icon view taps on RecentsView" into ub-launcher3-rvc-qpr-dev 2020-07-23 20:55:55 +00:00
alexmang 457ae09acc Add filtering of preferences in developer options
Search will recursively go into each preference group and set visibility of preferences based on title match. If a preference group (category) has no preferences, we will hide that preference group as well.

All queries and titles are sanitized by turning them to lower case and replacing underscores with spaces for convenience.

Change-Id: Ibdc689d74d0c872c92c1d523bbc0efdb9e31aecd
2020-07-23 13:33:44 -07:00
TreeHugger Robot d4046edcd2 Merge "Pass through touches in FolderIcon padding area" into ub-launcher3-rvc-qpr-dev am: 1a32f951f7 am: 18f73dc1b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12195184

Change-Id: Ia60641fdb48c054013fbc137d8ddb8e8ed290fcf
2020-07-23 20:23:42 +00:00
Vinit Nayak ccf92c6587 Use TouchDelegate to listen for icon view taps on RecentsView
Using a negative margin to move the icon view to stick out above
the task prevents that part sticking out from receiving touches.
They go directly through to RecentsView, which interprets it as a
touch to home.
Now we use a touch delegate that recents view passes touches to
before processing it directly.

Note we can't override should steal touches from children in
LauncherRecentsView because the icon view isn't actually seen
as a child of RecentsView if it's outside of the task view area.

Fixes: 159820339
Test: Touching anywhere on the icon works.
Scrolled to previous/next tasks and in different
rotations and verified tap registers correctly.

Change-Id: I4559c34b20079e06aac401e2c93ac36a74b653ea
2020-07-23 13:20:21 -07:00
TreeHugger Robot 18f73dc1b9 Merge "Pass through touches in FolderIcon padding area" into ub-launcher3-rvc-qpr-dev am: 1a32f951f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12195184

Change-Id: I48ef9fd110c2d40ed925ebc71aec06c9b1ee11f9
2020-07-23 20:11:58 +00:00
TreeHugger Robot 1a32f951f7 Merge "Pass through touches in FolderIcon padding area" into ub-launcher3-rvc-qpr-dev 2020-07-23 18:47:26 +00:00
Samuel Fufa 3c3116826b Pass through touches in FolderIcon padding area
Pass touch events happening in padding of folder icon to workspace. BubbleTextView already does this.

Bug: 161014416
Test: Manual
Change-Id: Ibfa24adb2d84efbfab36f02a2240837f03858e43
2020-07-23 11:09:20 -07:00
Hyunyoung Song 67e1e36c8d [automerger skipped] Merge "Merging from ub-launcher3-rvc-qpr-dev @ build 6690853" into rvc-qpr-dev am: aae7f2b638 am: 36b568cbb1 -s ours
am skip reason: Change-Id Ibff46b3ef7ff89accb459db323f31179adb4ef21 with SHA-1 928a421b99 is in history

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

Change-Id: I0b0cfbb7133be9b25320b07240248d3f5158e7ab
2020-07-23 04:29:23 +00:00
Hyunyoung Song 36b568cbb1 Merge "Merging from ub-launcher3-rvc-qpr-dev @ build 6690853" into rvc-qpr-dev am: aae7f2b638
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12190253

Change-Id: I5cd2a869a0d943d33c2fff554f8616dfacf7c8bc
2020-07-23 04:06:06 +00:00
Hyunyoung Song aae7f2b638 Merge "Merging from ub-launcher3-rvc-qpr-dev @ build 6690853" into rvc-qpr-dev 2020-07-23 03:47:22 +00:00
Hyunyoung Song 65b16d6db2 Merging from ub-launcher3-rvc-qpr-dev @ build 6690853
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-qpr-dev-rvc-qpr-dev_6690853.html

Change-Id: Ie86b0a2e0d82646a0c3d44a0214cbb985435320d
Merged-In: Ibff46b3ef7ff89accb459db323f31179adb4ef21
2020-07-23 03:47:06 +00:00
thiruram 5ab7171b9a [automerger skipped] Limit launcher snapshot logging once per day. am: a4661192ff am: ef7a8b4c0b -s ours
am skip reason: Change-Id Iab6b25d931b2e91ae5647e266bd68ead86c99bc6 with SHA-1 efa41c1c52 is in history

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

Change-Id: Id718cc588ca5947ef9c2c4a76a1c4722449db7cd
2020-07-23 03:43:08 +00:00