/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() 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()
|
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 | 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 | 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() 72 for (int x = 0; x < BITMAP_WIDTH; x++) { in testDashPathEffect()
|
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 | DiscretePathEffectTest.java | 42 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()
|
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 | 63 private static final int BITMAP_WIDTH = 10; field in CanvasTests 86 return Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, config); in getMutableBitmap() 430 Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapAtPointRecycled() 439 Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapSrcDstFloatRecycled() 448 Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapSrcDstIntRecycled() 531 final Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapMeshNegativeWidth() 540 final Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapMeshNegativeHeight() 549 final Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapMeshNegativeVertOffset() 558 final Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapMeshNegativeColorOffset() 567 final Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapMeshTooFewVerts() [all …]
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | SurfaceViewCtsActivity.java | 51 private static final int BITMAP_WIDTH = 100; field in SurfaceViewCtsActivity.MockSurfaceView 185 mCanvas = new Canvas(Bitmap.createBitmap( BITMAP_WIDTH, in surfaceCreated()
|