Commit Graph

15823 Commits

Author SHA1 Message Date
TreeHugger Robot 00b8ac8371 Merge "Revert "Re-enabling Widgets in Launcher3Go"" into ub-launcher3-master 2018-04-05 18:31:54 +00:00
Rajeev Kumar ff8699e411 Revert "Re-enabling Widgets in Launcher3Go"
This reverts commit 2eb7f0a34b.

Bug: 74039047
Test: Manual tests
Change-Id: Ifa38f7b1b805d781fbfc63cd71b01609f0a85d9e
2018-04-05 18:25:54 +00:00
TreeHugger Robot f54a8f345b Merge "Avoid duplicate accessibility announcement upon switching to -1st page" into ub-launcher3-master 2018-04-05 18:02:25 +00:00
Vadim Tryshev 2c430b34cb Avoid duplicate accessibility announcement upon switching to -1st page
Since -1st window already has accessible description, no need to
announce "Page X of Y" for it.

Bug: 74210311
Test: Manual
Change-Id: I5cbfd763778b5f7049be732a750df4501b5419e0
2018-04-05 10:53:08 -07:00
Sunny Goyal 83bf457aaa Fixing crash when starting transparent activities
StateManager was setting the transition lenght to 0 when a workspace state transtion
was being created as part of launching a transparent activity.

Bug: 77635129
Change-Id: Ie9f40138d9b1387ba880bca0fbf130a4872e8733
2018-04-05 10:28:23 -07:00
TreeHugger Robot f7d325a9e7 Merge "Fix crash when launching translucent activities." into ub-launcher3-master 2018-04-05 00:41:11 +00:00
Winson Chung 7296dc19b9 Fix crash when launching translucent activities.
Bug: 77604451
Change-Id: I618d98a437e36e872faee2bbb07d9b8bf8779dbd
2018-04-04 17:29:54 -07:00
TreeHugger Robot 7c6027d65c Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2018-04-04 23:11:17 +00:00
TreeHugger Robot 48ec31dfa9 Merge "Updating the system shared lib" into ub-launcher3-master 2018-04-04 23:05:41 +00:00
Tony Wickham 8da28f5010 Fix quick scrub transition from home
We were snapping to page 0, which is a no-op but interferes with
the state transition.

Change-Id: I85b39a26c513e63686ad176ac851711b466d3df3
2018-04-04 15:26:34 -07:00
Bill Yi 466d8c1100 Import translations. DO NOT MERGE
Change-Id: I541d5ba543c96278c8fa956faeef4ffd13b2953b
Auto-generated-cl: translation import
2018-04-04 15:22:33 -07:00
TreeHugger Robot e976ca950b Merge "Fix animations home" into ub-launcher3-master 2018-04-04 22:02:14 +00:00
Sunny Goyal 381570588c Merge "Make recents animation work with fallback activity." into ub-launcher3-master 2018-04-04 21:53:03 +00:00
Sunny Goyal 6dcf030c49 Updating the system shared lib
Change-Id: I442e124bb8b78f89c23605ce311400032d7ccdad
2018-04-04 14:42:00 -07:00
Tony Wickham 81839b86b2 Merge "Change overview animation to scale instead of translationX" into ub-launcher3-master 2018-04-04 21:40:15 +00:00
Winson Chung 9800e730a2 Fix animations home
- To prevent surface thrashing, we no longer hide the home activity before
  starting the transition home. This prevents the launcher from being added
  to the remote animation target list, which means that we default to
  skipping the launcher animation. As a workaround, we special case the
  flow and force the animation to run when starting the recents animation.

Bug: 74405472
Test: Go home from an app, ensure there is an animation.
Change-Id: Ifd2b39444fdeab323ee79a368b580a6264c3e5b9
2018-04-04 14:36:40 -07:00
Winson Chung bc5bfc1119 Make recents animation work with fallback activity.
Bug: 77157702
Bug: 77152886
Change-Id: Ide312b750efb8214a7c262f7380b5dbd2ef4647f
2018-04-04 14:36:33 -07:00
Tony 0c95559cbc Change overview animation to scale instead of translationX
As you swipe up to overview from home, workspace scales down and fades out as before,
and now recents scales down from 1.2f on top of it. The interpolators are set such
that the workspace animation is seen before the recents animation. Also, we don't
scale down all of recents, only the visible pages (current and adjacent).

Change-Id: I5f8bfe8cafeaa41d26873c63549735d7bdff2bce
2018-04-04 13:48:42 -07:00
TreeHugger Robot 8f8f279abd Merge "Reverting some debug logs" into ub-launcher3-master 2018-04-04 19:03:48 +00:00
Vadim Tryshev 6c3f6d46de Merge "Removing "Page X of Y" announcement from task list" into ub-launcher3-master 2018-04-04 17:40:30 +00:00
Sunny Goyal b959cfb44f Reverting some debug logs
Bug: 72481685
Change-Id: Ib9e52504d9513bd7fdede28f6c0798ca7873083d
2018-04-04 10:19:30 -07:00
TreeHugger Robot b49c89de39 Merge "Adding support for highlighting preference in sub-screens" into ub-launcher3-master 2018-04-04 17:08:22 +00:00
Vadim Tryshev ac6a6b6bf7 Removing "Page X of Y" announcement from task list
Per accessibility experts request.

Bug: 77549770
Test: Manual
Change-Id: I351527e00e89b1c3e55a3ae4279ac962cd637a13
2018-04-03 18:25:45 -07:00
TreeHugger Robot e1ad8e8c42 Merge "Opening all apps from all drag indicators" into ub-launcher3-master 2018-04-04 00:31:30 +00:00
Vadim Tryshev fe48b7a577 Opening all apps from all drag indicators
Both the one on Home and the one on Overview open app apps.

Bug: 72500733
Test: Manual
Change-Id: I524937a2baed71f1dafd92add06657ae13d71ca1
2018-04-03 17:22:28 -07:00
TreeHugger Robot e2ec732a44 Merge "Making task list carousel accessibility-scrollable" into ub-launcher3-master 2018-04-03 21:48:25 +00:00
Vadim Tryshev e6bbefb768 Making task list carousel accessibility-scrollable
No pane titles yet, as they are not yet reasonably supported by
Talkback.

Bug: 72409756
Test: Manual
Change-Id: I3d2317b9180ac6b02977a4ee8212ae30f0533b2f
2018-04-03 14:38:44 -07:00
TreeHugger Robot 6097be232f Merge "Ensuring that previous animation is completed before starting a new state animation" into ub-launcher3-master 2018-04-03 20:53:26 +00:00
Winson Chung c58900ca81 Merge changes from topic "same_shared_lib" into ub-launcher3-master
* changes:
  Update dock divider during recents animation.
  Update api for canceling recents animation.
2018-04-03 19:52:47 +00:00
TreeHugger Robot b6eadfd6fc Merge "Invoking onOverviewShown() on showRecents(false)" into ub-launcher3-master 2018-04-03 19:51:25 +00:00
Winson Chung dbff75e3de Update dock divider during recents animation.
- Move all wrapper calls to the bg thread
- Account for position now that the task leash is in the app animation
  layer

Bug: 73118672
Change-Id: I5b680a688c0ad4ca34c76e22e1d5cee24133f40f
2018-04-03 12:42:09 -07:00
TreeHugger Robot 20bd0b3fcb Merge "Adding WEB_APP item type for logging." into ub-launcher3-master 2018-04-03 19:35:45 +00:00
Winson Chung 8ad31511a6 Update api for canceling recents animation.
Bug: 74405472

Change-Id: Idb2fdec88115927a2db94e0216b1bea8386e6f23
2018-04-03 12:25:53 -07:00
Winson Chung c2b64829a7 Merge "Added two touch slops for easier home press (3/3)" into ub-launcher3-master 2018-04-03 19:22:56 +00:00
Vadim Tryshev 9c5ece3eec Invoking onOverviewShown() on showRecents(false)
If a CTS test wants to show Recents in split-screen mode, we call this
and the test passes :) This is good enough for now.

Bug: 77275679
Test: atest android.server.am.ActivityManagerSplitScreenTests#testDockedStackToMinimizeWhenUnlocked
Change-Id: I5ac1b2890f70a48d86b7b0e85b6ebb8263843484
2018-04-03 19:18:59 +00:00
Mario Bertschler d2e3c5de56 Adding WEB_APP item type for logging.
Set in LoggerUtils.newItemTarget if instant app

Bug:67049361
Change-Id: I8e99e5c60bf1a2083f898e8978d403138f803276
2018-04-03 21:18:38 +02:00
TreeHugger Robot b518981124 Merge "Fix bug where drag handle translation was not set to 0 on device profile change." into ub-launcher3-master 2018-04-03 19:09:42 +00:00
Jon Miranda 2b67bacadc Fix bug where drag handle translation was not set to 0 on device profile change.
Bug: 77523779
Change-Id: Idec97c34999e05adfac7e9931ab9596a8aae67ae
2018-04-03 11:54:49 -07:00
Tony Wickham 1c6f12d119 Swipe down on hotseat to launch recent task
If you're ever in overview and swipe down on the hotseat, it will launch
the focused task *unless* you entered overview from the workspace and
have not scrolled past the first task. This is a hidden state to allow
for reversibility of the swipe up from workspace.

Also moved PendingAnimation from quickstep to launcher3.

Change-Id: Iea077bc0ef7c74f6bf7b98d0a638892b9c5fe36c
2018-04-03 11:20:49 -07:00
Tony Wickham 274b9529ff Support swiping between states
- Swiping down on hotseat from overview goes to workspace
- Can swipe up through overview to get to all apps

Bug: 76449024
Change-Id: I7f76d92da976e268cc2a97e55746cca4603e6620
2018-04-03 11:18:18 -07:00
TreeHugger Robot 86d7b2d81d Merge "Make drawDragView protected so it can be used in subclasses." into ub-launcher3-master 2018-04-03 16:53:17 +00:00
Mario Bertschler ab88b2243d Make drawDragView protected so it can be used in subclasses.
Bug: 73818519
Bug: 74404893
Change-Id: I75b8cc322bd8d96be83adbfaf2c0244df27019d8
2018-04-03 18:13:38 +02:00
TreeHugger Robot 5e2bcab011 Merge "Do not show overview when deviced has pinned" into ub-launcher3-master 2018-04-03 00:57:46 +00:00
Matthew Ng cd7690d789 Do not show overview when deviced has pinned
Prevents launching overview when recents button is pressed while pinning
an app. This only occurs if quick step is disabled.

Test: disable quickstep, pin an app and try to go to overview
Change-Id: I0d453c2b6f6ebc7947de670b6cf5d09705f9188e
Fixes: 76702534
2018-04-02 17:13:36 -07:00
Sunny Goyal 1c6d566870 Ensuring that previous animation is completed before starting a new state animation
Bug: 76231621
Bug: 77150113
Change-Id: I086e8063b08d2ba69ead1bd0ee1772d65fb6075c
2018-04-02 15:29:47 -07:00
Tracy Zhou 0f5b12c3d3 Mask work app snapshots in QuickStep when work profile is locked.
Change-Id: I15b03a98d5f359a3b8ce28893fa183bb6af1d7d1
Fixes: 72807386
Test: manual test
2018-04-02 20:30:58 +00:00
Sunny Goyal ba406e2a44 Adding support for highlighting preference in sub-screens
Change-Id: I1d5c0a7457a31755951b2f6be70a61a2d84463cf
2018-04-02 12:50:06 -07:00
Sunny Goyal 2fd7a8bc59 Updating the UI of the options popup to make it look similar to icon popup
Bug: 77327164
Change-Id: I3580df8bf8a43cb44123f203ffed9a85fa33aea7
2018-04-02 12:28:47 -07:00
Matthew Ng e1a9c7ed3f Added two touch slops for easier home press (3/3)
The first slop starts the drag either for quick step or scrub. At this
point either launcher can animate swipe up or the home button moves for
scrub, however the home button is still active and can be pressed or
long pressed. The second slop is for activating quick step or scrub.
Similar to before when an operation has activated, the home button
cannot be pressed or long pressed. This allows the home button to have a
larger area to be clicked.

Change-Id: Ie792845a09ecf5d8bdbeae9e8ef7210e2299c69d
Fixes: 76430825
Test: scrub or swipe up
2018-04-02 10:59:00 -07:00
TreeHugger Robot 415a1402d5 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2018-04-01 10:14:21 +00:00