Home
last modified time | relevance | path

Searched refs:setRotate (Results 1 – 25 of 49) sorted by relevance

12

/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DTransformationUtils.java202 matrix.setRotate(degreesToRotate); in rotateImage()
292 matrix.setRotate(180); in initializeMatrixForRotation()
295 matrix.setRotate(180); in initializeMatrixForRotation()
299 matrix.setRotate(90); in initializeMatrixForRotation()
303 matrix.setRotate(90); in initializeMatrixForRotation()
306 matrix.setRotate(-90); in initializeMatrixForRotation()
310 matrix.setRotate(-90); in initializeMatrixForRotation()
/external/skia/gm/
Dlightingshader.cpp122 m.setRotate(45.0f, r.centerX(), r.centerY()); in onDraw()
134 m.setRotate(45.0f, r.centerX(), r.centerY()); in onDraw()
146 m.setRotate(45.0f, r.centerX(), r.centerY()); in onDraw()
158 m.setRotate(45.0f, r.centerX(), r.centerY()); in onDraw()
Dcolormatrix.cpp88 matrix.setRotate(SkColorMatrix::kR_Axis, 90); in onDraw()
92 matrix.setRotate(SkColorMatrix::kG_Axis, 90); in onDraw()
96 matrix.setRotate(SkColorMatrix::kB_Axis, 90); in onDraw()
Ddcshader.cpp240 devMats.push_back().setRotate(45, 500, 500); in onDraw()
241 devMats.push_back().setRotate(-30, 200, 200); in onDraw()
248 viewMats.push_back().setRotate(45, 50, 50); in onDraw()
Drects.cpp204 m.setRotate(SkIntToScalar(30)); in makeMatrices()
211 m.setRotate(SkIntToScalar(90)); in makeMatrices()
Dcolortype.cpp30 local.setRotate(180); in onOnceBeforeDraw()
Dshadertext2.cpp53 matrices.append()->fMatrix.setRotate(10.f);
65 localMatrices.append()->fMatrix.setRotate(45.f);
Dovals.cpp112 m.setRotate(SkIntToScalar(90)); in makeMatrices()
124 m.setRotate(SkIntToScalar(60)); in makeMatrices()
Dbigmatrix.cpp18 m.setRotate(33 * SK_Scalar1);
Dgm.cpp86 localM.setRotate(35.f); in DrawGpuOnlyMessage()
Droundrects.cpp122 m.setRotate(SkIntToScalar(90)); in makeMatrices()
134 m.setRotate(SkIntToScalar(60)); in makeMatrices()
Dfilterindiabox.cpp56 fMatrix[1].setRotate(30, cx, cy); fMatrix[1].postScale(horizScale, vertScale); in onOnceBeforeDraw()
Dtexdata.cpp88 vm.setRotate(90 * SK_Scalar1,
Ddstreadshuffle.cpp75 rot.setRotate(SkIntToScalar(360) / 5); in drawShape()
Dcolortypexfermode.cpp37 local.setRotate(180); in onOnceBeforeDraw()
Dcircles.cpp150 m.setRotate(SkIntToScalar(30)); in makeMatrices()
/external/skia/tests/
DMatrixTest.cpp180 rot90Scale.setRotate(90 * SK_Scalar1); in test_matrix_min_max_scale()
188 rotate.setRotate(128 * SK_Scalar1); in test_matrix_min_max_scale()
381 mat.setRotate(SkIntToScalar(angle)); in test_matrix_preserve_shape()
396 mat.setRotate(SkIntToScalar(30)); in test_matrix_preserve_shape()
403 mat.setRotate(SkIntToScalar(30)); in test_matrix_preserve_shape()
410 mat.setRotate(SkIntToScalar(30)); in test_matrix_preserve_shape()
510 mat.setRotate(kRotation0); in test_matrix_decomposition()
525 mat.setRotate(kRotation1); in test_matrix_decomposition()
537 mat.setRotate(kRotation0); in test_matrix_decomposition()
549 mat.setRotate(kRotation1); in test_matrix_decomposition()
[all …]
DDashPathEffectTest.cpp67 mats[1].setRotate(90, 0.5f, 0.5f); in DEF_TEST()
/external/skia/src/gpu/
DGrTestUtils.cpp25 gMatrices[2].setRotate(SkIntToScalar(17)); in test_matrix()
26 gMatrices[3].setRotate(SkIntToScalar(185)); in test_matrix()
31 gMatrices[4].setRotate(SkIntToScalar(215)); in test_matrix()
64 gMatrices[4].setRotate(47); in TestMatrixPreservesRightAngles()
90 gMatrices[5].setRotate(90); in TestMatrixRectStaysRect()
/external/skia/src/effects/
DSkColorMatrix.cpp95 void SkColorMatrix::setRotate(Axis axis, SkScalar degrees) { in setRotate() function in SkColorMatrix
122 tmp.setRotate(axis, degrees); in preRotate()
128 tmp.setRotate(axis, degrees); in postRotate()
/external/skia/samplecode/
DSampleManyRects.cpp53 rotate.setRotate(fRandom.nextUScalar1() * 360, in onDrawContent()
DSampleEffects.cpp91 cm.setRotate(SkColorMatrix::kG_Axis, 180); in EffectsView()
DSampleAARects.cpp126 matrix.setRotate(45.f); in onDrawContent()
/external/skia/include/effects/
DSkColorMatrix.h47 void setRotate(Axis, SkScalar degrees);
/external/skia/bench/
DDashBench.cpp338 matrix.setRotate(90, cx, cy); in GiantDashBench()
341 matrix.setRotate(45, cx, cy); in GiantDashBench()

12