Home
last modified time | relevance | path

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

123456

/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
DFeature.java150 result.setScale(size); in getTransform()
162 localTransform.setScale(bone.getLocalScale()); in getTransform()
166 worldTransform.setScale(bone.getWorldBindScale()); in getTransform()
170 poseTransform.setScale(bone.getLocalScale()); in getTransform()
174 parentLocalTransform.setScale(bone.getLocalScale()); in getTransform()
209 transform.setScale(scaleX, scaleY, scaleZ); in applyTransform()
228 transform.setScale(transform.getScale()); in applyTransform()
298 result.setScale(transform.getScale()); in toMatrix()
/external/skia/src/gpu/
DGrTestUtils.cpp55 gMatrices[2].setScale(SkIntToScalar(17), SkIntToScalar(17)); in TestMatrixPreservesRightAngles()
57 gMatrices[3].setScale(SkIntToScalar(-17), SkIntToScalar(-17)); in TestMatrixPreservesRightAngles()
61 gMatrices[4].setScale(SkIntToScalar(-1), SkIntToScalar(-1)); in TestMatrixPreservesRightAngles()
81 gMatrices[2].setScale(SkIntToScalar(17), SkIntToScalar(17)); in TestMatrixRectStaysRect()
83 gMatrices[3].setScale(SkIntToScalar(-17), SkIntToScalar(-17)); in TestMatrixRectStaysRect()
86 gMatrices[4].setScale(SkIntToScalar(-1), SkIntToScalar(-1)); in TestMatrixRectStaysRect()
/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()
303 mat.setScale(SkIntToScalar(15), SkIntToScalar(15)); in test_matrix_preserve_shape()
309 mat.setScale(SkIntToScalar(-15), SkIntToScalar(15)); in test_matrix_preserve_shape()
315 mat.setScale(SkIntToScalar(15), SkIntToScalar(20)); in test_matrix_preserve_shape()
321 mat.setScale(SkIntToScalar(15), SkIntToScalar(15), in test_matrix_preserve_shape()
328 mat.setScale(SkIntToScalar(15), SkIntToScalar(20), in test_matrix_preserve_shape()
410 mat.setScale(SkIntToScalar(3), SkIntToScalar(2)); in test_matrix_preserve_shape()
508 mat.setScale(kScale0, kScale0); in test_matrix_decomposition()
513 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(10, 100, 1000); in test_invert()
775 mat.setScale(3, 3, 3); in test_toint()
[all …]
DDrawBitmapRectTest.cpp128 mat.setScale(bigScale, bigScale); in test_treatAsSprite()
134 mat.setScale(smallScale, smallScale); in test_treatAsSprite()
140 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/guava/guava-tests/test/com/google/common/math/
DDoubleMathTest.java85 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundIntegralDoubleToInt()
103 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundFractionalDoubleToInt()
120 BigDecimal expected = new BigDecimal(d).setScale(0, UNNECESSARY); in testRoundExactIntegralDoubleToInt()
171 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundIntegralDoubleToLong()
189 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundFractionalDoubleToLong()
207 BigDecimal expected = new BigDecimal(d).setScale(0, UNNECESSARY); in testRoundExactIntegralDoubleToLong()
258 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundIntegralDoubleToBigInteger()
268 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundFractionalDoubleToBigInteger()
277 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()
Droundrects.cpp89 m.setScale(SkIntToScalar(3), SkIntToScalar(2)); in makeMatrices()
95 m.setScale(SkIntToScalar(2), SkIntToScalar(2)); in makeMatrices()
101 m.setScale(SkIntToScalar(1), SkIntToScalar(2)); in makeMatrices()
107 m.setScale(SkIntToScalar(4), SkIntToScalar(1)); in makeMatrices()
Dshaderbounds.cpp47 result.setScale(scale, scale); in onGetInitialTransform()
60 canvasScale.setScale(scale, scale); in onDraw()
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()
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/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/
DRenderDeviceJme.java247 tempMat.setScale(sizeX, sizeY, 0); in renderFont()
295 tempMat.setScale(w * scale, h * scale, 0); in renderImage()
321 tempMat.setScale(width * imageScale, height * imageScale, 0); in renderImage()
336 tempMat.setScale(width, height, 0); in renderQuad()
363 tempMat.setScale(width, height, 0); in renderQuad()
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DTransform.java110 public Transform setScale(Vector3f scale) { in setScale() method in Transform
120 public Transform setScale(float scale) { in setScale() method in Transform
233 public Transform setScale(float x, float y, float z) { in setScale() method in Transform
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/
DBoneContext.java140 …poseTransform.setScale(size.get(0).floatValue(), size.get(2).floatValue(), size.get(1).floatValue(… in computePoseTransform()
144 …poseTransform.setScale(size.get(0).floatValue(), size.get(1).floatValue(), size.get(2).floatValue(… in computePoseTransform()
148 localTransform.setScale(bone.getLocalScale()); in computePoseTransform()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/filter/
DPerturbFilter.java65 …float[] perturbx = new FractalSum().setOctaves(8).setScale(5f).getBuffer(sx, sy, base, workSize).a… in filter()
66 …float[] perturby = new FractalSum().setOctaves(8).setScale(5f).getBuffer(sx, sy, base + 1, workSiz… in filter()
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/util/
DCollisionShapeFactory.java68 trans.setScale(currentSpatial.getLocalScale()); in getTransform()
215 mColl.setScale(trans.getScale()); in createSingleMeshShape()
243 dynamicShape.setScale(trans.getScale()); in createSingleDynamicMeshShape()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
DCompoundCollisionShape.java126 public void setScale(Vector3f scale) { in setScale() method in CompoundCollisionShape
146 setScale(scale); in read()
/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/jmonkeyengine/engine/src/test/jme3test/post/
DSSAOUI.java117 filter.setScale(filter.getScale() + 0.01f); in init()
121 filter.setScale(filter.getScale() - 0.01f); in init()

123456