Module signal_meter
Expand description
SignalMeter: how strong a radio signal is (a Wi-Fi network, a mobile
network), as four bars of rising height.
The bars the level reaches are filled in the accent ink; the rest are the muted track a progress bar’s unfilled part is, so the meter reads on every material and in high contrast. The meter names itself by its level (“Strong signal”), the name a screen reader announces and the tooltip a list row shows for its leading column.
SignalMeterFace paints the same meter into a rect for a host that
paints immediately (a list row’s leading column, the quick settings
panel); SignalMeter is the retained widget, one icon square in size.
Structs§
- Signal
Meter - The retained meter: one icon square in a row, named by its level.
- Signal
Meter Face - The meter painted into a rect: four bars standing on its bottom edge, centred in the largest square the rect holds.
- Signal
Meter Props - How strong a radio signal is (a Wi-Fi network, a mobile network), as four bars of rising height, one icon square in size. It names itself by its level: “Strong signal”.
Enums§
- Signal
Level - How strong a signal is: the level the meter fills to.
Constants§
- SIGNAL_
BARS - How many bars a meter has.