Home
last modified time | relevance | path

Searched refs:radius1 (Results 1 – 10 of 10) sorted by relevance

/external/pixman/demos/
Dradial-test.c96 double x0, x1, radius0, radius1, left, right, center; in create_radial() local
101 radius1 = radiuses[NUM_GRADIENTS - index - 1]; in create_radial()
104 left = MIN (x0 - radius0, x1 - radius1); in create_radial()
105 right = MAX (x0 + radius0, x1 + radius1); in create_radial()
114 radius1 *= 0.25; in create_radial()
123 r1 = pixman_double_to_fixed (radius1); in create_radial()
/external/skia/gm/
Dgradients_no_texture.cpp70 SkScalar radius1 = SkScalarDiv(pts[1].fX - pts[0].fX, 3); in Make2Conical() local
72 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2Conical()
73 return SkGradientShader::CreateTwoPointConical(center1, radius1, in Make2Conical()
Dgradients.cpp83 SkScalar radius1 = SkScalarDiv(pts[1].fX - pts[0].fX, 3); in Make2Conical() local
85 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2Conical()
86 return SkGradientShader::CreateTwoPointConical(center1, radius1, in Make2Conical()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGradient.cpp256 SkScalar radius1 = m_r1 >= 0.0f ? WebCoreFloatToSkScalar(m_r1) : 0; in shader() local
257 … = adoptRef(SkGradientShader::CreateTwoPointConical(m_p0, radius0, m_p1, radius1, colors, pos, sta… in shader()
/external/skia/src/effects/gradients/
DSkTwoPointRadialGradient.cpp504 SkScalar radius1 = random->nextUScalar1(); in TestCreate() local
511 } while (radius1 == radius2); in TestCreate()
518 SkAutoTUnref<SkShader> shader(SkGradientShader::CreateTwoPointRadial(center1, radius1, in TestCreate()
DSkTwoPointConicalGradient.cpp463 SkScalar radius1 = random->nextUScalar1(); in TestCreate() local
470 } while (radius1 == radius2 && center1 == center2); in TestCreate()
477 SkAutoTUnref<SkShader> shader(SkGradientShader::CreateTwoPointConical(center1, radius1, in TestCreate()
/external/chromium_org/third_party/skia/src/effects/gradients/
DSkTwoPointRadialGradient.cpp504 SkScalar radius1 = random->nextUScalar1(); in TestCreate() local
511 } while (radius1 == radius2); in TestCreate()
518 SkAutoTUnref<SkShader> shader(SkGradientShader::CreateTwoPointRadial(center1, radius1, in TestCreate()
DSkTwoPointConicalGradient.cpp463 SkScalar radius1 = random->nextUScalar1(); in TestCreate() local
470 } while (radius1 == radius2 && center1 == center2); in TestCreate()
477 SkAutoTUnref<SkShader> shader(SkGradientShader::CreateTwoPointConical(center1, radius1, in TestCreate()
/external/opencv/cvaux/src/
Dcvscanlines.cpp1403 float radius1, radius2, radius3, radius4; in icvGetCoefficientStereo() local
1463 radius1 = l_epipole[0] * l_epipole[0] + (l_epipole[1] - height) * (l_epipole[1] - height); in icvGetCoefficientStereo()
1473 l_radius = (float) sqrt( (double)MAX( MAX( radius1, radius2 ), MAX( radius3, radius4 ))); in icvGetCoefficientStereo()
1475 radius1 = r_epipole[0] * r_epipole[0] + (r_epipole[1] - height) * (r_epipole[1] - height); in icvGetCoefficientStereo()
1485 r_radius = (float) sqrt( (double)MAX( MAX( radius1, radius2 ), MAX( radius3, radius4 ))); in icvGetCoefficientStereo()
Dcvlee.cpp2650 float radius1,radius2,dist1,dist2; in _cvJoinChains() local
2691 radius1 = -1; radius2 = -2; in _cvJoinChains()
2703 dist1 = _cvCalcEdgeIntersection(pEdge1, pEdge_left, &Point1,radius1); in _cvJoinChains()
2705 dist1 = _cvCalcEdgeIntersection(pEdge2, pEdge_left, &Point1,radius1); in _cvJoinChains()
2836 _cvInitVoronoiNode(pNode_begin, &Point1,radius1); in _cvJoinChains()
3085 float radius1, radius2,dist1, dist2; in _cvFindOppositSiteCW() local
3095 radius1 = -1; radius2 = -2; in _cvFindOppositSiteCW()
3098 dist1 = _cvCalcEdgeIntersection(pEdge, pEdge_left, &Point1,radius1); in _cvFindOppositSiteCW()
3141 float radius1, radius2; in _cvFindOppositSiteCCW() local
3151 radius1 = -1; radius2 = -2; in _cvFindOppositSiteCCW()
[all …]