Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 48ec0315 authored by Tiger Huang's avatar Tiger Huang
Browse files

Let the dimming window can provide multiple appearance regions

A dimming window which extends to status bar area can divide status bar
into different appearance regions (up to 3). For example:

+---------+-------------+---------+
|/////////|             |/////////| <-- Status Bar
+---------+-------------+---------+
|/////////|             |/////////|
|/////////|             |/////////|
|/////////|             |/////////|
|/////////|             |/////////|
|/////////|             |/////////|
+---------+-------------+---------+
     ^           ^           ^
 dim layer     window    dim layer

This CL allows non-fullscreen dimming window can specify its appearance,
and creates appearance regions in the window bounds, so that status bar
can adjust the foreground color in each regions.

Before this CL, it would create only one appearance region in the case
above, so the status bar icon color might not be displayed properly in
some regions.

Bug: 208717544
Test: Show a dimming window which extends into status bar area.
Change-Id: Ie81ce19e9a504045988c4852795117a15460b709
parent 10e7ab0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment