Commit Graph

19642 Commits

Author SHA1 Message Date
Bill Yi f26bcb1967 [automerger skipped] Import translations. DO NOT MERGE
am: 7af5bede6d -s ours
am skip reason: subject contains skip directive

Change-Id: I102e589b1187deffc7a9dc809f8f089084fc9ebe
2019-07-26 14:36:38 -07:00
Bill Yi f3dc2c8699 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ia9fb9315da49fef9d6aa8fa5b5da275f2fef9613
2019-07-26 11:30:46 -07:00
Bill Yi 7af5bede6d Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I5a9ea4a6c986b63a0490eef56f829297050a9e6a
2019-07-26 11:26:35 -07:00
Winson Chung 1d3d19f2e1 Merge "Fix NPE in service dump" into ub-launcher3-qt-r1-dev 2019-07-26 16:46:35 +00:00
Winson Chung 0ef10a458d Skip tests for overlays that don't exist on device
Bug: 138401738
Bug: 138227387
Change-Id: If661fd342e1382915485bccdf6ae2c9e77a92bc4
2019-07-26 00:09:43 +00:00
vadimt f88d0b5a8a More diags in TouchInteractionService
Bug: 138251824
Change-Id: I0909a2c85b1b2bdd8b67da59c978d6a3bbb58ee5
2019-07-25 16:38:39 -07:00
TreeHugger Robot 3bbb20262b Merge "Fix incorrect task index bounds" into ub-launcher3-qt-r1-dev 2019-07-25 23:17:21 +00:00
Vadim Tryshev 1b0445dfa4 Merge "Tuning system health diags" into ub-launcher3-qt-r1-dev 2019-07-25 22:30:23 +00:00
Winson Chung 5089140cda Fix NPE in service dump
Bug: 138144992
Change-Id: I608ea209b04fce13a63190ec424849dc909a6a9a
2019-07-25 15:22:47 -07:00
vadimt 98193241c3 Tuning system health diags
Change-Id: Ib437c07e7e6e766621af435f75198b55dafd13c4
2019-07-25 15:15:30 -07:00
TreeHugger Robot 2cccb134a4 Merge "Add several missing swipe logging Enable swipe down to open noti shade from landscape" into ub-launcher3-qt-r1-dev 2019-07-25 21:55:16 +00:00
Vadim Tryshev a864511293 Merge "Revert "Reenabling testPressHomeOnAllAppsContextMenu"" into ub-launcher3-qt-r1-dev 2019-07-25 21:51:51 +00:00
Vadim Tryshev 004a5fe6c5 Revert "Reenabling testPressHomeOnAllAppsContextMenu"
This reverts commit 86f5da2d8f.

Reason for revert: Test fails in 2-button mode

Change-Id: I20163a658f731cf6ef27ce84f5f7c06919b7b9cd
2019-07-25 21:51:10 +00:00
Hyunyoung Song 2e3420febe Merge "Folder text should show dark highlight when longpressed" into ub-launcher3-qt-r1-dev 2019-07-25 20:46:57 +00:00
James O'Leary 93dceb8a48 Merge "Fix QSB becoming invisible" into ub-launcher3-qt-r1-dev 2019-07-25 20:41:34 +00:00
Hyunyoung Song e299a45944 Add several missing swipe logging
Enable swipe down to open noti shade from landscape

Bug: 137137090
Bug: 137954767
Bug: 134181439

Change-Id: I47b4d17c9ae0586565fce101eb478e33ed8f7e3d
2019-07-25 13:18:48 -07:00
Vadim Tryshev 2870df0776 Merge "NavigationModeSwitchRule: log exception before 'finally'" into ub-launcher3-qt-r1-dev 2019-07-25 19:47:42 +00:00
Tony Wickham 2b365ae7f0 Fix incorrect task index bounds
Should have been using min, not max. Added lower bound for good measure.

Bug: 138025252
Change-Id: Icd8c7d62dca7605fe63e83602e4c9fceb91f68a6
2019-07-25 12:27:29 -07:00
Vadim Tryshev f0cc40f8b0 Merge "Reenabling testPressHomeOnAllAppsContextMenu" into ub-launcher3-qt-r1-dev 2019-07-25 19:17:50 +00:00
vadimt 7593dc995b NavigationModeSwitchRule: log exception before 'finally'
Change-Id: I158105da467e2759fec6fa5d8acd582b2e95f7c5
2019-07-25 12:16:31 -07:00
vadimt 86f5da2d8f Reenabling testPressHomeOnAllAppsContextMenu
Bug: 134074554
Change-Id: Icd23e2dcafab091e5406e84bb827bfc7177832ff
2019-07-25 12:06:32 -07:00
James O'Leary 74ece6b021 Fix QSB becoming invisible
This could not be reproduced until I removed a line that wouldn't call
onAssistantVisiblityChanged if the argument was the same value as the
argument as the previous call.

After that, the bug became readily reproducible. I traced through
Launcher till I found that FallbackActivityControllerHelper
.onAssistantVisibilityChanged was being called while the screen was
locked, proving that onAssistantVisiblityChanged was _not_ reaching
launcher.

Test: Verify bug no longer reproduces.
Bug: 134981174
Bug: 135247753
Bug: 135572849
Bug: 135733393
Bug: 136386749
Bug: 136776987
Bug: 137534772
Bug: 137764419

Change-Id: Ib5e8df3b5030a77c5df351a1fcd993db6bd602fc
2019-07-25 10:22:02 -04:00
Hyunyoung Song 0832d47781 Folder text should show dark highlight when longpressed
Broken only on dark theme + super bright wallpaper
Bug: 138245847

Change-Id: Ib8627ebd49ac2b31bbd747c15ae6b55eb22efffa
2019-07-24 17:20:18 -07:00
Tony Wickham cfbdb91a7f Merge "Distinguish mDragHandleProgress from mMidProgress" into ub-launcher3-qt-r1-dev 2019-07-24 19:39:48 +00:00
TreeHugger Robot b7094fcf36 Merge "Using the first frame delay based on the display refresh rate instead of hardcoding it to 16ms" into ub-launcher3-qt-r1-dev 2019-07-24 19:32:17 +00:00
Sunny Goyal 4e6c45bcd3 Using the first frame delay based on the display refresh rate instead of
hardcoding it to 16ms

> Creating a utility class for caching display property changes

Bug: 128940249
Change-Id: I6f9a214548de65bd1c8530508d665ee88312da4a
2019-07-24 10:12:37 -07:00
Vadim Tryshev 7b0520afe4 Merge "Checking Launcher internal integrity from tests" into ub-launcher3-qt-r1-dev 2019-07-24 01:30:06 +00:00
vadimt 0dd1c782f0 Checking Launcher internal integrity from tests
In particular, we check that the stable Launcher state equals its
current state. This can help detect Launcher being in a corrupted state
as in b/133867119.

The check gets called by tests when the Launcher is not transitioning
from state to state.

Bug: 137307838
Change-Id: I3d36edff35e42d14be6b9a52351bd6f709be75e8
2019-07-23 18:07:25 -07:00
Anna Wasewicz 064cba4560 Changing ENABLE_HINTS_IN_OVERVIEW flag to be true in qt-r1-dev. It
should be false in qt-dev and true in qt-r1-dev.

Bug: 138252347
Change-Id: If9de47ef937ecb3da9c8d43eea8ad4b6e6885582
2019-07-23 17:34:34 -07:00
Winson Chung 0727d59576 Merge "Fix regression in assistant window handling" into ub-launcher3-qt-r1-dev 2019-07-24 00:12:28 +00:00
Tony Wickham b2e6a77b0d Merge "Set FastBitmapDrawable scale=1 before drawing it in DragView" into ub-launcher3-qt-r1-dev 2019-07-24 00:07:18 +00:00
TreeHugger Robot 8578309f1b Merge "Adding debug tracing" into ub-launcher3-qt-r1-dev 2019-07-24 00:01:25 +00:00
Tony Wickham fbd77c48cc Distinguish mDragHandleProgress from mMidProgress
mMidProgress is intended to be the point at which we reach Overview when
swiping up and thus start scrimming it as All Apps shows above it. For
that reason, mMidProgress needs to match OverviewState's progress. In
contrast, the drag handle (accessibility arrow) can move up sooner to
avoid overlapping with the QSB; for this, we added mDragHandleProgress.

Bug: 136800511
Change-Id: I2825ff798707530420855257350e492b4b9b77dc
2019-07-23 16:58:45 -07:00
vadimt cd7b00853b Adding debug tracing
Bug: 138251824
Change-Id: Ibe3de964aeacbf83fd46cc53fda7d15c9401fe4d
2019-07-23 16:49:48 -07:00
Winson Chung 48ba8c864c Fix regression in assistant window handling
- Skip the assistant as the running task when handling swipe up
- Also ensure that we fall into the overview input consumer if we are
  swiping it from the assistant over home
- Skip accounting for the scroll offset when there is no running task

Bug: 136282913
Change-Id: I28e45e407702d6d6aebaa0232cd96ccb10047644
2019-07-23 16:25:46 -07:00
Vadim Tryshev 068f4bde88 Merge "TAPL: adding 1 to gesture margins to avoid accidentally triggering back" into ub-launcher3-qt-r1-dev 2019-07-23 23:17:08 +00:00
Zak Cohen 87477f5996 Merge "TaskView - add a getter for the bitmap data." into ub-launcher3-qt-r1-dev 2019-07-23 22:51:28 +00:00
vadimt a505381980 TAPL: adding 1 to gesture margins to avoid accidentally triggering back
Change-Id: I7152d60dffc2085313dc1466693b599e4efe0394
2019-07-23 15:48:02 -07:00
vadimt 34828b1942 Improving "Add automatically" recognition
Bug: 138152531
Change-Id: I204233f06a80d2d17b24dd9622c7a2152b1303a0
2019-07-23 13:54:05 -07:00
Tony Wickham d418f3c3fa Set FastBitmapDrawable scale=1 before drawing it in DragView
When we draw the icon to the DragView, we draw it
with the current scale, which is > 1 when animating
the icon down. Instead, we should always draw the
icon with scale 1 since the DragView itself is scaled.

Bug: 138236583
Change-Id: I6bca5cf28c54d58476240e0e68900a8f08ffe60b
2019-07-23 13:48:08 -07:00
vadimt 44515f42c0 Allowing both normal-case and uppercase versions of widget prompt
The prompt is "Add automatically"

Bug: 138152531
Change-Id: I5f1a15563e1e11768579711108a28070b72b4454
2019-07-23 12:41:13 -07:00
Vadim Tryshev 2f0fdd6a7f Merge "Logging start and end of linear gesture" into ub-launcher3-qt-r1-dev 2019-07-23 19:26:54 +00:00
vadimt 20aa2e4f51 Logging start and end of linear gesture
Change-Id: Ie0756c89e3871b3f4e12849ef52c44f84a5ceeee
2019-07-22 16:54:29 -07:00
Tony Wickham b6841ac630 Revert the changes that prevented touch on RecentsView during animation
The original bug that was solving seems to be fixed by other changes,
and this allows users to scroll, dismiss, etc on recent tasks before
fully reaching overview from an app.

Bug: 137487381
Change-Id: I28a708811bba3ce739ce261f19eb29558d8f0e7d
2019-07-22 12:39:59 -07:00
Tony Wickham 3fca6aaec2 Finish recents animation when touching during animation to recents
This regressed in ag/8542000, where we cancel the animation instead of
ending it. We should only cancel when going to home; in other cases, we
should still call end().

Bug: 137487381
Change-Id: I093954908c3ac747ec3132aa700c8be2f927631a
2019-07-19 16:53:00 -07:00
Zak Cohen bc4d213535 TaskView - add a getter for the bitmap data.
This allows other components to get it directly from the view, rather
than retaining their own copy.

Bug: 137129923
Tested: Manual

Change-Id: Ibab307517c31cd3cb59b4d77ff390fd97546e86d
2019-07-19 15:14:53 -07:00
Vadim Tryshev 3ab3c768f5 Merge "Logging original exception in PortraitLandscapeRunner" into ub-launcher3-qt-r1-dev 2019-07-19 19:25:46 +00:00
vadimt 21cd128141 Logging original exception in PortraitLandscapeRunner
Change-Id: I672e563df45f1f0dcdda5b1f863919f0150e73e6
2019-07-19 12:12:49 -07:00
Vadim Tryshev a7b3de9e45 Merge "Improving system health diags" into ub-launcher3-qt-r1-dev 2019-07-19 17:59:14 +00:00
vadimt 76d2a6fcc3 Improving system health diags
Change-Id: I207c5b9c9ad9e99646419b7a4bd77b59a067f26d
2019-07-19 10:40:25 -07:00