PixelCopyTest: More modification to the edge detection area.

Previous change from the same motivation (fp16 precision gpu)
  https://android-review.googlesource.com/c/platform/cts/+/952398/
does not look working on different screen resolutions/densities.

This CL changes the sampling point of 'edge' to 1 pixel outer
to avoid picking different colors due to low precision.

Bug: 148645349
Test: android.view.cts.PixelCopyTest pass
Change-Id: Ib67920ac89ddcc30e321c772b973c069dd0f2ee5
diff --git a/tests/tests/view/src/android/view/cts/PixelCopyTest.java b/tests/tests/view/src/android/view/cts/PixelCopyTest.java
index 6f14aa9..b678bd4 100644
--- a/tests/tests/view/src/android/view/cts/PixelCopyTest.java
+++ b/tests/tests/view/src/android/view/cts/PixelCopyTest.java
@@ -764,12 +764,12 @@
         assertBitmapNotColor("Left edge", bitmap, edgeColor, 2, bitmap.getHeight() / 2);
 
         assertBitmapColor("Bottom edge", bitmap, edgeColor,
-                bitmap.getWidth() / 2, bitmap.getHeight() - 2);
+                bitmap.getWidth() / 2, bitmap.getHeight() - 1);
         assertBitmapNotColor("Bottom edge", bitmap, edgeColor,
                 bitmap.getWidth() / 2, bitmap.getHeight() - 3);
 
         assertBitmapColor("Right edge", bitmap, edgeColor,
-                bitmap.getWidth() - 2, bitmap.getHeight() / 2);
+                bitmap.getWidth() - 1, bitmap.getHeight() / 2);
         assertBitmapNotColor("Right edge", bitmap, edgeColor,
                 bitmap.getWidth() - 3, bitmap.getHeight() / 2);
     }