Home
last modified time | relevance | path

Searched refs:BITMAP_HEIGHT (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DCornerPathEffectTest.java36 private static final int BITMAP_HEIGHT = 100; field in CornerPathEffectTest
45 path.lineTo(BITMAP_WIDTH - PADDING, BITMAP_HEIGHT); in testCornerPathEffect()
55 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testCornerPathEffect()
67 expectedPath.lineTo(BITMAP_WIDTH - PADDING, BITMAP_HEIGHT); in testCornerPathEffect()
79 for (int y = 0; y < BITMAP_HEIGHT; y++) { in testCornerPathEffect()
90 int straightLines = BITMAP_WIDTH - PADDING - RADIUS + BITMAP_HEIGHT - PADDING - RADIUS; in testCornerPathEffect()
DComposePathEffectTest.java33 private static final int BITMAP_HEIGHT = 20; field in ComposePathEffectTest
36 private static final int CENTER = BITMAP_HEIGHT / 2;
53 Bitmap actual = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testComposePathEffect()
59 Bitmap expected = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testComposePathEffect()
65 for (int y = 0; y < BITMAP_HEIGHT; y++) { in testComposePathEffect()
DEmbossMaskFilterTest.java33 private static final int BITMAP_HEIGHT = 100; field in EmbossMaskFilterTest
37 private static final int CENTER_Y = BITMAP_HEIGHT / 2;
53 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testEmbossMaskFilter()
60 Rect bottom = new Rect(0, CENTER_Y, BITMAP_WIDTH, BITMAP_HEIGHT); in testEmbossMaskFilter()
61 Rect left = new Rect(0, 0, CENTER_X, BITMAP_HEIGHT); in testEmbossMaskFilter()
62 Rect right = new Rect(CENTER_X, 0, BITMAP_WIDTH, BITMAP_HEIGHT); in testEmbossMaskFilter()
DPaintFlagsDrawFilterTest.java37 private static final int BITMAP_HEIGHT = 100; field in PaintFlagsDrawFilterTest
62 Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in drawText()
71 Bitmap combinedBitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in delta()
76 for (int j = 0; j < BITMAP_HEIGHT; j++) { in delta()
91 Rect rect = new Rect(BITMAP_WIDTH, BITMAP_HEIGHT, 0, 0); in assertUnderline()
92 for (int y = 0; y < BITMAP_HEIGHT; y++) { in assertUnderline()
DDiscretePathEffectTest.java35 private static final int BITMAP_HEIGHT = 100; field in DiscretePathEffectTest
38 private static final int COORD_Y = BITMAP_HEIGHT / 2;
55 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testDiscretePathEffect()
76 int minY = BITMAP_HEIGHT; in testDiscretePathEffect()
78 for (int y = 0; y < BITMAP_HEIGHT; y++) { in testDiscretePathEffect()
DDashPathEffectTest.java34 private static final int BITMAP_HEIGHT = 20; field in DashPathEffectTest
37 private static final int COORD_Y = BITMAP_HEIGHT / 2;
45 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testDashPathEffect()
62 for (int y = 0; y < BITMAP_HEIGHT; y++) { in testDashPathEffect()
DBlurMaskFilterTest.java34 private static final int BITMAP_HEIGHT = 100; field in BlurMaskFilterTest
35 private static final int CENTER = BITMAP_HEIGHT / 2;
42 Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testBlurMaskFilter()
DAvoidXfermodeTest.java33 private static final int BITMAP_HEIGHT = BASE_SIZE * 2; field in AvoidXfermodeTest
53 Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testAvoidXfermode()
DCanvasTest.java50 private final static int BITMAP_HEIGHT = 28; field in CanvasTest
83 mMutableBitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in setUp()
110 mMutableBitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testCanvas2()
940 assertEquals(BITMAP_HEIGHT, r.height()); in testGetClipBounds1()
947 assertEquals(BITMAP_HEIGHT, r.height()); in testGetClipBounds2()
952 assertEquals(color, mMutableBitmap.getPixel(BITMAP_WIDTH / 2, BITMAP_HEIGHT / 2)); in checkDrewColor()
953 assertEquals(color, mMutableBitmap.getPixel(BITMAP_WIDTH - 1, BITMAP_HEIGHT - 1)); in checkDrewColor()
/cts/tests/src/android/view/cts/
DSurfaceViewStubActivity.java49 private static final int BITMAP_HEIGHT = 100; field in SurfaceViewStubActivity.MockSurfaceView
175 BITMAP_HEIGHT, in surfaceCreated()