Home
last modified time | relevance | path

Searched refs:fCenter (Results 1 – 18 of 18) 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/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.cpp247 SkPoint fCenter; member in BackdropView
253 fCenter.set(200, 150); in BackdropView()
278 m.postTranslate(fCenter.x(), fCenter.y()); in onDrawContent()
303 fCenter = click->fCurr; in onClick()
DSamplePathClip.cpp27 SkPoint fCenter; member in PathClipView
29 PathClipView() : fOval(SkRect::MakeWH(200, 50)), fCenter(SkPoint::Make(250, 250)) {} in PathClipView()
41 const SkRect oval = fOval.makeOffset(fCenter.fX - fOval.centerX(), in onDrawContent()
42 fCenter.fY - fOval.centerY()); in onDrawContent()
66 fCenter.set(click->fCurr.fX, click->fCurr.fY); in onClick()
/external/skia/src/gpu/batches/
DGrNinePatch.cpp36 SkIRect fCenter; member
47 geo.fCenter = center; in GrNonAANinePatchBatch()
67 fGeoData[i].fCenter.fLeft, fGeoData[i].fCenter.fTop, in dumpInfo()
68 fGeoData[i].fCenter.fRight, fGeoData[i].fCenter.fBottom, in dumpInfo()
115 SkNinePatchIter iter(fImageWidth, fImageHeight, geo.fCenter, geo.fDst); in onPrepareDraws()
/external/skia/src/gpu/effects/
DGrOvalEffect.cpp28 const SkPoint& getCenter() const { return fCenter; } in getCenter()
44 SkPoint fCenter; member in CircleEffect
64 : fCenter(c) in CircleEffect()
73 return fEdgeType == ce.fEdgeType && fCenter == ce.fCenter && fRadius == ce.fRadius; in onIsEqual()
193 const SkPoint& getCenter() const { return fCenter; } in getCenter()
209 SkPoint fCenter; member in EllipseEffect
231 : fCenter(c) in EllipseEffect()
240 return fEdgeType == ee.fEdgeType && fCenter == ee.fCenter && fRadii == ee.fRadii; in onIsEqual()
/external/skia/gm/
Dninepatchstretch.cpp59 SkIRect fCenter; member in NinePatchStretchGM
74 fImage.reset(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, fCenter, r.makeOffset(360, 0), &paint); in onDraw()
/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()
/external/skia/src/effects/gradients/
DSkSweepGradient.cpp19 , fCenter(SkPoint::Make(cx, cy)) in SkSweepGradient()
28 info->fPoint[0] = fCenter; in asAGradient()
45 buffer.writePoint(fCenter); in flatten()
261 str->appendScalar(fCenter.fX); in toString()
263 str->appendScalar(fCenter.fY); in toString()
DSkRadialGradient.cpp39 , fCenter(center) in SkRadialGradient()
58 info->fPoint[0] = fCenter; in asAGradient()
77 buffer.writePoint(fCenter); in flatten()
374 str->appendScalar(fCenter.fX); in toString()
376 str->appendScalar(fCenter.fY); in toString()
DSkSweepGradient.h47 const SkPoint fCenter;
DSkRadialGradient.h47 const SkPoint fCenter;
/external/skia/include/core/
DSkMaskFilter.h192 SkIPoint fCenter; // identifies center row/col for stretching variable
/external/skia/src/core/
DSkMaskFilter.cpp231 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, true, clip, blitter); in filterRRect()
252 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, 1 == rectCount, clip, in filterPath()
/external/skia/src/effects/
DSkBlurMaskFilter.cpp440 patch->fCenter.fX = SkScalarCeilToInt(leftUnstretched) + 1; in filterRRectToNine()
441 patch->fCenter.fY = SkScalarCeilToInt(topUnstretched) + 1; in filterRRectToNine()
570 patch->fCenter = center; in filterRectsToNine()
/external/skia/tools/debugger/
DSkDrawCommand.h259 SkIRect fCenter; variable
DSkDrawCommand.cpp1790 fCenter = center; in SkDrawBitmapNineCommand()
1808 canvas->drawBitmapNine(fBitmap, fCenter, fDst, fPaintPtr); in execute()
1812 SkRect tmp = SkRect::Make(fCenter); in render()
1822 result[SKDEBUGCANVAS_ATTRIBUTE_CENTER] = make_json_irect(fCenter); in toJSON()