HomeSort by relevance Sort by last modified time
    Searched refs:TEST_HEIGHT (Results 1 - 25 of 31) sorted by null

1 2

  /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);
CanvasClientView.java 65 canvas.clipRect(0, 0, ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT);
69 ActivityTestBase.TEST_HEIGHT);
71 ActivityTestBase.TEST_HEIGHT);
75 mCanvasClient.draw(canvas, ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT);
ActivityTestBase.java 55 public static final int TEST_HEIGHT = 90;
125 TEST_WIDTH, TEST_HEIGHT,
128 Rect srcRect = new Rect(0, 0, TEST_WIDTH, TEST_HEIGHT);
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
IconInfoTestUtil.java 29 private static final int TEST_HEIGHT = 4523;
38 new IconInfo(TEST_WIDTH, TEST_HEIGHT, TEST_LANGUAGE, TEST_TYPE, TEST_FILENAME);
54 writeShortLE(out, TEST_HEIGHT);
  /cts/tests/tests/graphics/src/android/graphics/cts/
PictureTest.java 44 private static final int TEST_HEIGHT = 3; // must >= 2
57 Canvas canvas = original.beginRecording(TEST_WIDTH, TEST_HEIGHT);
79 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
96 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
123 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT);
128 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
138 bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
145 bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
161 assertEquals(TEST_HEIGHT, picture.getHeight());
169 canvas.drawRect(0, 0, TEST_WIDTH, TEST_HEIGHT, paint)
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
RectShapeTest.java 43 private static final int TEST_HEIGHT = 200;
64 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888);
69 rectShape.resize(TEST_WIDTH, TEST_HEIGHT);
72 verifyDrawSuccessfully(bitmap, TEST_WIDTH, TEST_HEIGHT, TEST_COLOR_1);
76 verifyDrawSuccessfully(bitmap, TEST_WIDTH, TEST_HEIGHT, TEST_COLOR_2);
102 rectShape.resize(TEST_WIDTH, TEST_HEIGHT);
107 assertEquals((float) TEST_HEIGHT, rect.bottom, 0.0f);
ArcShapeTest.java 40 private static final int TEST_HEIGHT = 200;
72 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888);
77 arcShape.resize(TEST_WIDTH, TEST_HEIGHT);
81 assertEquals(TEST_COLOR_1, bitmap.getPixel(TEST_WIDTH / 2, TEST_HEIGHT / 2));
83 final int SQUARE = Math.min(TEST_WIDTH, TEST_HEIGHT);
OvalShapeTest.java 42 private static final int TEST_HEIGHT = 200;
57 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888);
62 ovalShape.resize(TEST_WIDTH, TEST_HEIGHT);
66 assertEquals(TEST_COLOR_1, bitmap.getPixel(TEST_WIDTH / 2, TEST_HEIGHT / 2));
68 final int SQUARE = Math.min(TEST_WIDTH, TEST_HEIGHT);
ShapeTest.java 41 private static final int TEST_HEIGHT = 200;
110 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888);
115 shape.resize(TEST_WIDTH, TEST_HEIGHT);
RoundRectShapeTest.java 43 private static final int TEST_HEIGHT = 200;
78 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888);
83 roundRectShape.resize(TEST_WIDTH, TEST_HEIGHT);
  /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
GoldenImageVerifier.java 30 mGoldenBitmapArray = new int[ActivityTestBase.TEST_WIDTH * ActivityTestBase.TEST_HEIGHT];
32 ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT);
SamplePointVerifier.java 67 ActivityTestBase.TEST_HEIGHT, Bitmap.Config.ARGB_8888);
69 ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT);
  /external/libcups/filter/
rasterbench.c 35 #define TEST_HEIGHT 1024
92 TEST_PAGES, TEST_WIDTH, TEST_HEIGHT);
308 header.cupsHeight = TEST_HEIGHT;
337 for (y = 0; y < TEST_HEIGHT; y ++)
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
AutofillHighlightTests.java 41 ActivityTestBase.TEST_HEIGHT, Bitmap.Config.ARGB_8888);
55 ActivityTestBase.TEST_HEIGHT);
SweepTests.java 59 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
71 canvas.drawCircle(TEST_WIDTH / 2, TEST_HEIGHT / 2, TEST_HEIGHT / 2, paint);
BitmapTests.java 187 ActivityTestBase.TEST_HEIGHT / 2));
191 mAnimator = ValueAnimator.ofInt(0, ActivityTestBase.TEST_HEIGHT / 2);
228 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT);
238 assertEquals(TEST_HEIGHT, bitmap.getHeight());
ColorFilterAlphaTest.java 114 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
122 canvas.drawRect(i * blockWidth, 0, (i + 1) * blockWidth, TEST_HEIGHT, paint);
PictureTest.java 45 ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT);
SurfaceViewTests.java 116 TEST_WIDTH, TEST_HEIGHT);
137 TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888);
138 Rect srcRect = new Rect(0, 0, TEST_WIDTH, TEST_HEIGHT);
XfermodeTest.java 168 int sc = canvas.saveLayer(0, 0, TEST_WIDTH, TEST_HEIGHT, null);
178 Bitmap srcB = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
187 Bitmap dstB = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
LayerTests.java 130 root.addView(child, new FrameLayout.LayoutParams(TEST_WIDTH, TEST_HEIGHT,
433 webview.getLayoutParams().height = TEST_HEIGHT - 20;
436 new Rect(10, 10, TEST_WIDTH - 10, TEST_HEIGHT - 10)));
459 webview.getLayoutParams().height = TEST_HEIGHT - 20;
463 new Rect(10, 10, TEST_WIDTH - 10, TEST_HEIGHT - 10)));
561 new Point(0, TEST_HEIGHT - 1),
563 new Point(0, TEST_HEIGHT - 10),
564 new Point(0, TEST_HEIGHT - 5)
596 new Point(0, TEST_HEIGHT - 1),
600 new Point(TEST_WIDTH / 2, TEST_HEIGHT - 10)
    [all...]
BitmapFilterTests.java 160 final Region whiteArea = new Region(0, 0, TEST_WIDTH, TEST_HEIGHT);
182 final Region whiteArea = new Region(0, 0, TEST_WIDTH, TEST_HEIGHT);
HardwareBitmapTests.java 90 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT);
99 assertEquals(TEST_HEIGHT, hardwareBitmap.getHeight());
113 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT);
133 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT);
  /cts/tests/tests/widget/src/android/widget/cts/
AbsListView_LayoutParamsTest.java 54 int TEST_HEIGHT = 25;
60 assertEquals(TEST_HEIGHT, layoutParams.height);
  /frameworks/support/wear/src/androidTest/java/androidx/wear/widget/
ScrollManagerTest.java 44 private static final int TEST_HEIGHT = 400;
66 mScrollManagerUnderTest.setRecyclerView(mMockWearableRecyclerView, TEST_WIDTH, TEST_HEIGHT);
157 double relativeY = fromY - (TEST_HEIGHT / 2);
159 float angle = getAngle(fromX, fromY, TEST_WIDTH, TEST_HEIGHT);
170 y = getY(angle, radius, TEST_HEIGHT);

Completed in 1329 milliseconds

1 2