Home
last modified time | relevance | path

Searched refs:rot90Scale (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DMatrixTest.cpp186 SkMatrix rot90Scale; in test_matrix_min_max_scale() local
187 rot90Scale.setRotate(90 * SK_Scalar1); in test_matrix_min_max_scale()
188 rot90Scale.postScale(SK_Scalar1 / 4, SK_Scalar1 / 2); in test_matrix_min_max_scale()
189 REPORTER_ASSERT(reporter, SK_Scalar1 / 4 == rot90Scale.getMinScale()); in test_matrix_min_max_scale()
190 REPORTER_ASSERT(reporter, SK_Scalar1 / 2 == rot90Scale.getMaxScale()); in test_matrix_min_max_scale()
191 success = rot90Scale.getMinMaxScales(scales); in test_matrix_min_max_scale()
244 SkMatrix baseMats[] = {scale, rot90Scale, rotate, in test_matrix_min_max_scale()
/external/skqp/tests/
DMatrixTest.cpp186 SkMatrix rot90Scale; in test_matrix_min_max_scale() local
187 rot90Scale.setRotate(90 * SK_Scalar1); in test_matrix_min_max_scale()
188 rot90Scale.postScale(SK_Scalar1 / 4, SK_Scalar1 / 2); in test_matrix_min_max_scale()
189 REPORTER_ASSERT(reporter, SK_Scalar1 / 4 == rot90Scale.getMinScale()); in test_matrix_min_max_scale()
190 REPORTER_ASSERT(reporter, SK_Scalar1 / 2 == rot90Scale.getMaxScale()); in test_matrix_min_max_scale()
191 success = rot90Scale.getMinMaxScales(scales); in test_matrix_min_max_scale()
244 SkMatrix baseMats[] = {scale, rot90Scale, rotate, in test_matrix_min_max_scale()