/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | CornerPathEffectTest.java | 43 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() 64 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testCornerPathEffect() 72 RectF oval = new RectF(BITMAP_WIDTH - PADDING - 2 * RADIUS, PADDING, in testCornerPathEffect() 73 BITMAP_WIDTH - PADDING, PADDING + 2 * RADIUS); in testCornerPathEffect() 76 expectedPath.lineTo(BITMAP_WIDTH - PADDING, BITMAP_HEIGHT); in testCornerPathEffect() 89 for (int x = 0; x < BITMAP_WIDTH; x++) { in testCornerPathEffect() 99 int straightLines = BITMAP_WIDTH - PADDING - RADIUS + BITMAP_HEIGHT - PADDING - RADIUS; in testCornerPathEffect()
|
D | EmbossMaskFilterTest.java | 40 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()
|
D | ComposePathEffectTest.java | 39 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()
|
D | PaintFlagsDrawFilterTest.java | 44 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()
|
D | DashPathEffectTest.java | 40 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() 71 for (int x = 0; x < BITMAP_WIDTH; x++) { in testDashPathEffect()
|
D | DiscretePathEffectTest.java | 42 private static final int BITMAP_WIDTH = 200; field in DiscretePathEffectTest 45 private static final int END_X = BITMAP_WIDTH - START_X; 64 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testDiscretePathEffect() 88 for (int x = 0; x < BITMAP_WIDTH; x++) { in testDiscretePathEffect()
|
D | BlurMaskFilterTest.java | 40 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/ |
D | CanvasTests.java | 52 private static final int BITMAP_WIDTH = 10; field in CanvasTests 71 return Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Bitmap.Config.ARGB_8888); in getMutableBitmap() 320 Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapAtPointRecycled() 329 Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapSrcDstFloatRecycled() 338 Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapSrcDstIntRecycled() 421 final Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapMeshNegativeWidth() 430 final Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapMeshNegativeHeight() 439 final Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapMeshNegativeVertOffset() 448 final Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapMeshNegativeColorOffset() 457 final Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapMeshTooFewVerts() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | SurfaceViewCtsActivity.java | 48 private static final int BITMAP_WIDTH = 100; field in SurfaceViewCtsActivity.MockSurfaceView 182 mCanvas = new Canvas(Bitmap.createBitmap( BITMAP_WIDTH, in surfaceCreated()
|