Home
last modified time | relevance | path

Searched refs:postTranslate (Results 1 – 25 of 197) sorted by relevance

12345678

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMatrixTest.java37 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/
DSkPDFShader.cpp99 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/
DSkPDFShader.cpp99 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/
Ddrawimageset.cpp101 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()
Ddrawable.cpp42 m.postTranslate(70, 0);
45 m.postTranslate(0, 150);
Dpicture.cpp71 matrix.postTranslate(110, 0); in onDraw()
75 matrix.postTranslate(110, 0); in onDraw()
D3dgm.cpp96 tmp.postTranslate(0, 1, 0); in draw_skia()
100 tmp.postTranslate(1, 0, 0); in draw_skia()
/external/skia/gm/
Ddrawimageset.cpp101 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()
Ddrawable.cpp42 m.postTranslate(70, 0);
45 m.postTranslate(0, 150);
Dpicture.cpp71 matrix.postTranslate(110, 0); in onDraw()
75 matrix.postTranslate(110, 0); in onDraw()
D3dgm.cpp96 tmp.postTranslate(0, 1, 0); in draw_skia()
100 tmp.postTranslate(1, 0, 0); in draw_skia()
/external/skqp/tools/viewer/
DTouchGesture.cpp254 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/
DTouchGesture.cpp254 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/
DGrSWMaskHelper.cpp45 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawRect()
62 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawShape()
DGrTestUtils.cpp33 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/
DGrSWMaskHelper.cpp45 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawRect()
62 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawShape()
DGrTestUtils.cpp35 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/
DImageUtils.java308 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/
DImageUtils.java308 matrix.postTranslate(-srcWidth / 2.0f, -srcHeight / 2.0f); in getTransformationMatrix()
339 matrix.postTranslate(dstWidth / 2.0f, dstHeight / 2.0f); in getTransformationMatrix()
/external/skia/samplecode/
DSampleAndroidShadows.cpp303 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()
DSampleLayers.cpp84 m.postTranslate(0, SkIntToScalar(100)); in test_fade()
221 m.postTranslate(fCenter.x(), fCenter.y()); in onDrawContent()
/external/skqp/src/effects/
DSkLayerDrawLooper.cpp135 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/
DSkLayerDrawLooper.cpp135 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/
DSampleAndroidShadows.cpp303 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()
DSampleLayers.cpp84 m.postTranslate(0, SkIntToScalar(100)); in test_fade()
221 m.postTranslate(fCenter.x(), fCenter.y()); in onDrawContent()

12345678