Home
last modified time | relevance | path

Searched refs:mapRadius (Results 1 – 13 of 13) sorted by relevance

/external/robolectric/integration_tests/ctesque/src/sharedTest/java/android/graphics/
DMatrixTest.java18 public void mapRadius() throws Exception { in mapRadius() method in MatrixTest
21 assertThat(matrix.mapRadius(100f)).isEqualTo(100f); in mapRadius()
22 assertThat(matrix.mapRadius(Float.MAX_VALUE)).isEqualTo(Float.POSITIVE_INFINITY); in mapRadius()
23 assertThat(matrix.mapRadius(Float.MIN_VALUE)).isEqualTo(0f); in mapRadius()
26 assertThat(matrix.mapRadius(1.0f)).isWithin(0.01f).of(2.0f); in mapRadius()
/external/skia/docs/examples/
Dmapradius.cpp14 SkScalar mappedRadius = matrix.mapRadius(circleRadius); in draw()
DMatrix_mapRadius.cpp15 SkScalar mappedRadius = matrix.mapRadius(circleRadius);
/external/skia/src/effects/
DSkEmbossMaskFilter.cpp87 SkScalar sigma = matrix.mapRadius(fBlurSigma); in filterMask()
/external/skia/src/pdf/
DSkPDFGradientShader.cpp804 infoCopy.fRadius[0] = inverseMapperMatrix.mapRadius(info.fRadius[0]); in make_function_shader()
805 infoCopy.fRadius[1] = inverseMapperMatrix.mapRadius(info.fRadius[1]); in make_function_shader()
DSkPDFDevice.cpp623 SkScalar matrixScale = matrix.mapRadius(1.0f); in internalDrawPath()
/external/skia/src/gpu/ganesh/geometry/
DGrPathUtils.cpp49 stretch = std::max(stretch, mat.mapRadius(SK_Scalar1)); in scaleToleranceToSrc()
/external/skia/include/core/
DSkMatrix.h1646 SkScalar mapRadius(SkScalar radius) const;
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMatrix.java353 protected float mapRadius(float radius) { in mapRadius() method in ShadowMatrix
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLegacyMatrix.java353 protected float mapRadius(float radius) { in mapRadius() method in ShadowLegacyMatrix
/external/skia/src/gpu/ganesh/ops/
DGrOvalOpFactory.cpp1048 radius = viewMatrix.mapRadius(radius); in CircleOp()
1049 SkScalar strokeWidth = viewMatrix.mapRadius(stroke.getWidth()); in CircleOp()
1528 radius = viewMatrix.mapRadius(radius); in ButtCapDashedCircleOp()
1529 strokeWidth = viewMatrix.mapRadius(strokeWidth); in ButtCapDashedCircleOp()
/external/skia/src/core/
DSkBlurMF.cpp114 SkScalar xformedSigma = this->ignoreXform() ? fSigma : ctm.mapRadius(fSigma); in computeXformedSigma()
DSkMatrix.cpp1166 SkScalar SkMatrix::mapRadius(SkScalar radius) const { in mapRadius() function in SkMatrix