Home
last modified time | relevance | path

Searched refs:postScale (Results 1 – 25 of 113) sorted by relevance

12345

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMatrixTest.java66 matrix.postScale(3, 3, 3, 3); in set_shouldAddOpsToMatrix()
115 matrix.postScale(2.0f, 2.0f); in testIsIdentity()
131 matrix.postScale(2.0f, 2.0f); in testIsAffine()
152 matrix.postScale(2.0f, 2.0f); in testRectStaysRect()
180 matrix1.postScale(2.0f, 2.0f); in testSet()
197 matrix.postScale(2.0f, 2.0f); in testReset()
258 matrix1.postScale(2.0f, 2.0f); in testPostScale()
261 matrix1.postScale(2.0f, 2.0f); in testPostScale()
265 matrix2.postScale(2.0f, 2.0f, 1.0f, 1.0f); in testPostScale()
269 matrix2.postScale(2.0f, 2.0f, 1.0f, 1.0f); in testPostScale()
[all …]
/external/skqp/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp24 matrix->postScale(-1, 1); in set()
43 matrix->postScale(0.5, 0.5); in set()
45 matrix->postScale(fR1 / (fR1 * fR1 - 1), 1 / sqrt(SkScalarAbs(fR1 * fR1 - 1))); in set()
47 matrix->postScale(SkScalarAbs(1 - fFocalX), SkScalarAbs(1 - fFocalX)); // scale |1 - f| in set()
66 gradientMatrix.postScale(scale, scale); in Create()
DSkRadialGradient.cpp21 matrix.postScale(inv, inv); in rad_to_unit_matrix()
/external/skia/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp24 matrix->postScale(-1, 1); in set()
43 matrix->postScale(0.5, 0.5); in set()
45 matrix->postScale(fR1 / (fR1 * fR1 - 1), 1 / sqrt(SkScalarAbs(fR1 * fR1 - 1))); in set()
47 matrix->postScale(SkScalarAbs(1 - fFocalX), SkScalarAbs(1 - fFocalX)); // scale |1 - f| in set()
66 gradientMatrix.postScale(scale, scale); in Create()
/external/skia/tests/
DMatrixTest.cpp197 rot90Scale.setRotate(90).postScale(SK_Scalar1 / 4, SK_Scalar1 / 2); in test_matrix_min_max_scale()
403 mat.setRotate(30).postScale(2, 2); in test_matrix_preserve_shape()
408 mat.setRotate(30).postScale(3, 2); in test_matrix_preserve_shape()
519 mat.setRotate(kRotation1).postScale(kScale0, kScale0); in test_matrix_decomposition()
529 mat.setRotate(kRotation0).postScale(kScale1, -kScale1); in test_matrix_decomposition()
539 mat.setRotate(kRotation1).postScale(kScale1, kScale0); in test_matrix_decomposition()
544 mat.setRotate(90).postScale(kScale1, kScale0); in test_matrix_decomposition()
559 mat.setRotate(kRotation1).postScale(kScale0, kScale0).postRotate(kRotation0); in test_matrix_decomposition()
564 mat.setRotate(kRotation0).postScale(kScale1, kScale0).postRotate(kRotation1); in test_matrix_decomposition()
569 mat.setRotate(kRotation0).postScale(-kScale1, kScale0).postRotate(kRotation1); in test_matrix_decomposition()
[all …]
/external/skqp/tests/
DMatrixTest.cpp188 rot90Scale.postScale(SK_Scalar1 / 4, SK_Scalar1 / 2); in test_matrix_min_max_scale()
417 mat.postScale(SkIntToScalar(2), SkIntToScalar(2)); in test_matrix_preserve_shape()
424 mat.postScale(SkIntToScalar(3), SkIntToScalar(2)); in test_matrix_preserve_shape()
539 mat.postScale(kScale0, kScale0); in test_matrix_decomposition()
551 mat.postScale(kScale1, -kScale1); in test_matrix_decomposition()
563 mat.postScale(kScale1, kScale0); in test_matrix_decomposition()
569 mat.postScale(kScale1, kScale0); in test_matrix_decomposition()
587 mat.postScale(kScale0, kScale0); in test_matrix_decomposition()
594 mat.postScale(kScale1, kScale0); in test_matrix_decomposition()
601 mat.postScale(-kScale1, kScale0); in test_matrix_decomposition()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DTransformationUtils.java296 matrix.postScale(-1, 1); in initializeMatrixForRotation()
300 matrix.postScale(-1, 1); in initializeMatrixForRotation()
307 matrix.postScale(-1, 1); in initializeMatrixForRotation()
/external/skia/bench/
DMatrixBench.cpp155 fMatrix[i].postScale(sx, sy); in onDelayedSetup()
179 fMatrix.postScale(1.5f, 2.5f); in InvertMapRectMatrixBench()
270 static SkMatrix make_scale() { SkMatrix m(make_trans()); m.postScale(1.5f, 0.5f); return m; } in make_scale()
/external/skqp/bench/
DMatrixBench.cpp155 fMatrix[i].postScale(sx, sy); in onDelayedSetup()
179 fMatrix.postScale(1.5f, 2.5f); in InvertMapRectMatrixBench()
270 static SkMatrix make_scale() { SkMatrix m(make_trans()); m.postScale(1.5f, 0.5f); return m; } in make_scale()
/external/skia/include/core/
DSkMatrix44.h269 SkMatrix44& postScale(SkScalar sx, SkScalar sy, SkScalar sz);
277 inline SkMatrix44& postScale(SkScalar scale) { in postScale() function
278 return this->postScale(scale, scale, scale); in postScale()
/external/skia/src/pdf/
DSkPDFShader.cpp176 leftMatrix.postScale(SK_Scalar1, -SK_Scalar1); in make_image_shader()
192 rightMatrix.postScale(SK_Scalar1, -SK_Scalar1); in make_image_shader()
219 topMatrix.postScale(-1, 1); in make_image_shader()
235 bottomMatrix.postScale(-1, 1); in make_image_shader()
/external/skqp/src/pdf/
DSkPDFShader.cpp182 leftMatrix.postScale(SK_Scalar1, -SK_Scalar1); in make_image_shader()
200 rightMatrix.postScale(SK_Scalar1, -SK_Scalar1); in make_image_shader()
221 topMatrix.postScale(-1, 1); in make_image_shader()
239 bottomMatrix.postScale(-1, 1); in make_image_shader()
/external/skia/docs/examples/
DMatrix_postScale_2.cpp11 matrix.postScale(.75f, 1.5f); in draw()
DMatrix_063.cpp11 matrix.postScale(1, 0.5f); in draw()
DMatrix_postScale.cpp11 matrix.postScale(.75f, 1.5f, source.width() / 2, source.height() / 2); in draw()
DMatrix_decomposeScale.cpp9 matrix.postScale(1.f / 4, 1.f / 2); in draw()
DMatrix_TypeMask.cpp21 matrix.postScale(2, 1); in draw()
/external/skqp/gm/
Dimagealphathreshold.cpp69 matrix.postScale(.8f, .8f); in onDraw()
129 matrix.postScale(.8f, .8f); in onDraw()
Dbigmatrix.cpp20 m.postScale(3000 * SK_Scalar1, 3000 * SK_Scalar1);
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/env/
DImageUtils.java330 matrix.postScale(scaleFactor, scaleFactor); in getTransformationMatrix()
333 matrix.postScale(scaleFactorX, scaleFactorY); in getTransformationMatrix()
/external/skia/gm/
Dimagealphathreshold.cpp83 matrix.postScale(.8f, .8f); in onDraw()
142 matrix.postScale(.8f, .8f); in onDraw()
/external/skqp/include/core/
DSkMatrix44.h346 void postScale(SkMScalar sx, SkMScalar sy, SkMScalar sz);
354 inline void postScale(SkMScalar scale) { in postScale() function
355 this->postScale(scale, scale, scale); in postScale()
/external/skqp/modules/skottie/src/
DSkottieAdapter.cpp58 t.postScale(fScale.x() / 100, fScale.y() / 100); // 100% based in totalMatrix()
85 t.postScale(fScale.fX / 100, fScale.fY / 100, fScale.fZ / 100); in totalMatrix()
122 m.postScale(std::pow(fScale.x() * .01f, fOffset), in apply()
/external/skia/samplecode/
DSampleGlyphTransform.cpp46 ctm.postScale(fScale * 4, fScale * 4); in onDrawContent()
/external/skqp/samplecode/
DSampleGlyphTransform.cpp52 ctm.postScale(fScale * 4, fScale * 4); in onDrawContent()

12345