Commit Graph

13651 Commits

Author SHA1 Message Date
Vadim Tryshev bea0ee5322 Merge "Revert "Capture screenshot when animating to home"" into ub-launcher3-qt-dev
am: 5338e0540b

Change-Id: I8d4cb89979e73da568a459056f1f2cfae9fb9bcd
2019-05-16 13:06:30 -07:00
Vadim Tryshev 5338e0540b Merge "Revert "Capture screenshot when animating to home"" into ub-launcher3-qt-dev 2019-05-16 19:10:13 +00:00
Vadim Tryshev fd11390a65 Revert "Capture screenshot when animating to home"
This reverts commit 170a067f27.

Reason for revert: b/132816938

Bug: 132816938
Change-Id: Ia03e30f892b2515e498fa20402a9e497340361eb
2019-05-16 18:26:48 +00:00
Sunny Goyal 337875864a Using a proxy activity for startActivityForResult
am: dedda05568

Change-Id: I61b29469ed60aad3258fd655094b9da7aaadc316
2019-05-15 17:07:14 -07:00
Zak Cohen e312e7fe84 Merge "Moves proactive hints and wellness toast into a linear layout." into ub-launcher3-qt-dev
am: 7daf892f66

Change-Id: I080f4fd6ba6d59fcd4bc2f77dc033d959db42b1b
2019-05-15 16:33:59 -07:00
Sunny Goyal dedda05568 Using a proxy activity for startActivityForResult
This ensures that the home task is never blocked by a different task

Bug: 74500048
Change-Id: I01fd26f1d6242e39b2d8fabac5e064b748aebe62
2019-05-15 16:33:06 -07:00
Zak Cohen 1159c9c18a Moves proactive hints and wellness toast into a linear layout.
This ensures that they do not fight for the space. This is intended to
be iterated upon as we find solutions to some of the technical
challenges in the current POR.

Change-Id: I831e8797b16f28fe2cd742c96e9b7c916abf77a5
2019-05-15 15:47:58 -07:00
Vadim Tryshev 0cf5f7b350 Merge "Deinitialize prediction tests" into ub-launcher3-qt-dev
am: 560eb6de60

Change-Id: I3280191f1cda4685a540894adf1f3e505649483d
2019-05-15 14:24:13 -07:00
Vadim Tryshev 560eb6de60 Merge "Deinitialize prediction tests" into ub-launcher3-qt-dev 2019-05-15 21:15:32 +00:00
George Hodulik b4c182a712 Merge "Allow extras to be added in PredictionAppTracker subclasses." into ub-launcher3-qt-dev
am: 0234d55c3c

Change-Id: Ic1607cc8046d36eee1c638a0e4825e362b29481a
2019-05-15 14:14:12 -07:00
George Hodulik 0234d55c3c Merge "Allow extras to be added in PredictionAppTracker subclasses." into ub-launcher3-qt-dev 2019-05-15 21:07:20 +00:00
Tony 060ee5f1c7 Merge "Capture screenshot when quick switching" into ub-launcher3-qt-dev
am: e5234ee878

Change-Id: If59b611d719147510fe4b2271e7e8f9d3d7d86bb
2019-05-15 14:04:07 -07:00
vadimt a68874e1cb Deinitialize prediction tests
Change-Id: Id97c509a7b609f2ba8b081c25712b24b50ec9ecf
2019-05-15 13:53:50 -07:00
George Hodulik 1aca18d85e Allow extras to be added in PredictionAppTracker subclasses.
Bug: 132584688
Change-Id: I727009dab24a82968673d4df6d3a5daa11c34281
2019-05-15 13:00:05 -07:00
Tony 56fd673ef3 Capture screenshot when quick switching
Bug: 130193889
Change-Id: Ia972445e6b0c928a67c8373f082d412c440189ab
2019-05-15 15:31:54 -04:00
Jon Miranda 7e1cb95f89 Merge "Fix landscape app open/close animations." into ub-launcher3-qt-dev
am: eaed3a7c7b

Change-Id: I35f1a725e05662b85fc59a0c07303d69fae8f50a
2019-05-15 11:52:23 -07:00
TreeHugger Robot eaed3a7c7b Merge "Fix landscape app open/close animations." into ub-launcher3-qt-dev 2019-05-15 18:00:44 +00:00
Sunny Goyal 24f0f9e746 Merge "Adding TouchController for quickswitching on homescreen in transposed layout" into ub-launcher3-qt-dev
am: 4d3d51b3be

Change-Id: I308fb895eb21b1ecc86441bf7507c6004e240431
2019-05-15 10:57:20 -07:00
Sunny Goyal 4d3d51b3be Merge "Adding TouchController for quickswitching on homescreen in transposed layout" into ub-launcher3-qt-dev 2019-05-15 17:50:32 +00:00
Jon Miranda ffaca2e162 Fix landscape app open/close animations.
Bug: 123900446
Bug: 124510042
Change-Id: I3db80d6f8064ce26f97cdede63c0d25499416e98
2019-05-15 10:46:33 -07:00
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