Home
last modified time | relevance | path

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

123456789

/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/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/skia/src/core/
DSkDrawLooper.cpp17 ctm->postTranslate(fTranslate.fX, fTranslate.fY); in applyToCTM()
26 ctm.postTranslate(fTranslate.fX, fTranslate.fY); in applyToCanvas()
99 ctm.postTranslate(info.fTranslate.fX, info.fTranslate.fY); in apply()
/external/skia/gm/
Ddrawable.cpp47 m.postTranslate(70, 0);
50 m.postTranslate(0, 150);
Ddrawimageset.cpp121 matrices[0].postTranslate(d / 3, 0); in onDraw()
130 matrices[1].postTranslate(d, 50.f); in onDraw()
135 matrices[2].postTranslate(d, 2.6f * d); in onDraw()
142 matrices[3].postTranslate(100.f, d); in onDraw()
231 matrices[3].postTranslate(kW, kH); in onDraw()
234 matrices[4].postTranslate(0, kH); in onDraw()
Dpicture.cpp79 matrix.postTranslate(110, 0); in onDraw()
83 matrix.postTranslate(110, 0); in onDraw()
/external/skqp/gm/
Ddrawable.cpp42 m.postTranslate(70, 0);
45 m.postTranslate(0, 150);
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()
Dpicture.cpp71 matrix.postTranslate(110, 0); in onDraw()
75 matrix.postTranslate(110, 0); in onDraw()
/external/tensorflow/tensorflow/lite/experimental/support/java/src/java/org/tensorflow/lite/support/image/ops/
DRot90Op.java62 matrix.postTranslate(w * 0.5f, h * 0.5f); in apply()
66 matrix.postTranslate(newW * 0.5f, newH * 0.5f); in apply()
/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.cpp216 fLocalM.postTranslate(lastX, lastY); in updateZoom()
379 fGlobalM.postTranslate(ZERO, std::min(ZERO, fWindowRect.fBottom - scaledContent.fTop)); in limitTrans()
380 fGlobalM.postTranslate(ZERO, std::max(ZERO, fWindowRect.fTop - scaledContent.fBottom)); in limitTrans()
381 fGlobalM.postTranslate(std::min(ZERO, fWindowRect.fRight - scaledContent.fLeft), ZERO); in limitTrans()
382 fGlobalM.postTranslate(std::max(ZERO, fWindowRect.fLeft - scaledContent.fRight), ZERO); in limitTrans()
/external/skia/src/gpu/
DGrSWMaskHelper.cpp47 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawRect()
64 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawShape()
/external/skqp/src/gpu/
DGrSWMaskHelper.cpp45 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawRect()
62 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawShape()
/external/skia/src/pdf/
DSkPDFShader.cpp176 leftMatrix.postTranslate(0, 2 * height); in make_image_shader()
192 rightMatrix.postTranslate(0, 2 * height); in make_image_shader()
219 topMatrix.postTranslate(2 * width, 0); in make_image_shader()
235 bottomMatrix.postTranslate(2 * width, 0); in make_image_shader()
/external/skia/docs/examples/
DImage_makeShader_2.cpp9 matrix.postTranslate(125, 30); in draw()
DMatrix_setScale_2.cpp16 m.postTranslate(128, 64);
DMatrix_setSkew_2.cpp16 m.postTranslate(96 + 64 * sx, 128 + 48 * sy);
DMatrix_setSinCos_2.cpp15 matrix.postTranslate(rect.centerX(), rect.centerY()); in draw()
DMatrix_postTranslate.cpp22 matrix.postTranslate(40, 40); in draw()
/external/angle/src/libANGLE/renderer/gl/
DShaderGL.cpp82 bool postTranslate(std::string *infoLog) override in postTranslate() function in rx::WaitableCompileEventWorkerContext
121 bool postTranslate(std::string *infoLog) override { return mPostTranslateFunctor(infoLog); } in postTranslate() function in rx::WaitableCompileEventNativeParallel
141 bool postTranslate(std::string *infoLog) override { return mPostTranslateFunctor(infoLog); } in postTranslate() function in rx::WaitableCompileEventDone
/external/skia/src/effects/
DSkColorMatrixFilter.cpp31 matrix.postTranslate(byte_to_unit_float(SkColorGetR(add)), in MakeLightingFilter()
/external/skia/samplecode/
DSampleLayers.cpp83 m.postTranslate(0, SkIntToScalar(100)); in test_fade()
201 m.postTranslate(fCenter.x(), fCenter.y()); in onDrawContent()
DSampleAndroidShadows.cpp279 persp.postTranslate(pivot.fX + translate.fX, pivot.fY + translate.fY); in onDrawContent()
296 persp.postTranslate(pivot.fX + translate.fX, pivot.fY + translate.fY); in onDrawContent()
311 persp.postTranslate(pivot.fX + translate.fX, pivot.fY + translate.fY); in onDrawContent()
/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()

123456789