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

  /cts/tests/tests/graphics/src/android/graphics/cts/
CornerPathEffectTest.java 43 private static final int RADIUS = 20;
59 PathEffect effect = new CornerPathEffect(RADIUS);
75 RectF oval = new RectF(BITMAP_WIDTH - PADDING - 2 * RADIUS, PADDING,
76 BITMAP_WIDTH - PADDING, PADDING + 2 * RADIUS);
102 int straightLines = BITMAP_WIDTH - PADDING - RADIUS + BITMAP_HEIGHT - PADDING - RADIUS;
106 assertTrue(cornerPixels < 2 * RADIUS);
109 assertFalse(cornerPixels > RADIUS);
BlurMaskFilterTest.java 36 private static final int RADIUS = 5;
47 BlurMaskFilter filter = new BlurMaskFilter(RADIUS, Blur.NORMAL);
57 if (x < CENTER - OFFSET - RADIUS || y < CENTER - OFFSET - RADIUS) {
58 // check that color didn't bleed (much) beyond radius
60 } else if (x > CENTER - OFFSET + RADIUS && y > CENTER - OFFSET + RADIUS) {
SweepGradientTest.java 43 private static final int RADIUS = 80;
107 int x = CENTER + (int)(Math.cos(rad) * RADIUS);
108 int y = CENTER + (int)(Math.sin(rad) * RADIUS);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
BoxBlurFilter.java 28 private static final int RADIUS = 4;
29 private static final int KERNEL_SIZE = RADIUS * 2 + 1;
77 for (int i = -RADIUS; i <= RADIUS; ++i) {
92 int prev = in[read + sample(x - RADIUS, width, mode)];
93 int next = in[read + sample(x + RADIUS + 1, width, mode)];
  /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];
  /external/collada/include/1.4/dom/
domSphere.h 35 * A float value that represents the radius of the sphere
40 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::RADIUS; }
94 * A float value that represents the radius of the sphere @see domRadius
104 * Gets the radius element.
105 * @return a daeSmartRef to the radius element.
domCapsule.h 102 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::RADIUS; }
182 * Gets the radius element.
183 * @return a daeSmartRef to the radius element.
domCylinder.h 102 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::RADIUS; }
181 * Gets the radius element.
182 * @return a daeSmartRef to the radius element.
domTypes.h     [all...]
  /frameworks/base/libs/ui/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/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 525 // Each point 'i' is a point on a circle of radius ROTATION centered at (3,2) at an angle
531 final float RADIUS = 10;
543 c.x = (float) (Math.sin(angle) * RADIUS + 3);
544 c.y = (float) (- Math.cos(angle) * RADIUS + 2);
550 final float originalRawY = - RADIUS + 2;
577 assertEquals(Math.sin(angle) * RADIUS, c.x, 0.001);
578 assertEquals(- Math.cos(angle) * RADIUS, c.y, 0.001);
  /external/bison/tests/
testsuite     [all...]

Completed in 283 milliseconds