summaryrefslogtreecommitdiff
path: root/tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java
diff options
context:
space:
mode:
authorjorgegil@google.com <jorgegil@google.com>2020-11-09 15:00:43 -0800
committerjorgegil@google.com <jorgegil@google.com>2020-11-11 11:07:23 -0800
commit67959b765de0c6db2ed4aa26e68ce028753c64cb (patch)
treea37006f3417a69f886f61bc6f2e57a89ed7d8b3e /tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java
parent272e9471b43eada08b066a4b2cfe95b101edc08b (diff)
Rename PipBoundsHandler to PipBoundsAlgorithm
Now that all state handling has been moved out of PipBoundsHandler, this CL renames it to PipBoundsAlgorithm and cleans up its public API so that it functions more like an utility to calculate several types of "bounds" related to PIP such as: - Default bounds - Normal bounds - Movemement bounds - Entry bounds - Bounds adjusted to aspect ratio - Inset bounds PipBoundsAlgorithm's is then only responsible for calculating such bounds based on the current state of PIP (owned by PipBoundsState) but it no longer owns or manages the state, as that would be the responsability of its users (e.g PipController). Bug: 169373982 Test: atest com.android.wm.shell.pip Change-Id: I67c3004b60069160f82d7c3d00d8c3995c0c5f80
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java')
0 files changed, 0 insertions, 0 deletions