Commit Graph

10 Commits

Author SHA1 Message Date
Fabian Kozynski
370971972e Reduce vertical margins in landscape add controls
This makes it so we can have at least one entire control tile visible
when scrolling.

Test: manual
Bug: 166166119
Change-Id: I7514cf8af69b4ba1d6c0bf76cdc21cd3c0719bd2
(cherry picked from commit a3a7c45f36)
2020-09-16 15:03:59 +00:00
Fabian Kozynski
91280c30c5 Add string for "See more apps"
Test: manual
Fixes: 159792758
Change-Id: I9b116fef0bfaad7c40bb9a9a109e0abf1b005b4c
2020-06-24 10:57:23 -04:00
Fabian Kozynski
6936cd12d2 Redlines adjustments
A bunch of redline fixes in management screens. Some of them hacks.

Also, make sure that visibility update is posted in correct thread.

Test: manual
Fixes: 155302803
Change-Id: I5c31904e2a70c2be224acf5d5aeb76f876cef695
2020-04-30 12:14:03 -04:00
Fabian Kozynski
6f3caf41a3 Fix controls management activities details
Some minor fixes:
* Remove icon next to structure name in Add controls
* Remove "other apps" when there's no other app to switch.
* Change footer buttons in apps screen.

Test: manual
Fixes: 154672630
Fixes: 154673161
Fixes: 154631120
Change-Id: I45be5c78b97a0301b77fa11125a294c66903dbef
2020-04-22 10:58:31 -04:00
Matt Pietal
f4b870bc67 Controls UI - Motion for activities
Transition between control activities with animations. Transition between
GlobalActionsDialog and controls activities with the same
animations. Load async data into RecyclerViews in a separate animation
but controlling alpha values on the view

Bug: 154158092
Test: visual
Change-Id: I77c192d5b23a844900f4f2be128687d6314a1baf
2020-04-21 08:27:55 -04:00
Matt Pietal
269a7b4dce Controls a11y - Set activity titles
Set proper activity titles and do not use the default application
label. Do not allow the status text to be focusable.

Bug: 152924457
Bug: 152932546
Bug: 152927300
Test: talkback

Change-Id: Ieed21596c8160aaf945d71e274706c771f7e4693
2020-04-10 13:40:22 -04:00
Matt Pietal
e80c7812d4 Controls UI - Update strings to match latest guidance
Update existing strings, and add strings that we will need to complete
the implementation

Bug: 151322044
Test: visual
Change-Id: Iee922e8f6db6c3058dc9c5ce77eef63c9b6bd2db
2020-03-20 17:38:06 -04:00
Fabian Kozynski
713b727362 Add Structure pages to management screens
Pages are sorted alphabetically and show all controls for that
structure. The name used is the structure name of the app name for the
empty/null structure.

Done button saves all favorites selected from all structures, not just
the visible one.

Test: manual
Fixes: 150707923

Change-Id: I8ae822ed5acb6340aa08acb0dc6f3a4e6bb2f2e4
2020-03-09 10:07:36 -04:00
Fabian Kozynski
1e3178de3b Changed management to just show all controls
This is the first of a series of CLs to update management screens to
latest mocks. Now ControlModel is an interface to interact with the
Adapters. Different implementers can be used to surface different views
of all the controls.

Zones are now sorted according to the order they appear on load. Zones
with no name (or blank name) are given a generic "Other" and put at the
end.

Test: atest
Test: manual
Bug: 149138395

Change-Id: Ica708d903afed582c4c6ad4a5142351cd81cec89
2020-02-24 13:35:33 -05:00
Fabian Kozynski
9aa23af654 Changes to favorite management screen
This changes are to include the new UX flows:

* The list of controls is split by zones. All controls that do not have
a zone (blank or null) are shown at the beginning of the list. Zones are
sorted "alphabetically".
* Controls are split into Favorites and All, with Favorite controls
appearing twice. Toggling the checkbox in a control from any of the two
lists will change the state and make it appear/dissapear from the
favorites list.
* Changes to favorites are only saved on Done.
* Favorites can be rearranged by dragging and dropping.

Test: manual
Test: atest
Bug: 149138395

Change-Id: Ib5fdbc66cafe03e95855eb6c16c27127afa8d565
2020-02-10 10:31:05 -05:00