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
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
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
- 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
- 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
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
Bug: 132197067
Fixes: 132895084
Fixes: 133401862
Test: Manual testing for color and layout at different Display Size settings.
Change-Id: I8837f112f3bf3ae248ab463202d9967cd1ffe9d2
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
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
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
Also removes the night-specific layout in favor of a color selector.
Test: manual
Fixes: 132401519
Change-Id: I336aa3e5cf3d4c9b09f8e985d5c1389cd935d7a5
Fixes: 132444640
Test: Have gentle notifications in the shade, change to any RTL
language, view notification shade
Change-Id: Iffe00be0f60fb7c6315d050c60351fe7a0ab2e1f
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