Home
last modified time | relevance | path

Searched refs:getMaxScale (Results 1 – 25 of 35) sorted by relevance

12

/external/skia/src/gpu/text/
DGrSDFTControl.cpp57 SkScalar maxScale = viewMatrix.getMaxScale(); in drawingType()
85 SkScalar maxScale = viewMatrix.getMaxScale(); in scaled_text_size()
/external/skia/docs/examples/
DMatrix_getMaxScale.cpp9 SkDebugf("matrix.getMaxScale() %g\n", matrix.getMaxScale()); in draw()
/external/skqp/src/gpu/text/
DGrTextContext.cpp100 SkScalar maxScale = viewMatrix.getMaxScale(); in CanDrawAsDistanceFields()
147 SkScalar maxScale = viewMatrix.getMaxScale(); in InitDistanceFieldPaint()
DGrTextBlob.cpp152 SkScalar newMaxScale = viewMatrix.getMaxScale(); in mustRegenerate()
153 SkScalar oldMaxScale = fInitialViewMatrix.getMaxScale(); in mustRegenerate()
/external/skia/tests/
DMatrixTest.cpp185 REPORTER_ASSERT(reporter, 1 == identity.getMaxScale()); in test_matrix_min_max_scale()
192 REPORTER_ASSERT(reporter, 4 == scale.getMaxScale()); in test_matrix_min_max_scale()
199 REPORTER_ASSERT(reporter, SK_Scalar1 / 2 == rot90Scale.getMaxScale()); in test_matrix_min_max_scale()
206 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(1, rotate.getMaxScale(), SK_ScalarNearlyZero)); in test_matrix_min_max_scale()
215 REPORTER_ASSERT(reporter, 1 == translate.getMaxScale()); in test_matrix_min_max_scale()
222 REPORTER_ASSERT(reporter, -1 == perspX.getMaxScale()); in test_matrix_min_max_scale()
245 REPORTER_ASSERT(reporter, -1 == perspY.getMaxScale()); in test_matrix_min_max_scale()
269 SkScalar maxScale = mat.getMaxScale(); in test_matrix_min_max_scale()
DStrokeIndirectTest.cpp273 auto tolerances = GrStrokeTolerances::MakeNonHairline(viewMatrix.getMaxScale(), in verifyResolveLevels()
443 auto tolerances = GrStrokeTolerances::MakeNonHairline(viewMatrix.getMaxScale(), in verifyBuffers()
/external/skia/src/gpu/tessellate/
DGrStrokeTessellateShader.cpp424 tolerances = GrStrokeTolerances::MakeNonHairline(shader.viewMatrix().getMaxScale(), in setData()
439 float maxScale = shader.viewMatrix().getMaxScale(); in setData()
1281 tolerances = GrStrokeTolerances::MakeNonHairline(shader.viewMatrix().getMaxScale(), in setData()
1296 float maxScale = shader.viewMatrix().getMaxScale(); in setData()
DGrTessellationPathRenderer.cpp180 inflationRadius += stroke.getInflationRadius() * viewMatrix.getMaxScale(); in make_op()
/external/skqp/tests/
DMatrixTest.cpp175 REPORTER_ASSERT(reporter, SK_Scalar1 == identity.getMaxScale()); in test_matrix_min_max_scale()
182 REPORTER_ASSERT(reporter, SK_Scalar1 * 4 == scale.getMaxScale()); in test_matrix_min_max_scale()
190 REPORTER_ASSERT(reporter, SK_Scalar1 / 2 == rot90Scale.getMaxScale()); in test_matrix_min_max_scale()
197 …REPORTER_ASSERT(reporter, SkScalarNearlyEqual(SK_Scalar1, rotate.getMaxScale(), SK_ScalarNearlyZer… in test_matrix_min_max_scale()
206 REPORTER_ASSERT(reporter, SK_Scalar1 == translate.getMaxScale()); in test_matrix_min_max_scale()
214 REPORTER_ASSERT(reporter, -SK_Scalar1 == perspX.getMaxScale()); in test_matrix_min_max_scale()
238 REPORTER_ASSERT(reporter, -SK_Scalar1 == perspY.getMaxScale()); in test_matrix_min_max_scale()
262 SkScalar maxScale = mat.getMaxScale(); in test_matrix_min_max_scale()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/animation/
DAnimationActivity.java57 float maxScale = view.getMaxScale(); in play()
/external/skia/src/gpu/
DGrStyle.h151 return SkScalarAbs(matrix.getMaxScale()); in MatrixToScaleFactor()
/external/skqp/src/gpu/
DGrStyle.h150 return SkScalarAbs(matrix.getMaxScale()); in MatrixToScaleFactor()
/external/skqp/src/gpu/ops/
DGrStencilAndCoverPathRenderer.cpp146 SkScalar bloat = viewMatrix.getMaxScale() * SK_ScalarHalf; in onDrawPath()
DGrAALinearizingConvexPathRenderer.cpp65 SkScalar strokeWidth = args.fViewMatrix->getMaxScale() * stroke.getWidth(); in onCanDrawPath()
DGrAAConvexTessellator.cpp256 scaleFactor = m.getMaxScale(); // x and y scale are the same in tessellate()
293 scaleFactor = m.getMaxScale(); // x and y scale are the same in tessellate()
/external/skia/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp66 SkScalar strokeWidth = args.fViewMatrix->getMaxScale() * stroke.getWidth(); in onCanDrawPath()
169 SkScalar maxScale = viewMatrix.getMaxScale(); in AAFlatteningConvexPathOp()
DGrAAConvexTessellator.cpp265 scaleFactor = m.getMaxScale(); // x and y scale are the same in tessellate()
302 scaleFactor = m.getMaxScale(); // x and y scale are the same in tessellate()
DGrSmallPathRenderer.cpp285 maxScale = SkScalarAbs(args.fViewMatrix.getMaxScale()); in onPrepareDraws()
/external/skia/samplecode/
DSampleTessellatedWedge.cpp140 float fuzz = 20 / fLastViewMatrix.getMaxScale(); in onFindClickHandler()
/external/skia/gm/
Dtrickycubicstrokes.cpp158 strokePaint.setStrokeWidth(kStrokeWidth / matrix.getMaxScale()); in draw_test()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/
DLottieDrawable.java1126 private float getMaxScale(@NonNull Canvas canvas) {
1182 float maxScale = getMaxScale(canvas);
/external/skqp/docs/
DSkMatrix_Reference.bmh2807 #SeeAlso getMaxScale getMinMaxScales
2813 #Method SkScalar getMaxScale() const
2821 SkDebugf("matrix.getMaxScale() %g\n", matrix.getMaxScale());
2823 matrix.getMaxScale() 42
2852 #SeeAlso getMinScale getMaxScale
/external/skqp/include/core/
DSkMatrix.h1587 SkScalar getMaxScale() const;
/external/skia/include/core/
DSkMatrix.h1691 SkScalar getMaxScale() const;
/external/skia/src/gpu/geometry/
DGrPathUtils.cpp39 SkScalar stretch = viewM.getMaxScale(); in scaleToleranceToSrc()

12