Commit Graph

34630 Commits

Author SHA1 Message Date
Tony 92e6c93db7 Merge "Add some floating views that should hide back button" into ub-launcher3-qt-dev
am: 952fdb3e70

Change-Id: Ib2fd30c5751d5c57713be470f5a6d0cd9b0d2b88
2019-05-13 10:22:39 -07:00
Jon Miranda 615694e4c2 Merge "Force hide notification dot until fade animation is complete." into ub-launcher3-qt-dev
am: 009f0102b9

Change-Id: Ieb0f8a256a459e404f32bcf17ec0db9b2244391d
2019-05-13 10:22:13 -07:00
TreeHugger Robot 952fdb3e70 Merge "Add some floating views that should hide back button" into ub-launcher3-qt-dev 2019-05-13 17:19:33 +00:00
TreeHugger Robot 009f0102b9 Merge "Force hide notification dot until fade animation is complete." into ub-launcher3-qt-dev 2019-05-13 17:16:55 +00:00
Hyunyoung Song b1ec2e6e4a Merge "Revert "Use new not-deprecated builder constructors for AppTarget"" into ub-launcher3-master 2019-05-13 17:08:36 +00:00
Hyunyoung Song 35885b3ca4 Revert "Implement scrim method"
This reverts commit 904c429b99.

Bug: 130451254
Test: manual

Reason for revert: found a better way to extract scrim colors without going through OverviewProxy

Change-Id: I435b7b20f87fbf2fc4e6b7415b981ce2fa4f8eab
2019-05-13 16:54:13 +00:00
Kevin 001466d52a Merge "Add bottom margin to recents Go again" into ub-launcher3-qt-dev
am: 5ffdc9c625

Change-Id: I6d5a55cacf8960d33dc34e9dee736fc8b8ba347d
2019-05-13 09:20:03 -07:00
Tony f941f8493d Add some floating views that should hide back button
Change-Id: I5c8b7803d2ab8347d11786d84128f6f431b4cbfc
2019-05-13 11:15:54 -05:00
TreeHugger Robot 5ffdc9c625 Merge "Add bottom margin to recents Go again" into ub-launcher3-qt-dev 2019-05-13 16:10:29 +00:00
Hyunyoung Song b7f227505e Revert "Implement scrim method"
am: 2aa9647321

Change-Id: Ic78eef65b46c5eeae4a16b2eb5481c326cd248e4
2019-05-13 02:16:16 -07:00
Perumaal S 64941fd9c6 Add proactive hints container
This replaces all other chips containers and causes minimal
layout overhead: It is strictly within the task itself and
causes zero jank or space issues.

Screenshots:
https://drive.google.com/corp/drive/folders/1-3ZNCJtWc9_cgmP1nNd8U1yvpCr6GGoq
Test: manual
Change-Id: I5e22a34c4dc1ac3e73c4d5c913befc2360cb388e
2019-05-12 14:56:25 -07:00
Jon Miranda 5bbc3b7054 Force hide notification dot until fade animation is complete.
When the animation is complete, the notification dot animates in.

Bug: 123900446
Change-Id: Ie98342f2945ac4e42fb810b4334ef03a734ebef2
2019-05-12 18:19:30 +00:00
android-build-team Robot b45aff330a Snap for 5558634 from 985cb33be4 to rvc-release
Change-Id: Iac7bf18981c5ba06de705864b293f243c2249b29
2019-05-11 23:12:25 +00:00
android-build-team Robot e9ac1ebd43 Snap for 5558509 from 904c429b99 to qt-release
Change-Id: Iab200b54d78016ded3762cb33dd5862252ec2853
2019-05-11 23:06:47 +00:00
Hyunyoung Song 91cca54937 Revert "Use new not-deprecated builder constructors for AppTarget"
This reverts commit 426d3650ae.

Reason for revert: the revert CL can be cp'ed to ub-launcher3-master to fix the build breakage until new sdk drop happens on master.

Change-Id: I59dcbb20fc9b700623d72ba047a471745dfac847
2019-05-11 09:31:25 +00:00
Hyunyoung Song 2aa9647321 Revert "Implement scrim method"
This reverts commit d849ef084c.

Reason for revert: not needed

I was too eager to merge this CL. It turns out all I need is these
three constants and doesn't actually need the aidl change.

public static final int MAIN_COLOR_LIGHT = 0xffdadce0;
public static final int MAIN_COLOR_DARK = 0xff202124;
public static final int MAIN_COLOR_REGULAR = 0xff000000;

Change-Id: Iafd539a06455ba0878a6d3750f3c7194f8919fbf
2019-05-11 07:50:34 +00:00
Lucas Dupin 596d93f36c Implement scrim method
am: d849ef084c

Change-Id: Ie74fc91eabe58b89e0d02e281b788d39ba52a5bd
2019-05-10 23:56:53 -07:00
Lucas Dupin 985cb33be4 Implement scrim method am: 904c429b99
am: 3ec3cf9c40

Change-Id: Ib40153c39db2889bc5c171ac296760f528516070
2019-05-10 23:03:12 -07:00
Lucas Dupin d849ef084c Implement scrim method
Bug: 130451254
Test: make
Change-Id: Ifd66f9e53dd86d21fe66e4617cc4b209fecd7328
(cherry picked from commit 904c429b99)
2019-05-11 05:29:39 +00:00
Kevin d4302629d7 Merge "Add task launch logging to Recents Go" into ub-launcher3-qt-dev
am: 3ab2ada712

Change-Id: I58b954e9e96c1fb16ffce984feb24c8011eae231
2019-05-10 19:34:58 -07:00
TreeHugger Robot 3ab2ada712 Merge "Add task launch logging to Recents Go" into ub-launcher3-qt-dev 2019-05-11 02:11:02 +00:00
George Hodulik f2695899f3 Merge "Use new not-deprecated builder constructors for AppTarget" into ub-launcher3-qt-dev
am: 7d7c3c6aff

Change-Id: I6078b3c1c1d679a9b7ca936d92ee91f521705786
2019-05-10 17:40:38 -07:00
Vadim Tryshev db18f2f2c3 Merge "TAPL: avoiding negative final coordinate of swipe-to-all apps" into ub-launcher3-qt-dev
am: 55042c5bfe

Change-Id: Ie3545614f960710ce37067d1b39eacf8728bd5fd
2019-05-10 17:25:36 -07:00
TreeHugger Robot 7d7c3c6aff Merge "Use new not-deprecated builder constructors for AppTarget" into ub-launcher3-qt-dev 2019-05-11 00:24:15 +00:00
George Hodulik 426d3650ae Use new not-deprecated builder constructors for AppTarget
Bug: 132458790
Test: Builds now
Change-Id: I20109d868d2ddd4434bc7b2e812219ec853161d8
2019-05-10 17:11:15 -07:00
Vadim Tryshev 55042c5bfe Merge "TAPL: avoiding negative final coordinate of swipe-to-all apps" into ub-launcher3-qt-dev 2019-05-11 00:05:50 +00:00
Kevin 162e2c5fb0 Add bottom margin to recents Go again
Navigation bar insets are not always transparent and shouldn't be used
for margin. So we put the margin back to get a bit more space from the
nav bar.

Bug: 132461256
Test: Manual test, see margins
Change-Id: Id92e8b80a0d2c18c0a603942600366e355649ea8
2019-05-10 16:48:58 -07:00
Kevin fd968a79a8 Scale down thumbnail with app surface
The recents Go app to overview transition has app scale down to a
thumbnail but normally covers the thumbnail.  However, apps with
transparency will be semi-visible and will allow the user to see
the thumbnail in the back at its final size. Instead, we should fit
the thumbnail to the surface so that they both scale down at the same
time.

Bug: 132458092
Test: Go to app with transparency, scale down
Change-Id: Iaebeaaf2ddcfc86fd4f55ef9d8c3f19583947c48
2019-05-10 16:09:04 -07:00
Lucas Dupin 3ec3cf9c40 Implement scrim method
am: 904c429b99

Change-Id: Iaae6e7b7b17ba9456db12af206e09f30692b9486
2019-05-10 15:48:41 -07:00
Lucas Dupin 0a9dc0e75b Implement scrim method
am: 904c429b99

Change-Id: Ib600307f1e9fde3a1af62521a51ac74fe0b8905b
2019-05-10 15:43:29 -07:00
Vadim Tryshev 15744052f8 Merge "TAPL: Simplifying BaseOverview" into ub-launcher3-qt-dev
am: 08ff6f586c

Change-Id: If7cb59ad66261162876f1fbe42fd5b707d9fac62
2019-05-10 15:18:30 -07:00
Kevin c1ad57b47b Merge "Add basic home to recents anim for fallback recents" into ub-launcher3-qt-dev
am: 695e8df526

Change-Id: Ic2bb7b277a754b4fccd3eb36ce4ab8fefc410826
2019-05-10 15:18:05 -07:00
Kevin 3370dad274 Merge "Fix missing early return." into ub-launcher3-qt-dev
am: 76696be287

Change-Id: I8e2c76cf42f52a0f16f996f1cf7bdb016eb77c66
2019-05-10 15:17:36 -07:00
Vadim Tryshev 08ff6f586c Merge "TAPL: Simplifying BaseOverview" into ub-launcher3-qt-dev 2019-05-10 21:45:12 +00:00
vadimt 02fb35319e TAPL: avoiding negative final coordinate of swipe-to-all apps
Change-Id: I15c2bf44b7fe2e2ac2fc85db02069441b2aeb807
2019-05-10 14:34:16 -07:00
vadimt 90b420a618 TAPL: Simplifying BaseOverview
Change-Id: I15124a95bf71be78f8e450688d83d4adbad3196f
2019-05-10 14:19:53 -07:00
TreeHugger Robot 695e8df526 Merge "Add basic home to recents anim for fallback recents" into ub-launcher3-qt-dev 2019-05-10 21:08:28 +00:00
TreeHugger Robot 76696be287 Merge "Fix missing early return." into ub-launcher3-qt-dev 2019-05-10 21:07:57 +00:00
Kevin d0863ae5c4 Add basic home to recents anim for fallback recents
For users/OEMs who ship with a different default launcher, we should
provide at least a basic animation from home to recents. This creates a
simple cross-fade animation if coming from a separate home activity.

Bug: 132449252
Test: Have different default launcher, go to home, go to recents
Change-Id: I5ac7b0eedbcdf1e020c31d9cf120887a4bb3826a
2019-05-10 13:46:23 -07:00
Kevin bd88b56e1a Merge "Refactor lambda to use listener instead" into ub-launcher3-qt-dev
am: 763a7bffa3

Change-Id: Ia9ee4b18f4e8732e81b6a2095e3349fe06fc91d5
2019-05-10 13:06:13 -07:00
Vadim Tryshev fc0fbf2b7c Merge "Tests: attempt to wait until navigation mode settles after switching" into ub-launcher3-qt-dev
am: a36ace2547

Change-Id: I54ba5ccf6ee282c838f9793f12561dd0fd5ad2d0
2019-05-10 13:05:51 -07:00
TreeHugger Robot 763a7bffa3 Merge "Refactor lambda to use listener instead" into ub-launcher3-qt-dev 2019-05-10 19:49:36 +00:00
Vadim Tryshev a36ace2547 Merge "Tests: attempt to wait until navigation mode settles after switching" into ub-launcher3-qt-dev 2019-05-10 19:44:16 +00:00
Kevin ac713d31fb Update scrim if insets are added later.
am: b35b7dee18

Change-Id: I40297278a44ee263db64f1d0f9e7bd4cf508b37e
2019-05-10 12:35:31 -07:00
Kevin 8f1ac1efeb Refactor lambda to use listener instead
We should not use an in-line lambda here as we allocate a new
RemoteAnimationProvider object to do so which hooks into the already
existing AppToOverviewAnimationProvider. This can be a problem if
AppToOverviewAnimationProvider overrides methods as we would not use the
overridden methods but instead the default ones.

Instead, we use the same AppToOverviewAnimationProvider object but hook
into the activity ready and window animation calls with a listener to
add on the logging logic.

Bug: 132112131
Test: Manual test; app to overview functions as before
Change-Id: Ie70541691ed420c33770d6ed4f54d9555374dc0a
2019-05-10 12:19:11 -07:00
Kevin b35b7dee18 Update scrim if insets are added later.
If insets are set after the activity requests the foreground scrim to be
shown, the scrim will not be correctly added. This is an issue for
fallback recents which requests the foreground scrim right after
initialization.

To fix this, we save the request to show the scrim in a local variable
and check this on inset updates to determine whether we should show the
scrim or not.

Bug: 131853975
Test: Fallback recents now has foreground scrim added correctly
Change-Id: I15a19a3184bbc97a20fbcbba2106fd7221410df0
2019-05-10 12:13:00 -07:00
vadimt 732becfd66 Tests: attempt to wait until navigation mode settles after switching
Change-Id: If2d14a062275a6cfbc81d1cb7d7ca38da302b51c
2019-05-10 12:12:44 -07:00
Kevin f0901ff2ca Merge "Set "usingRemoteAnim" for fallback recents" into ub-launcher3-qt-dev
am: 7b48548546

Change-Id: I516f8359f00afbbfd37846334156d1fba1602aa2
2019-05-10 11:47:56 -07:00
Kevin 6abf4c286d Merge "Only do content fill anim after layout anim" into ub-launcher3-qt-dev
am: 13da82576f

Change-Id: I93424f4bb500dfb8e5fb1be194a7709acdf5e55c
2019-05-10 11:47:24 -07:00
TreeHugger Robot 7b48548546 Merge "Set "usingRemoteAnim" for fallback recents" into ub-launcher3-qt-dev 2019-05-10 18:30:37 +00:00