/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowMatrixTest.java | 37 m.postTranslate(16, 23); in postOperationsAreQueued() 134 matrix.postTranslate(1.0f, 2.0f); in testIsAffine() 155 matrix.postTranslate(1.0f, 2.0f); in testRectStaysRect() 181 matrix1.postTranslate(1.0f, 2.0f); in testSet() 198 matrix.postTranslate(1.0f, 2.0f); in testReset() 217 matrix1.postTranslate(1.0f, 1.0f); in testPostTranslate() 220 matrix1.postTranslate(2.0f, 2.0f); in testPostTranslate() 225 matrix2.postTranslate(-5.0f, 10.0f); in testPostTranslate() 410 translateMatrix.postTranslate(5.0f, 7.0f); in testSetConcat() 426 translateMatrix.postTranslate(5.0f, 7.0f); in testPostConcat() [all …]
|
/external/skia/src/pdf/ |
D | SkPDFShader.cpp | 99 xMirror.postTranslate(2 * width, 0); in make_image_shader() 106 yMirror.postTranslate(0, 2 * height); in make_image_shader() 114 mirror.postTranslate(2 * width, 2 * height); in make_image_shader() 178 leftMatrix.postTranslate(deviceBounds.left(), 0); in make_image_shader() 183 leftMatrix.postTranslate(0, 2 * height); in make_image_shader() 196 rightMatrix.postTranslate(width, 0); in make_image_shader() 201 rightMatrix.postTranslate(0, 2 * height); in make_image_shader() 217 topMatrix.postTranslate(0, deviceBounds.top()); in make_image_shader() 222 topMatrix.postTranslate(2 * width, 0); in make_image_shader() 235 bottomMatrix.postTranslate(0, height); in make_image_shader() [all …]
|
/external/skqp/src/pdf/ |
D | SkPDFShader.cpp | 99 xMirror.postTranslate(2 * width, 0); in make_image_shader() 106 yMirror.postTranslate(0, 2 * height); in make_image_shader() 114 mirror.postTranslate(2 * width, 2 * height); in make_image_shader() 178 leftMatrix.postTranslate(deviceBounds.left(), 0); in make_image_shader() 183 leftMatrix.postTranslate(0, 2 * height); in make_image_shader() 196 rightMatrix.postTranslate(width, 0); in make_image_shader() 201 rightMatrix.postTranslate(0, 2 * height); in make_image_shader() 217 topMatrix.postTranslate(0, deviceBounds.top()); in make_image_shader() 222 topMatrix.postTranslate(2 * width, 0); in make_image_shader() 235 bottomMatrix.postTranslate(0, height); in make_image_shader() [all …]
|
/external/skqp/gm/ |
D | drawimageset.cpp | 101 matrices[0].postTranslate(d / 3, 0); in onDraw() 110 matrices[1].postTranslate(d, 50.f); in onDraw() 115 matrices[2].postTranslate(d, 2.6f * d); in onDraw() 122 matrices[3].postTranslate(100.f, d); in onDraw() 198 matrices[3].postTranslate(kW, kH); in onDraw() 201 matrices[4].postTranslate(0, kH); in onDraw()
|
D | drawable.cpp | 42 m.postTranslate(70, 0); 45 m.postTranslate(0, 150);
|
D | picture.cpp | 71 matrix.postTranslate(110, 0); in onDraw() 75 matrix.postTranslate(110, 0); in onDraw()
|
D | 3dgm.cpp | 96 tmp.postTranslate(0, 1, 0); in draw_skia() 100 tmp.postTranslate(1, 0, 0); in draw_skia()
|
/external/skia/gm/ |
D | drawimageset.cpp | 101 matrices[0].postTranslate(d / 3, 0); in onDraw() 110 matrices[1].postTranslate(d, 50.f); in onDraw() 115 matrices[2].postTranslate(d, 2.6f * d); in onDraw() 122 matrices[3].postTranslate(100.f, d); in onDraw() 198 matrices[3].postTranslate(kW, kH); in onDraw() 201 matrices[4].postTranslate(0, kH); in onDraw()
|
D | drawable.cpp | 42 m.postTranslate(70, 0); 45 m.postTranslate(0, 150);
|
D | picture.cpp | 71 matrix.postTranslate(110, 0); in onDraw() 75 matrix.postTranslate(110, 0); in onDraw()
|
D | 3dgm.cpp | 96 tmp.postTranslate(0, 1, 0); in draw_skia() 100 tmp.postTranslate(1, 0, 0); in draw_skia()
|
/external/skqp/tools/viewer/ |
D | TouchGesture.cpp | 254 fLocalM.postTranslate(center(rec0.fLastX, rec1.fLastX), in touchMoved() 365 fGlobalM.postTranslate(ZERO, std::min(ZERO, fWindowRect.fBottom - scaledContent.fTop)); in limitTrans() 366 fGlobalM.postTranslate(ZERO, std::max(ZERO, fWindowRect.fTop - scaledContent.fBottom)); in limitTrans() 367 fGlobalM.postTranslate(std::min(ZERO, fWindowRect.fRight - scaledContent.fLeft), ZERO); in limitTrans() 368 fGlobalM.postTranslate(std::max(ZERO, fWindowRect.fLeft - scaledContent.fRight), ZERO); in limitTrans()
|
/external/skia/tools/viewer/ |
D | TouchGesture.cpp | 254 fLocalM.postTranslate(center(rec0.fLastX, rec1.fLastX), in touchMoved() 365 fGlobalM.postTranslate(ZERO, std::min(ZERO, fWindowRect.fBottom - scaledContent.fTop)); in limitTrans() 366 fGlobalM.postTranslate(ZERO, std::max(ZERO, fWindowRect.fTop - scaledContent.fBottom)); in limitTrans() 367 fGlobalM.postTranslate(std::min(ZERO, fWindowRect.fRight - scaledContent.fLeft), ZERO); in limitTrans() 368 fGlobalM.postTranslate(std::max(ZERO, fWindowRect.fLeft - scaledContent.fRight), ZERO); in limitTrans()
|
/external/skqp/src/gpu/ |
D | GrSWMaskHelper.cpp | 45 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawRect() 62 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawShape()
|
D | GrTestUtils.cpp | 33 gMatrices[3].postTranslate(SkIntToScalar(66), SkIntToScalar(-33)); in test_matrix() 69 gMatrices[3].postTranslate(SkIntToScalar(66), SkIntToScalar(-33)); in TestMatrixPreservesRightAngles() 95 gMatrices[3].postTranslate(SkIntToScalar(66), SkIntToScalar(-33)); in TestMatrixRectStaysRect()
|
/external/skia/src/gpu/ |
D | GrSWMaskHelper.cpp | 45 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawRect() 62 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawShape()
|
D | GrTestUtils.cpp | 35 gMatrices[3].postTranslate(SkIntToScalar(66), SkIntToScalar(-33)); in test_matrix() 71 gMatrices[3].postTranslate(SkIntToScalar(66), SkIntToScalar(-33)); in TestMatrixPreservesRightAngles() 97 gMatrices[3].postTranslate(SkIntToScalar(66), SkIntToScalar(-33)); in TestMatrixRectStaysRect()
|
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/env/ |
D | ImageUtils.java | 308 matrix.postTranslate(-srcWidth / 2.0f, -srcHeight / 2.0f); in getTransformationMatrix() 339 matrix.postTranslate(dstWidth / 2.0f, dstHeight / 2.0f); in getTransformationMatrix()
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/ |
D | ImageUtils.java | 308 matrix.postTranslate(-srcWidth / 2.0f, -srcHeight / 2.0f); in getTransformationMatrix() 339 matrix.postTranslate(dstWidth / 2.0f, dstHeight / 2.0f); in getTransformationMatrix()
|
/external/skia/samplecode/ |
D | SampleAndroidShadows.cpp | 303 persp.postTranslate(pivot.fX + translate.fX, pivot.fY + translate.fY); in onDrawContent() 320 persp.postTranslate(pivot.fX + translate.fX, pivot.fY + translate.fY); in onDrawContent() 335 persp.postTranslate(pivot.fX + translate.fX, pivot.fY + translate.fY); in onDrawContent()
|
D | SampleLayers.cpp | 84 m.postTranslate(0, SkIntToScalar(100)); in test_fade() 221 m.postTranslate(fCenter.x(), fCenter.y()); in onDrawContent()
|
/external/skqp/src/effects/ |
D | SkLayerDrawLooper.cpp | 135 static void postTranslate(SkCanvas* canvas, SkScalar dx, SkScalar dy) { in postTranslate() function 137 m.postTranslate(dx, dy); in postTranslate() 155 postTranslate(canvas, fCurrRec->fInfo.fOffset.fX, in next()
|
/external/skia/src/effects/ |
D | SkLayerDrawLooper.cpp | 135 static void postTranslate(SkCanvas* canvas, SkScalar dx, SkScalar dy) { in postTranslate() function 137 m.postTranslate(dx, dy); in postTranslate() 155 postTranslate(canvas, fCurrRec->fInfo.fOffset.fX, in next()
|
/external/skqp/samplecode/ |
D | SampleAndroidShadows.cpp | 303 persp.postTranslate(pivot.fX + translate.fX, pivot.fY + translate.fY); in onDrawContent() 320 persp.postTranslate(pivot.fX + translate.fX, pivot.fY + translate.fY); in onDrawContent() 335 persp.postTranslate(pivot.fX + translate.fX, pivot.fY + translate.fY); in onDrawContent()
|
D | SampleLayers.cpp | 84 m.postTranslate(0, SkIntToScalar(100)); in test_fade() 221 m.postTranslate(fCenter.x(), fCenter.y()); in onDrawContent()
|