Commit Graph

2291 Commits

Author SHA1 Message Date
android-build-team Robot 145cb8420d Merge "Log OVERVIEW_ACTIVITY via MetricsLogger in quickstep Bug: 77920179" into ub-launcher3-edmonton 2018-05-02 21:53:59 +00:00
Android Build Merger (Role) 5e35f28f89 [automerger] Log OVERVIEW_ACTIVITY via MetricsLogger in quickstep Bug: 77920179 am: a05860421f
Change-Id: I0afe3ef4b2126e3404386827259973d0bd0cb42a
2018-05-02 21:34:33 +00:00
Hyunyoung Song a05860421f Log OVERVIEW_ACTIVITY via MetricsLogger in quickstep
Bug: 77920179

Change-Id: Id4c7dc3d535c7a8009d340183e640b04ab07408a
2018-05-02 14:34:23 -07:00
Android Build Merger (Role) f0c2811cf5 [automerger] Setting correct font for clear-all button am: 9beaa177f4
Change-Id: I605bd74b206900f8c47f082430a576f67ba0e160
2018-05-02 03:11:07 +00:00
Vadim Tryshev 9beaa177f4 Setting correct font for clear-all button
Not it looks exactly like the one for notifications in SystemUI.

Bug: 72222505
Test: Manual
Change-Id: I9db2f403746386f9d807d4e3c250f4a1c7a46b68
2018-05-01 20:10:26 -07:00
Android Build Merger (Role) b64c30d1bc [automerger] Accessibility of clear-all button am: 4e3e54a45a
Change-Id: Ib2be175e0369b53cd40409bbef6b7a1be392f99e
2018-05-01 18:20:40 +00:00
Vadim Tryshev 4e3e54a45a Accessibility of clear-all button
Making it visible to accessibility even when it’s completely hidden
behind a task. I had to mark it visible as a view. Now it’s invisible
only when there are no tasks in RecensView, to hide it from
accessibility.

Focusing on the button completely reveals it.

Bug: 72222505
Test: Manual
Change-Id: Ia31a1136e07faed93b4a44d5be69483d3b88364d
2018-05-01 11:20:14 -07:00
android-build-team Robot 59d6f26cd4 Merge "Adding a round rect background for the self in Overview" into ub-launcher3-edmonton 2018-04-30 22:51:59 +00:00
Android Build Merger (Role) 2466429376 [automerger] Adding a round rect background for the self in Overview am: 36d090df67
Change-Id: I5530cbf0119be888909986bc206b8bbcd6dbc152
2018-04-30 22:37:44 +00:00
Sunny Goyal 36d090df67 Adding a round rect background for the self in Overview
Bug: 78771910
Change-Id: I71460a284ed185e82d66fe65104402fb99d6b312
2018-04-30 15:37:39 -07:00
Bill Yi c2032ee2f4 Import translations. DO NOT MERGE
Change-Id: I229a0d80355868f6197033b792dc1796973adebe
Auto-generated-cl: translation import
2018-04-30 15:28:15 -07:00
Bill Yi 1f6eb12763 Import translations. DO NOT MERGE
Change-Id: I00c17b6f7d32117a18c1450882068ffa3b61d3c2
Auto-generated-cl: translation import
2018-04-30 10:56:12 -07:00
Bill Yi 43b5cfe76b Import translations. DO NOT MERGE
Change-Id: I6a00a8461cd13c680453375914405c7f93806258
Auto-generated-cl: translation import
2018-04-30 10:53:33 -07:00
Android Build Merger (Role) 37048c1e9f [automerger] Enable Clear-all button by default am: cc0c98ad94
Change-Id: I5271c1bb8dd9c016fb11189c2ecda5481f6a9399
2018-04-27 20:34:22 +00:00
Vadim Tryshev cc0c98ad94 Enable Clear-all button by default
Making it work with all 4 combinations of RTL and flip-recents.

Bug: 72222505
Test: Manual
Change-Id: Ifb2428e006674abfe9a2609fd3d8f3f648eff0b8
2018-04-27 13:32:28 -07:00
Android Build Merger (Role) 9ad0217a60 [automerger] Improving highlight for Clear-all button. am: 77cb385d47
Change-Id: I1d0078d6d484d50edd24e4b45adc438e0d44700a
2018-04-25 20:20:58 +00:00
Vadim Tryshev 77cb385d47 Improving highlight for Clear-all button.
Better shape + now has hover state.

Bug: 72222505
Test: Manual
Change-Id: I24ba55c760b15d71406a35ea5f7bf54f505741d6
2018-04-25 13:20:37 -07:00
TreeHugger Robot 6f14fc8462 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2018-04-21 04:07:22 +00:00
TreeHugger Robot 229fc93949 Merge "Import translations. DO NOT MERGE" into ub-launcher3-edmonton 2018-04-21 04:06:36 +00:00
TreeHugger Robot b138ca1665 Merge changes from topic "am-ea4e4c26-3457-4f3d-aad6-1b4329729c48" into ub-launcher3-master
* changes:
  [automerger] Not ignoring insets for Clear-all button am: 4473658c2f
  Not ignoring insets for Clear-all button
2018-04-20 19:45:24 +00:00
TreeHugger Robot 02632bcc1a Merge "Not ignoring insets for Clear-all button" into ub-launcher3-edmonton 2018-04-20 19:45:24 +00:00
Bill Yi 1a96892e4d Import translations. DO NOT MERGE
Change-Id: Ia0bfc5197230fee6c1e5d17665029dfb8e133f2a
Auto-generated-cl: translation import
2018-04-20 12:02:07 -07:00
Bill Yi dcbd321095 Import translations. DO NOT MERGE
Change-Id: Iaf7e186dfb94e7ff47c048c9b8d4e0e1fb829b26
Auto-generated-cl: translation import
2018-04-20 12:00:33 -07:00
TreeHugger Robot 2f23a6ece1 Merge changes from topic "auto-rotate-settings" into ub-launcher3-master
* changes:
  [automerger] Bringing back auto-rotate settings am: 40253329c5
  Bringing back auto-rotate settings
2018-04-20 16:45:18 +00:00
TreeHugger Robot f589eebbec Merge "Bringing back auto-rotate settings" into ub-launcher3-edmonton 2018-04-20 16:45:18 +00:00
Vadim Tryshev 4473658c2f Not ignoring insets for Clear-all button
When in portrait mode with nav bar on the right , we need the right
inset to be applied to the layout.

Bug: 72222505
Test: Manual
Change-Id: I06ac864097fb3cfb833de3e40921be4e19eb5f54
2018-04-19 18:43:04 -07:00
Sunny Goyal 40253329c5 Bringing back auto-rotate settings
Bug: 77654352
Change-Id: I0910fc8afe2fb7e125d57912abc35bbbd5df9d74
2018-04-19 09:27:56 -07:00
Vadim Tryshev 9a68a9ea62 Small tweaks to positioning Clear-all button
Bug: 72222505
Test: Manual
Change-Id: I920a1d712e4f72ed66cf0c31cb77cf949339b2c6
2018-04-18 18:59:56 -07:00
Vadim Tryshev 6d2321cb7d Introducing Clear-all button on Overview
It’s an initial implementation, i.e. no fancy effects.
It shares a parent (LauncherRecentsViewContainer) with RecentsView.
The button is centered in clear_all_button_container, which gets
positioned programmatically to the right of the last task. (RTL polish
will be a separate CL as well).

Bug: 72222505
Change-Id: Ia912908a93a30c2f51450ccf0f97c7495e7916d5
Test: Manual
2018-04-18 11:33:21 -07:00
Tracy Zhou fd21de4489 Move QuickStep onboarding strings from Launcher to SysUI (Pt. Launcher)
Bug: 70180942
Test: N/A
Change-Id: I05e6ce27630d478a40a52bf59a9dfd25881213be
2018-04-12 11:08:28 -07:00
Bill Yi c8f3ee9be1 Import translations. DO NOT MERGE
Change-Id: I19182d20a9bfe17b92ee7e10dd17d6dc2e5ba118
Auto-generated-cl: translation import
2018-04-11 14:39:49 -07:00
Sunny Goyal 2d6208065a Adding some utility callbacks in TaskOverlayManager
Change-Id: Id2ef8f1c2bf4c6eab4170c32cfafad0b448e63db
2018-04-10 13:32:56 -07:00
TreeHugger Robot a4e8763d11 Merge "Updating the card size logic" into ub-launcher3-master 2018-04-09 17:20:31 +00:00
Sunny Goyal 926ba83726 Elevate GPU priority of Launcher3Quickstep
Bug: 75985430
Change-Id: I4ac70c76db98b4ab666b0559f3185392142be045
2018-04-09 09:23:28 -07:00
Sunny Goyal d792a77234 Updating the card size logic
In full screen always follow the device aspect ratio
In multi-window, follow the 1:1 split window size
Rotate the screen shot only in full-screen mode

Bug: 70289009
Change-Id: Id5095565634d4d7920fefa929b28276db80bda5f
2018-04-06 11:29:32 -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 415a1402d5 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2018-04-01 10:14:21 +00:00
Bill Yi ea4eceeba7 Import translations. DO NOT MERGE
Change-Id: I9661c8c23d5c3f6390283edb3fba1eab99e5d997
Auto-generated-cl: translation import
2018-04-01 02:13:44 -07:00
Vadim Tryshev ac2042a40a Accessibility options for a task
The list is:
Close [task]
<items from the task’s popup menu>

Also making a current task in carousel get accessibility focus. This
prevents losing focus after closing a task, and makes sense generally.

Bug: 72409756
Test: Manual
Change-Id: I2cfdfd4693a255f63417d922cb6aa4841db1d3c3
2018-03-30 18:19:03 -07:00
Sunny Goyal ab83773e21 Updating fallback activity
> Wallpaper based theme support
> Light/dark system UI
> Swipe gestures to start and dismiss a task
> Fixing insets and task preview size

Bug: 75979063
Change-Id: Id402e6ac50551a7c0849742e3a0e77df3ead5aa2
2018-03-30 09:45:59 -07:00
Tony Wickham b80cb40ee1 Merge changes Ia255a7af,I74e74e54 into ub-launcher3-master
* changes:
  Animate TaskView as you swipe down on it to launch
  Calculate task view animation instead of using dimens
2018-03-30 01:03:50 +00:00
Bill Yi f94c0099ee Import translations. DO NOT MERGE
Change-Id: Icf33460413c168778937af5952ca08fd02f3bdca
Auto-generated-cl: translation import
2018-03-29 10:41:30 -07:00
Tony Wickham 7a802eb6db Calculate task view animation instead of using dimens
Now we compute the precise scales and offsets to synchronize adjacent
pages with the launched page. Also adjusted all apps progress so that
the predictions/hotseat go offscreen directly based on the opening
window.

Change-Id: I74e74e541c60b3b116e2b5713522bd4a0f5928a7
2018-03-29 09:32:18 -07:00
Sunny Goyal 00c9c9a6fc Adding an empty message in RecentsView
Moving the content instead of translating the view. This ensures
that the empty message fades in place while the other content come-in
from the side.

Change-Id: I081d2e21206de24ad530814cb6a8ca7c3e293724
2018-03-26 17:24:12 -07:00
TreeHugger Robot 3d58de67a8 Merge "Adding a custom view for DragHandle" into ub-launcher3-master 2018-03-26 23:03:53 +00:00
Sunny Goyal 81b4c7bb3c Adding a custom view for DragHandle
> Separating page indicator and drag handle
> Page indicator always draws irrespactive of oriantation
> Drag handle is responsible for accessibility interactions
> Adding assissibility actions for DragHandle

Bug: 72500733
Change-Id: I9030337456964af1bdf77f1c01956452321f9229
2018-03-26 15:52:03 -07:00
Sunny Goyal a9f554681d Applying the alpha to individual tasks instead of the view
> Removing hotseat from overview in transposed layout
> Removing face scrim from recents view in transposed layout
> Removing focued background from pagesView as individual poges have focus states

Change-Id: I620527241bf7240009c4187f53f5a5cff0c3e2b1
2018-03-26 12:11:00 -07:00
Vadim Tryshev 332e07207b Solving losing [Alt+]Tab events
When you are in touch mode with Overview open, and press Tab or Alt+Tab,
it will be lost. This is because the upon pressing this key(s), app
gets switched to the keyboard mode. When this happens, the first
navigation ket gets ignored, and instead of navigation, we get focus
and highlight on the first focusable element.

The concept of the touch vs keyboard mode doesn’t fit well Overview
mode, hence the solution is to not let the recents activity to leave the
touch mode. We always keep RecentsView focused when visible. Android
honors the existing focus, and doesn't’ attempt transitioning from the
touch mode.

Bug: 73090995
Test: Manually fetch Overview, press Tab or Alt-Tab. Drag a task with
touch a bit, then press [Alt+] Tab. Repeat. Do the same with Overview
opened via Alt-Tab. Also: before, after and between, also check that Tab
keeps working on the workspace.

Change-Id: If6890ee80e08b03580051cceeac1be9a89ad3656
2018-03-19 16:40:00 -07:00
Sunny Goyal 0b0847b272 Fixing taskMenu and taskView clicks in fallback activity
> Extracting common methods from Launcher & DragLauncher to base classes
> Remoting some dependencies on Launcher and using the base class instead

Change-Id: I121cacf8a14190b4703cda60bdeb4f79eee69ded
2018-03-15 17:29:43 -07:00
Tony Wickham 39b5534b96 Merge "Small updates for recents launch animation" into ub-launcher3-master 2018-03-15 23:54:56 +00:00