Commit Graph

18937 Commits

Author SHA1 Message Date
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
7daf892f66 Merge "Moves proactive hints and wellness toast into a linear layout." into ub-launcher3-qt-dev 2019-05-15 23:03:42 +00: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
TreeHugger Robot
fece462a94 Merge "Displaying edge-to-edge in landscape" into ub-launcher3-qt-dev 2019-05-15 21:41:06 +00:00
Sunny Goyal
ad9fb5276d Displaying edge-to-edge in landscape
Bug: 131360075
Change-Id: I7bdf72dabf7f829f294b08ea9b348f7173ff7d31
2019-05-15 14:25:52 -07:00
Vadim Tryshev
560eb6de60 Merge "Deinitialize prediction tests" into ub-launcher3-qt-dev 2019-05-15 21:15:32 +00: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
TreeHugger Robot
e5234ee878 Merge "Capture screenshot when quick switching" into ub-launcher3-qt-dev 2019-05-15 20:57:32 +00: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
Vadim Tryshev
901c17658b Merge "Including accessibility hierarchy for all TAPL fails" into ub-launcher3-qt-dev 2019-05-15 19:45:48 +00:00
Tony
56fd673ef3 Capture screenshot when quick switching
Bug: 130193889
Change-Id: Ia972445e6b0c928a67c8373f082d412c440189ab
2019-05-15 15:31:54 -04:00
vadimt
65f6c628ed Including accessibility hierarchy for all TAPL fails
Change-Id: I3357f33b3749bb9799b1b72af4c0084cd2e5dbca
2019-05-15 12:14:15 -07:00
Sunny Goyal
62f53ddafb Merge "Enabling fake rotation by default" into ub-launcher3-qt-dev 2019-05-15 18:39:37 +00:00
Sunny Goyal
41d51a0a15 Enabling fake rotation by default
Fake rotation is only enabled if homescreen rotation is not enabled

Bug: 131360075
Change-Id: Ie56fc4b46b38d3a599ec6da3d506a971e73b0394
2019-05-15 11:21:34 -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
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
0d1c0ab1bd Merge "Capture screenshot when animating to home" into ub-launcher3-qt-dev 2019-05-15 17:25:26 +00:00
TreeHugger Robot
746aefe4fb Merge "Fade in badges on top of icons after swipe up animation." into ub-launcher3-qt-dev 2019-05-15 16:54:29 +00:00
Jon Miranda
4028575ba0 Fade in badges on top of icons after swipe up animation.
Bug: 123900446
Change-Id: I54e367e0be72781e24d13ec6ea64dbddd85fb0bd
2019-05-15 09:37:24 -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
vadimt
1886245359 Swipe from all apps from overview starts on an icon
In some configs, Overview has prediction row, in others hotseat. So
swiping from an icon in either.

Change-Id: I98db3df4f612fcd9d5b7057835c49ca58313210f
2019-05-14 18:56:10 -07:00
Vadim Tryshev
f5b34715b2 Merge "Using model-time for Overview.switchToAllApps" into ub-launcher3-qt-dev 2019-05-15 01:03:49 +00:00
vadimt
1824b562b2 Using model-time for Overview.switchToAllApps
Change-Id: I35efcc2f04d4d31f9b2a8d42a3fce29c481951f5
2019-05-14 17:49:28 -07:00
TreeHugger Robot
d2e40927a7 Merge "Scale down thumbnail with app surface" into ub-launcher3-qt-dev 2019-05-14 23:26:46 +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
Vadim Tryshev
e60e2bab65 Merge "Using model-time for swiping up from workspace to all apps" into ub-launcher3-qt-dev 2019-05-14 22:35:11 +00:00
TreeHugger Robot
66b82f5cf4 Merge "Tone down foreground springs until they are properly tuned." into ub-launcher3-qt-dev 2019-05-14 21:33:16 +00:00
Jon Miranda
a03f96caef Tone down foreground springs until they are properly tuned.
Change-Id: I8c66bc9b4828da82d5dcf74d1479795c4d75ed7c
2019-05-14 14:21:19 -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
Jon Miranda
04d29a61c9 Recycle FloatingIconView for swipe up to home animation.
Bug: 123900446
Change-Id: I63e900e86d921eddd3129ff68f895d6e8e7bff47
2019-05-14 13:59:22 -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
vadimt
d96bda552d Using model-time for swiping up from workspace to all apps
Should eliminate some of flakes

Change-Id: I7b75b6c66d9a6d561151491b0accde72b0dd3088
2019-05-14 13:48:15 -07:00
TreeHugger Robot
348b0ad3cb Merge "Center align foreground during app open, use springs during app close." into ub-launcher3-qt-dev 2019-05-14 20:38:03 +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
4b8b5fd4e4 Center align foreground during app open, use springs during app close.
Bug: 123900446
Change-Id: Ic4ffed28f6ba8782c3d8dfa031ebd70022c4c520
2019-05-14 12:57:05 -07:00
Govinda Wasserman
cf3584fdf4 Merge "Add proactive hints container" into ub-launcher3-qt-dev 2019-05-14 19:19:21 +00:00
TreeHugger Robot
0e78900d48 Merge "Ensure app widget ids are restored after database is sanitized." into ub-launcher3-qt-dev 2019-05-14 17:45:38 +00: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
Jon Miranda
c7206caf6e Ensure app widget ids are restored after database is sanitized.
Previously, it was possible for AppWidgetsRestoredReceiver to
start the restore process before work profile has finished restoring which
resulted in the work profile items being removed from the workspace.

Bug: 131315856
Change-Id: I2f295a1ca91f1996522bcc8052aa139979526e3b
2019-05-14 17:30:04 +00:00
TreeHugger Robot
1e39f29435 Merge "Implement 3 shades of folder icon/container fill color Bug: 130451254" into ub-launcher3-qt-dev 2019-05-14 17:26:28 +00: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
Vadim Tryshev
2d49d1de5f Merge "Fixing flakiness of widget tests" into ub-launcher3-qt-dev 2019-05-14 01:47:31 +00:00
vadimt
0edb04ca24 Fixing flakiness of widget tests
Change-Id: I1af6a733a3a7a89899c83d6714117ff9a51528d2
2019-05-13 18:28:19 -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