summaryrefslogtreecommitdiff
path: root/core/java/android/util/SparseSetArray.java
diff options
context:
space:
mode:
authorYunfan Chen <yunfanc@google.com>2021-11-10 16:09:49 +0900
committerYunfan Chen <yunfanc@google.com>2022-02-28 07:16:01 +0000
commita5dffa77622ca3c4e8a99974aa97fc96d7ceea01 (patch)
tree335546300abe92bced18c5544f05e07199fcf9f8 /core/java/android/util/SparseSetArray.java
parent4b1a9e353d37aa34142b9f622d253303923199d9 (diff)
Introduce a private flag to extend frame with cutout
This patch introduced a new private flag PRIVATE_FLAG_LAYOUT_SIZE_EXTENDED_TO_CUTOUT to let the window extend it's requested window frame to contain the display cutout frame. This is useful for the case of navigation bar. Without it, the navigation bar may not have enough space to layout it's content when it's on the same side as the display cutout. With the flag set, the Navigation bar will have the requested size plus the navigation bar size as its frame. Bug: 203031262 Bug: 161689946 Test: See reproduce steps in b/203031262 Test: atest WindowLayoutTests Change-Id: Id1d6f09dc421b5f25e16e4aca6282b6deec2e8c4
Diffstat (limited to 'core/java/android/util/SparseSetArray.java')
0 files changed, 0 insertions, 0 deletions