Files
frameworks_base/libs/WindowManager/Shell/tests
Ben Lin 014f2975ce Re-implement pinch-to-resize gesture.
This removes ScaleGestureDetector and instead just do the calculation
inside the class itself. As user sets two input points on the PiP
surface, this signals the start of the gesture, and as user drags the
two fingers, it resizes the PiP to the maximum possible size. After the
user releases their fingers, then it auto-offsets/snaps to the right
position.

Bug: 166478885
Test: Start a pinch-to-resize while feature flag is on
Change-Id: I634bd14e97f0cf0cc7bf9c1a1b64a1f12130e0e9
2020-12-04 17:46:24 -08:00
..
2020-12-04 09:21:35 +00:00

WM Shell Test

This contains all tests written for WM (WindowManager) Shell and it's currently divided into 3 categories

  • unittest, tests against individual functions, usually @SmallTest and do not require UI automation nor real device to run
  • integration, this maybe a mix of functional and integration tests. Contains tests verify the WM Shell as a whole, like talking to WM core. This usually involves mocking the window manager service or even talking to the real one. Due to this nature, test cases in this package is normally annotated as @LargeTest and runs with UI automation on real device
  • flicker, similar to functional tests with its sole focus on flickerness. See WM Shell Flicker Test Package for more details