/external/skia/gm/ |
D | occludedrrectblur.cpp | 64 SkScalar dist, const SkPoint& center) { in draw_45() argument 103 offset_center_to(r.roundOut(), center.fX + dist*dir.fX, center.fY + dist*dir.fY), in draw_45() 109 offset_center_to(r.roundOut(), center.fX + dist*dir.fX, center.fY + dist*dir.fY), in draw_45() 116 SkScalar dist, const SkPoint& center) { in draw_45_simple() argument 119 offset_center_to(r, center.fX + dist*v.fX, center.fY + dist*v.fY), in draw_45_simple() 124 offset_center_to(r, center.fX + dist*v.fX, center.fY + dist*v.fY), in draw_45_simple() 130 static void draw_90(SkCanvas* canvas, const SkVector& v, SkScalar dist, const SkPoint& center) { in draw_90() argument 140 offset_center_to(r, center.fX + dist*v.fX, center.fY + dist*v.fY)); in draw_90() 144 offset_center_to(r, center.fX + dist*v.fX, center.fY + dist*v.fY)); in draw_90() 150 SkScalar dist, const SkPoint& center) { in draw_90_simple() argument [all …]
|
D | gradients.cpp | 72 SkPoint center; in MakeRadial() local 73 center.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeRadial() 75 return SkGradientShader::MakeRadial(center, center.fX, data.fColors, data.fPos, data.fCount, in MakeRadial() 81 SkPoint center; in MakeRadial4f() local 82 center.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeRadial4f() 85 return SkGradientShader::MakeRadial(center, center.fX, data.fColors4f, srgb, data.fPos, in MakeRadial4f() 91 SkPoint center; in MakeSweep() local 92 center.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeSweep() 94 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount, in MakeSweep() 100 SkPoint center; in MakeSweep4f() local [all …]
|
/external/autotest/client/site_tests/firmware_TouchMTB/geometry/ |
D | elements.py | 75 def __init__(self, center, radius): argument 81 self.center = center 86 return self.center is not None and self.radius is not None 93 return self.center.distance(p) <= self.radius + TOLERANCE 100 return self.center == c.center and about_eq(self.radius, c.radius) 109 return hash((self.center, self.radius)) 113 return ('Center: %s, %s' % (str(self.center),
|
D | minicircle.py | 32 center = Point((p1.x + p2.x) * 0.5, (p1.y + p2.y) * 0.5) 33 radius = center.distance(p1) 34 return Circle(center, radius) 68 center = Point(x, y) 69 radius = center.distance(A) 70 return Circle(center, radius)
|
/external/libvorbis/doc/ |
D | Vorbis_I_spec.css | 32 center { margin-top:1em; margin-bottom:1em; } selector 33 td center { margin-top:0em; margin-bottom:0em; } 49 td.displaylines {text-align:center; white-space:nowrap;} 50 .centerline {text-align:center;} 55 div.center div.fbox {text-align:center; clear:both; padding-left:3.0pt; padding-right:3.0pt; text-i… 57 div.center, div.center div.center {text-align: center; margin-left:1em; margin-right:1em;} 58 div.center div {text-align: left;} 65 .framebox-c {text-align:center;} 70 div.tabular, div.center div.tabular {text-align: center; margin-top:0.5em; margin-bottom:0.5em; } 93 div.float img {text-align:center;} [all …]
|
/external/eigen/unsupported/test/ |
D | BVH.cpp | 30 Ball(const VectorType &c, double r) : center(c), radius(r) {} in Ball() 32 VectorType center; member 36 { return AlignedBox<double, Dim>(b.center.array() - b.radius, b.center.array() + b.radius); } in bounding_box() 55 if((b.center - p).squaredNorm() < SQR(b.radius)) in intersectObject() 61 …ype &r, const BallType &b) { ++calls; return r.squaredExteriorDistance(b.center) < SQR(b.radius); } in intersectVolumeObject() 62 …Type &b, const BoxType &r) { ++calls; return r.squaredExteriorDistance(b.center) < SQR(b.radius); } in intersectObjectVolume() 65 if((b1.center - b2.center).norm() < b1.radius + b2.radius) in intersectObjectObject() 72 if((b.center - v).squaredNorm() < SQR(b.radius)) in intersectObjectObject() 78 …double minimumOnObject(const BallType &b) { ++calls; return (std::max)(0., (b.center - p).squaredN… in minimumOnObject() 80 …onst BallType &b) { ++calls; return SQR((std::max)(0., r.exteriorDistance(b.center) - b.radius)); } in minimumOnVolumeObject() [all …]
|
/external/aac/libAACenc/src/ |
D | chaosmeasure.cpp | 110 FIXP_DBL left,center; /* left, center tap of filter */ in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast() local 113 center = (FIXP_DBL)((LONG)paMDCTDataNM0[i+2]^((LONG)paMDCTDataNM0[i+2]>>(DFRACT_BITS-1))); in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast() 119 if (tmp < center ) { in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast() 120 INT leadingBits = CntLeadingZeros(center)-1; in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast() 121 tmp = schur_div(tmp<<leadingBits, center<<leadingBits, 8); in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast() 128 left = center; in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast() 129 center = right; in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast()
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
D | BarGraph.java | 112 int center= MARGIN + w / 2; in paint() local 154 gc.drawLine(center, y, center, yy + TGAP); in paint() 162 gc.drawLine(center - x, y, center - x, yy + TGAP); in paint() 163 gc.drawLine(center + x, y, center + x, yy + TGAP); in paint() 169 gc.drawString(s3, center - x - es3.x / 2, yy + TGAP, true); in paint() 173 gc.drawString(s4, center + x - es4.x / 2, yy + TGAP, true); in paint() 223 gc.fillRectangle(center, y + (GAP / 2), barLength, BARHEIGHT); in paint() 224 gc.drawRectangle(center, y + (GAP / 2), barLength, BARHEIGHT); in paint() 226 gc.fillRectangle(center+barLength, y + (GAP / 2), -barLength, BARHEIGHT); in paint() 227 gc.drawRectangle(center+barLength, y + (GAP / 2), -barLength, BARHEIGHT); in paint() [all …]
|
/external/skia/samplecode/ |
D | SampleGradients.cpp | 70 SkPoint center; in MakeRadial() local 71 center.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeRadial() 73 return SkGradientShader::MakeRadial(center, center.fX, data.fColors, in MakeRadial() 78 SkPoint center; in MakeSweep() local 79 center.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeSweep() 81 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); in MakeSweep() 98 SkPoint center; in Make2ConicalConcentric() local 99 center.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalConcentric() 102 center, (pts[1].fX - pts[0].fX) / 7, in Make2ConicalConcentric() 103 center, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalConcentric()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/ |
D | Cluster.java | 39 private final T center; field in Cluster 45 public Cluster(final T center) { in Cluster() argument 46 this.center = center; in Cluster() 71 return center; in getCenter()
|
/external/jacoco/org.jacoco.doc/docroot/doc/.resources/ |
D | doc.css | 4 background-position:left center; 11 background-position:left center; 18 background-position:left center; 43 background:transparent url(extern.gif) center left no-repeat; 67 background-position:left center; 74 background-position:left center; 81 background-position:left center; 88 background-position:left center; 95 background-position:left center; 102 background-position:left center; [all …]
|
/external/skia/src/gpu/effects/ |
D | GrOvalEffect.cpp | 23 static sk_sp<GrFragmentProcessor> Make(GrPrimitiveEdgeType, const SkPoint& center, 36 CircleEffect(GrPrimitiveEdgeType, const SkPoint& center, SkScalar radius); 53 sk_sp<GrFragmentProcessor> CircleEffect::Make(GrPrimitiveEdgeType edgeType, const SkPoint& center, in Make() argument 56 return sk_sp<GrFragmentProcessor>(new CircleEffect(edgeType, center, radius)); in Make() 78 SkPoint center; in TestCreate() local 79 center.fX = d->fRandom->nextRangeScalar(0.f, 1000.f); in TestCreate() 80 center.fY = d->fRandom->nextRangeScalar(0.f, 1000.f); in TestCreate() 86 return CircleEffect::Make(et, center, radius); in TestCreate() 185 static sk_sp<GrFragmentProcessor> Make(GrPrimitiveEdgeType, const SkPoint& center, 198 EllipseEffect(GrPrimitiveEdgeType, const SkPoint& center, SkScalar rx, SkScalar ry); [all …]
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/ |
D | report.css | 27 background-position:left center; 34 background-position:left center; 41 background-position:left center; 48 background-position:left center; 55 background-position:left center; 62 background-position:left center; 69 background-position:left center; 76 background-position:left center; 111 background-position: 2px center; 121 background-position: 2px center; [all …]
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | SphereCollisionVolume.java | 67 public void setCenter(Vector2 center) { in setCenter() argument 68 mCenter.set(center); in setCenter() 159 private static void offsetByCenter(Vector2 position, Vector2 center, FlipInfo flip) { in offsetByCenter() argument 162 position.x += flip.parentWidth - center.x; in offsetByCenter() 164 position.x += center.x; in offsetByCenter() 168 position.y += flip.parentHeight - center.y; in offsetByCenter() 170 position.y += center.y; in offsetByCenter() 173 position.add(center); in offsetByCenter()
|
/external/skia/src/gpu/ops/ |
D | GrShadowRRectOp.cpp | 71 SkPoint center, SkScalar radius, SkScalar blurRadius, in Make() argument 80 viewMatrix.mapPoints(¢er, 1); in Make() 108 SkRect devBounds = SkRect::MakeLTRB(center.fX - outerRadius, center.fY - outerRadius, in Make() 109 center.fX + outerRadius, center.fY + outerRadius); in Make() 118 {center.fX - radius, center.fY - radius, center.fX + radius, center.fY + radius}, in Make() 218 SkPoint center = SkPoint::Make(bounds.centerX(), bounds.centerY()); in onPrepareDraws() local 222 ov0->fPos = center + SkPoint::Make(-octOffset * halfWidth, -halfWidth); in onPrepareDraws() 228 ov1->fPos = center + SkPoint::Make(octOffset * halfWidth, -halfWidth); in onPrepareDraws() 234 ov2->fPos = center + SkPoint::Make(halfWidth, -octOffset * halfWidth); in onPrepareDraws() 240 ov3->fPos = center + SkPoint::Make(halfWidth, octOffset * halfWidth); in onPrepareDraws() [all …]
|
/external/opencv/cv/src/ |
D | cvshapedescr.cpp | 135 CvPoint2D32f pt2, CvPoint2D32f * center, float *radius ) in icvFindCircle() argument 151 center->x = (float) (x2 + dx2 * t); in icvFindCircle() 152 center->y = (float) (y2 + dy2 * t); in icvFindCircle() 153 *radius = (float) icvDistanceL2_32f( *center, pt0 ); in icvFindCircle() 157 center->x = center->y = 0.f; in icvFindCircle() 166 CV_INLINE double icvIsPtInCircle( CvPoint2D32f pt, CvPoint2D32f center, float radius ) in icvIsPtInCircle() argument 168 double dx = pt.x - center.x; in icvIsPtInCircle() 169 double dy = pt.y - center.y; in icvIsPtInCircle() 182 CvPoint2D32f center; in icvFindEnslosingCicle4pts_32f() local 187 center = min_center = pts[0]; in icvFindEnslosingCicle4pts_32f() [all …]
|
/external/freetype/src/base/ |
D | ftstroke.c | 536 FT_Vector* center, in ft_stroke_border_arcto() argument 549 a.x += center->x; in ft_stroke_border_arcto() 550 a.y += center->y; in ft_stroke_border_arcto() 574 b.x += center->x; in ft_stroke_border_arcto() 575 b.y += center->y; in ft_stroke_border_arcto() 776 FT_Vector center; /* current position */ member 909 &stroker->center, in ft_stroker_arcto() 947 delta.x += stroker->center.x + delta2.x; in ft_stroker_cap() 948 delta.y += stroker->center.y + delta2.y; in ft_stroker_cap() 957 delta.x += delta2.x + stroker->center.x; in ft_stroker_cap() [all …]
|
/external/pdfium/third_party/freetype/src/base/ |
D | ftstroke.c | 536 FT_Vector* center, in ft_stroke_border_arcto() argument 549 a.x += center->x; in ft_stroke_border_arcto() 550 a.y += center->y; in ft_stroke_border_arcto() 574 b.x += center->x; in ft_stroke_border_arcto() 575 b.y += center->y; in ft_stroke_border_arcto() 775 FT_Vector center; /* current position */ member 908 &stroker->center, in ft_stroker_arcto() 946 delta.x += stroker->center.x + delta2.x; in ft_stroker_cap() 947 delta.y += stroker->center.y + delta2.y; in ft_stroker_cap() 956 delta.x += delta2.x + stroker->center.x; in ft_stroker_cap() [all …]
|
/external/autotest/frontend/client/src/autotest/public/ |
D | moblabsetup.css | 13 text-align: center; 38 text-align:center; 48 text-align: center; 53 text-align: center; 61 align-content: center;
|
/external/snakeyaml/src/test/resources/pyyaml/ |
D | construct-merge.data | 13 label: center/big 18 label: center/big 22 label: center/big 27 label: center/big
|
/external/llvm/test/YAMLParser/ |
D | construct-merge.test | 15 label: center/big 20 label: center/big 24 label: center/big 29 label: center/big
|
/external/v8/benchmarks/ |
D | style.css | 31 text-align: center; 53 background-position: center center; 64 text-align: center; 68 text-align: center;
|
/external/skia/bench/ |
D | SKPAnimationBench.cpp | 61 SkPoint center = SkPoint::Make((devBounds.fLeft + devBounds.fRight) / 2.0f, in preConcatFrameMatrix() local 63 drawMatrix->preTranslate(center.fX, center.fY); in preConcatFrameMatrix() 65 drawMatrix->preTranslate(-center.fX, -center.fY); in preConcatFrameMatrix()
|
/external/ImageMagick/MagickCore/ |
D | segment.c | 128 center; member 390 cluster->red.center+=(double) ScaleQuantumToChar( in Classify() 392 cluster->green.center+=(double) ScaleQuantumToChar( in Classify() 394 cluster->blue.center+=(double) ScaleQuantumToChar( in Classify() 432 cluster->red.center/=cluster->count; in Classify() 433 cluster->green.center/=cluster->count; in Classify() 434 cluster->blue.center/=cluster->count; in Classify() 497 cluster->red.center,(double) cluster->green.center,(double) in Classify() 498 cluster->blue.center); in Classify() 524 (cluster->red.center+0.5)); in Classify() [all …]
|
/external/proguard/docs/manual/ |
D | style.css | 12 text-align: center; 102 text-align: center; 109 text-align: center; 118 text-align: center; 127 text-align: center;
|