/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | CornerPathEffectTest.java | 36 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()
|
D | ComposePathEffectTest.java | 33 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()
|
D | EmbossMaskFilterTest.java | 33 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()
|
D | PaintFlagsDrawFilterTest.java | 37 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()
|
D | DiscretePathEffectTest.java | 35 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()
|
D | DashPathEffectTest.java | 34 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()
|
D | BlurMaskFilterTest.java | 34 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()
|
D | AvoidXfermodeTest.java | 33 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()
|
D | CanvasTest.java | 50 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/ |
D | SurfaceViewStubActivity.java | 49 private static final int BITMAP_HEIGHT = 100; field in SurfaceViewStubActivity.MockSurfaceView 175 BITMAP_HEIGHT, in surfaceCreated()
|