Home
last modified time | relevance | path

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

1234567

/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/gm/
Dxform.cpp33 fRA->setRotate(30); in XformGM()
37 fB->setRotate(30); in XformGM()
97 fRA->setRotate(TimeUtils::Scaled(1e-9 * nanos, 40, 0)); in onAnimate()
98 fB->setRotate(TimeUtils::Scaled(1e-9 * nanos, 40*sqrtf(2), 0)); in onAnimate()
Dcirculararcs.cpp281 matrices.push_back().setRotate(kRadius, kRadius, 45.f);
308 tinyCW.setRotate(0.001f, kRadius, kRadius);
313 tinyCCW.setRotate(-0.001f, kRadius, kRadius);
318 cw45.setRotate(45.f, kRadius, kRadius);
Dsharedcorners.cpp130 rot.setRotate(45, path.getBounds().centerX(), path.getBounds().centerY()); in drawTriangleBoxes()
135 rot.setRotate(-45 - 69.38111f, path.getBounds().centerX(), path.getBounds().centerY()); in drawTriangleBoxes()
/external/skia/tests/
DMatrixTest.cpp197 rot90Scale.setRotate(90).postScale(SK_Scalar1 / 4, SK_Scalar1 / 2); in test_matrix_min_max_scale()
204 rotate.setRotate(128); in test_matrix_min_max_scale()
384 mat.setRotate(SkIntToScalar(angle)); in test_matrix_preserve_shape()
398 mat.setRotate(30).postTranslate(10, 20); in test_matrix_preserve_shape()
403 mat.setRotate(30).postScale(2, 2); in test_matrix_preserve_shape()
408 mat.setRotate(30).postScale(3, 2); in test_matrix_preserve_shape()
504 mat.setRotate(kRotation0); in test_matrix_decomposition()
519 mat.setRotate(kRotation1).postScale(kScale0, kScale0); in test_matrix_decomposition()
529 mat.setRotate(kRotation0).postScale(kScale1, -kScale1); in test_matrix_decomposition()
539 mat.setRotate(kRotation1).postScale(kScale1, kScale0); in test_matrix_decomposition()
[all …]
DGrQuadCropTest.cpp202 rotated.setRotate(45.f); in test_axis_aligned()
220 rotated.setRotate(45.f); in test_crop_fully_covered()
237 rotation.setRotate(90.f); in TEST()
239 rotation.setRotate(180.f); in TEST()
241 rotation.setRotate(270.f); in TEST()
247 rotation.setRotate(34.f); in TEST()
/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()
/external/skia/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/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/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/experimental/xform/
DSkXform.h109 void setRotate(SkScalar degrees) { in setRotate() function
110 fLocalMatrix.setRotate(degrees); in setRotate()
/external/skia/docs/examples/
DMatrix_preservesAxisAlignment.cpp9 matrix.setRotate(angle); in draw()
DMatrix_rectStaysRect.cpp9 matrix.setRotate(angle); in draw()
DMatrix_dump.cpp8 matrix.setRotate(45); in draw()
DImage_makeShader_2.cpp8 matrix.setRotate(45); in draw()
DImage_makeShader.cpp8 matrix.setRotate(45); in draw()
DPath_getLastPt.cpp11 matrix.setRotate(36, 100, 100); in draw()
DPath_addRoundRect_2.cpp12 rotate90.setRotate(90, 128, 128); in draw()
DPath_transform_2.cpp14 matrix.setRotate(36, 100, 100); in draw()
DMatrix_mapPoints_2.cpp8 matrix.setRotate(35, 128, 128); in draw()
DMatrix_mapRect_2.cpp10 matrix.setRotate(45, 128, 128); in draw()
DPath_addRRect.cpp14 rotate90.setRotate(90, 128, 128); in draw()

1234567