/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowMatrixTest.java | 66 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/ |
D | SkTwoPointConicalGradient.cpp | 24 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()
|
D | SkRadialGradient.cpp | 21 matrix.postScale(inv, inv); in rad_to_unit_matrix()
|
/external/skia/src/shaders/gradients/ |
D | SkTwoPointConicalGradient.cpp | 24 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/ |
D | MatrixTest.cpp | 197 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/ |
D | MatrixTest.cpp | 188 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/ |
D | TransformationUtils.java | 296 matrix.postScale(-1, 1); in initializeMatrixForRotation() 300 matrix.postScale(-1, 1); in initializeMatrixForRotation() 307 matrix.postScale(-1, 1); in initializeMatrixForRotation()
|
/external/skia/bench/ |
D | MatrixBench.cpp | 155 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/ |
D | MatrixBench.cpp | 155 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/ |
D | SkMatrix44.h | 269 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/ |
D | SkPDFShader.cpp | 176 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/ |
D | SkPDFShader.cpp | 182 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/ |
D | Matrix_postScale_2.cpp | 11 matrix.postScale(.75f, 1.5f); in draw()
|
D | Matrix_063.cpp | 11 matrix.postScale(1, 0.5f); in draw()
|
D | Matrix_postScale.cpp | 11 matrix.postScale(.75f, 1.5f, source.width() / 2, source.height() / 2); in draw()
|
D | Matrix_decomposeScale.cpp | 9 matrix.postScale(1.f / 4, 1.f / 2); in draw()
|
D | Matrix_TypeMask.cpp | 21 matrix.postScale(2, 1); in draw()
|
/external/skqp/gm/ |
D | imagealphathreshold.cpp | 69 matrix.postScale(.8f, .8f); in onDraw() 129 matrix.postScale(.8f, .8f); in onDraw()
|
D | bigmatrix.cpp | 20 m.postScale(3000 * SK_Scalar1, 3000 * SK_Scalar1);
|
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/env/ |
D | ImageUtils.java | 330 matrix.postScale(scaleFactor, scaleFactor); in getTransformationMatrix() 333 matrix.postScale(scaleFactorX, scaleFactorY); in getTransformationMatrix()
|
/external/skia/gm/ |
D | imagealphathreshold.cpp | 83 matrix.postScale(.8f, .8f); in onDraw() 142 matrix.postScale(.8f, .8f); in onDraw()
|
/external/skqp/include/core/ |
D | SkMatrix44.h | 346 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/ |
D | SkottieAdapter.cpp | 58 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/ |
D | SampleGlyphTransform.cpp | 46 ctm.postScale(fScale * 4, fScale * 4); in onDrawContent()
|
/external/skqp/samplecode/ |
D | SampleGlyphTransform.cpp | 52 ctm.postScale(fScale * 4, fScale * 4); in onDrawContent()
|