/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ComposePathEffectTest.java | 40 private static final int BITMAP_HEIGHT = 20; field in ComposePathEffectTest 43 private static final int CENTER = BITMAP_HEIGHT / 2; 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() 73 for (int y = 0; y < BITMAP_HEIGHT; y++) { in testComposePathEffect()
|
D | CornerPathEffectTest.java | 44 private static final int BITMAP_HEIGHT = 100; field in CornerPathEffectTest 54 path.lineTo(BITMAP_WIDTH - PADDING, BITMAP_HEIGHT); in testCornerPathEffect() 65 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testCornerPathEffect() 77 expectedPath.lineTo(BITMAP_WIDTH - PADDING, BITMAP_HEIGHT); in testCornerPathEffect() 89 for (int y = 0; y < BITMAP_HEIGHT; y++) { in testCornerPathEffect() 100 int straightLines = BITMAP_WIDTH - PADDING - RADIUS + BITMAP_HEIGHT - PADDING - RADIUS; in testCornerPathEffect()
|
D | EmbossMaskFilterTest.java | 41 private static final int BITMAP_HEIGHT = 100; field in EmbossMaskFilterTest 45 private static final int CENTER_Y = BITMAP_HEIGHT / 2; 62 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testEmbossMaskFilter() 69 Rect bottom = new Rect(0, CENTER_Y, BITMAP_WIDTH, BITMAP_HEIGHT); in testEmbossMaskFilter() 70 Rect left = new Rect(0, 0, CENTER_X, BITMAP_HEIGHT); in testEmbossMaskFilter() 71 Rect right = new Rect(CENTER_X, 0, BITMAP_WIDTH, BITMAP_HEIGHT); in testEmbossMaskFilter()
|
D | DiscretePathEffectTest.java | 43 private static final int BITMAP_HEIGHT = 100; field in DiscretePathEffectTest 46 private static final int COORD_Y = BITMAP_HEIGHT / 2; 65 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testDiscretePathEffect() 86 int minY = BITMAP_HEIGHT; in testDiscretePathEffect() 88 for (int y = 0; y < BITMAP_HEIGHT; y++) { in testDiscretePathEffect()
|
D | DashPathEffectTest.java | 41 private static final int BITMAP_HEIGHT = 20; field in DashPathEffectTest 44 private static final int COORD_Y = BITMAP_HEIGHT / 2; 53 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testDashPathEffect() 71 for (int y = 0; y < BITMAP_HEIGHT; y++) { in testDashPathEffect()
|
D | PaintFlagsDrawFilterTest.java | 45 private static final int BITMAP_HEIGHT = 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() 80 for (int j = 0; j < BITMAP_HEIGHT; j++) { in delta() 95 Rect rect = new Rect(BITMAP_WIDTH, BITMAP_HEIGHT, 0, 0); in verifyUnderline() 96 for (int y = 0; y < BITMAP_HEIGHT; y++) { in verifyUnderline()
|
D | BlurMaskFilterTest.java | 41 private static final int BITMAP_HEIGHT = 100; field in BlurMaskFilterTest 42 private static final int CENTER = BITMAP_HEIGHT / 2; 50 Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in testBlurMaskFilter()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | SurfaceViewCtsActivity.java | 49 private static final int BITMAP_HEIGHT = 100; field in SurfaceViewCtsActivity.MockSurfaceView 183 BITMAP_HEIGHT, in surfaceCreated()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | CanvasTests.java | 54 private static final int BITMAP_HEIGHT = 28; field in CanvasTests 72 return Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Bitmap.Config.ARGB_8888); in getMutableBitmap()
|