HomeSort by relevance Sort by last modified time
    Searched refs:RADIUS (Results 1 - 9 of 9) sorted by null

  /cts/tests/tests/graphics/src/android/graphics/cts/
CornerPathEffectTest.java 38 private static final int RADIUS = 20;
47 PathEffect effect = new CornerPathEffect(RADIUS);
63 RectF oval = new RectF(BITMAP_WIDTH - PADDING - 2 * RADIUS, PADDING,
64 BITMAP_WIDTH - PADDING, PADDING + 2 * RADIUS);
90 int straightLines = BITMAP_WIDTH - PADDING - RADIUS + BITMAP_HEIGHT - PADDING - RADIUS;
94 assertTrue(cornerPixels < 2 * RADIUS);
97 assertFalse(cornerPixels > RADIUS);
BlurMaskFilterTest.java 32 private static final int RADIUS = 5;
38 BlurMaskFilter filter = new BlurMaskFilter(RADIUS, Blur.NORMAL);
48 if (x < CENTER - OFFSET - RADIUS || y < CENTER - OFFSET - RADIUS) {
49 // check that color didn't bleed (much) beyond radius
51 } else if (x > CENTER - OFFSET + RADIUS && y > CENTER - OFFSET + RADIUS) {
SweepGradientTest.java 39 private static final int RADIUS = 80;
88 int x = CENTER + (int)(Math.cos(rad) * RADIUS);
89 int y = CENTER + (int)(Math.sin(rad) * RADIUS);
  /packages/apps/Phone/src/com/android/phone/
BitmapUtils.java 122 // This function is currently hardcoded to blur with RADIUS = 4.
123 // (If you change RADIUS, you'll have to change the weights[] too.)
124 final int RADIUS = 4;
137 for (int i = -RADIUS; i <= RADIUS; ++i) {
139 int weight = weights[i+RADIUS];
  /frameworks/base/libs/androidfw/tests/
InputEvent_test.cpp 524 // Each point 'i' is a point on a circle of radius ROTATION centered at (3,2) at an angle
530 const float RADIUS = 10;
542 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, sinf(angle) * RADIUS + 3);
543 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, -cosf(angle) * RADIUS + 2);
550 float originalRawY = -RADIUS + 2;
571 ASSERT_NEAR(sinf(angle) * RADIUS, event.getX(i), 0.001);
572 ASSERT_NEAR(-cosf(angle) * RADIUS, event.getY(i), 0.001);
  /packages/experimental/DreamTheater/src/com/android/dreamtheater/
BouncyDroid.java 34 static final int RADIUS = 100;
205 mBody.r = RADIUS;
305 RADIUS, RADIUS);
  /external/webp/src/enc/
picture.c 920 // search radius. Shouldn't be too large.
921 #define RADIUS 2
929 const int y_0 = (y - RADIUS < 0) ? 0 : y - RADIUS;
930 const int y_1 = (y + RADIUS + 1 >= h) ? h : y + RADIUS + 1;
932 const int x_0 = (x - RADIUS < 0) ? 0 : x - RADIUS;
933 const int x_1 = (x + RADIUS + 1 >= w) ? w : x + RADIUS + 1
    [all...]
  /external/ppp/pppd/plugins/radius/etc/
dictionary 2 # Updated 97/06/13 to livingston-radius-2.01 miquels@cistron.nl
176 VALUE Acct-Authentic RADIUS 1
183 VALUE Termination-Action RADIUS-Request 1
  /cts/tests/tests/view/src/android/view/cts/
MotionEventTest.java 335 // Each point 'i' is a point on a circle of radius ROTATION centered at (3,2) at an angle
341 final float RADIUS = 10;
353 c.x = (float) (Math.sin(angle) * RADIUS + 3);
354 c.y = (float) (- Math.cos(angle) * RADIUS + 2);
360 final float originalRawY = - RADIUS + 2;
387 assertEquals(Math.sin(angle) * RADIUS, c.x, 0.001);
388 assertEquals(- Math.cos(angle) * RADIUS, c.y, 0.001);

Completed in 5263 milliseconds