Commit Graph

33301 Commits

Author SHA1 Message Date
Sunny Goyal b78ea4b4fc Changing RecentsView layout based on the split screen task size
Bug: 155816922
Change-Id: I33f69d72f8a27e3621d029c6ee4045c3664f3ac9
2020-05-12 14:04:19 -07:00
Sunny Goyal 3f948e3f42 Adding state manager to fallback recents activity
Bug: 156398988
Change-Id: Id0a106ef888ade5223940ac8243108c39b4d6b98
2020-05-12 13:31:48 -07:00
TreeHugger Robot 6043914ab3 Merge "Simplifying animation creating logic for app-to-overview" into ub-launcher3-rvc-dev am: 7dcd4d6ed6
Change-Id: Ic8e649d1bf85bf2c89052fbad8876a56f0c1fb70
2020-05-12 18:51:49 +00:00
TreeHugger Robot 7dcd4d6ed6 Merge "Simplifying animation creating logic for app-to-overview" into ub-launcher3-rvc-dev 2020-05-12 18:42:22 +00:00
TreeHugger Robot 50e5b48987 Merge "Even more additional logging for pause non-detection" into ub-launcher3-rvc-dev am: 2830c99bee
Change-Id: I79cb9f2505f63520d68e6171c78e679d2f7a393b
2020-05-12 18:23:53 +00:00
TreeHugger Robot 2830c99bee Merge "Even more additional logging for pause non-detection" into ub-launcher3-rvc-dev 2020-05-12 17:35:42 +00:00
vadimt 60bc43d0cc Even more additional logging for pause non-detection
Bug: 156044202
Change-Id: I7c1a8a9ef4149bd64597908c0b6797cfe33fd4b6
2020-05-12 09:51:24 -07:00
Sunny Goyal 4888790bde Simplifying animation creating logic for app-to-overview
Removing optional 'shouldAnimate' flag. This was false only in 3-button mode but
the code was also handling animation, leading to inconsistent expectations. Instead
always assuming animation and finishing the animation promptly.

Change-Id: Ic56476dc5ea64c9a7d7e9744f3e33cd61dfde9e8
2020-05-12 16:37:27 +00:00
TreeHugger Robot 0d509972b3 Merge "Fixing pullback factor not initialized after launcher process death" into ub-launcher3-rvc-dev am: b8759f9b26
Change-Id: I756285734bbd876b378f0577608bd169a87f1dcb
2020-05-12 03:18:35 +00:00
TreeHugger Robot b8759f9b26 Merge "Fixing pullback factor not initialized after launcher process death" into ub-launcher3-rvc-dev 2020-05-12 03:06:29 +00:00
TreeHugger Robot cce22e3aae Merge "Make educational half-sheet black in dark mode" into ub-launcher3-rvc-dev am: 3d3c41a3a6
Change-Id: I6475e7778377bccec0ab6ab3c6fd9f16c1710e7c
2020-05-12 01:21:38 +00:00
TreeHugger Robot 3d3c41a3a6 Merge "Make educational half-sheet black in dark mode" into ub-launcher3-rvc-dev 2020-05-12 01:07:21 +00:00
TreeHugger Robot 1095b4e4e8 Merge "Abstracting out state handler logic into base classes so that it can also be used in different activity" into ub-launcher3-rvc-dev am: eb0136b7c4
Change-Id: I951cd086091f97ab5b61635af74582287e3a449e
2020-05-12 00:32:10 +00:00
TreeHugger Robot eb0136b7c4 Merge "Abstracting out state handler logic into base classes so that it can also be used in different activity" into ub-launcher3-rvc-dev 2020-05-12 00:29:52 +00:00
TreeHugger Robot 40ce12ae48 Merge "Restart running task if another task was started but not appeared" into ub-launcher3-rvc-dev am: badfff4469
Change-Id: I6c4e7f72b4dce305c34f7d5fd0b257e6d6f18b3c
2020-05-12 00:27:26 +00:00
TreeHugger Robot badfff4469 Merge "Restart running task if another task was started but not appeared" into ub-launcher3-rvc-dev 2020-05-12 00:03:52 +00:00
TreeHugger Robot 64f394c317 Merge "Make darkmode allapps backgrounds solid black" into ub-launcher3-rvc-dev am: c8b81d72a4
Change-Id: Id81c556b695665992ae32d5d3b38c1a01880dda9
2020-05-11 23:53:48 +00:00
TreeHugger Robot 3b8d75ead7 Merge "String translation updates" into ub-launcher3-rvc-dev am: e123ac8fb5
Change-Id: Ib3ac2d22a6628746681b54daedfbad6bfd74dccb
2020-05-11 23:53:42 +00:00
TreeHugger Robot 9f7e56f6d7 Merge "Remove bold from work paused overlay text" into ub-launcher3-rvc-dev am: c03cfeec36
Change-Id: I9b098e6088ec8f4870277a8aec2c21f98b48a73a
2020-05-11 23:53:33 +00:00
TreeHugger Robot c69f309b53 Merge "Even more logging for pause non-detection" into ub-launcher3-rvc-dev am: 072a6e01bc
Change-Id: I96c55b22decc3bc7a5e724c70b69a76da3e511ea
2020-05-11 23:53:19 +00:00
TreeHugger Robot 735d6bf871 Merge "Resolve Test flakes" into ub-launcher3-rvc-dev am: 3d668090af
Change-Id: I36d5980cd1e8176c599c9c4c705028bba599b5b2
2020-05-11 23:53:11 +00:00
TreeHugger Robot c8b81d72a4 Merge "Make darkmode allapps backgrounds solid black" into ub-launcher3-rvc-dev 2020-05-11 23:44:30 +00:00
TreeHugger Robot e123ac8fb5 Merge "String translation updates" into ub-launcher3-rvc-dev 2020-05-11 23:44:00 +00:00
TreeHugger Robot c03cfeec36 Merge "Remove bold from work paused overlay text" into ub-launcher3-rvc-dev 2020-05-11 23:43:20 +00:00
TreeHugger Robot 072a6e01bc Merge "Even more logging for pause non-detection" into ub-launcher3-rvc-dev 2020-05-11 23:42:30 +00:00
TreeHugger Robot 3d668090af Merge "Resolve Test flakes" into ub-launcher3-rvc-dev 2020-05-11 23:40:43 +00:00
Sunny Goyal 35e7d38681 Abstracting out state handler logic into base classes so that it can
also be used in different activity

Change-Id: Ic5e60b21e1429c71f1cd4e7041e70bf4fc9761b7
2020-05-11 16:38:26 -07:00
Tony Wickham a57000c33d Restart running task if another task was started but not appeared
If we just finish the controller to resume the running task like
we normally would, the delayed task will appear on top when it's
ready. Instead, we need to start the original task in this case.

- Move mLastStartedTaskId to GestureState, shared between swipe
  handlers when continuing the gesture.
- Update logic to change LAST_TASK to NEW_TASK if a task was
  started (but not appeared) during the same gesture; likewise,
  only change NEW_TASK to LAST_TASK if no task was started.
- Finish the controller when successfully starting the task
  that already appeared, since we won't get onTaskAppeared().

Bug: 156132424
Change-Id: I1e9af297840745ab3d5e90214425f10a2616d90a
2020-05-11 18:26:06 -05:00
TreeHugger Robot 5ae89c4789 Merge "Fixing current task not overshooting on swipe-up in overview" into ub-launcher3-rvc-dev am: ed31f24dbf
Change-Id: I7005d712a77453d138fc3f9997213d63b307a394
2020-05-11 23:14:49 +00:00
vadimt d5cb9a7a18 Even more logging for pause non-detection
Bug: 156044202
Change-Id: I31fead73a6a64617aea67e66b01c365841229b92
2020-05-11 15:56:54 -07:00
TreeHugger Robot ed31f24dbf Merge "Fixing current task not overshooting on swipe-up in overview" into ub-launcher3-rvc-dev 2020-05-11 22:55:45 +00:00
Sunny Goyal 84376f305b Fixing current task not overshooting on swipe-up in overview
> also fixing flicker during swipe-up when scroll is applied before recents
has been initialized

Bug: 154761552
Change-Id: I45c2b6801b8b87097c2816e26a234bab41b72ed4
2020-05-11 14:39:32 -07:00
TreeHugger Robot 40c15fdba2 Merge "Temporarily removes Settings button from Back tutorial." into ub-launcher3-rvc-dev am: 6459397e3d
Change-Id: Ia46921c839292a828f42a6f6d4d6921b35b1bdf6
2020-05-11 21:22:08 +00:00
TreeHugger Robot 6459397e3d Merge "Temporarily removes Settings button from Back tutorial." into ub-launcher3-rvc-dev 2020-05-11 21:10:46 +00:00
TreeHugger Robot 7299b3991e Merge "Don't check TIS events mismatch for successful gestures" into ub-launcher3-rvc-dev am: e4350a56d0
Change-Id: I554a3ce0714d928a9fbd741602c22e2ca9937f58
2020-05-11 21:05:10 +00:00
TreeHugger Robot e4350a56d0 Merge "Don't check TIS events mismatch for successful gestures" into ub-launcher3-rvc-dev 2020-05-11 20:53:59 +00:00
Sunny Goyal ef44cf8f45 Fixing pullback factor not initialized after launcher process death
Instead of storing it on first swipe-up, computing it when required

Change-Id: I4b37002a016328e3b2d1c8535198ec8a6b56faf3
2020-05-11 13:28:53 -07:00
Andy Wickham 168aaf9682 Temporarily removes Settings button from Back tutorial.
Currently it just crashes, so it shouldn't be there. If
and when we decide to add it back, we will need to get
our package whitelisted to send the necessary Intent.

Bug: 149348244
Change-Id: I5ab292d04ebc5679e34e5a92141df3d86ef6e551
2020-05-11 13:24:06 -07:00
vadimt 5d59df4fd9 Don't check TIS events mismatch for successful gestures
Perhaps, due to a framework bug, events sometimes don't get delivered to
TIS; this doesn't seem to cause user-visible problems.

Later we'll need to investigate why this happens.

Bug: 154157191
Change-Id: I25f45ccab10f6c537c14610e40c2d02d2d3f28ad
2020-05-11 13:14:06 -07:00
TreeHugger Robot 0c0522874f Merge "Using TaskViewSimulator for both Launcher and fallback recents" into ub-launcher3-rvc-dev am: ae5afa74cd
Change-Id: I7e727a517f75fb3b3061254e6b3320d7b0c9b09a
2020-05-11 19:38:22 +00:00
TreeHugger Robot ae5afa74cd Merge "Using TaskViewSimulator for both Launcher and fallback recents" into ub-launcher3-rvc-dev 2020-05-11 19:32:26 +00:00
Vinit Nayak 8cd081d77a Merge "Infer launcher rotation when initializing RecentsOrientedState" into ub-launcher3-rvc-dev am: 115e70ddcf
Change-Id: Ia285efc268c2a0c2b2928aa38d10fc7abbf71943
2020-05-11 19:31:09 +00:00
TreeHugger Robot 225663ffae Merge "[Overview Actions] Change actions view UI based on different nav modes." into ub-launcher3-rvc-dev am: 17d3fe81c4
Change-Id: Ic8d3ca56862bc6e7f34d8bdb1a1586045cc59656
2020-05-11 19:31:02 +00:00
Zak Cohen 9e3797b260 Merge "Overview Actions - shows a message if action is blocked by policy." into ub-launcher3-rvc-dev am: 02a25be89d
Change-Id: Ied5427ad95a8a65679551fae09b158778b87f6e1
2020-05-11 19:30:49 +00:00
Adam Cohen 6c4b170aae Merge "Fix animation for non-default grids when dragging icon from All Apps into a Folder" into ub-launcher3-rvc-dev am: 400dfe0d93
Change-Id: Iaaab8fa1d4d0273aef005e3c02186ef0599d12fe
2020-05-11 19:30:42 +00:00
Adam Cohen 26d19f70db Merge "Fix issues with drag and drop from All Apps in non-default grids" into ub-launcher3-rvc-dev am: 2438d40607
Change-Id: Ia9a0cd629acb7539f3f3ae8eba4b61489414779f
2020-05-11 19:30:36 +00:00
Hyunyoung Song 7dc44daa15 Merge "Hookup statsd for workspace layout logging" into ub-launcher3-rvc-dev am: e745f50128
Change-Id: I08443afffcf0662b32554c8511f566e25aee24bd
2020-05-11 19:30:27 +00:00
vadimt 4b1a55541f Additional logging for pause non-detection am: 7b7e62e5eb
Change-Id: Ic8f66acd55a14ed6502f8f465a3640f359370e07
2020-05-11 19:30:14 +00:00
Vinit Nayak 115e70ddcf Merge "Infer launcher rotation when initializing RecentsOrientedState" into ub-launcher3-rvc-dev 2020-05-11 19:07:54 +00:00
TreeHugger Robot 17d3fe81c4 Merge "[Overview Actions] Change actions view UI based on different nav modes." into ub-launcher3-rvc-dev 2020-05-11 18:52:13 +00:00