HomeSort by relevance Sort by last modified time
    Searched refs:TEST_WIDTH (Results 1 - 22 of 22) sorted by null

  /cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
CanvasClientDrawable.java 32 canvas.clipRect(0, 0, ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT);
33 mCanvasClient.draw(canvas, ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT);
ActivityTestBase.java 56 public static final int TEST_WIDTH = 90;
59 private int[] mHardwareArray = new int[TEST_HEIGHT * TEST_WIDTH];
60 private int[] mSoftwareArray = new int[TEST_HEIGHT * TEST_WIDTH];
130 return Bitmap.createBitmap(source, testOffset.x, testOffset.y, TEST_WIDTH, TEST_HEIGHT);
170 givenAllocation, 0, TEST_WIDTH, TEST_WIDTH, TEST_HEIGHT, mRenderScript);
172 bitmap1.getPixels(mSoftwareArray, 0, TEST_WIDTH, 0, 0, TEST_WIDTH, TEST_HEIGHT);
173 bitmap2.getPixels(mHardwareArray, 0, TEST_WIDTH, 0, 0, TEST_WIDTH, TEST_HEIGHT)
    [all...]
CanvasClientView.java 59 canvas.clipRect(0, 0, ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT);
60 mCanvasClient.draw(canvas, ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT);
ResourceModifier.java 59 int drawWidth = ActivityTestBase.TEST_WIDTH;
  /cts/tests/tests/widget/src/android/widget/cts/
AbsListView_LayoutParamsTest.java 44 int TEST_WIDTH = 25;
50 assertEquals(TEST_WIDTH, layoutParams.width);
63 AbsListView.LayoutParams tmpParams = new AbsListView.LayoutParams(TEST_WIDTH, TEST_HEIGHT2);
65 assertEquals(TEST_WIDTH, layoutParams.width);
  /cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
ArcShapeTest.java 31 private static final int TEST_WIDTH = 100;
52 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888);
57 arcShape.resize(TEST_WIDTH, TEST_HEIGHT);
61 assertEquals(TEST_COLOR_1, bitmap.getPixel(TEST_WIDTH / 2, TEST_HEIGHT / 2));
63 final int SQUARE = Math.min(TEST_WIDTH, TEST_HEIGHT);
OvalShapeTest.java 32 private static final int TEST_WIDTH = 100;
46 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888);
51 ovalShape.resize(TEST_WIDTH, TEST_HEIGHT);
55 assertEquals(TEST_COLOR_1, bitmap.getPixel(TEST_WIDTH / 2, TEST_HEIGHT / 2));
57 final int SQUARE = Math.min(TEST_WIDTH, TEST_HEIGHT);
RectShapeTest.java 33 private static final int TEST_WIDTH = 100;
54 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888);
59 rectShape.resize(TEST_WIDTH, TEST_HEIGHT);
62 assertDrawSuccessfully(bitmap, TEST_WIDTH, TEST_HEIGHT, TEST_COLOR_1);
66 assertDrawSuccessfully(bitmap, TEST_WIDTH, TEST_HEIGHT, TEST_COLOR_2);
92 rectShape.resize(TEST_WIDTH, TEST_HEIGHT);
96 assertEquals((float) TEST_WIDTH, rect.right);
RoundRectShapeTest.java 33 private static final int TEST_WIDTH = 100;
68 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888);
73 roundRectShape.resize(TEST_WIDTH, TEST_HEIGHT);
77 assertEquals(TEST_COLOR_1, bitmap.getPixel(TEST_WIDTH / 2, 0));
82 assertEquals(TEST_COLOR_2, bitmap.getPixel(TEST_WIDTH / 2, 0));
ShapeTest.java 31 private static final int TEST_WIDTH = 100;
101 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888);
106 shape.resize(TEST_WIDTH, TEST_HEIGHT);
  /cts/tests/tests/graphics/src/android/graphics/cts/
PictureTest.java 36 private static final int TEST_WIDTH = 4; // must be >= 2
49 Canvas canvas = original.beginRecording(TEST_WIDTH, TEST_HEIGHT);
71 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
88 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
114 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT);
119 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
129 bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
136 bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
144 assertEquals(TEST_WIDTH, picture.getWidth());
153 canvas.drawRect(0, 0, TEST_WIDTH, TEST_HEIGHT, paint)
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
GoldenImageVerifier.java 28 mGoldenBitmapArray = new int[ActivityTestBase.TEST_WIDTH * ActivityTestBase.TEST_HEIGHT];
29 goldenBitmap.getPixels(mGoldenBitmapArray, 0, ActivityTestBase.TEST_WIDTH, 0, 0,
30 ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT);
PerPixelBitmapVerifier.java 80 mDifferenceBitmap = Bitmap.createBitmap(ActivityTestBase.TEST_WIDTH,
83 ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT);
SamplePointVerifier.java 66 mDifferenceBitmap = Bitmap.createBitmap(ActivityTestBase.TEST_WIDTH,
69 ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT);
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
PictureTest.java 41 ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT);
ColorFilterAlphaTest.java 103 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
108 final int blockWidth = TEST_WIDTH / blockCount;
SweepTests.java 58 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
70 canvas.drawCircle(TEST_WIDTH / 2, TEST_HEIGHT / 2, TEST_HEIGHT / 2, paint);
XfermodeTest.java 142 int sc = canvas.saveLayer(0, 0, TEST_WIDTH, TEST_HEIGHT, null);
152 Bitmap srcB = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
161 Bitmap dstB = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
PathClippingTests.java 129 path.addCircle(TEST_WIDTH / 2, TEST_HEIGHT / 2,
130 TEST_WIDTH / 4, Path.Direction.CW);
BitmapFilterTests.java 76 private static final int BIG_GRID_SIZE = TEST_WIDTH * 2;
ExactCanvasTests.java 71 canvas.drawRect(0, 0, ActivityTestBase.TEST_WIDTH,
  /cts/tests/camera/libctscamera2jni/
native-camera-jni.cpp     [all...]

Completed in 1903 milliseconds