/external/skia/src/effects/ |
SkBlurMask.cpp | 20 * This function performs a box blur in X, of the given radius. If the 218 * keeps two running sums: an outer sum for the rounded-up kernel radius, and 219 * an inner sum for the rounded-down kernel radius. For each pixel, it linearly 270 int radius, int width, int height, 273 int diameter = radius * 2; 475 SkScalar radius, Style style, Quality quality, 484 if (radius < SkIntToScalar(3)) { 492 SkScalarMul( radius, kBlurRadiusFudgeFactor): 493 radius; 656 static int compute_profile_size(SkScalar radius) { 712 float radius = SkScalarToFloat(SkScalarMul(provided_radius, kBlurRadiusFudgeFactor)); local 848 float radius = SkScalarToFloat(SkScalarMul(provided_radius, kBlurRadiusFudgeFactor)); local [all...] |
SkBlurDrawLooper.cpp | 18 SkBlurDrawLooper::SkBlurDrawLooper(SkScalar radius, SkScalar dx, SkScalar dy, 23 if (radius > 0) { 32 fBlur = SkBlurMaskFilter::Create(radius, 149 // alternatively we could cache the radius in SkBlurDrawLooper and just add it here
|
/external/chromium/chrome/browser/ui/views/notifications/ |
balloon_view.cc | 382 SkScalar radius = SkIntToScalar(BubbleBorder::GetCornerRadius()); local 383 SkScalar spline_radius = radius - 384 SkScalarMul(radius, (SK_ScalarSqrt2 - SK_Scalar1) * 4 / 3); 392 path->lineTo(right, bottom - radius); 395 right - radius, bottom); 396 path->lineTo(left + radius, bottom); 399 left, bottom - radius); 406 SkScalar radius = SkIntToScalar(BubbleBorder::GetCornerRadius()); local 407 SkScalar spline_radius = radius - 408 SkScalarMul(radius, (SK_ScalarSqrt2 - SK_Scalar1) * 4 / 3) [all...] |
/external/chromium_org/chrome/browser/ui/views/notifications/ |
balloon_view_views.cc | 400 SkScalar radius = SkIntToScalar(views::BubbleBorder::GetCornerRadius()); local 401 SkScalar spline_radius = radius - 402 SkScalarMul(radius, (SK_ScalarSqrt2 - SK_Scalar1) * 4 / 3); 410 path->lineTo(right, bottom - radius); 413 right - radius, bottom); 414 path->lineTo(left + radius, bottom); 417 left, bottom - radius); 424 SkScalar radius = SkIntToScalar(views::BubbleBorder::GetCornerRadius()); local 425 SkScalar spline_radius = radius - 426 SkScalarMul(radius, (SK_ScalarSqrt2 - SK_Scalar1) * 4 / 3) [all...] |
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/styles/ |
main.css | 58 border-radius: 2px; 61 border-radius: 2px; 223 border-radius: 4px; 235 border-radius: 4px; 247 border-radius: 4px; 259 border-radius: 4px; 271 border-radius: 4px;
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
TestAttachDriver.java | 154 float radius = 0.5f; local 160 Cylinder wheelMesh = new Cylinder(16, 16, radius, radius * 0.6f, true); 168 wheelDirection, wheelAxle, restLength, radius, true); 176 wheelDirection, wheelAxle, restLength, radius, true); 184 wheelDirection, wheelAxle, restLength, radius, false); 192 wheelDirection, wheelAxle, restLength, radius, false);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
GradientDrawable.java | 185 * @param radii 4 pairs of X and Y radius for each corner, specified in pixels. 199 * <p>Specify radius for the corners of the gradient. If this is > 0, then the 206 * @param radius The radius in pixels of the corners of the rectangle shape 212 public void setCornerRadius(float radius) { 213 mGradientState.setCornerRadius(radius); 323 * <p>Sets the center location of the gradient. The radius is honored only when 342 * <p>Sets the radius of the gradient. The radius is honored only when the 348 * @param gradientRadius The radius of the gradient in pixel [all...] |
/external/libppp/src/ |
radius.c | 26 * $FreeBSD: src/usr.sbin/ppp/radius.c,v 1.54.14.1 2010/12/21 17:10:29 kensmith Exp $ 87 #include "radius.h" 148 demangle(struct radius *r, const void *mangled, size_t mlen, 167 /* We need the RADIUS Request-Authenticator */ 169 log_Printf(LogWARN, "Cannot obtain the RADIUS request authenticator\n"); 178 S = rad_server_secret(r->cx.rad); /* We need the RADIUS secret */ 248 radius_Process(struct radius *r, int got) 271 "Radius(%s): ACCEPT received\n", stype); 280 "Radius(%s): REJECT received\n", stype); 290 "Radius: CHALLENGE received (can't handle yet)\n") [all...] |
/cts/apps/CtsVerifier/lib/colorchecker/ |
testingimage.cpp | 134 // Average the pixel values of the pixels within the given radius to the 138 float radius = sqrt((*radiusAddress)[i][j]); local 144 for (int ii = static_cast<int>(center.x() - radius); 145 ii < static_cast<int>(center.x() + radius); ++ii) { 146 for (int jj = static_cast<int>(center.y() - radius); 147 jj < static_cast<int>(center.y() + radius); ++jj) {
|
/developers/samples/android/input/multitouch/BasicMultitouch/BasicMultitouch/src/main/java/com/example/android/input/multitouch/basicMultitouch/ |
TouchDisplayView.java | 314 // radius of active touch circle in dp 316 // radius of historical circle in dp 384 float radius = pressure * mCircleRadius; local 386 canvas.drawCircle(data.x, (data.y) - (radius / 2f), radius, 397 canvas.drawText(data.label, data.x + radius, data.y 398 - radius, mTextPaint);
|
/external/chromium_org/media/video/capture/ |
fake_video_capture_device.cc | 167 int radius = std::min(capture_format_.width, capture_format_.height) / 4; local 169 capture_format_.width / 2 - radius, capture_format_.height / 2 - radius, 170 2 * radius, 2 * radius);
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
FaultHeightMap.java | 187 float radius = random.nextFloat() * (maxRadius - minRadius) + minRadius;
local 188 int intRadius = (int) FastMath.floor(radius);
189 // Allox circle center to be out of map if not by more than radius.
202 float rx = x + dx / dmag * radius;
203 float ry = y + dy / dmag * radius;
204 dist = FastMath.sign(dmag - radius)
|
/frameworks/base/libs/hwui/ |
FontRenderer.h | 134 uint32_t len, int numGlyphs, uint32_t radius, const float* positions); 216 static void computeGaussianWeights(float* weights, int32_t radius); 217 static void horizontalBlur(float* weights, int32_t radius, const uint8_t *source, uint8_t *dest, 219 static void verticalBlur(float* weights, int32_t radius, const uint8_t *source, uint8_t *dest, 223 void blurImage(uint8_t** image, int32_t width, int32_t height, int32_t radius);
|
/external/opencv/cv/src/ |
cvsmooth.cpp | [all...] |
/developers/samples/android/ui/accessibility/BasicAccessibility/BasicAccessibility/src/main/java/com/example/android/ui/accessibility/BasicAccessibility/ |
DialView.java | 222 * Compute the X/Y-coordinates for a label or indicator, given the position number and radius 226 * @param radius Radius where label/indicator is to be drawn. 229 private float[] computeXYForPosition(final int pos, final float radius) { 233 result[0] = (float) (radius * Math.cos(angle)) + (mWidth / 2); 234 result[1] = (float) (radius * Math.sin(angle)) + (mHeight / 2);
|
/docs/source.android.com/src/source/assets/ |
main.css | 289 -moz-border-radius: 5px; 290 -webkit-border-radius: 5px; 310 -moz-border-radius-topright: 5px; 311 -moz-border-radius-topleft: 5px; 312 -webkit-border-top-right-radius: 5px; 313 -webkit-border-top-left-radius: 5px;
|
/external/chromium_org/ash/launcher/ |
overflow_button.cc | 85 const SkScalar radius = SkIntToScalar(kButtonCornerRadius); local 87 path.addRoundRect(gfx::RectToSkRect(rect), radius, radius); local
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGEllipse.cpp | 84 float radius = circle->rCurrentValue().value(lengthContext); local 85 m_radii = FloatSize(radius, radius);
|
/external/chromium_org/third_party/skia/src/effects/ |
SkBlurDrawLooper.cpp | 18 SkBlurDrawLooper::SkBlurDrawLooper(SkScalar radius, SkScalar dx, SkScalar dy, 23 if (radius > 0) { 32 fBlur = SkBlurMaskFilter::Create(radius, 149 // alternatively we could cache the radius in SkBlurDrawLooper and just add it here
|
/external/opencv/cvaux/src/ |
cvlcm.cpp | 376 if(pNode->radius > LCM->maxWidth) 381 if(pNode1->radius > LCM->maxWidth) 383 if(pNode1->radius == 0) 453 if(pNode0->radius <= pLCM->maxWidth && pNode1->radius <= pLCM->maxWidth) 539 width += pNode0->radius; 546 if(pNode1->radius >= pLCM->maxWidth) 550 width += pNode1->radius; 563 width += LCMData.pnode->radius; 638 if(!pNode->radius) [all...] |
/external/skia/gm/ |
filltypespersp.cpp | 20 const SkScalar radius = SkIntToScalar(45); local 21 fPath.addCircle(SkIntToScalar(50), SkIntToScalar(50), radius); 22 fPath.addCircle(SkIntToScalar(100), SkIntToScalar(100), radius);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
FisheyeFilter.java | 162 float radius = 1.15f * bound; local 163 float radius2 = radius * radius;
|
/hardware/ti/omap4xxx/camera/ |
SensorListener.cpp | 53 float radius = 0; local 63 radius = (float) sqrt(x * x + y * y + z * z); 64 tilt = (int) asinf(z / radius) * RADIANS_2_DEG;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
BasicShapes.cpp | 91 float radius = floatValueForLength(m_radius, diagonal); local 93 centerX - radius + boundingBox.x(), 94 centerY - radius + boundingBox.y(), 95 radius * 2, 96 radius * 2 108 result->setRadius(m_radius.blend(o->radius(), progress));
|
/external/chromium-trace/trace-viewer/src/ui/ |
quad_stack.css | 41 border-radius: 6px;
|