Commit Graph
19151 Commits
Author SHA1 Message Date
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
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
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
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 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
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
TreeHugger Robot 13da82576f Merge "Only do content fill anim after layout anim" into ub-launcher3-qt-dev 2019-05-10 18:24:18 +00:00
Kevin 3792c733f8 Fix missing early return.
Fix a missing early return for when we don't have the bottom view laid
out on remote animation start.

Test: Builds
Change-Id: Iba0d5097ce59d017dc43030552f2171c5e6e4fb1
2019-05-10 11:19:37 -07:00
Jonathan Miranda e8deb9ce63 Merge "Initial app open/close polish using tuned values." into ub-launcher3-qt-dev
am: 57730ed095

Change-Id: I478a00fb48c4e0cef8a7086428f5afbae9b16f6a
2019-05-10 10:41:07 -07:00
Jonathan Miranda 57730ed095 Merge "Initial app open/close polish using tuned values." into ub-launcher3-qt-dev 2019-05-10 17:30:46 +00:00
Kevin 32f55bf02d Set "usingRemoteAnim" for fallback recents
Ensure fallback recents uses the correct layout animation by hooking
into usingRemoteAnim API.

Bug: 132112131
Test: Manual test
Change-Id: I9bb96dbf436018e5488ede0c5ca48af787180aec
2019-05-10 10:28:07 -07:00
Kevin 47fc4f1316 Only do content fill anim after layout anim
The new remote animation may start after the tasks are loaded and we
start the content fill animation. This means the layout happens after
and the content fill animation will conflict with the layout animation.
To fix this, we should only do the content fill animation after the
layout animation as intended. If the tasks load before we start the
layout animation, we should just directly update to the latest UI
without animating as the views won't be visible before the layout
animation starts.

Bug: 132381412
Test: Manual test
Change-Id: Ibb55d8ef4499260ffa4bef5c6bba605ffdc85da7
2019-05-10 10:18:05 -07:00
Alex Mang 1c8e1d1353 Merge "Adding query length parameter to protobuf" into ub-launcher3-qt-dev
am: 9b39df068e

Change-Id: I33d48cfa60a82464772ee5f1e4b5425572f3f8ca
2019-05-10 10:16:02 -07:00
Jon Miranda 2da1da3076 Initial app open/close polish using tuned values.
* Rect and radius now match the app window size.

Bug: 124510042
Bug: 122843905
Change-Id: Ibc85bfe1d75d01cefe00b6bf32557e04a0ee4716
2019-05-10 10:11:35 -07:00
Alex Mang 9b39df068e Merge "Adding query length parameter to protobuf" into ub-launcher3-qt-dev 2019-05-10 17:04:57 +00:00
Govinda Wasserman 9b99128350 Merge "Implements the new subscript proactive suggestions style" into ub-launcher3-qt-dev
am: c8dc2ecb4a

Change-Id: Iccf2010b768ecd25a7b4784a72cdce8d53d05d5b
2019-05-10 09:50:55 -07:00
Govinda Wasserman c8dc2ecb4a Merge "Implements the new subscript proactive suggestions style" into ub-launcher3-qt-dev 2019-05-10 16:30:04 +00:00
Govinda Wasserman ede5052227 Implements the new subscript proactive suggestions style
Change-Id: I89575a315f1468bde2a0f7894cd19b1124afa840
2019-05-10 10:40:10 -04:00
Bill Yi ff0a533676 [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-qt-dev
am: 0f07b87420 -s ours
am skip reason: subject contains skip directive

Change-Id: I97086bc294d8cb19b8935234b4759462d882f486
2019-05-10 01:06:31 -07:00
TreeHugger Robot cf2393e056 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2019-05-10 07:40:17 +00:00