Searched refs:RADIUS (Results 1 – 4 of 4) sorted by relevance
46 private static final int RADIUS = 20; field in CornerPathEffectTest56 PathEffect effect = new CornerPathEffect(RADIUS); in testCornerPathEffect()72 RectF oval = new RectF(BITMAP_WIDTH - PADDING - 2 * RADIUS, PADDING, in testCornerPathEffect()73 BITMAP_WIDTH - PADDING, PADDING + 2 * RADIUS); in testCornerPathEffect()99 int straightLines = BITMAP_WIDTH - PADDING - RADIUS + BITMAP_HEIGHT - PADDING - RADIUS; in testCornerPathEffect()103 assertTrue(cornerPixels < 2 * RADIUS); in testCornerPathEffect()105 assertTrue(cornerPixels > Math.sqrt(2 * Math.pow(RADIUS, 2))); in testCornerPathEffect()
38 private static final int RADIUS = 5; field in BlurMaskFilterTest46 BlurMaskFilter filter = new BlurMaskFilter(RADIUS, Blur.NORMAL); in testBlurMaskFilter()59 } else if (x > CENTER - OFFSET + RADIUS && y > CENTER - OFFSET + RADIUS) { in testBlurMaskFilter()62 } else if (x > CENTER - OFFSET - RADIUS && y > CENTER - OFFSET - RADIUS) { in testBlurMaskFilter()
50 private static final int RADIUS = 80; field in SweepGradientTest105 int x = CENTER + (int)(Math.cos(rad) * RADIUS); in verifyColors()106 int y = CENTER + (int)(Math.sin(rad) * RADIUS); in verifyColors()
635 final float RADIUS = 10; in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() local648 c.x = (float) (Math.sin(angle) * RADIUS + 3); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()649 c.y = (float) (- Math.cos(angle) * RADIUS + 2); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()685 assertEquals(Math.sin(angle) * RADIUS, c.x, RAW_COORD_TOLERANCE); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()686 assertEquals(-Math.cos(angle) * RADIUS, c.y, RAW_COORD_TOLERANCE); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()