Home
last modified time | relevance | path

Searched refs:fCenter (Results 1 – 24 of 24) sorted by relevance

/external/dng_sdk/source/
Ddng_lens_correction.cpp39 , fCenter (0.5, 0.5) in dng_warp_params()
51 , fCenter (center) in dng_warp_params()
58 DNG_ASSERT (fCenter.h >= 0.0 && fCenter.h <= 1.0, in dng_warp_params()
61 DNG_ASSERT (fCenter.v >= 0.0 && fCenter.v <= 1.0, in dng_warp_params()
161 if (fCenter.h < 0.0 || in IsValid()
162 fCenter.h > 1.0 || in IsValid()
163 fCenter.v < 0.0 || in IsValid()
164 fCenter.v > 1.0) in IsValid()
289 fCenter.h, in Dump()
290 fCenter.v); in Dump()
[all …]
Ddng_lens_correction.h62 dng_point_real64 fCenter; variable
80 const dng_point_real64 &fCenter);
310 const dng_point_real64 &fCenter);
416 const dng_point_real64 &fCenter);
552 dng_point_real64 fCenter; variable
/external/skia/src/shaders/gradients/
DSkSweepGradient.cpp22 , fCenter(SkPoint::Make(cx, cy)) in SkSweepGradient()
31 info->fPoint[0] = fCenter; in asAGradient()
49 buffer.writePoint(fCenter); in flatten()
202 return SkGradientShader::MakeSweep(fCenter.fX, fCenter.fY, xformedColors.begin(), fOrigPos, in onMakeColorSpace()
211 str->appendScalar(fCenter.fX); in toString()
213 str->appendScalar(fCenter.fY); in toString()
225 matrix->postTranslate(-fCenter.fX, -fCenter.fY); in adjustMatrixAndAppendStages()
DSkRadialGradient.cpp39 , fCenter(center) in SkRadialGradient()
56 info->fPoint[0] = fCenter; in asAGradient()
76 buffer.writePoint(fCenter); in flatten()
357 return SkGradientShader::MakeRadial(fCenter, fRadius, xformedColors.begin(), fOrigPos, in onMakeColorSpace()
366 matrix->postTranslate(-fCenter.fX, -fCenter.fY); in adjustMatrixAndAppendStages()
378 str->appendScalar(fCenter.fX); in toString()
380 str->appendScalar(fCenter.fY); in toString()
DSkSweepGradient.h38 const SkPoint fCenter;
DSkRadialGradient.h47 const SkPoint fCenter;
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTFixedPoint.cpp37 new_mesh->fCenter[0] = PVRTF2X(mesh->fCenter[0]); in CreateFixedObjectMesh()
38 new_mesh->fCenter[1] = PVRTF2X(mesh->fCenter[1]); in CreateFixedObjectMesh()
39 new_mesh->fCenter[2] = PVRTF2X(mesh->fCenter[2]); in CreateFixedObjectMesh()
DPVRTFixedPoint.h127 float fCenter[3]; member
161 VERTTYPE fCenter[3]; member
/external/skia/samplecode/
DSampleAtlas.cpp76 SkPoint fCenter; member
86 fCenter += fVelocity; in advance()
87 if (fCenter.fX > bounds.right()) { in advance()
90 } else if (fCenter.fX < bounds.left()) { in advance()
94 if (fCenter.fY > bounds.bottom()) { in advance()
98 } else if (fCenter.fY < bounds.top()) { in advance()
123 return SkRSXform::MakeFromRadians(fScale, fRadian, fCenter.x(), fCenter.y(), in asRSXform()
155 fRec[i].fCenter.set(sx + cell/2, sy + 3*cell/4); in DrawAtlasDrawable()
DSampleLayers.cpp224 SkPoint fCenter; member in BackdropView
230 fCenter.set(200, 150); in BackdropView()
255 m.postTranslate(fCenter.x(), fCenter.y()); in onDrawContent()
280 fCenter = click->fCurr; in onClick()
DSamplePathClip.cpp24 SkPoint fCenter; member in PathClipView
26 PathClipView() : fOval(SkRect::MakeWH(200, 50)), fCenter(SkPoint::Make(250, 250)) {} in PathClipView()
38 const SkRect oval = fOval.makeOffset(fCenter.fX - fOval.centerX(), in onDrawContent()
39 fCenter.fY - fOval.centerY()); in onDrawContent()
63 fCenter.set(click->fCurr.fX, click->fCurr.fY); in onClick()
/external/skia/gm/
Dninepatchstretch.cpp59 SkIRect fCenter; member in NinePatchStretchGM
74 fImage = make_image(canvas, &fCenter); in onDraw()
79 const SkScalar fixed = SkIntToScalar(fBitmap.width() - fCenter.width()); in onDraw()
102 canvas->drawBitmapNine(fBitmap, fCenter, r, &paint); in onDraw()
103 canvas->drawImageNine(fImage.get(), fCenter, r.makeOffset(360, 0), &paint); in onDraw()
/external/skia/src/gpu/effects/
DGrCircleEffect.h22 SkPoint center() const { return fCenter; } in center()
33 , fCenter(center) in GrCircleEffect()
42 SkPoint fCenter; variable
DGrEllipseEffect.h22 SkPoint center() const { return fCenter; } in center()
33 , fCenter(center) in GrEllipseEffect()
42 SkPoint fCenter; variable
DGrCircleEffect.cpp87 if (fCenter != that.fCenter) return false; in onIsEqual()
DGrEllipseEffect.cpp109 if (fCenter != that.fCenter) return false; in onIsEqual()
/external/skia/tests/
DInfRectTest.cpp18 SkIPoint fCenter; member
31 gData[index].fRect.centerX() == gData[index].fCenter.x()); in test_center()
33 gData[index].fRect.centerY() == gData[index].fCenter.y()); in test_center()
DGradientTest.cpp500 SkPoint fCenter; in test_sweep_fuzzer() member
520 paint.setShader(SkGradientShader::MakeSweep(config.fCenter.x(), in test_sweep_fuzzer()
521 config.fCenter.y(), in test_sweep_fuzzer()
/external/skia/src/gpu/ops/
DGrOvalOpFactory.cpp1154 SkPoint fCenter; member
1167 params.fCenter = SkPoint::Make(ellipse.centerX(), ellipse.centerY()); in Make()
1168 viewMatrix.mapPoints(&params.fCenter, 1); in Make()
1234 SkRect::MakeLTRB(params.fCenter.fX - params.fXRadius, in EllipseOp()
1235 params.fCenter.fY - params.fYRadius, in EllipseOp()
1236 params.fCenter.fX + params.fXRadius, in EllipseOp()
1237 params.fCenter.fY + params.fYRadius)}); in EllipseOp()
1383 SkPoint fCenter; member
1397 params.fCenter = SkPoint::Make(ellipse.centerX(), ellipse.centerY()); in Make()
1466 SkRect::MakeLTRB(params.fCenter.fX - params.fXRadius - geoDx, in DIEllipseOp()
[all …]
/external/skia/include/core/
DSkMaskFilter.h195 SkIPoint fCenter; // identifies center row/col for stretching variable
/external/skia/src/core/
DSkMaskFilter.cpp228 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, true, clip, blitter); in filterRRect()
249 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, 1 == rectCount, clip, in filterPath()
/external/skia/src/effects/
DSkBlurMaskFilter.cpp590 patch->fCenter.fX = SkScalarCeilToInt(leftUnstretched) + 1; in filterRRectToNine()
591 patch->fCenter.fY = SkScalarCeilToInt(topUnstretched) + 1; in filterRRectToNine()
721 patch->fCenter = center; in filterRectsToNine()
/external/skia/tools/debugger/
DSkDrawCommand.h304 SkIRect fCenter; variable
DSkDrawCommand.cpp2076 fCenter = center; in SkDrawBitmapNineCommand()
2094 canvas->drawBitmapNine(fBitmap, fCenter, fDst, fPaintPtr); in execute()
2098 SkRect tmp = SkRect::Make(fCenter); in render()
2108 result[SKDEBUGCANVAS_ATTRIBUTE_CENTER] = MakeJsonIRect(fCenter); in toJSON()