/external/deqp/modules/gles3/functional/ |
es3fClippingTests.cpp | 142 * Kernel radius defines maximum allowed distance. If radius is 0, only 143 * perfect match is allowed. Radius of 1 gives a 3x3 kernel. Pixels are 173 const int radius = kernelRadius; local 178 if (y < radius || x < radius || y + radius >= height || x + radius >= width) 186 for (int kY = y - radius; kY <= y + radius; kY++ 1191 const float radius = 40000.0f; local 1227 const float radius = 70000.0f; local [all...] |
/external/freetype/src/base/ |
ftstroke.c | 537 FT_Fixed radius, 548 FT_Vector_From_Polar( &a, radius, angle_start ); 573 FT_Vector_From_Polar( &b, radius, next ); 578 length = FT_MulDiv( radius, FT_Sin( theta ) * 4, 789 FT_Fixed radius; member in struct:FT_StrokerRec_ 834 FT_Fixed radius, 842 stroker->radius = radius; 897 FT_Fixed radius = stroker->radius; local 940 FT_Fixed radius = stroker->radius; local 967 FT_Fixed radius = stroker->radius; local 1074 FT_Fixed sigma = 0, radius = stroker->radius; local [all...] |
/external/opencv/cv/src/ |
cvcalibinit.cpp | 1988 const int radius = 4; local [all...] |
/external/skia/src/core/ |
SkDraw.cpp | 345 static SkRect make_square_rad(SkPoint center, SkScalar radius) { 347 center.fX - radius, center.fY - radius, 348 center.fX + radius, center.fY + radius 390 SkScalar radius = -1; // sentinel value, a "valid" value must be > 0 local 393 radius = 0.5f; 399 radius = SkScalarHalf(width * SkScalarAbs(sx)); 402 if (radius > 0) { 414 fRadius = radius; 531 SkScalar radius = SkScalarHalf(width); local [all...] |
/external/skia/src/gpu/ops/ |
GrDashOp.cpp | 202 SkScalar radius = SkScalarHalf(strokeWidth) - 0.5f; local 207 verts[idx + i].fRadius = radius; [all...] |
/external/skia/src/utils/ |
SkShadowTessellator.cpp | 816 // Adjust light height and radius 821 // Set radius and colors 827 // Compute the blur radius, scale and translation for the spot shadow. 828 SkScalar radius; local 834 lightRadius, &radius, &scale, &translate); 843 radius = SkDrawShadowMetrics::SpotBlurRadius(occluderHeight, lightPos.fZ, lightRadius); 845 fRadius = radius; 889 if (minDistSq < (radius + kTolerance)*(radius + kTolerance)) [all...] |
/external/skia/tests/ |
ImageFilterTest.cpp | 126 SkScalar radius = SkMinScalar(x, y) * 0.8f; local 132 SkGradientShader::MakeRadial(SkPoint::Make(x, y), radius, colors, nullptr, 2, 137 canvas->drawCircle(x, y, radius, paint); [all...] |
/external/skqp/src/core/ |
SkDraw.cpp | 345 const SkFixed radius = rec.fRadius; local 351 r.fLeft = x - radius; 352 r.fTop = y - radius; 353 r.fRight = x + radius; 354 r.fBottom = y + radius; 362 const SkFixed radius = rec.fRadius; local 368 r.fLeft = x - radius; 369 r.fTop = y - radius; 370 r.fRight = x + radius; 371 r.fBottom = y + radius; 387 SkScalar radius = -1; \/\/ sentinel value, a "valid" value must be > 0 local 526 SkScalar radius = SkScalarHalf(width); local [all...] |
/external/skqp/src/gpu/ops/ |
GrDashOp.cpp | 202 SkScalar radius = SkScalarHalf(strokeWidth) - 0.5f; local 207 verts[idx + i].fRadius = radius; [all...] |
/external/skqp/src/utils/ |
SkShadowTessellator.cpp | 798 // Adjust light height and radius 803 // Set radius and colors 809 // Compute the blur radius, scale and translation for the spot shadow. 810 SkScalar radius; local 816 lightRadius, &radius, &scale, &translate); 825 radius = SkDrawShadowMetrics::SpotBlurRadius(occluderHeight, lightPos.fZ, lightRadius); 827 fRadius = radius; 869 if (minDistSq < (radius + kTolerance)*(radius + kTolerance)) { 872 fOffsetAdjust = newRadius - radius; [all...] |
/external/skqp/tests/ |
ImageFilterTest.cpp | 126 SkScalar radius = SkMinScalar(x, y) * 0.8f; local 132 SkGradientShader::MakeRadial(SkPoint::Make(x, y), radius, colors, nullptr, 2, 137 canvas->drawCircle(x, y, radius, paint); [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternView.java | 219 float radius; field in class:LockPatternView.CellState 335 mCellStates[i][j].radius = mDotSize/2; 467 cellState.radius = mDotSize/2 * startScale; 478 cellState.radius = mDotSize/2 * ((1 - t) * startScale + t * endScale); 500 cellState.radius = mDotSize/2 * endScale; 794 state.radius = (float) animation.getAnimatedValue(); 932 final float radius = mPathWidth; local [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
RippleDrawable.java | 98 * Radius value that specifies the ripple radius should be computed based 349 // Otherwise, if the maximum radius is contained entirely within the 355 final int radius = mState.mMaxRadius; local 358 if (radius != RADIUS_AUTO 359 && radius <= hotspotBounds.width() / 2 360 && radius <= hotspotBounds.height() / 2 397 * Sets the radius in pixels of the fully expanded ripple. 399 * @param radius ripple radius in pixels, or {@link #RADIUS_AUTO} t [all...] |
/frameworks/base/libs/hwui/ |
SpotShadow.cpp | 77 float radius; member in struct:android::uirenderer::OutlineData 314 * Compute a horizontal circular polygon about point (x , y , height) of radius 362 * @param lightSize the radius of the light 395 // Outline's radius / Light's radius = Ratio 407 outlineData[i].radius = ratioZ * lightSize; 434 // Generate all the penumbra's vertices only using the (outline vertex + normal * radius) 482 penumbra[penumbraIndex++] = outlineData[i].position + avgNormal * outlineData[i].radius; 518 float ratioVI = outlineData[i].radius / distOutline; [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
BatteryMeterDrawableBase.java | 347 final float radius = getRadiusRatio() * (mFrame.height() + buttonHeight); local 349 mShapePath.addRoundRect(mFrame, radius, radius, Direction.CW); 351 mOutlinePath.addRoundRect(mFrame, radius, radius, Direction.CW);
|
SignalDrawable.java | 87 // Rounded corners are achieved by arcing a circle of radius `R` from its tangent points along 481 final float radius = scale(CORNER_RADIUS, width); local 490 mPath.addRoundRect(mSlashRect, radius, radius, Direction.CW); 500 mPath.addRoundRect(mSlashRect, radius, radius, Direction.CW);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
ActivatableNotificationView.java | 360 float radius = (float) Math.sqrt(widthHalf*widthHalf + heightHalf*heightHalf); local 364 widthHalf, heightHalf, radius, 0); 367 widthHalf, heightHalf, 0, radius); [all...] |
StatusBarIconView.java | 428 float radius; local 431 radius = mDotRadius * mDotAppearAmount; 435 radius = NotificationUtils.interpolate(mDotRadius, getWidth() / 4, fadeOutAmount); 438 canvas.drawCircle(mStatusBarIconSize / 2, getHeight() / 2, radius, mDotPaint);
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/ |
CircledImageView.java | 316 final float radius = local 320 float desiredWidth = radius * 2; 321 float desiredHeight = radius * 2; 435 /** Returns the circle radius. */ 437 float radius = mCircleRadius; local 439 radius = Math.max(getMeasuredHeight(), getMeasuredWidth()) * mCircleRadiusPercent; 442 return radius - mRadiusInset; 445 /** Sets the circle radius. */ 455 /** Gets the circle radius percent. */ 461 * Sets the radius of the circle to be a percentage of the largest dimension of the view 476 float radius = mCircleRadiusPressed; local [all...] |
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/ |
PieRenderer.java | 69 private int radius; field in class:PieRenderer 155 radius = res.getDimensionPixelSize(R.dimen.pie_radius_start); 156 circleSize = radius - res.getDimensionPixelSize(R.dimen.focus_radius_offset); 278 int inner = radius + rgap; 279 int outer = radius + radiusInc - rgap; 457 if (polar.y < radius) { 542 // get angle and radius from x/y 674 private static void convertCart(int angle, int radius, Point out) { 676 out.x = (int) (radius * Math.cos(a) + 0.5); 677 out.y = (int) (radius * Math.sin(a) + 0.5) [all...] |
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
FlingUpDownMethod.java | 316 double radius = contactPuckContainer.getHeight() / 2; local 319 // distance with the square of the radius. 322 return distSq >= Math.pow(radius, 2); [all...] |
/external/ImageMagick/MagickCore/ |
fx.c | 586 % Image *CharcoalImage(const Image *image,const double radius, 593 % o radius: the radius of the pixel neighborhood. 600 MagickExport Image *CharcoalImage(const Image *image,const double radius, 617 edge_image=EdgeImage(clone_image,radius,exception); 621 charcoal_image=BlurImage(edge_image,radius,sigma,exception); 3266 radius; local 5117 radius; local [all...] |
/external/opencv/cvaux/src/ |
cvlee.cpp | 100 float radius; member in struct:CvVoronoiNodeInt 678 Radius: out, distance between pPoint and sites, assosiated 689 float &Radius); 700 Radius: out, distance between pPoint and sites, assosiated 711 float &Radius); 722 Radius: out, distance between pPoint and sites, assosiated 733 float &Radius); [all...] |
/external/skia/src/gpu/ |
GrTessellator.cpp | 1880 float radius = 0.5f; local 1951 double radius = 0.5; local [all...] |
/external/skia/src/xps/ |
SkXPSDevice.cpp | 916 SkScalar radius = info.fRadius[0]; local [all...] |