summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorTiger Huang <tigerhuang@google.com>2021-07-25 16:18:10 +0800
committerTiger Huang <tigerhuang@google.com>2021-07-26 21:55:34 +0800
commit090c0cbcb0f71576669ec58cb72148659ffe0083 (patch)
treebea9c5d8838ce100230fd2cef837f7ca16190e0f /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentb022a91251028a45dcc628caf7e07a2ebbccfe5b (diff)
Use InsetsVisibilities to carry requested visibilities
InsetsState contains much more information than visibilities, such as display frame, display cutout, rounded corners, privacy indicator bounds, and frames of of insets sources. The control target only needs to send the requested visibilities to WMS, so it can be too heavy to use InsetsState. This CL introduces an new class, InsetsVisibilities, which only contains which type has which visibility. So it uses less memory, and it is more efficient on copying and checking the equality. Fix: 194186241 Test: atest InsetsVisibilitiesTest WindowAddRemovePerfTest InsetsControllerTest RegisterStatusBarResultTest CommandQueueTest LightsOutNotifControllerTest ActivityRecordTests DisplayContentTests DisplayPolicyLayoutTests InsetsPolicyTest InsetsSourceProviderTest InsetsStateControllerTest WindowFrameTests WindowManagerServiceTests WindowStateTests Change-Id: I86c1b26b4383bfa3b924726d580e5706e13ba735
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions