Commit Graph

33301 Commits

Author SHA1 Message Date
vadimt 94b018c8ca Temporarily using magic constant to avoid closing all apps by scrolling
am: a3c0a082f9

Change-Id: I73e82ceb5f2087383945b5def49c7394caddb3ea
2019-05-02 19:45:03 -07:00
Vadim Tryshev a59f928e13 Merge "Disabling testPredictionExistsInAllApps" into ub-launcher3-qt-dev
am: 7e39a5fe67

Change-Id: I35fc586ff4d9b3e43412715dea6a4395a07ddb64
2019-05-02 18:39:52 -07:00
vadimt a3c0a082f9 Temporarily using magic constant to avoid closing all apps by scrolling
Change-Id: Ic99c8ad85525e37563b3f1debb125073055ac2f0
2019-05-02 18:38:57 -07:00
Vadim Tryshev 7e39a5fe67 Merge "Disabling testPredictionExistsInAllApps" into ub-launcher3-qt-dev 2019-05-03 01:01:27 +00:00
vadimt c655d7a52d Disabling testPredictionExistsInAllApps
It fails in the lab, and locally, when being run as a part of the whole
test suite.

Bug: 131772711
Change-Id: Ida5f384eb7115303e1315928822566150e1d852c
2019-05-02 17:39:22 -07:00
Vadim Tryshev e663024025 Merge "Fixing jank in folder animation." into ub-launcher3-qt-dev
am: 23bd90c442

Change-Id: If196041ecc69d1b2c3d54cf7847742bcb385b45c
2019-05-02 17:07:22 -07:00
Vadim Tryshev 3daaa79629 Merge "Enabling some tests that seem to pass locally" into ub-launcher3-qt-dev
am: a0739a9763

Change-Id: Id5724e3afe7034e5a280c6fe04e0a5d053711913
2019-05-02 16:56:59 -07:00
Tony Wickham b50923ae29 Merge "Anti-alias TaskThumbnailView" into ub-launcher3-qt-dev
am: 4b52a0a1da

Change-Id: I81bda152c7c4d611a5b49dce0500954ff5bbd759
2019-05-02 16:56:26 -07:00
Vadim Tryshev 23bd90c442 Merge "Fixing jank in folder animation." into ub-launcher3-qt-dev 2019-05-02 23:53:14 +00:00
Vadim Tryshev a0739a9763 Merge "Enabling some tests that seem to pass locally" into ub-launcher3-qt-dev 2019-05-02 23:35:48 +00:00
Sunny Goyal 4cd79876ac Adding support for overriding hotseat Widget
Bug: 131360075
Change-Id: I94151cb2987d7decea283790ab9e87cb4627d40c
2019-05-02 16:30:36 -07:00
vadimt 33cf050852 Enabling some tests that seem to pass locally
Bug: 131116002
Change-Id: Idd158b3e55fb0591508aa1498e9f37c40091af70
2019-05-02 16:21:55 -07:00
TreeHugger Robot 4b52a0a1da Merge "Anti-alias TaskThumbnailView" into ub-launcher3-qt-dev 2019-05-02 23:19:08 +00:00
Vadim Tryshev 21df0b90de Merge "Enabling portrait widgets tests without converting to TAPL" into ub-launcher3-qt-dev
am: 479c3d445e

Change-Id: I85d0b660c6a87add165f0223781c2c8b23f18a74
2019-05-02 16:08:08 -07:00
Tony Wickham 51d7948fcd Anti-alias TaskThumbnailView
The aliasing is more noticeable now that we have rounded corners

Change-Id: I32ab82d1c0be55ef7b60813a13c07913cdd201b5
2019-05-02 16:03:33 -07:00
Vadim Tryshev 479c3d445e Merge "Enabling portrait widgets tests without converting to TAPL" into ub-launcher3-qt-dev 2019-05-02 23:02:04 +00:00
Jonathan Miranda 591c22b3c3 Merge "Use original BubbleTextView icon for legacy stamped forced adaptive icons." into ub-launcher3-qt-dev
am: a34072b76b

Change-Id: I07744e3d42161236da270e29d88825ff50565f1b
2019-05-02 15:42:01 -07:00
vadimt 04f356fe17 Fixing jank in folder animation.
This continues ag/6410337

Bug: 69236787
Test: Manual
Change-Id: Iac9f7ab21bf3741846b9721d4c8235e8fc49f7fb
2019-05-02 15:40:18 -07:00
vadimt 0b927428d6 Enabling portrait widgets tests without converting to TAPL
Bug: 131116002
Change-Id: I61e3277d4ff7aec12c8e532ce8ed68d8cd2032e9
2019-05-02 15:18:01 -07:00
Jonathan Miranda a34072b76b Merge "Use original BubbleTextView icon for legacy stamped forced adaptive icons." into ub-launcher3-qt-dev 2019-05-02 22:15:45 +00:00
Tony Wickham 398b7048ad Merge "Don't draw task insets or corners in multi window mode" into ub-launcher3-qt-dev
am: 06fbb5ec8f

Change-Id: Icf0925118fcd736bc506184e36d04c7ebecd6819
2019-05-02 14:12:35 -07:00
Kevin 14879827e3 Merge "Check orientation changes on task item attaching" into ub-launcher3-qt-dev
am: 4ec8209c38

Change-Id: I52307db25cf82f53f8407d0b783888819bcd16d7
2019-05-02 14:07:35 -07:00
Tony Wickham 06fbb5ec8f Merge "Don't draw task insets or corners in multi window mode" into ub-launcher3-qt-dev 2019-05-02 21:03:00 +00:00
Kevin 096a52cac0 Merge "Fix bug where we left recents right after entering" into ub-launcher3-qt-dev
am: b0d9ef6cdc

Change-Id: I0d120b8bf32a19d10c559bb1d3816ffad0337172
2019-05-02 14:02:36 -07:00
TreeHugger Robot 4ec8209c38 Merge "Check orientation changes on task item attaching" into ub-launcher3-qt-dev 2019-05-02 20:56:28 +00:00
TreeHugger Robot b0d9ef6cdc Merge "Fix bug where we left recents right after entering" into ub-launcher3-qt-dev 2019-05-02 20:50:03 +00:00
Kevin 1350406e07 Merge "Add scrim under status bar and above thumbnails." into ub-launcher3-qt-dev
am: 79be2caf1d

Change-Id: I48b071621a90285507e7893f3d08aa52120b7dee
2019-05-02 13:47:29 -07:00
TreeHugger Robot 79be2caf1d Merge "Add scrim under status bar and above thumbnails." into ub-launcher3-qt-dev 2019-05-02 20:41:15 +00:00
Kevin b731c07e04 Check orientation changes on task item attaching
onConfigurationChanged is only passed down to views that are currently
attached. Naturally, a recycler view has some views in its pool that are
not attached and thus do not get the call when the orientation changes.
When this happens and the view is then attached later, it can be in an
incorrect orientation.

To fix this, we save the current orientation the task item is using and
check on attaching if it's still the same as the orientation the device
is in. If it isn't we then run the orientation change logic.

Bug: 131848689
Fix: 131848689
Test: Change orientation with some views not attached, see that they are
correct orientation when attached
Change-Id: I3dec501c332338444e321b4a50876c7840a5bc6e
2019-05-02 13:40:18 -07:00
Sunny Goyal 1672cb68ba Merge "Adding support for blocking gesture nav on a particular activity" into ub-launcher3-qt-dev
am: 6a2c585073

Change-Id: Ifdc9d4bf5ab149c246da3cb7fd15d5011fe834d8
2019-05-02 13:22:28 -07:00
TreeHugger Robot 6a2c585073 Merge "Adding support for blocking gesture nav on a particular activity" into ub-launcher3-qt-dev 2019-05-02 20:15:49 +00:00
Sunny Goyal 680d2d0949 Merge "Updating the quickswitch direction in SEASCAPE" into ub-launcher3-qt-dev
am: e414c65aab

Change-Id: I9c23128460118b1d89502498c492a3a460abe532
2019-05-02 13:14:22 -07:00
Sunny Goyal 69300227c4 Adding support for blocking gesture nav on a particular activity
Bug: 129796627
Change-Id: I939598f62924fb113e913e0309247d8a2088bf8a
2019-05-02 13:02:22 -07:00
Sunny Goyal e414c65aab Merge "Updating the quickswitch direction in SEASCAPE" into ub-launcher3-qt-dev 2019-05-02 19:53:16 +00:00
Tony Wickham 54acd8a29a Don't draw task insets or corners in multi window mode
Test (all in multi window and non-multi window):
- Quick switch from home screen
- Quick switch from an app
- Swipe up from an app (slowly)
- Swipe down on a task (slowly)

Bug: 131689686
Change-Id: I69bf6dd1a34904cdf5ec7febea8f858012e2a0ac
2019-05-02 12:31:02 -07:00
Sunny Goyal 1f2bb9d0b7 Updating the quickswitch direction in SEASCAPE
Change-Id: I9b4ff52971a70e2eae0567c2430916b0deaebd32
2019-05-02 12:11:40 -07:00
Kevin 990e7d4593 Fix bug where we left recents right after entering
There was an issue where tapping recents while there were no tasks and
we first launched would not actually go to recents. This was because we
had the leave recents call tightly coupled with showing the empty view.
When the user first goes to recents and no task is available, we animate
to the empty view. However, this also causes us to leave the view even
though nothing happened and it results in the user leaving right after
enterring.

Instead, we should couple the leaving logic with the actual action,
removing the task.

Bug: 131708240
Fix: 131708240
Test: Go to recents while empty, goes on first tap now
Test: Ensured swipe to remove => leave recents logic still works
Change-Id: Ifff6d051d957838c3cfae200a2a8ebb316b22965
2019-05-02 12:09:26 -07:00
Kevin e659758f17 Add scrim under status bar and above thumbnails.
For Recents Go, the thumbnails actually go directly under the status bar
text, so we should ensure that there is some scrim to ensure it's always
readable. We do this by adding a foreground drawable scrim to the
activity's root view.

Since this root view is used in other Launcher states, Launcher has to
toggle this on and off when going/leaving recents. When this view is
just being used for recents as a stand-alone, however, (i.e. when the
user has a different default launcher), it's fine to set this once at
the beginning since nothing else uses the root view.

Bug: 131834685
Fix: 131834685
Test: When quickstep is the default, go to recents and back. Status bar
is readable. Scrim does not animate when going to and from recents.
Test: When quickstep is not the default, scrim shows up fine
Change-Id: I5d88a1fd873860887b3141e1ec0ee999f59ccfad
2019-05-02 11:46:32 -07:00
Kevin 3de7e154ce Merge "Anti-alias thumbnail corners to look smoother" into ub-launcher3-qt-dev
am: a51d6422c2

Change-Id: I43ab0936a442b157e59a14cbd48425c5c4be1c52
2019-05-02 11:42:30 -07:00
TreeHugger Robot a51d6422c2 Merge "Anti-alias thumbnail corners to look smoother" into ub-launcher3-qt-dev 2019-05-02 18:35:10 +00:00
Tony Wickham 5e3ba8d36c Merge changes I705b7a65,I98a2e71a into ub-launcher3-qt-dev
am: da9cf0f66b

Change-Id: I38f22c8c5d704b9e45174d63a1e2057c5c04e835
2019-05-02 11:32:33 -07:00
Sunny Goyal ca305cd909 Initial changes to creating a fake landscape Launcher UI
am: ae6e318711

Change-Id: If85d50eb4734d4b65e6b62ebf1254e750b4589ce
2019-05-02 11:27:17 -07:00
Tony Wickham da9cf0f66b Merge changes I705b7a65,I98a2e71a into ub-launcher3-qt-dev
* changes:
  Allow touches on launcher while animating to home
  End window animation to home when handler invalidated
2019-05-02 18:25:30 +00:00
Kevin 70aa79ffa1 Anti-alias thumbnail corners to look smoother
Thumbnail corners should be anti-aliased so that they look smoother and
less rough.

Bug: 131779031
Test: Manual, go to recents and see corners
Change-Id: I49a299671ec37f56b6eebe2dd2eb71790e8cb2b4
2019-05-02 11:14:01 -07:00
Sunny Goyal ae6e318711 Initial changes to creating a fake landscape Launcher UI
Workspace and hotseat are drawn in rotated UI giving the impression that the
device is in Portrait, even though it is in landscape

Bug: 131360075
Change-Id: I29c4068af25fd4dcf7039b9a45886e864a137977
2019-05-02 10:59:28 -07:00
Jon Miranda 27a5666687 Merge "Remove shortcuts/deepshortcuts as targets for swipe up to icon animation." into ub-launcher3-qt-dev
am: c2803ec5b2

Change-Id: I766dc2cd9dfb93062661245a92e0ba223893bd21
2019-05-02 10:19:10 -07:00
TreeHugger Robot c2803ec5b2 Merge "Remove shortcuts/deepshortcuts as targets for swipe up to icon animation." into ub-launcher3-qt-dev 2019-05-02 17:02:03 +00:00
Tony f439cc3842 Merge "Exclude TaskViews from system gestures" into ub-launcher3-qt-dev
am: 36abdcbc10

Change-Id: I9be437974871324c13249ac6761047f50b193ddd
2019-05-02 09:48:58 -07:00
TreeHugger Robot 36abdcbc10 Merge "Exclude TaskViews from system gestures" into ub-launcher3-qt-dev 2019-05-02 16:35:27 +00:00
Tony f1d8260e2d Exclude TaskViews from system gestures
Test:
- Enter overview
- Swipe from right edge (no TaskView) goes back
- Swipe from left edge on top of TaskView scrolls to it
- Now swipe from either edge scrolls
- Swipe outside carousel goes back

Bug: 129297464
Change-Id: I0abd444a6e8d8daf79a824c94bdd05c01dfe19cb
2019-05-02 09:23:06 -07:00