Commit Graph

2012 Commits

Author SHA1 Message Date
Tracy Zhou a3bb225043 Merge "Remove setFullscreenProgress() call in TaskView#onRecycle" into ub-launcher3-qt-dev
am: fd49ef783f

Change-Id: I5c0e6c705e96618673055506d4423b78cf690859
2019-05-14 14:28:08 -07:00
Jon Miranda 0216c025cb Recycle FloatingIconView for swipe up to home animation.
am: 04d29a61c9

Change-Id: Iba5fe07dbd19b8a4c0ba75cd4aec855a03c5fa65
2019-05-14 14:27:37 -07:00
TreeHugger Robot fd49ef783f Merge "Remove setFullscreenProgress() call in TaskView#onRecycle" into ub-launcher3-qt-dev 2019-05-14 21:21:07 +00:00
Tracy Zhou 02877d0847 Remove setFullscreenProgress() call in TaskView#onRecycle
When onRecycle() is called, the current task view is detached from the
parent, causing getParent() to return null.

Test: manual
Fixes: 132269977
Change-Id: I80826c2348cb23363c0482d3fd12283a7c90a689
2019-05-14 14:07:26 -07:00
Winson Chung 19812f69b6 Merge "Preemptively clear the thumbnail cache as tasks are removed" into ub-launcher3-qt-dev
am: 3658d9fa0c

Change-Id: I414447a1265042bf01ed94d5a0ebf028ec88ab4b
2019-05-14 14:02:41 -07:00
Jon Miranda 04d29a61c9 Recycle FloatingIconView for swipe up to home animation.
Bug: 123900446
Change-Id: I63e900e86d921eddd3129ff68f895d6e8e7bff47
2019-05-14 13:59:22 -07:00
vadimt 9d94871a23 Merge "Using model-time scrolling in all apps" into ub-launcher3-qt-dev
am: 4fbfb4123a

Change-Id: I3010024e6c0855b331f3e1c87bfa994bf19802d8
2019-05-14 13:55:42 -07:00
Winson Chung 3658d9fa0c Merge "Preemptively clear the thumbnail cache as tasks are removed" into ub-launcher3-qt-dev 2019-05-14 20:48:47 +00:00
TreeHugger Robot 4fbfb4123a Merge "Using model-time scrolling in all apps" into ub-launcher3-qt-dev 2019-05-14 20:34:15 +00:00
Govinda Wasserman 81b55d849b Merge "Add proactive hints container" into ub-launcher3-qt-dev
am: cf3584fdf4

Change-Id: If6eb62810f6dd8122a04e31ca52ffc1e4d809027
2019-05-14 12:28:03 -07:00
Govinda Wasserman cf3584fdf4 Merge "Add proactive hints container" into ub-launcher3-qt-dev 2019-05-14 19:19:21 +00:00
Hyunyoung Song 02bfb33425 Merge "Implement 3 shades of folder icon/container fill color Bug: 130451254" into ub-launcher3-qt-dev
am: 1e39f29435

Change-Id: I92a8e1735c19307fa99af4de04a56e551263ba9b
2019-05-14 10:46:41 -07:00
vadimt 3d13f303ee Using model-time scrolling in all apps
This should solve flakes when the test thread wakes up too rarely to
inject enough touch events.

Change-Id: I461583d35eb4bfe0192b81c242aacf8d20e353d1
2019-05-14 10:40:22 -07:00
Hyunyoung Song e751d90c44 Implement 3 shades of folder icon/container fill color
Bug: 130451254

Change-Id: I36d885a2b0247f1bb84cb98073459853ae723331
2019-05-14 10:15:11 -07:00
Tony Wickham 18484d5166 Merge "Fix fullscreen and landscape task insets" into ub-launcher3-qt-dev
am: c857ad8049

Change-Id: I3069685d106245548d82b3edcae5c05cd9bea93f
2019-05-13 17:06:48 -07:00
Tony Wickham c857ad8049 Merge "Fix fullscreen and landscape task insets" into ub-launcher3-qt-dev 2019-05-13 23:43:48 +00:00
Winson Chung cb554473c7 Preemptively clear the thumbnail cache as tasks are removed
- Also reset the task thumbnail as the task views are recycled

Bug: 132309376

Change-Id: Ic2cc846e451b6b59ae76326930cb4b85627e95c4
2019-05-13 16:22:10 -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
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
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
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
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
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
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 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
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
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
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
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
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
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
TreeHugger Robot cf2393e056 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2019-05-10 07:40:17 +00:00
TreeHugger Robot 0f07b87420 Merge "Import translations. DO NOT MERGE" into ub-launcher3-qt-dev 2019-05-10 07:34:58 +00:00
Bill Yi 229ecc4224 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Iee3e02b60f19e7230c327b7bfe324ba72195de01
2019-05-09 23:30:10 -07:00
Bill Yi 3d4ae35081 Import translations. DO NOT MERGE
Change-Id: I89b0e8ca9c0fe116df9745bf5b5b184bdec242a6
Auto-generated-cl: translation import
2019-05-09 23:28:30 -07:00
Tony 918863083b Add ScreenPinnedInputConsumer
When screen pinning is active, swipe up and hold to stop it.

Bug: 130828539
Change-Id: I343050d2a224ac723143cd3be4f78bc321f1a026
2019-05-09 18:10:10 -05:00
George Hodulik 7cf4b40a97 Use strings "home" and "overview" rather than GEL
Bug:129421797
Test: Flashed to QP1A.190508.001, installed launcher with change.
      Observed both home and overview predictions were as expected.

Change-Id: I127d489eae382f4cee75afdd6d615d6d7a8227ee
2019-05-09 14:23:23 -07:00