summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorNaomi Musgrave <nmusgrave@google.com>2021-08-13 12:28:22 +0100
committerNaomi Musgrave <nmusgrave@google.com>2021-09-10 09:53:49 +0100
commitf70f8ecefccdf5aac844a6615f671575a17ded0d (patch)
tree35a3eda194d111e4f269538ae69ab00c5fbc5894 /opengl/tests/gl_basic/gl_basic.cpp
parent0bce85311c3741afa6f96e52891eeb000236d70e (diff)
[1/n] Introduce API for all available max WindowMetrics
New API provides all maximum WindowMetrics, for all possible rotations in each DeviceState. This information allows launcher apps to determine different device layouts ahead of time, without having to reload the grid model on every device state change (fold/unfold). Done: * WindowManager calculates bounds for the given display, in possible rotations * Defining API surface Not started: * WindowManager calculates insets for each rotation * Display stack builds collection of DisplayInfo, for all possible display states (folded, unfolded) * Display stack pushing set of DisplayInfos to WindowManager Bug: 181127261 Test: atest FrameworksCoreTests:WindowMetricsTest Test: atest FrameworksCoreTests:WindowInsetsTest Change-Id: Ic4580f9c1ee919e5e93cd96b8f11c743fa42f9f1
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions