Home
last modified time | relevance | path

Searched refs:getMinScale (Results 1 – 5 of 5) sorted by relevance

/external/skia/tests/
DMatrixTest.cpp167 REPORTER_ASSERT(reporter, SK_Scalar1 == identity.getMinScale()); in test_matrix_min_max_scale()
174 REPORTER_ASSERT(reporter, SK_Scalar1 * 2 == scale.getMinScale()); in test_matrix_min_max_scale()
182 REPORTER_ASSERT(reporter, SK_Scalar1 / 4 == rot90Scale.getMinScale()); in test_matrix_min_max_scale()
189 …REPORTER_ASSERT(reporter, SkScalarNearlyEqual(SK_Scalar1, rotate.getMinScale(), SK_ScalarNearlyZer… in test_matrix_min_max_scale()
198 REPORTER_ASSERT(reporter, SK_Scalar1 == translate.getMinScale()); in test_matrix_min_max_scale()
206 REPORTER_ASSERT(reporter, -SK_Scalar1 == perspX.getMinScale()); in test_matrix_min_max_scale()
217 REPORTER_ASSERT(reporter, -SK_Scalar1 == perspY.getMinScale()); in test_matrix_min_max_scale()
241 SkScalar minScale = mat.getMinScale(); in test_matrix_min_max_scale()
/external/skia/src/core/
DSkBitmapProcShader.cpp416 if (matrix.getMinScale() < SK_Scalar1) { in asFragmentProcessor()
DSkMatrix.cpp1535 SkScalar SkMatrix::getMinScale() const { in getMinScale() function in SkMatrix
/external/skia/include/core/
DSkMatrix.h632 SkScalar getMinScale() const;
/external/skia/src/gpu/
DSkGpuDevice.cpp1272 if (viewM.getMinScale() < SK_Scalar1) { in drawBitmapCommon()