Home
last modified time | relevance | path

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

12345678

/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/actions/
DScaleToAction.java31 target.setScale(startX + (endX - startX) * percent, startY + (endY - startY) * percent); in update()
34 public void setScale (float x, float y) { in setScale() method in ScaleToAction
39 public void setScale (float scale) { in setScale() method in ScaleToAction
DTimeScaleAction.java33 public void setScale (float scale) { in setScale() method in TimeScaleAction
/external/skia/tests/
DMatrixTest.cpp97 m.setScale(2, 3); in test_set9()
173 scale.setScale(SK_Scalar1 * 2, SK_Scalar1 * 4); in test_matrix_min_max_scale()
310 mat.setScale(SkIntToScalar(15), SkIntToScalar(15)); in test_matrix_preserve_shape()
316 mat.setScale(SkIntToScalar(-15), SkIntToScalar(15)); in test_matrix_preserve_shape()
322 mat.setScale(SkIntToScalar(15), SkIntToScalar(20)); in test_matrix_preserve_shape()
328 mat.setScale(SkIntToScalar(15), SkIntToScalar(15), in test_matrix_preserve_shape()
335 mat.setScale(SkIntToScalar(15), SkIntToScalar(20), in test_matrix_preserve_shape()
417 mat.setScale(SkIntToScalar(3), SkIntToScalar(2)); in test_matrix_preserve_shape()
515 mat.setScale(kScale0, kScale0); in test_matrix_decomposition()
520 mat.setScale(kScale1, kScale0); in test_matrix_decomposition()
[all …]
DMatrix44Test.cpp110 scaleMatrix.setScale(3, 4, 5); in test_constructor()
149 mat.setScale(1, 1, 1); in test_scale()
151 mat.setScale(1, 2, 3); in test_scale()
160 b.setScale(10, 11, 12); in test_scale()
175 static void make_s(SkMatrix44* mat) { mat->setScale(1, 2, 3); } in make_s()
177 mat->setScale(1, 2, 3); in make_st()
279 b.setScale(2, 2, 2); in test_concat()
361 scale.setScale(2, 4, 8); in test_invert()
371 scaleTranslation.setScale(32, 128, 1024); in test_invert()
800 mat.setScale(3, 3, 3); in test_toint()
[all …]
DDrawBitmapRectTest.cpp130 mat.setScale(bigScale, bigScale); in test_treatAsSprite()
136 mat.setScale(smallScale, smallScale); in test_treatAsSprite()
142 mat.setScale(tinyScale, tinyScale); in test_treatAsSprite()
/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()
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()
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()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DBitmapFontFlipTest.java69 font.getData().setScale(1.33f); in create()
107 font.getData().setScale(1); in render()
111 font.getData().setScale(1); in render()
115 font.getData().setScale(red.a + 0.5f); in render()
119 font.getData().setScale(1); in render()
DStageDebugTest.java63 group.setScale(1.2f); in create()
70 actor.setScale(2f); in create()
91 root.setScale(1.3f, 1); in create()
DCpuSpriteBatchTest.java96 hat.setScale(0.5f); in createActorGroup()
103 setScale(0.9f + 0.2f * MathUtils.cos(MathUtils.degreesToRadians * getRotation())); in createActorGroup()
/external/skia/src/gpu/
DGrTestUtils.cpp57 gMatrices[2].setScale(SkIntToScalar(17), SkIntToScalar(17)); in TestMatrixPreservesRightAngles()
59 gMatrices[3].setScale(SkIntToScalar(-17), SkIntToScalar(-17)); in TestMatrixPreservesRightAngles()
63 gMatrices[4].setScale(SkIntToScalar(-1), SkIntToScalar(-1)); in TestMatrixPreservesRightAngles()
83 gMatrices[2].setScale(SkIntToScalar(17), SkIntToScalar(17)); in TestMatrixRectStaysRect()
85 gMatrices[3].setScale(SkIntToScalar(-17), SkIntToScalar(-17)); in TestMatrixRectStaysRect()
88 gMatrices[4].setScale(SkIntToScalar(-1), SkIntToScalar(-1)); in TestMatrixRectStaysRect()
/external/opencv3/modules/superres/perf/
Dperf_superres.cpp141 superRes->setScale(scale); in PERF_TEST_P()
159 superRes->setScale(scale); in PERF_TEST_P()
201 superRes->setScale(scale); in OCL_PERF_TEST_P()
/external/guava/guava-tests/test/com/google/common/math/
DDoubleMathTest.java86 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundIntegralDoubleToInt()
104 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundFractionalDoubleToInt()
121 BigDecimal expected = new BigDecimal(d).setScale(0, UNNECESSARY); in testRoundExactIntegralDoubleToInt()
172 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundIntegralDoubleToLong()
190 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundFractionalDoubleToLong()
208 BigDecimal expected = new BigDecimal(d).setScale(0, UNNECESSARY); in testRoundExactIntegralDoubleToLong()
259 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundIntegralDoubleToBigInteger()
269 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundFractionalDoubleToBigInteger()
278 BigDecimal expected = new BigDecimal(d).setScale(0, UNNECESSARY); in testRoundExactIntegralDoubleToBigInteger()
/external/skia/gm/
Dovals.cpp88 m.setScale(SkIntToScalar(3), SkIntToScalar(2)); in makeMatrices()
94 m.setScale(SkIntToScalar(2), SkIntToScalar(2)); in makeMatrices()
100 m.setScale(SkIntToScalar(1), SkIntToScalar(2)); in makeMatrices()
106 m.setScale(SkIntToScalar(4), SkIntToScalar(1)); in makeMatrices()
Dshaderbounds.cpp47 result.setScale(scale, scale); in onGetInitialTransform()
60 canvasScale.setScale(scale, scale); in onDraw()
Droundrects.cpp98 m.setScale(SkIntToScalar(3), SkIntToScalar(2)); in makeMatrices()
104 m.setScale(SkIntToScalar(2), SkIntToScalar(2)); in makeMatrices()
110 m.setScale(SkIntToScalar(1), SkIntToScalar(2)); in makeMatrices()
116 m.setScale(SkIntToScalar(4), SkIntToScalar(1)); in makeMatrices()
Dpictureshader.cpp68 localMatrix.setScale(2, 2); in onDraw()
72 localMatrix.setScale(-1, -1); in onDraw()
94 localMatrix.setScale(localScale, localScale); in drawSceneColumn()
Dpatheffects.cpp59 m.setScale(scale, scale); in scale()
91 m.setScale(SkIntToScalar(12), SkIntToScalar(12)); in MakeTileEffect()
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/
DSpriteDrawable.java48 sprite.setScale(1, 1); in draw()
65 sprite.setScale(scaleX, scaleY); in draw()
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
DLabel.java127 if (fontScaleX != 1 || fontScaleY != 1) font.getData().setScale(fontScaleX, fontScaleY); in scaleAndComputePrefSize()
131 if (fontScaleX != 1 || fontScaleY != 1) font.getData().setScale(oldScaleX, oldScaleY); in scaleAndComputePrefSize()
150 if (fontScaleX != 1 || fontScaleY != 1) font.getData().setScale(fontScaleX, fontScaleY); in layout()
204 if (fontScaleX != 1 || fontScaleY != 1) font.getData().setScale(oldScaleX, oldScaleY); in layout()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DTransformationUtils.java56 m.setScale(scale, scale); in centerCrop()
127 matrix.setScale(minPercentage, minPercentage); in fitCenter()
289 matrix.setScale(-1, 1); in initializeMatrixForRotation()
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DWeibullDistribution.java65 void setScale(double beta); in setScale() method
DCauchyDistribution.java62 void setScale(double s); in setScale() method
/external/skia/experimental/fiddle/
Ddraw.cpp21 matrix.setScale(0.75f, 0.75f); in draw()

12345678