Home
last modified time | relevance | path

Searched refs:setScale (Results 1 – 25 of 269) sorted by relevance

1234567891011

/third_party/flutter/skia/tests/
DMatrixTest.cpp104 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 …]
DMatrix44Test.cpp111 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 …]
DDrawBitmapRectTest.cpp92 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/
DMatrixTest.cpp114 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 …]
DDrawBitmapRectTest.cpp95 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/
Dmatrix_decomposition_unittests.cc36 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/
DGrTestUtils.cpp66 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/
DGrTestUtils.cpp68 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/
Dxform.cpp48 m.setScale(0.5, 0.5); in XformGM()
84 x1->setScale(2, 2); in onDraw()
96 fRoot->setScale(scale, scale); in onAnimate()
Dovals.cpp96 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()
Droundrects.cpp106 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()
Dpictureshader.cpp79 localMatrix.setScale(2, 2); in onDraw()
83 localMatrix.setScale(-1, -1); in onDraw()
105 localMatrix.setScale(localScale, localScale); in drawSceneColumn()
Dcircles.cpp126 m.setScale(SkIntToScalar(2), SkIntToScalar(3)); in makeMatrices()
132 m.setScale(SkIntToScalar(2), SkIntToScalar(2)); in makeMatrices()
/third_party/skia/gm/
Dxform.cpp48 m.setScale(0.5, 0.5); in XformGM()
84 x1->setScale(2, 2); in onDraw()
96 fRoot->setScale(scale, scale); in onAnimate()
Dovals.cpp96 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()
Droundrects.cpp106 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()
Dpictureshader.cpp84 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/
DDecimalQuantity_SimpleStorage.java330 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/
DDecimalQuantity_SimpleStorage.java392 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/
DComplexUnitsConverter.java190 …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/
DSkXform.h106 void setScale(SkScalar sx, SkScalar sy) { in setScale() function
107 fLocalMatrix.setScale(sx, sy); in setScale()
/third_party/skia/experimental/xform/
DSkXform.h106 void setScale(SkScalar sx, SkScalar sy) { in setScale() function
107 fLocalMatrix.setScale(sx, sy); in setScale()
/third_party/skia/docs/examples/
DMatrix_getScaleX.cpp8 matrix.setScale(42, 24); in draw()
DMatrix_getScaleY.cpp8 matrix.setScale(42, 24); in draw()
/third_party/flutter/skia/docs/examples/
DMatrix_getScaleX.cpp8 matrix.setScale(42, 24); in draw()

1234567891011