Home
last modified time | relevance | path

Searched refs:ActivityTestBase (Results 1 – 25 of 34) sorted by relevance

12

/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DCanvasClientView.java55 if (ActivityTestBase.DEBUG) { in onDraw()
65 canvas.clipRect(0, 0, ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT); in onDraw()
68 Canvas pictureCanvas = picture.beginRecording(ActivityTestBase.TEST_WIDTH, in onDraw()
69 ActivityTestBase.TEST_HEIGHT); in onDraw()
70 mCanvasClient.draw(pictureCanvas, ActivityTestBase.TEST_WIDTH, in onDraw()
71 ActivityTestBase.TEST_HEIGHT); in onDraw()
75 mCanvasClient.draw(canvas, ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT); in onDraw()
DCanvasClientDrawable.java32 canvas.clipRect(0, 0, ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT); in draw()
33 mCanvasClient.draw(canvas, ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT); in draw()
DResourceModifier.java59 int drawWidth = ActivityTestBase.TEST_WIDTH; in ResourceModifier()
60 int drawHeight = ActivityTestBase.TEST_HEIGHT; in ResourceModifier()
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
DGoldenImageVerifier.java23 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
30 mGoldenBitmapArray = new int[ActivityTestBase.TEST_WIDTH * ActivityTestBase.TEST_HEIGHT]; in GoldenImageVerifier()
31 goldenBitmap.getPixels(mGoldenBitmapArray, 0, ActivityTestBase.TEST_WIDTH, 0, 0, in GoldenImageVerifier()
32 ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT); in GoldenImageVerifier()
DSamplePointVerifier.java20 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
66 mDifferenceBitmap = Bitmap.createBitmap(ActivityTestBase.TEST_WIDTH, in verify()
67 ActivityTestBase.TEST_HEIGHT, Bitmap.Config.ARGB_8888); in verify()
69 ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT); in verify()
DPerPixelBitmapVerifier.java21 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
80 mDifferenceBitmap = Bitmap.createBitmap(ActivityTestBase.TEST_WIDTH, in verify()
81 ActivityTestBase.TEST_HEIGHT, Bitmap.Config.ARGB_8888); in verify()
83 ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT); in verify()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DAutofillHighlightTests.java30 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
37 public class AutofillHighlightTests extends ActivityTestBase {
40 Bitmap goldenBitmap = Bitmap.createBitmap(ActivityTestBase.TEST_WIDTH, in testHighlightedFrameLayout()
41 ActivityTestBase.TEST_HEIGHT, Bitmap.Config.ARGB_8888); in testHighlightedFrameLayout()
54 autofilledDrawable.setBounds(0, 0, ActivityTestBase.TEST_WIDTH, in testHighlightedFrameLayout()
55 ActivityTestBase.TEST_HEIGHT); in testHighlightedFrameLayout()
DPictureTest.java28 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
35 public class PictureTest extends ActivityTestBase {
45 ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT); in greenSquare()
DShapeTests.java24 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
31 public class ShapeTests extends ActivityTestBase {
DViewAnimationUtilsTests.java24 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
33 public class ViewAnimationUtilsTests extends ActivityTestBase {
DLayoutTests.java25 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
32 public class LayoutTests extends ActivityTestBase {
DVectorDrawableTests.java26 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
33 public class VectorDrawableTests extends ActivityTestBase {
DGradientTests.java27 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
33 public class GradientTests extends ActivityTestBase {
DBitmapTests.java34 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
50 public class BitmapTests extends ActivityTestBase {
179 child.setLayoutParams(new FrameLayout.LayoutParams(ActivityTestBase.TEST_WIDTH / 2, in testChangeDuringUiAnimation()
180 ActivityTestBase.TEST_HEIGHT / 2)); in testChangeDuringUiAnimation()
184 mAnimator = ValueAnimator.ofInt(0, ActivityTestBase.TEST_HEIGHT / 2); in testChangeDuringUiAnimation()
DShadowTests.java24 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
32 public class ShadowTests extends ActivityTestBase {
DInfrastructureTests.java28 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
37 public class InfrastructureTests extends ActivityTestBase {
DExactCanvasTests.java36 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
43 public class ExactCanvasTests extends ActivityTestBase {
80 canvas.drawRect(0, 0, ActivityTestBase.TEST_WIDTH, in testBlackRectWithStroke()
81 ActivityTestBase.TEST_HEIGHT, p); in testBlackRectWithStroke()
DPathTests.java12 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
19 public class PathTests extends ActivityTestBase {
DColorFilterAlphaTest.java29 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
40 public class ColorFilterAlphaTest extends ActivityTestBase {
DBitmapFilterTests.java27 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
35 public class BitmapFilterTests extends ActivityTestBase {
DSweepTests.java30 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
43 public class SweepTests extends ActivityTestBase {
DViewClippingTests.java15 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
32 public class ViewClippingTests extends ActivityTestBase {
DCanvasStateTests.java31 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
45 public class CanvasStateTests extends ActivityTestBase {
DRgba16fTests.java31 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
41 public class Rgba16fTests extends ActivityTestBase {
DTextureViewTests.java33 import android.uirendering.cts.testinfrastructure.ActivityTestBase;
52 public class TextureViewTests extends ActivityTestBase {

12