Commit Graph

2155 Commits

Author SHA1 Message Date
Robert Snoeberger
f6e32f079d Pad indication text to prevent clipping on side of screen.
Padding amount is the same as owner_info also shown on AOD screen.

Bug: 137627803
Test: Checked that text with more than 100 characters shown in
indication area wasn't clipped on side of screen. 100 characters was
used because face_acquired_sensor_dirty string has char limit of 100.
Change-Id: I1c4014b4cfbdc2bba84b9974813ca23e6b42cf4c
2019-07-18 10:12:42 -04:00
Fabian Kozynski
5c837108e2 DO NOT MERGE Revert Privacy Indicators to P
Revert Privacy indicators to P.

Bug: 135180592
Test: build and check that behavior is as P
Change-Id: I24bfc3806e2d12f6a1cc968d6979107e7002a3c4
2019-06-20 10:53:35 -04:00
Ned Burns
9bca9b861d Merge "Reinflate silent notif header on config change" into qt-dev
am: 19755ea196

Change-Id: Iaeeade0332a3d41ed4dd9fd9963ba907031104c7
2019-06-17 20:22:59 -07:00
Ned Burns
2c74c2a980 Reinflate silent notif header on config change
Necessary in order to support locale changes.

Test: manual
Fixes: 135170814
Change-Id: Ic5fd09b539860a1119f1a5f1316c4a1f6c46e111
2019-06-17 17:48:48 -04:00
Ned Burns
db531ec3fd Merge "Make silent notifications header font theme-aware" into qt-dev
am: 3f5980c3d5

Change-Id: I4db2a4afb2ca51fafa4cf1da9fe3ec6e8fa59647
2019-06-14 10:08:36 -07:00
Ned Burns
3f5980c3d5 Merge "Make silent notifications header font theme-aware" into qt-dev 2019-06-14 16:59:59 +00:00
Evan Laird
f9b3b8e0e1 Merge "Set channel dialog switches to 48dp height" into qt-dev
am: 3e83e8ee65

Change-Id: Iac825bf2f52b3bff59b522b57a71e30af1de2bd9
2019-06-13 07:36:19 -07:00
Evan Laird
d3ed5dbe97 Set channel dialog switches to 48dp height
Makes them meet minimum touch target size requirements

Test: whatever automated accessibility scanner filed the bug initially
Fixes: 134894086
Change-Id: I524a044ff22e0e3cb23af69bf16fea57d918e1ee
2019-06-11 15:04:40 -04:00
Fabian Kozynski
53ceaf677a DO NOT MERGE Revert "DO NOT MERGE Remove Privacy Indicators"
This reverts commit ec3e0ecaca.

Reason for revert: Re-enable Privacy Indicators in qt-r1-dev
Bug: 133257910

Change-Id: I7c778dd76c0aff3f483cf06f1dd96fd067145c12
2019-06-04 16:37:21 +00:00
Ned Burns
e27839c016 Make silent notifications header font theme-aware
Test: manual
Bug: 134054174
Change-Id: I6b42c4a4a43e851e7723baeefd34a6b31e066b3c
2019-06-03 17:24:50 -04:00
Fabian Kozynski
ec3e0ecaca DO NOT MERGE Remove Privacy Indicators
am: 9a560e068d

Change-Id: Ied3a51b9c47255a21e2fd29becfe4ed3400a16c7
2019-05-31 15:51:18 -07:00
Fabian Kozynski
aa4545194b Merge "DO NOT MERGE Remove Privacy Indicators" into qt-dev 2019-05-31 22:43:08 +00:00
Fabian Kozynski
9a560e068d DO NOT MERGE Remove Privacy Indicators
Bug: 133257910
Test: build and check that behavior is as P
Change-Id: I24bfc3806e2d12f6a1cc968d6979107e7002a3c4
2019-05-31 20:43:21 +00:00
Aran Ink
c70d1dc2a5 Merge "Fix marquee animating in QuickSettings when invisible to user." into qt-dev 2019-05-31 20:11:21 +00:00
Aran Ink
7dd05dc1c7 Fix marquee animating in QuickSettings when invisible to user.
Bug: 127246438
Test: Manual.
Change-Id: I8ce23b793821ddf863e4c751129f902f447fde34
2019-05-31 11:47:23 -04:00
TreeHugger Robot
f3825f11a1 Merge "Fix RTL placement of "Silent Notifications" section header" into qt-dev 2019-05-31 02:52:14 +00:00
Steve Elliott
7ef81a69d9 Fix RTL placement of "Silent Notifications" section header
Fixes: 133258925
Test: manual
Change-Id: I5719a2db4ea1e4c3a58f973fb2538a7085052651
2019-05-30 16:48:45 -04:00
TreeHugger Robot
58cfefe9cc Merge "Fix a11y readout of notification guts buttons" into qt-dev 2019-05-30 18:53:13 +00:00
TreeHugger Robot
e4de9d2c56 Merge "Constrain global actions panel to available space" into qt-dev 2019-05-30 16:44:43 +00:00
Steve Elliott
300b48ff11 Constrain global actions panel to available space
Formerly, the global actions panel was given the entire screen, and
was rendered above the global actions menu. Now, we limit it to the
space unused by the menu.

Bug: 133511683
Test: manual
Change-Id: I74f4db0b9a2a4e030ec1fd53ddd65e7c372d229c
2019-05-30 11:23:44 -04:00
Julia Reynolds
fe7525a340 Fix a11y readout of notification guts buttons
Test: manual with TB
Bug: 134047401
Change-Id: I28e00afc110d95e130fe54d301be406fa17f6f18
2019-05-30 10:30:21 -04:00
Miranda Kephart
0bcd698481 Merge "Add white edgelights to AOSP" into qt-dev 2019-05-30 02:15:55 +00:00
Miranda Kephart
433c811755 Add white edgelights to AOSP
Moves most of the invocation code (as well as PerimeterPathGuide,
CornerPathRenderer, and EdgeLight) into base SystemUI. Shows
white edge lights coming in from the corners into the center, from
gesture or squeeze.

Bug: 132984557
Test: manual

Change-Id: Icbe611c3513f24f0ac13b68bd4d65f7cb4d402d6
2019-05-29 18:34:58 -04:00
James O'Leary
4335c709ff Adjustments to handles visuals and behavior
- Fix display on devices with larger corners by resizing the handle
views as the corner radius changes.
- Fix home x assist handle color matching by ensuring `isListening` is
set to after color matching start
- Allow UiController to suppress handles showing up during assist
sessions by calling ScreenDecorations.setAssistHintBlocked
- Add animation curve from spec to handle scale animation
- Fix handle rounded ends
- Make handle dimensions customizable

jamesoleary 2 CLs - ag/7727795, ag/7727797 (fix test failure)
mrcasey 2 CLs - ag/7704742, ag/7713549

Test: Verify WAI
Bug: 130642504
Change-Id: I9563d7f437064c8c63c988a9fda41be906064219
2019-05-29 18:09:23 -04:00
Ned Burns
2810896630 Merge "Update guts to match latest specs" into qt-dev 2019-05-28 18:31:16 +00:00
Tracy Zhou
0fa7a54e30 Merge "Refactor how we show rotation button in fully gestural mode." into qt-dev 2019-05-28 18:26:45 +00:00
Ned Burns
369f147e8f Update guts to match latest specs
- Updates dimens and margins to match specs
- Adds selection color for border, icon, and text
- Adjusts fonts to be theme-aware

Test: manual
Bug: 132689331
Change-Id: Ibd2ca853c9a571f25d82151bdd736edb4d5c5d5e
2019-05-28 11:27:05 -04:00
Aran Ink
0c5400eecc Merge "Tweak colors and spacing for GlobalActionsDialog." into qt-dev 2019-05-28 14:24:38 +00:00
TreeHugger Robot
4ec18d46f6 Merge "Fix Marquees in QSHeader animating when invisible" into qt-dev 2019-05-28 14:06:32 +00:00
Tracy Zhou
24fd028ea4 Refactor how we show rotation button in fully gestural mode.
Fixes: 132201048
Test: manual
Change-Id: I56d04dfabb4db741cd5dce72f01439c777d668c5
2019-05-27 06:07:13 +00:00
TreeHugger Robot
0286f7568b Merge "Remove channel priority icons from half-shelf" into qt-dev 2019-05-25 00:07:39 +00:00
Evan Laird
d3e55cf22a Remove channel priority icons from half-shelf
Don't show the priority/gentle icons on the channel editor dialog view.
Don't bother removing the ImageView from the layout in case we decide to
bring it back though

Bug: 132689331
Test: visual
Change-Id: Ifffcfa8ec36ce25dab99a020faa15ac4cb1ab4d3
2019-05-24 09:18:07 -04:00
Aran Ink
622a43e2c0 Tweak colors and spacing for GlobalActionsDialog.
Bug: 132197067
Fixes: 132895084
Fixes: 133401862

Test: Manual testing for color and layout at different Display Size settings.

Change-Id: I8837f112f3bf3ae248ab463202d9967cd1ffe9d2
2019-05-23 15:35:49 -04:00
Lucas Dupin
0a8fcb3a8b Merge "Add shadow to text on keyguard" into qt-dev 2019-05-23 17:15:15 +00:00
Lucas Dupin
aa5fcc030c Add shadow to text on keyguard
Fixes: 132274011
Test: visual
Change-Id: Ic5ef60f71a8cdf9946c688d0a33aa542b6cb1b98
2019-05-22 16:29:42 -07:00
Mark Renouf
fb162ef0d3 Merge "Adds assist geture hint handles to ScreenDecorations" into qt-dev 2019-05-22 17:24:53 +00:00
Mark Renouf
0255e16c21 Adds assist geture hint handles to ScreenDecorations
On screen gesture hint for using the corner gesture to
trigger assistant. This provides a placeholder for the
view within ScreenDecorations, to relocate from the
original location in StatusBar.

SysUI AssistManager will control the visibility of the
handles, in response to events. By default the handles
remain hidden.

Bug: 132285072
Test: manual visual verification while developing
Change-Id: I0234ce4677c77c9f4367334c1df7f4a8b59e8d66
2019-05-22 11:00:01 -04:00
Fabian Kozynski
769dd9f0e3 Merge "Fix RTL in QS Header Info" into qt-dev 2019-05-21 19:54:51 +00:00
Fabian Kozynski
956b597a4e Fix Marquees in QSHeader animating when invisible
When QS is collapsed, QuickStatusBarHeader is set to GONE/INVISIBLE. In
that case, all it's children should NOT marquee. As they are still
visible, they need to override onVisibilityAggregated, which gets called
when any view in it's hierarchy changes its visibility.

This is still not perfect, as the switch between QQS and QS is changed
by just modifying the alpha of high level container views and we have no
way of tracking this without dispatching everything down the line. But
it's enough for now to significantly improve performance.

Test: systrace, systemui is not constantly drawing frames when on AoD
Test: inferno.py, in 10s reduces Binder calls from ~600 to ~20 when on
AoD
Test: Layout inspector with QS collapsed, views have ellipsize END
Fixes: 133229320
Fixes: 131427575

Change-Id: I0d742cef3716dce9f32133b2510aeffb7082ae47
2019-05-21 15:46:09 -04:00
Fabian Kozynski
895cc9bb75 Fix RTL in QS Header Info
When there was only one view to display, we relay on
FrameLayout#onLayout. Setting the layout_gravity to center_vertical
(which is unneeded here) was removing the "start" by default.

Lays out Views from start to end keeping track of offset. As the Views
were given their final size in onMeasure, laying out is easy.

Fixes: 133221093
Test: manual using Hebrew and English
Change-Id: Id57d951bbbacbff7745869fe5b288d620a3c25f1
2019-05-21 11:30:03 -04:00
Ned Burns
1729ff9664 Merge "Increase height of silent section header to meet GAR" into qt-dev 2019-05-21 02:02:45 +00:00
Badhri Jagan Sridharan
775f334fad Merge "Add support for LearnMore option" into qt-dev 2019-05-21 00:31:45 +00:00
TreeHugger Robot
c8a97db0d9 Merge "Move bubbles top, manage button below" into qt-dev 2019-05-21 00:30:35 +00:00
Ned Burns
8e42667d73 Increase height of silent section header to meet GAR
Also removes the night-specific layout in favor of a color selector.

Test: manual
Fixes: 132401519
Change-Id: I336aa3e5cf3d4c9b09f8e985d5c1389cd935d7a5
2019-05-20 20:21:02 -04:00
Lyn Han
5aa27e262d Move bubbles top, manage button below
Bug: 131849856
Test: manual
Change-Id: I75a0a66d8d8177d1426f6951287986e37128243e
2019-05-20 15:45:03 -07:00
TreeHugger Robot
f4fd488408 Merge "Support RTL in notification section header" into qt-dev 2019-05-20 21:27:05 +00:00
Ned Burns
4a58ec22e1 Merge "Revert to basic icons in notification info." into qt-dev 2019-05-20 20:16:44 +00:00
Fabian Kozynski
738c98232c Merge "Fixed layout of quick_settings_header_info" into qt-dev 2019-05-20 19:21:59 +00:00
Steve Elliott
c3d57ca64f Support RTL in notification section header
Fixes: 132444640
Test: Have gentle notifications in the shade, change to any RTL
      language, view notification shade

Change-Id: Iffe00be0f60fb7c6315d050c60351fe7a0ab2e1f
2019-05-20 15:01:37 -04:00
Fabian Kozynski
ceb057b6ed Fixed layout of quick_settings_header_info
The layout now allocates as much as it needs to QSCarrierGroup, and then
allocates leftover space to the status info Views.

The containing View (QSHeaderInfoLayout) splits the width between both
status (if both are visible) by allocating as much as they need. If the
total amount needed is more than what is available, it splits equally
unless a view requires less than half.

Test: Visual, using multiple Display sizes and Font sizes and Japanese
language (for some long strings)
Fixes: 132742416

Change-Id: I9f8ce68fa25fbe7d00451e59503575a07c3fd5f4
2019-05-20 12:35:28 -04:00