Home
last modified time | relevance | path

Searched refs:BITMAP_WIDTH (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DCornerPathEffectTest.java43 private static final int BITMAP_WIDTH = 100; field in CornerPathEffectTest
53 path.lineTo(BITMAP_WIDTH - PADDING, PADDING); in testCornerPathEffect()
54 path.lineTo(BITMAP_WIDTH - PADDING, BITMAP_HEIGHT); in testCornerPathEffect()
65 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testCornerPathEffect()
73 RectF oval = new RectF(BITMAP_WIDTH - PADDING - 2 * RADIUS, PADDING, in testCornerPathEffect()
74 BITMAP_WIDTH - PADDING, PADDING + 2 * RADIUS); in testCornerPathEffect()
77 expectedPath.lineTo(BITMAP_WIDTH - PADDING, BITMAP_HEIGHT); in testCornerPathEffect()
90 for (int x = 0; x < BITMAP_WIDTH; x++) { in testCornerPathEffect()
100 int straightLines = BITMAP_WIDTH - PADDING - RADIUS + BITMAP_HEIGHT - PADDING - RADIUS; in testCornerPathEffect()
DComposePathEffectTest.java39 private static final int BITMAP_WIDTH = 110; field in ComposePathEffectTest
42 private static final int END_X = BITMAP_WIDTH - 10;
61 Bitmap actual = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testComposePathEffect()
67 Bitmap expected = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testComposePathEffect()
74 for (int x = 0; x < BITMAP_WIDTH; x++) { in testComposePathEffect()
DEmbossMaskFilterTest.java40 private static final int BITMAP_WIDTH = 100; field in EmbossMaskFilterTest
43 private static final int END_X = BITMAP_WIDTH - START_X;
62 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testEmbossMaskFilter()
68 Rect top = new Rect(0, 0, BITMAP_WIDTH, CENTER_Y); in testEmbossMaskFilter()
69 Rect bottom = new Rect(0, CENTER_Y, BITMAP_WIDTH, BITMAP_HEIGHT); in testEmbossMaskFilter()
71 Rect right = new Rect(CENTER_X, 0, BITMAP_WIDTH, BITMAP_HEIGHT); in testEmbossMaskFilter()
DPaintFlagsDrawFilterTest.java44 private static final int BITMAP_WIDTH = 100; field in PaintFlagsDrawFilterTest
66 Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in drawText()
75 Bitmap combinedBitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in delta()
79 for (int i = 0; i < BITMAP_WIDTH; i++) { in delta()
95 Rect rect = new Rect(BITMAP_WIDTH, BITMAP_HEIGHT, 0, 0); in verifyUnderline()
97 for (int x = 0; x < BITMAP_WIDTH; x++) { in verifyUnderline()
DDashPathEffectTest.java40 private static final int BITMAP_WIDTH = 200; field in DashPathEffectTest
43 private static final int END_X = BITMAP_WIDTH - START_X;
53 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testDashPathEffect()
72 for (int x = 0; x < BITMAP_WIDTH; x++) { in testDashPathEffect()
DDiscretePathEffectTest.java42 private static final int BITMAP_WIDTH = 200; field in DiscretePathEffectTest
45 private static final int END_X = BITMAP_WIDTH - START_X;
65 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testDiscretePathEffect()
89 for (int x = 0; x < BITMAP_WIDTH; x++) { in testDiscretePathEffect()
DBlurMaskFilterTest.java40 private static final int BITMAP_WIDTH = 100; field in BlurMaskFilterTest
50 Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testBlurMaskFilter()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DCanvasTests.java53 private static final int BITMAP_WIDTH = 10; field in CanvasTests
72 return Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Bitmap.Config.ARGB_8888); in getMutableBitmap()
361 Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapAtPointRecycled()
370 Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapSrcDstFloatRecycled()
379 Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapSrcDstIntRecycled()
462 final Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapMeshNegativeWidth()
471 final Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapMeshNegativeHeight()
480 final Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapMeshNegativeVertOffset()
489 final Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapMeshNegativeColorOffset()
498 final Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapMeshTooFewVerts()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DSurfaceViewCtsActivity.java48 private static final int BITMAP_WIDTH = 100; field in SurfaceViewCtsActivity.MockSurfaceView
182 mCanvas = new Canvas(Bitmap.createBitmap( BITMAP_WIDTH, in surfaceCreated()