Commit Graph

14731 Commits

Author SHA1 Message Date
Tony Wickham 372ed5c03e Merge "Capture screenshot when animating to home" into ub-launcher3-qt-dev
am: 0d1c0ab1bd

Change-Id: I7e2c2b4324a7130f660481d6814384a9dbae7fb2
2019-05-15 10:42:16 -07:00
Tony Wickham 0d1c0ab1bd Merge "Capture screenshot when animating to home" into ub-launcher3-qt-dev 2019-05-15 17:25:26 +00:00
Tony Wickham b2919a80e7 Merge "Disallow pause when swiping up 75% of the way to all apps" into ub-launcher3-qt-dev
am: 245ff8a508

Change-Id: I428dfea59679488e16f98ebf6f2363b940564ab5
2019-05-15 09:07:00 -07:00
Tony 170a067f27 Capture screenshot when animating to home
This is to ensure the task thumbnail is captured in the correct
orientation, rather than waiting until after the task pauses
which might be after the device rotates to portrait.

Also update the state to wait until screenshot is captured
before finishing the transition to home.

Change-Id: Ie42778d527c382ff80a2edf5d2a5dc7490e4e5ff
2019-05-15 12:02:05 -04:00
Tony Wickham 245ff8a508 Merge "Disallow pause when swiping up 75% of the way to all apps" into ub-launcher3-qt-dev 2019-05-15 15:51:49 +00:00
Tony de34dd5303 Disallow pause when swiping up 75% of the way to all apps
Test: TaplTestsQuickstep

Bug: 131231579
Change-Id: If936007a5033ca5e349fd669c9377302239cbe22
2019-05-14 17:36:30 -05:00
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
Jon Miranda 662f12fe62 Merging ub-launcher3-qt-dev, build 5565340
Test: Manual

Bug:118266305 Weird behavior of choosing external display task from Recents
Bug:122843905 Polish app opening transition
Bug:123900446 App to home animation should zoom into the app icon
Bug:124239413 Tests failed, caused by "One thread to rule them all"
Bug:124414511 Notification dots location should respect the icon shape when Theme is applied
Bug:124510042 [Gesture Nav] Home animation polish
Bug:128376812 Switching apps is very buggy
Bug:128986173 Not sure why the text for the at a glance widget is in Roboto instead of Google Sans.
Bug:129421797 Change client ids from GEL and OVERVIEW_GEL to home and overview
Bug:129985827 [Fully Gestural Navigation] Delay Recents animation when swiping up
Bug:130020567 Handle fullscreen correctly for quick switch
Bug:130303405 Use Adrian's haptic value for assist gesture
Bug:130451254 QSB/Folder icon color depends on three variants of wallpaper shade on light/dark theme
Bug:130558787 [Tests broken/flaky] home button not visible to accessibility in 2-button mode
Bug:130828539 [Gestural Nav] Screen pinning option is not available in fully gestural navigation mode.
Bug:131116593 Enable BindWidgetTest, RequestPinItemTest
Bug:131188880 [Failing test] AppPredictionsUITests.testPredictionExistsInAllApps
Bug:131315856 Restore of launcher for work profile failed.
Bug:131360075 [Gesture Nav] Polish/finish landscape
Bug:131360249 Status bar font color inversion delayed
Bug:131419978 [Massive test failure] Switching to 3-button mode results in 2-button mode (at least on Crosshatch)
Bug:131630813 FallbackRecentsTest failing in 0-button mode
Bug:131772711 [Failing test] AppPredictionsUITests.testPredictionsDisabled
Bug:131840601 Ensure Go launcher uses the same logging points for common actions
Bug:131847153 [Feedback] Swiping from thr corners from locked phone does not put phone in listening mode (shoul...
Bug:131853975 Recents Go: Fallback recents not consuming insets correctly
Bug:131940434 Add text input character count when app launch happens from search result container
Bug:132107664 Multiple different failures when running StartLauncherViaGestureTests on Pixe1 devices
Bug:132112131 Polish app to overview animation to match UI mocks for Recents Go
Bug:132173901 0-button: swipe-up from killed Launcher not recognized
Bug:132177321 TaplTestsLauncher3.testDragAppIcon flakes even in flight mode
Bug:132269601 Allow fling assistant invocation
Bug:132285006 ContentFillItemAnimator endAnimations() does not work properly
Bug:132293341 Recents Go: Fallback recents does not always update tasks on going to recents from app
Bug:132381412 Empty views show up briefly with new app to recents anim
Bug:132449252 Recents Go: Add animation from home target to recents for fallback recents
Bug:132458790 Launcher build is broken due to AppTarget.Builder not available
Bug:132461256 Non-transparent nav bar looks bad on Recents Go b/c of lack of margins
Bug:64712476 Import translations for dev branches
Bug:80529128 Home screen went to landscape, even though settings disallows it

Change-Id: I2ffa2c41ff3ded55e1aab66d735da481112684e3
2019-05-14 20:06:45 +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
Sunny Goyal 6e173752cf Adding TouchController for quickswitching on homescreen in transposed layout
Bug: 130689544
Change-Id: I6126fbf29d9b4099d59dd8ad2ba4b4b9673bc46b
2019-05-14 09:43:38 -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 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
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