Commit Graph

33301 Commits

Author SHA1 Message Date
Hyunyoung Song b2f933a990 Merge "HeadLine text font family should not be Medium type Bug: 128986173" into ub-launcher3-qt-dev
am: 5a30308d0b

Change-Id: I6b5fd9fa710fd0f4162d1266ff4bd0c6bfb1861c
2019-05-13 15:54:58 -07:00
TreeHugger Robot 5a30308d0b Merge "HeadLine text font family should not be Medium type Bug: 128986173" into ub-launcher3-qt-dev 2019-05-13 22:31:34 +00:00
Hyunyoung Song d78e47b8f8 HeadLine text font family should not be Medium type
Bug: 128986173

Change-Id: Icbc3292b636e8b664b68c62590e66d261843672f
2019-05-13 15:05:00 -07:00
Tony 52aada013d Fix fullscreen and landscape task insets
Previously, we were incorrectly using the thumbnail insets, which
were insufficient for fullscreen tasks, and ignoring rotated tasks
entirely. Now we check what part of the thumbnail is actually
clipped (e.g. based on the scale we apply to get it to fit in the
same width as all the other tasks), and fill that out when setting
the fullscreen progress on each task.

Test:
- Quick switch (from home and from apps) to:
  - "Normal" apps such as Calculator in portrait and landscape
  - Immersive portrait apps such as Elder Scrolls: Blades
  - Immersive landscape apps such as Stardew Valley
- Swipe up from an app with the above cases in the adjacent task,
  ensure the thumbnail gets clipped from fullscreen to its final
  position in recents
- Do the above tests from landscape launcher as well

Bug: 130020567
Change-Id: I6f6b7f0ee134d464b3704990db9e1d3a01e6de0b
2019-05-13 17:00:58 -05:00
Tony Wickham d317608996 Merge "Use device profile width instead of drag layer width for overview translation" into ub-launcher3-qt-dev
am: 5d5db96bb8

Change-Id: I8331fb620031910a8523dae7dcc409a9643e6f3e
2019-05-13 14:44:44 -07:00
Tony Wickham 5d5db96bb8 Merge "Use device profile width instead of drag layer width for overview translation" into ub-launcher3-qt-dev 2019-05-13 21:26:09 +00:00
Kevin b3369c9775 Merge "Fallback recents should wait for remote anim ready" into ub-launcher3-qt-dev
am: 512a3c59ea

Change-Id: Ie6efacda82906a4d69c37606aecab7f96edde0a9
2019-05-13 12:30:43 -07:00
TreeHugger Robot 512a3c59ea Merge "Fallback recents should wait for remote anim ready" into ub-launcher3-qt-dev 2019-05-13 19:21:04 +00:00
Tony 8312866779 Use device profile width instead of drag layer width for overview translation
This fixes the issue where overview doesn't come in from offscreen
the first time you enter overview from home.

Test:
- Force stop launcher, quick switch from home
- Force stop launcher, swipe up and hold

Change-Id: Ia4dbd36267008bc199cff088833979606238d3eb
2019-05-13 14:11:51 -05:00
Kevin 8bab8fa391 Fallback recents should wait for remote anim ready
Hook into the remote animation API on the recents view for the
fallback recents code path. This ensures the views are attached before
attempting the layout animation.

Bug: 132112131
Test: Set separate default launcher, go to recents from app, views
animate correctly
Change-Id: Id73f18e5f864e1970f954c7ec633e25e466d832e
2019-05-13 12:06:10 -07:00
Sunny Goyal e0d31d5f9a Merge "Fixing insets mapping in 3-button and 2-button mode" into ub-launcher3-qt-dev
am: 0098e382fb

Change-Id: I9b5db9061a618b6dd13c6bd31a061defda037cd5
2019-05-13 11:49:33 -07:00
TreeHugger Robot 0098e382fb Merge "Fixing insets mapping in 3-button and 2-button mode" into ub-launcher3-qt-dev 2019-05-13 18:31:22 +00:00
Jon Miranda 86730d09bc Merge "Swipe up to home animation changes." into ub-launcher3-qt-dev
am: 06892dcfab

Change-Id: I1d2fc6ce1d34b1983734f438c5601e6c085eedd0
2019-05-13 11:17:27 -07:00
Jon Miranda a9062a45ec Merge "Use LauncherApps#getAllPackageInstallerSessions to get all sessions." into ub-launcher3-qt-dev
am: ba39e91dfd

Change-Id: Ie3756efc803bff84a2d0707aac548ca239a82838
2019-05-13 11:13:25 -07:00
TreeHugger Robot 06892dcfab Merge "Swipe up to home animation changes." into ub-launcher3-qt-dev 2019-05-13 18:11:40 +00:00
George Hodulik 489e12a762 Merge "Use strings "home" and "overview" rather than GEL" into ub-launcher3-qt-dev
am: 88986b357d

Change-Id: I1925c0a07517c70e0f41d3530e2ea37589ec1801
2019-05-13 11:08:28 -07:00
TreeHugger Robot ba39e91dfd Merge "Use LauncherApps#getAllPackageInstallerSessions to get all sessions." into ub-launcher3-qt-dev 2019-05-13 18:07:48 +00:00
Jon Miranda a3c0b0aa68 Swipe up to home animation changes.
* Tracks either the top or bottom of the rect for the fling/spring in the
Y direction.
- This allows us to have the icon always animate downwards.

* Scales the spring velocity for the Y component.

Bug: 124510042
Change-Id: I47571f906c8aa1beca4dd703d67d013ab6a1161f
2019-05-13 10:58:54 -07:00
TreeHugger Robot 88986b357d Merge "Use strings "home" and "overview" rather than GEL" into ub-launcher3-qt-dev 2019-05-13 17:53:30 +00:00
Jon Miranda c2e54bc210 Use LauncherApps#getAllPackageInstallerSessions to get all sessions.
This new API allows us to get the package installer sessions for the main
user as well as the managed profile, which will allow us to restore
work profile items on the workspace.

Bug: 131315856
Change-Id: Id76e815a76d1c715bc160776fd87d75bba92ff93
2019-05-13 10:52:26 -07:00
Sunny Goyal 7a39b1bc5f Fixing insets mapping in 3-button and 2-button mode
Bug: 131360075
Change-Id: If6e3a4fbb011fc313efeb91686a9d787761862c5
2019-05-13 10:29:11 -07:00
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