Home
last modified time | relevance | path

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

123456789

/external/skia/samplecode/
DSampleSkLayer.cpp71 m0.setScale(2,3,4); in test44()
75 m0.setScale(2,3,4); in test44()
79 m0.setScale(2,3,4); in test44()
83 m0.setScale(2, 4, 6); in test44()
91 m0.setScale(2, 3, 4); in test44()
198 matrix.setScale(0.5, 0.5); in SkLayerView()
DSampleTextOnPath.cpp77 matrix.setScale(-SK_Scalar1, SK_Scalar1); in textPathMatrix()
82 matrix.setScale(SK_Scalar1, -SK_Scalar1); in textPathMatrix()
86 matrix.setScale(-SK_Scalar1, -SK_Scalar1); in textPathMatrix()
DSampleSlides.cpp73 m.setScale(scale, scale); in scale()
105 m.setScale(SkIntToScalar(12), SkIntToScalar(12)); in MakeTileEffect()
296 matrix.setScale(-SK_Scalar1, SK_Scalar1); in textonpath_slide()
301 matrix.setScale(SK_Scalar1, -SK_Scalar1); in textonpath_slide()
305 matrix.setScale(-SK_Scalar1, -SK_Scalar1); in textonpath_slide()
386 m.setScale(SkIntToScalar(100), SkIntToScalar(100)); in make_fan()
420 m.setScale(SkIntToScalar(100), SkIntToScalar(100)); in make_strip()
571 lattice.setScale(SK_Scalar1*6, SK_Scalar1*6, 0, 0); in r7()
582 lattice.setScale(SK_Scalar1*6, SK_Scalar1*6, 0, 0); in r8()
600 lattice.setScale(SK_Scalar1, SK_Scalar1*6, 0, 0); in r9()
/external/chromium_org/third_party/skia/samplecode/
DSampleSkLayer.cpp71 m0.setScale(2,3,4); in test44()
75 m0.setScale(2,3,4); in test44()
79 m0.setScale(2,3,4); in test44()
83 m0.setScale(2, 4, 6); in test44()
91 m0.setScale(2, 3, 4); in test44()
198 matrix.setScale(0.5, 0.5); in SkLayerView()
DSampleTextOnPath.cpp77 matrix.setScale(-SK_Scalar1, SK_Scalar1); in textPathMatrix()
82 matrix.setScale(SK_Scalar1, -SK_Scalar1); in textPathMatrix()
86 matrix.setScale(-SK_Scalar1, -SK_Scalar1); in textPathMatrix()
DSampleSlides.cpp73 m.setScale(scale, scale); in scale()
105 m.setScale(SkIntToScalar(12), SkIntToScalar(12)); in MakeTileEffect()
296 matrix.setScale(-SK_Scalar1, SK_Scalar1); in textonpath_slide()
301 matrix.setScale(SK_Scalar1, -SK_Scalar1); in textonpath_slide()
305 matrix.setScale(-SK_Scalar1, -SK_Scalar1); in textonpath_slide()
386 m.setScale(SkIntToScalar(100), SkIntToScalar(100)); in make_fan()
420 m.setScale(SkIntToScalar(100), SkIntToScalar(100)); in make_strip()
571 lattice.setScale(SK_Scalar1*6, SK_Scalar1*6, 0, 0); in r7()
582 lattice.setScale(SK_Scalar1*6, SK_Scalar1*6, 0, 0); in r8()
600 lattice.setScale(SK_Scalar1, SK_Scalar1*6, 0, 0); in r9()
/external/chromium_org/third_party/skia/tests/
DMatrixTest.cpp134 scale.setScale(SK_Scalar1 * 2, SK_Scalar1 * 4); in test_matrix_min_max_scale()
264 mat.setScale(SkIntToScalar(15), SkIntToScalar(15)); in test_matrix_preserve_shape()
270 mat.setScale(SkIntToScalar(-15), SkIntToScalar(15)); in test_matrix_preserve_shape()
276 mat.setScale(SkIntToScalar(15), SkIntToScalar(20)); in test_matrix_preserve_shape()
282 mat.setScale(SkIntToScalar(15), SkIntToScalar(15), in test_matrix_preserve_shape()
289 mat.setScale(SkIntToScalar(15), SkIntToScalar(20), in test_matrix_preserve_shape()
371 mat.setScale(SkIntToScalar(3), SkIntToScalar(2)); in test_matrix_preserve_shape()
469 mat.setScale(kScale0, kScale0); in test_matrix_decomposition()
474 mat.setScale(kScale1, kScale0); in test_matrix_decomposition()
485 mat.setScale(kScale0, kScale0); in test_matrix_decomposition()
[all …]
DMatrix44Test.cpp141 mat.setScale(1, 1, 1); in test_scale()
143 mat.setScale(1, 2, 3); in test_scale()
152 b.setScale(10, 11, 12); in test_scale()
167 static void make_s(SkMatrix44* mat) { mat->setScale(1, 2, 3); } in make_s()
169 mat->setScale(1, 2, 3); in make_st()
271 b.setScale(2, 2, 2); in test_concat()
353 scale.setScale(2, 4, 8); in test_invert()
363 scaleTranslation.setScale(10, 100, 1000); in test_invert()
565 mat.setScale(2, 2, 2); in DEF_TEST()
570 mat.setScale(SK_MScalar1/2, SK_MScalar1/2, SK_MScalar1/2); in DEF_TEST()
[all …]
/external/skia/tests/
DMatrix44Test.cpp141 mat.setScale(1, 1, 1); in test_scale()
143 mat.setScale(1, 2, 3); in test_scale()
152 b.setScale(10, 11, 12); in test_scale()
167 static void make_s(SkMatrix44* mat) { mat->setScale(1, 2, 3); } in make_s()
169 mat->setScale(1, 2, 3); in make_st()
271 b.setScale(2, 2, 2); in test_concat()
353 scale.setScale(2, 4, 8); in test_invert()
363 scaleTranslation.setScale(10, 100, 1000); in test_invert()
536 mat.setScale(2, 2, 2); in DEF_TEST()
541 mat.setScale(SK_MScalar1/2, SK_MScalar1/2, SK_MScalar1/2); in DEF_TEST()
[all …]
DMatrixTest.cpp134 scale.setScale(SK_Scalar1 * 2, SK_Scalar1 * 4); in test_matrix_min_max_scale()
262 mat.setScale(SkIntToScalar(15), SkIntToScalar(15)); in test_matrix_is_similarity()
267 mat.setScale(SkIntToScalar(-15), SkIntToScalar(15)); in test_matrix_is_similarity()
272 mat.setScale(SkIntToScalar(15), SkIntToScalar(20)); in test_matrix_is_similarity()
277 mat.setScale(SkIntToScalar(15), SkIntToScalar(15), in test_matrix_is_similarity()
283 mat.setScale(SkIntToScalar(15), SkIntToScalar(20), in test_matrix_is_similarity()
439 mat.setScale(kScale0, kScale0); in test_matrix_decomposition()
444 mat.setScale(kScale1, kScale0); in test_matrix_decomposition()
455 mat.setScale(kScale0, kScale0); in test_matrix_decomposition()
467 mat.setScale(kScale0, -kScale0); in test_matrix_decomposition()
[all …]
/external/guava/guava-tests/test/com/google/common/math/
DDoubleMathTest.java75 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundIntegralDoubleToInt()
92 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundFractionalDoubleToInt()
108 BigDecimal expected = new BigDecimal(d).setScale(0, UNNECESSARY); in testRoundExactIntegralDoubleToInt()
155 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundIntegralDoubleToLong()
172 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundFractionalDoubleToLong()
189 BigDecimal expected = new BigDecimal(d).setScale(0, UNNECESSARY); in testRoundExactIntegralDoubleToLong()
236 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundIntegralDoubleToBigInteger()
245 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundFractionalDoubleToBigInteger()
253 BigDecimal expected = new BigDecimal(d).setScale(0, UNNECESSARY); in testRoundExactIntegralDoubleToBigInteger()
/external/skia/gm/
Dshaderbounds.cpp50 result.setScale(scale, scale); in onGetInitialTransform()
63 canvasScale.setScale(scale, scale); in onDraw()
89 shaderScale.setScale(scale, scale); in MakeShader()
Dovals.cpp91 m.setScale(SkIntToScalar(3), SkIntToScalar(2)); in makeMatrices()
97 m.setScale(SkIntToScalar(2), SkIntToScalar(2)); in makeMatrices()
103 m.setScale(SkIntToScalar(1), SkIntToScalar(2)); in makeMatrices()
109 m.setScale(SkIntToScalar(4), SkIntToScalar(1)); in makeMatrices()
Droundrects.cpp92 m.setScale(SkIntToScalar(3), SkIntToScalar(2)); in makeMatrices()
98 m.setScale(SkIntToScalar(2), SkIntToScalar(2)); in makeMatrices()
104 m.setScale(SkIntToScalar(1), SkIntToScalar(2)); in makeMatrices()
110 m.setScale(SkIntToScalar(4), SkIntToScalar(1)); in makeMatrices()
Dtexteffects.cpp106 lattice.setScale(SK_Scalar1*6, SK_Scalar1*6, 0, 0); in r7()
116 lattice.setScale(SK_Scalar1*6, SK_Scalar1*6, 0, 0); in r8()
133 lattice.setScale(SK_Scalar1, SK_Scalar1*6, 0, 0); in r9()
Dpatheffects.cpp59 m.setScale(scale, scale); in scale()
91 m.setScale(SkIntToScalar(12), SkIntToScalar(12)); in MakeTileEffect()
Dcircles.cpp129 m.setScale(SkIntToScalar(2), SkIntToScalar(3)); in makeMatrices()
135 m.setScale(SkIntToScalar(2), SkIntToScalar(2)); in makeMatrices()
/external/chromium_org/third_party/skia/gm/
Dshaderbounds.cpp50 result.setScale(scale, scale); in onGetInitialTransform()
63 canvasScale.setScale(scale, scale); in onDraw()
89 shaderScale.setScale(scale, scale); in MakeShader()
Dovals.cpp91 m.setScale(SkIntToScalar(3), SkIntToScalar(2)); in makeMatrices()
97 m.setScale(SkIntToScalar(2), SkIntToScalar(2)); in makeMatrices()
103 m.setScale(SkIntToScalar(1), SkIntToScalar(2)); in makeMatrices()
109 m.setScale(SkIntToScalar(4), SkIntToScalar(1)); in makeMatrices()
Droundrects.cpp92 m.setScale(SkIntToScalar(3), SkIntToScalar(2)); in makeMatrices()
98 m.setScale(SkIntToScalar(2), SkIntToScalar(2)); in makeMatrices()
104 m.setScale(SkIntToScalar(1), SkIntToScalar(2)); in makeMatrices()
110 m.setScale(SkIntToScalar(4), SkIntToScalar(1)); in makeMatrices()
Dtexteffects.cpp106 lattice.setScale(SK_Scalar1*6, SK_Scalar1*6, 0, 0); in r7()
116 lattice.setScale(SK_Scalar1*6, SK_Scalar1*6, 0, 0); in r8()
133 lattice.setScale(SK_Scalar1, SK_Scalar1*6, 0, 0); in r9()
Dcircles.cpp129 m.setScale(SkIntToScalar(2), SkIntToScalar(3)); in makeMatrices()
135 m.setScale(SkIntToScalar(2), SkIntToScalar(2)); in makeMatrices()
Dpatheffects.cpp59 m.setScale(scale, scale); in scale()
91 m.setScale(SkIntToScalar(12), SkIntToScalar(12)); in MakeTileEffect()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGTransformTearOff.cpp79 void SVGTransformTearOff::setScale(float sx, float sy, ExceptionState& exceptionState) in setScale() function in blink::SVGTransformTearOff
86 target()->setScale(sx, sy); in setScale()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DTransformationUtils.java54 m.setScale(scale, scale); in centerCrop()
119 matrix.setScale(minPercentage, minPercentage); in fitCenter()
238 matrix.setScale(-1, 1); in rotateImageExif()

123456789