Home
last modified time | relevance | path

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

123456

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMatrixTest.java50 m.setRotate(4); in setOperationsOverride()
51 m.setRotate(8); in setOperationsOverride()
52 m.setRotate(15); in setOperationsOverride()
53 m.setRotate(16); in setOperationsOverride()
54 m.setRotate(23); in setOperationsOverride()
55 m.setRotate(42); in setOperationsOverride()
56 m.setRotate(108); in setOperationsOverride()
294 matrix.setRotate(90.0f); in testSetRotate()
296 matrix.setRotate(180.0f); in testSetRotate()
298 matrix.setRotate(270.0f); in testSetRotate()
[all …]
/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/tests/
DMatrixTest.cpp187 rot90Scale.setRotate(90 * SK_Scalar1); in test_matrix_min_max_scale()
195 rotate.setRotate(128 * SK_Scalar1); in test_matrix_min_max_scale()
394 mat.setRotate(SkIntToScalar(angle)); in test_matrix_preserve_shape()
409 mat.setRotate(SkIntToScalar(30)); in test_matrix_preserve_shape()
416 mat.setRotate(SkIntToScalar(30)); in test_matrix_preserve_shape()
423 mat.setRotate(SkIntToScalar(30)); in test_matrix_preserve_shape()
523 mat.setRotate(kRotation0); in test_matrix_decomposition()
538 mat.setRotate(kRotation1); in test_matrix_decomposition()
550 mat.setRotate(kRotation0); in test_matrix_decomposition()
562 mat.setRotate(kRotation1); in test_matrix_decomposition()
[all …]
/external/skqp/tests/
DMatrixTest.cpp187 rot90Scale.setRotate(90 * SK_Scalar1); in test_matrix_min_max_scale()
195 rotate.setRotate(128 * SK_Scalar1); in test_matrix_min_max_scale()
394 mat.setRotate(SkIntToScalar(angle)); in test_matrix_preserve_shape()
409 mat.setRotate(SkIntToScalar(30)); in test_matrix_preserve_shape()
416 mat.setRotate(SkIntToScalar(30)); in test_matrix_preserve_shape()
423 mat.setRotate(SkIntToScalar(30)); in test_matrix_preserve_shape()
523 mat.setRotate(kRotation0); in test_matrix_decomposition()
538 mat.setRotate(kRotation1); in test_matrix_decomposition()
550 mat.setRotate(kRotation0); in test_matrix_decomposition()
562 mat.setRotate(kRotation1); in test_matrix_decomposition()
[all …]
/external/skqp/gm/
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()
Dsharedcorners.cpp123 rot.setRotate(45, path.getBounds().centerX(), path.getBounds().centerY()); in drawTriangleBoxes()
128 rot.setRotate(-45 - 69.38111f, path.getBounds().centerX(), path.getBounds().centerY()); in drawTriangleBoxes()
Ddstreadshuffle.cpp70 rot.setRotate(360.f / 5, 50.f, 70.f); in drawShape()
113 rot.setRotate(360.f / kNumHairlines, 15.5f, 12.f); in DrawHairlines()
Drects.cpp193 m.setRotate(SkIntToScalar(30)); in makeMatrices()
200 m.setRotate(SkIntToScalar(90)); in makeMatrices()
Ddrawimageset.cpp100 matrices[0].setRotate(30); in onDraw()
112 matrices[2].setRotate(-60.f); in onDraw()
193 matrices[1].setRotate(90, kW / 2.f, kH / 2.f); in onDraw()
Dstrokedlines.cpp152 m.setRotate(12.0f); in onOnceBeforeDraw()
174 m.setRotate(12.0f); in onOnceBeforeDraw()
/external/skia/gm/
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()
Dsharedcorners.cpp123 rot.setRotate(45, path.getBounds().centerX(), path.getBounds().centerY()); in drawTriangleBoxes()
128 rot.setRotate(-45 - 69.38111f, path.getBounds().centerX(), path.getBounds().centerY()); in drawTriangleBoxes()
Ddstreadshuffle.cpp70 rot.setRotate(360.f / 5, 50.f, 70.f); in drawShape()
113 rot.setRotate(360.f / kNumHairlines, 15.5f, 12.f); in DrawHairlines()
Drects.cpp193 m.setRotate(SkIntToScalar(30)); in makeMatrices()
200 m.setRotate(SkIntToScalar(90)); in makeMatrices()
Ddrawimageset.cpp100 matrices[0].setRotate(30); in onDraw()
112 matrices[2].setRotate(-60.f); in onDraw()
193 matrices[1].setRotate(90, kW / 2.f, kH / 2.f); in onDraw()
Dstrokedlines.cpp152 m.setRotate(12.0f); in onOnceBeforeDraw()
174 m.setRotate(12.0f); in onOnceBeforeDraw()
/external/skqp/src/gpu/
DGrTestUtils.cpp31 gMatrices[2].setRotate(SkIntToScalar(17)); in test_matrix()
32 gMatrices[3].setRotate(SkIntToScalar(185)); in test_matrix()
37 gMatrices[4].setRotate(SkIntToScalar(215)); in test_matrix()
73 gMatrices[4].setRotate(47); in TestMatrixPreservesRightAngles()
99 gMatrices[5].setRotate(90); in TestMatrixRectStaysRect()
/external/skia/src/gpu/
DGrTestUtils.cpp33 gMatrices[2].setRotate(SkIntToScalar(17)); in test_matrix()
34 gMatrices[3].setRotate(SkIntToScalar(185)); in test_matrix()
39 gMatrices[4].setRotate(SkIntToScalar(215)); in test_matrix()
75 gMatrices[4].setRotate(47); in TestMatrixPreservesRightAngles()
101 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/skqp/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/skqp/docs/
DSkMatrix_Reference.bmh17 so it has no effect. setTranslate, setScale, setSkew, setRotate, set9 and setAll
283 matrix.setRotate(angle);
308 matrix.setRotate(angle);
1228 #Method void setRotate(SkScalar degrees, SkScalar px, SkScalar py)
1243 matrix.setRotate(25, rect.centerX(), rect.centerY());
1254 #Method void setRotate(SkScalar degrees)
1266 matrix.setRotate(25);
1300 #SeeAlso setRotate setScale setRSXform
1328 #SeeAlso setRotate setScale setRSXform
1457 i == 0 ? matrix.reset(): matrix.setRotate(25, rect.centerX(), 320);
[all …]
/external/skia/docs/
DSkMatrix_Reference.bmh17 so it has no effect. setTranslate, setScale, setSkew, setRotate, set9 and setAll
282 matrix.setRotate(angle);
307 matrix.setRotate(angle);
1212 #Method void setRotate(SkScalar degrees, SkScalar px, SkScalar py)
1227 matrix.setRotate(25, rect.centerX(), rect.centerY());
1238 #Method void setRotate(SkScalar degrees)
1250 matrix.setRotate(25);
1284 #SeeAlso setRotate setScale setRSXform
1312 #SeeAlso setRotate setScale setRSXform
1439 i == 0 ? matrix.reset(): matrix.setRotate(25, rect.centerX(), 320);
[all …]
/external/skqp/samplecode/
DSampleManyRects.cpp49 rotate.setRotate(fRandom.nextUScalar1() * 360, in onDrawContent()
/external/skqp/include/effects/
DSkColorMatrix.h43 void setRotate(Axis, SkScalar degrees);
/external/skia/samplecode/
DSampleManyRects.cpp49 rotate.setRotate(fRandom.nextUScalar1() * 360, in onDrawContent()

123456