Home
last modified time | relevance | path

Searched refs:setRectToRect (Results 1 – 25 of 58) sorted by relevance

123

/external/skqp/src/gpu/
DSkGpuDevice_drawTexture.cpp110 srcToDst.setRectToRect(srcRect, dstRect, SkMatrix::kFill_ScaleToFit); in draw_texture()
200 if (!srcToDstMatrix.setRectToRect(*srcRect, *dstRect, SkMatrix::kFill_ScaleToFit)) { in drawTextureProducer()
207 if (!srcToDstMatrix.setRectToRect(*srcRect, *dstRect, SkMatrix::kFill_ScaleToFit)) { in drawTextureProducer()
215 if (!srcToDstMatrix.setRectToRect(srcBounds, *dstRect, SkMatrix::kFill_ScaleToFit)) { in drawTextureProducer()
/external/skia/samplecode/
DSampleCamera.cpp40 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in CameraView()
DSampleHT.cpp35 m.setRectToRect(r, gUnitSquare, SkMatrix::kFill_ScaleToFit); in oval_contains()
DSampleLitAtlas.cpp128 diffMat.setRectToRect(fDiffTex[i], r, SkMatrix::kFill_ScaleToFit); in onDraw()
129 normalMat.setRectToRect(fNormTex[i], r, SkMatrix::kFill_ScaleToFit); in onDraw()
DSampleStrokePath.cpp39 matrix.setRectToRect(srcR, dstR, SkMatrix::kCenter_ScaleToFit); in test_huge_stroke()
/external/skqp/samplecode/
DSampleCamera.cpp40 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in CameraView()
DSampleHT.cpp35 m.setRectToRect(r, gUnitSquare, SkMatrix::kFill_ScaleToFit); in oval_contains()
DSampleLitAtlas.cpp128 diffMat.setRectToRect(fDiffTex[i], r, SkMatrix::kFill_ScaleToFit); in onDraw()
129 normalMat.setRectToRect(fNormTex[i], r, SkMatrix::kFill_ScaleToFit); in onDraw()
DSampleStrokePath.cpp39 matrix.setRectToRect(srcR, dstR, SkMatrix::kCenter_ScaleToFit); in test_huge_stroke()
/external/skia/gm/
Dtrickycubicstrokes.cpp83 matrix.setRectToRect(strokeBounds, location, SkMatrix::kCenter_ScaleToFit); in drawStroke()
Dlightingshader.cpp97 matrix.setRectToRect(bitmapBounds, r, SkMatrix::kFill_ScaleToFit); in drawRect()
Dpictureimagegenerator.cpp52 m.setRectToRect(skiaBox, viewBox, SkMatrix::kFill_ScaleToFit); in draw_vector_logo()
Dlightingshader2.cpp78 matrix.setRectToRect(bitmapBounds, fRect, SkMatrix::kFill_ScaleToFit); in onOnceBeforeDraw()
/external/skqp/gm/
Dtrickycubicstrokes.cpp83 matrix.setRectToRect(strokeBounds, location, SkMatrix::kCenter_ScaleToFit); in drawStroke()
Dlightingshader.cpp97 matrix.setRectToRect(bitmapBounds, r, SkMatrix::kFill_ScaleToFit); in drawRect()
Dpictureimagegenerator.cpp52 m.setRectToRect(skiaBox, viewBox, SkMatrix::kFill_ScaleToFit); in draw_vector_logo()
Dlightingshader2.cpp78 matrix.setRectToRect(bitmapBounds, fRect, SkMatrix::kFill_ScaleToFit); in onOnceBeforeDraw()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMatrix.java363 protected boolean setRectToRect(RectF src, RectF dst, Matrix.ScaleToFit stf) { in setRectToRect() method in ShadowMatrix
368 return simpleMatrix.setRectToRect(src, dst, stf); in setRectToRect()
564 protected boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) { in setRectToRect() method in ShadowMatrix.SimpleMatrix
/external/skqp/include/core/
DSkMatrix.h1105 bool setRectToRect(const SkRect& src, const SkRect& dst, ScaleToFit stf);
1124 m.setRectToRect(src, dst, stf); in MakeRectToRect()
/external/skia/include/core/
DSkMatrix.h1105 bool setRectToRect(const SkRect& src, const SkRect& dst, ScaleToFit stf);
1124 m.setRectToRect(src, dst, stf); in MakeRectToRect()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DTerminalView.java135 scaleMatrix.setRectToRect(tempSrc, tempDst, scaleType); in scaleCursors()
/external/skia/tests/
DMatrixTest.cpp126 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in test_matrix_recttorect()
131 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in test_matrix_recttorect()
136 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in test_matrix_recttorect()
143 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in test_matrix_recttorect()
/external/skqp/tests/
DMatrixTest.cpp126 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in test_matrix_recttorect()
131 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in test_matrix_recttorect()
136 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in test_matrix_recttorect()
143 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); in test_matrix_recttorect()
/external/skqp/resources/lua/
Dslides.lua311 matrix:setRectToRect(make_rect(0, 0, 640, 480), make_rect(0, 0, width, height), "center")
/external/skia/resources/lua/
Dslides.lua311 matrix:setRectToRect(make_rect(0, 0, 640, 480), make_rect(0, 0, width, height), "center")

123