/third_party/flutter/skia/tests/ |
D | MatrixTest.cpp | 104 m.setScale(2, 3); in test_set9() 180 scale.setScale(2, 4); in test_matrix_min_max_scale() 318 mat.setScale(15, 15); in test_matrix_preserve_shape() 323 mat.setScale(-15, 15); in test_matrix_preserve_shape() 328 mat.setScale(15, 20); in test_matrix_preserve_shape() 333 mat.setScale(15, 15, 2, 2); in test_matrix_preserve_shape() 338 mat.setScale(15, 20, 2, 2); in test_matrix_preserve_shape() 403 mat.setScale(3, 2).postRotate(30); in test_matrix_preserve_shape() 499 mat.setScale(kScale0, kScale0); in test_matrix_decomposition() 504 mat.setScale(kScale1, kScale0); in test_matrix_decomposition() [all …]
|
D | Matrix44Test.cpp | 111 scaleMatrix.setScale(3, 4, 5); in test_constructor() 148 mat.setScale(1, 1, 1); in test_scale() 150 mat.setScale(1, 2, 3); in test_scale() 157 b.setScale(10, 11, 12); in test_scale() 172 static void make_s(SkMatrix44* mat) { mat->setScale(1, 2, 3); } in make_s() 174 mat->setScale(1, 2, 3); in make_st() 273 b.setScale(2, 2, 2); in test_concat() 355 scale.setScale(2, 4, 8); in test_invert() 365 scaleTranslation.setScale(32, 128, 1024); in test_invert() 809 mat.setScale(3, 3, 3); in test_toint() [all …]
|
D | DrawBitmapRectTest.cpp | 92 mat.setScale(bigScale, bigScale); in test_treatAsSprite() 98 mat.setScale(smallScale, smallScale); in test_treatAsSprite() 104 mat.setScale(tinyScale, tinyScale); in test_treatAsSprite()
|
/third_party/skia/tests/ |
D | MatrixTest.cpp | 114 m.setScale(2, 3); in test_set9() 190 scale.setScale(2, 4); in test_matrix_min_max_scale() 327 mat.setScale(15, 15); in test_matrix_preserve_shape() 332 mat.setScale(-15, 15); in test_matrix_preserve_shape() 337 mat.setScale(15, 20); in test_matrix_preserve_shape() 342 mat.setScale(15, 15, 2, 2); in test_matrix_preserve_shape() 347 mat.setScale(15, 20, 2, 2); in test_matrix_preserve_shape() 412 mat.setScale(3, 2).postRotate(30); in test_matrix_preserve_shape() 508 mat.setScale(kScale0, kScale0); in test_matrix_decomposition() 513 mat.setScale(kScale1, kScale0); in test_matrix_decomposition() [all …]
|
D | DrawBitmapRectTest.cpp | 95 mat.setScale(bigScale, bigScale); in test_treatAsSprite() 101 mat.setScale(smallScale, smallScale); in test_treatAsSprite() 107 mat.setScale(tinyScale, tinyScale); in test_treatAsSprite()
|
/third_party/flutter/engine/flutter/flow/ |
D | matrix_decomposition_unittests.cc | 36 matrix.setScale(scale + 0, scale + 1, scale + 2); in TEST() 69 m2.setScale(scale); in TEST() 98 matrix.setScale(scale, scale, 1.0f); in TEST() 113 matrix.setScale(scale, scale, 1.f); in TEST() 118 matrix2.setScale(scale2, scale2, 1.f); in TEST() 123 matrix3.setScale(scale3, scale3, 1.f); in TEST()
|
/third_party/skia/src/gpu/ |
D | GrTestUtils.cpp | 66 gMatrices[2].setScale(SkIntToScalar(17), SkIntToScalar(17)); in TestMatrixPreservesRightAngles() 68 gMatrices[3].setScale(SkIntToScalar(-17), SkIntToScalar(-17)); in TestMatrixPreservesRightAngles() 72 gMatrices[4].setScale(SkIntToScalar(-1), SkIntToScalar(-1)); in TestMatrixPreservesRightAngles() 92 gMatrices[2].setScale(SkIntToScalar(17), SkIntToScalar(17)); in TestMatrixRectStaysRect() 94 gMatrices[3].setScale(SkIntToScalar(-17), SkIntToScalar(-17)); in TestMatrixRectStaysRect() 97 gMatrices[4].setScale(SkIntToScalar(-1), SkIntToScalar(-1)); in TestMatrixRectStaysRect()
|
/third_party/flutter/skia/src/gpu/ |
D | GrTestUtils.cpp | 68 gMatrices[2].setScale(SkIntToScalar(17), SkIntToScalar(17)); in TestMatrixPreservesRightAngles() 70 gMatrices[3].setScale(SkIntToScalar(-17), SkIntToScalar(-17)); in TestMatrixPreservesRightAngles() 74 gMatrices[4].setScale(SkIntToScalar(-1), SkIntToScalar(-1)); in TestMatrixPreservesRightAngles() 94 gMatrices[2].setScale(SkIntToScalar(17), SkIntToScalar(17)); in TestMatrixRectStaysRect() 96 gMatrices[3].setScale(SkIntToScalar(-17), SkIntToScalar(-17)); in TestMatrixRectStaysRect() 99 gMatrices[4].setScale(SkIntToScalar(-1), SkIntToScalar(-1)); in TestMatrixRectStaysRect()
|
/third_party/flutter/skia/gm/ |
D | xform.cpp | 48 m.setScale(0.5, 0.5); in XformGM() 84 x1->setScale(2, 2); in onDraw() 96 fRoot->setScale(scale, scale); in onAnimate()
|
D | ovals.cpp | 96 m.setScale(SkIntToScalar(3), SkIntToScalar(2)); in makeMatrices() 102 m.setScale(SkIntToScalar(2), SkIntToScalar(2)); in makeMatrices() 108 m.setScale(SkIntToScalar(1), SkIntToScalar(2)); in makeMatrices() 114 m.setScale(SkIntToScalar(4), SkIntToScalar(1)); in makeMatrices()
|
D | roundrects.cpp | 106 m.setScale(SkIntToScalar(3), SkIntToScalar(2)); in makeMatrices() 112 m.setScale(SkIntToScalar(2), SkIntToScalar(2)); in makeMatrices() 118 m.setScale(SkIntToScalar(1), SkIntToScalar(2)); in makeMatrices() 124 m.setScale(SkIntToScalar(4), SkIntToScalar(1)); in makeMatrices()
|
D | pictureshader.cpp | 79 localMatrix.setScale(2, 2); in onDraw() 83 localMatrix.setScale(-1, -1); in onDraw() 105 localMatrix.setScale(localScale, localScale); in drawSceneColumn()
|
D | circles.cpp | 126 m.setScale(SkIntToScalar(2), SkIntToScalar(3)); in makeMatrices() 132 m.setScale(SkIntToScalar(2), SkIntToScalar(2)); in makeMatrices()
|
/third_party/skia/gm/ |
D | xform.cpp | 48 m.setScale(0.5, 0.5); in XformGM() 84 x1->setScale(2, 2); in onDraw() 96 fRoot->setScale(scale, scale); in onAnimate()
|
D | ovals.cpp | 96 m.setScale(SkIntToScalar(3), SkIntToScalar(2)); in makeMatrices() 102 m.setScale(SkIntToScalar(2), SkIntToScalar(2)); in makeMatrices() 108 m.setScale(SkIntToScalar(1), SkIntToScalar(2)); in makeMatrices() 114 m.setScale(SkIntToScalar(4), SkIntToScalar(1)); in makeMatrices()
|
D | roundrects.cpp | 106 m.setScale(SkIntToScalar(3), SkIntToScalar(2)); in makeMatrices() 112 m.setScale(SkIntToScalar(2), SkIntToScalar(2)); in makeMatrices() 118 m.setScale(SkIntToScalar(1), SkIntToScalar(2)); in makeMatrices() 124 m.setScale(SkIntToScalar(4), SkIntToScalar(1)); in makeMatrices()
|
D | pictureshader.cpp | 84 localMatrix.setScale(2, 2); in onDraw() 88 localMatrix.setScale(-1, -1); in onDraw() 110 localMatrix.setScale(localScale, localScale); in drawSceneColumn()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/ |
D | DecimalQuantity_SimpleStorage.java | 330 BigDecimal temp = toBigDecimal().setScale(0, RoundingMode.FLOOR); 399 fallback = fallback.setScale(-roundingMagnitude, mathContext.getRoundingMode()); 419 temp = temp.setScale(-roundingMagnitude, mathContext.getRoundingMode()); 654 returnValue = temp.setScale(0, RoundingMode.FLOOR).remainder(BigDecimal.TEN).byteValue(); 655 fallback = fallback.setScale(0, RoundingMode.FLOOR).add(temp.remainder(BigDecimal.ONE)); 706 return fallback.setScale(0, RoundingMode.FLOOR).compareTo(BigDecimal.ZERO) > 0; 784 returnValue = fallback.setScale(0, RoundingMode.FLOOR).remainder(BigDecimal.TEN).byteValue(); 785 BigDecimal temp = fallback.divide(BigDecimal.TEN).setScale(0, RoundingMode.FLOOR);
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/impl/number/ |
D | DecimalQuantity_SimpleStorage.java | 392 fallback = fallback.setScale(-roundingMagnitude, mathContext.getRoundingMode()); 412 temp = temp.setScale(-roundingMagnitude, mathContext.getRoundingMode()); 647 returnValue = temp.setScale(0, RoundingMode.FLOOR).remainder(BigDecimal.TEN).byteValue(); 648 fallback = fallback.setScale(0, RoundingMode.FLOOR).add(temp.remainder(BigDecimal.ONE)); 699 return fallback.setScale(0, RoundingMode.FLOOR).compareTo(BigDecimal.ZERO) > 0; 777 returnValue = fallback.setScale(0, RoundingMode.FLOOR).remainder(BigDecimal.TEN).byteValue(); 778 BigDecimal temp = fallback.divide(BigDecimal.TEN).setScale(0, RoundingMode.FLOOR);
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
D | ComplexUnitsConverter.java | 190 …BigInteger flooredQuantity = quantity.multiply(EPSILON_MULTIPLIER).setScale(0, RoundingMode.FLOOR)… in convert() 252 .setScale(0, RoundingMode.FLOOR); in applyRounder() 264 .setScale(0, RoundingMode.FLOOR); in applyRounder()
|
/third_party/flutter/skia/experimental/xform/ |
D | SkXform.h | 106 void setScale(SkScalar sx, SkScalar sy) { in setScale() function 107 fLocalMatrix.setScale(sx, sy); in setScale()
|
/third_party/skia/experimental/xform/ |
D | SkXform.h | 106 void setScale(SkScalar sx, SkScalar sy) { in setScale() function 107 fLocalMatrix.setScale(sx, sy); in setScale()
|
/third_party/skia/docs/examples/ |
D | Matrix_getScaleX.cpp | 8 matrix.setScale(42, 24); in draw()
|
D | Matrix_getScaleY.cpp | 8 matrix.setScale(42, 24); in draw()
|
/third_party/flutter/skia/docs/examples/ |
D | Matrix_getScaleX.cpp | 8 matrix.setScale(42, 24); in draw()
|