summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Massimo Carli <mcarli@google.com> 2024-09-30 14:01:04 +0000
committer Massimo Carli <mcarli@google.com> 2024-10-24 13:35:17 +0000
commit42d5d2805ef0e831a1915ebe864c5ba47c50e6ee (patch)
tree0cd5394ce4d3e588dda1788974b01608081f10bf /api/api_test.go
parent542df67fd50bda9575e3214a18dd87ffe829895f (diff)
[1/n] Create AppCompatLetterboxPolicyState abstraction
The AppCompatLetterboxPolicyState abstraction allows to decouple the letterbox state from the actual letterbox presentation implementation. LegacyLetterboxPolicyState is the existing implementation which creates and updates surfaces depending on letterbox bounds. ShellLetterboxPolicyState is the implementation which delegates the letterbox presentation to Shell. It basically only handles inner and outer bounds along with insets. They are useful for creating/updating Surfaces which will exist in shell. The AppCompatLetterboxUtils class contains methods used by different AppCompatLetterboxPolicyState implementations. Flag: com.android.window.flags.app_compat_refactoring Bug: 309593314 Test: atest WmTests:LetterboxTest Test: atest WmTests:AppCompatLetterboxPolicyTest Test: atest WmTests:AppCompatLetterboxUtilsTest Change-Id: I2c0bd7264c73936093909eee05477d0937270762
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions