Fix CTS test case for running on qHD platform

Root Cause:
The CTS creates a fixed size surfaceView (640x480) over the screen size
of qHd (480x800). It will cause SurfaceFlinger to crop and skip drawing
top region.

Solution:
To create a small size (320x240) region of surfaceView.

Bug: 33287107
Change-Id: Iea95f34f49848f48588f356e22b0e86d152405f9
Signed-off-by: Xinghua Yang <xinghua.yang@mediatek.com>
diff --git a/tests/tests/view/src/android/view/cts/SurfaceViewSyncTests.java b/tests/tests/view/src/android/view/cts/SurfaceViewSyncTests.java
index 61c30a0..e400864 100644
--- a/tests/tests/view/src/android/view/cts/SurfaceViewSyncTests.java
+++ b/tests/tests/view/src/android/view/cts/SurfaceViewSyncTests.java
@@ -295,7 +295,7 @@
     public void testSurfaceViewSmallScale() throws InterruptedException {
         verifyTest(new AnimationTestCase(
                 sGreenSurfaceViewFactory,
-                new FrameLayout.LayoutParams(640, 480, Gravity.LEFT | Gravity.TOP),
+                new FrameLayout.LayoutParams(320, 240, Gravity.LEFT | Gravity.TOP),
                 sSmallScaleAnimationFactory,
                 (blackishPixelCount, width, height) -> blackishPixelCount == 0));
     }