Home
last modified time | relevance | path

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

12345678

/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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMatrixTest.java39 m.postTranslate(16, 23); in postOperationsAreQueued()
136 matrix.postTranslate(1.0f, 2.0f); in testIsAffine()
157 matrix.postTranslate(1.0f, 2.0f); in testRectStaysRect()
183 matrix1.postTranslate(1.0f, 2.0f); in testSet()
200 matrix.postTranslate(1.0f, 2.0f); in testReset()
219 matrix1.postTranslate(1.0f, 1.0f); in testPostTranslate()
222 matrix1.postTranslate(2.0f, 2.0f); in testPostTranslate()
227 matrix2.postTranslate(-5.0f, 10.0f); in testPostTranslate()
412 translateMatrix.postTranslate(5.0f, 7.0f); in testSetConcat()
428 translateMatrix.postTranslate(5.0f, 7.0f); in testPostConcat()
[all …]
/external/skia/src/views/
DSkTouchGesture.cpp254 fLocalM.postTranslate(center(rec0.fLastX, rec1.fLastX), in touchMoved()
354 fGlobalM.postTranslate(ZERO, std::min(ZERO, fWindowRect.fBottom - scaledContent.fTop)); in limitTrans()
355 fGlobalM.postTranslate(ZERO, std::max(ZERO, fWindowRect.fTop - scaledContent.fBottom)); in limitTrans()
356 fGlobalM.postTranslate(std::min(ZERO, fWindowRect.fRight - scaledContent.fLeft), ZERO); in limitTrans()
357 fGlobalM.postTranslate(std::max(ZERO, fWindowRect.fLeft - scaledContent.fRight), ZERO); in limitTrans()
/external/skqp/src/views/
DSkTouchGesture.cpp254 fLocalM.postTranslate(center(rec0.fLastX, rec1.fLastX), in touchMoved()
354 fGlobalM.postTranslate(ZERO, std::min(ZERO, fWindowRect.fBottom - scaledContent.fTop)); in limitTrans()
355 fGlobalM.postTranslate(ZERO, std::max(ZERO, fWindowRect.fTop - scaledContent.fBottom)); in limitTrans()
356 fGlobalM.postTranslate(std::min(ZERO, fWindowRect.fRight - scaledContent.fLeft), ZERO); in limitTrans()
357 fGlobalM.postTranslate(std::max(ZERO, fWindowRect.fLeft - scaledContent.fRight), ZERO); in limitTrans()
/external/skia/debugger/QT/
DSkCanvasWidget.cpp65 fUserMatrix.postTranslate(eventOffset.fX, eventOffset.fY); in mouseMoveEvent()
93 fUserMatrix.postTranslate(event->delta(), 0.0f); in wheelEvent()
95 fUserMatrix.postTranslate(0.0f, event->delta()); in wheelEvent()
/external/skqp/debugger/QT/
DSkCanvasWidget.cpp65 fUserMatrix.postTranslate(eventOffset.fX, eventOffset.fY); in mouseMoveEvent()
93 fUserMatrix.postTranslate(event->delta(), 0.0f); in wheelEvent()
95 fUserMatrix.postTranslate(0.0f, event->delta()); in wheelEvent()
/external/skia/gm/
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()
/external/skqp/gm/
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()
Dpictureimagegenerator.cpp153 m.postTranslate(SkIntToScalar(configs[i].size.width()), 0); in onDraw()
156 m.postTranslate(0, SkIntToScalar(configs[i].size.height())); in onDraw()
/external/skia/src/gpu/
DGrSWMaskHelper.cpp44 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawRect()
61 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/skqp/src/gpu/
DGrSWMaskHelper.cpp44 translatedMatrix.postTranslate(fTranslate.fX, fTranslate.fY); in drawRect()
61 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/samplecode/
DSampleTextOnPath.cpp75 matrix.postTranslate(pathLen, 0); in textPathMatrix()
84 matrix.postTranslate(pathLen, 0); in textPathMatrix()
DSampleSlides.cpp292 matrix.postTranslate(pathLen, 0); in textonpath_slide()
301 matrix.postTranslate(pathLen, 0); in textonpath_slide()
382 m.postTranslate(SkIntToScalar(110), SkIntToScalar(110)); in make_fan()
416 m.postTranslate(SkIntToScalar(110), SkIntToScalar(110)); in make_strip()
DSampleLayers.cpp86 m.postTranslate(0, SkIntToScalar(100)); in test_fade()
239 m.postTranslate(fCenter.x(), fCenter.y()); in onDrawContent()
/external/skqp/samplecode/
DSampleTextOnPath.cpp75 matrix.postTranslate(pathLen, 0); in textPathMatrix()
84 matrix.postTranslate(pathLen, 0); in textPathMatrix()
DSampleSlides.cpp292 matrix.postTranslate(pathLen, 0); in textonpath_slide()
301 matrix.postTranslate(pathLen, 0); in textonpath_slide()
382 m.postTranslate(SkIntToScalar(110), SkIntToScalar(110)); in make_fan()
416 m.postTranslate(SkIntToScalar(110), SkIntToScalar(110)); in make_strip()
/external/skqp/src/gpu/text/
DGrTextUtils.cpp92 matrix.postTranslate(x, y); in DrawBigText()
98 matrix.postTranslate(xpos - prevXPos, 0); in DrawBigText()
/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/skqp/src/effects/
DSkLayerDrawLooper.cpp137 static void postTranslate(SkCanvas* canvas, SkScalar dx, SkScalar dy) { in postTranslate() function
139 m.postTranslate(dx, dy); in postTranslate()
157 postTranslate(canvas, fCurrRec->fInfo.fOffset.fX, in next()
/external/skia/src/effects/
DSkLayerDrawLooper.cpp137 static void postTranslate(SkCanvas* canvas, SkScalar dx, SkScalar dy) { in postTranslate() function
139 m.postTranslate(dx, dy); in postTranslate()
157 postTranslate(canvas, fCurrRec->fInfo.fOffset.fX, in next()

12345678