Home
last modified time | relevance | path

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

12

/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/docs/examples/
DMatrix_ScaleToFit.cpp19 if (!matrix.setRectToRect(bounds, rect, fit)) {
/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/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()
Ddashing.cpp132 matrix.setRectToRect(path->getBounds(), bounds, SkMatrix::kCenter_ScaleToFit); in make_path_star()
/external/setupdesign/main/src/com/google/android/setupdesign/view/
DIconUniformityAppImageView.java159 scaleMatrix.setRectToRect(scrRectF, destRectF, ScaleToFit.FILL); in setLegacyTransformationMatrix()
/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/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DTerminalView.java135 scaleMatrix.setRectToRect(tempSrc, tempDst, scaleType); in scaleCursors()
/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.h1151 bool setRectToRect(const SkRect& src, const SkRect& dst, ScaleToFit stf);
1168 m.setRectToRect(src, dst, stf); in MakeRectToRect()
/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()
DSerializationTest.cpp601 matrix.setRectToRect(bitmapBounds, r, SkMatrix::kFill_ScaleToFit); in DEF_TEST()
/external/skqp/resources/lua/
Dslides.lua311 matrix:setRectToRect(make_rect(0, 0, 640, 480), make_rect(0, 0, width, height), "center")
/external/skqp/platform_tools/android/apps/skqp/src/main/assets/resources/lua/
Dslides.lua311 matrix:setRectToRect(make_rect(0, 0, 640, 480), make_rect(0, 0, width, height), "center")
/external/skqp/src/shaders/
DSkPictureShader.cpp235 tileMatrix.setRectToRect(fTile, SkRect::MakeIWH(tileSize.width(), tileSize.height()), in refBitmapShader()
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/
DCameraConnectionFragment.java585 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); in configureTransform()
/external/skqp/docs/
DSkMatrix_Reference.bmh1941 if (!matrix.setRectToRect(bounds, rect, fit)) {
1953 #SeeAlso setRectToRect MakeRectToRect setPolyToPoly
1959 #Method bool setRectToRect(const SkRect& src, const SkRect& dst, ScaleToFit stf)
1971 bool success = matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit);
2025 #SeeAlso setRectToRect ScaleToFit setPolyToPoly SkRect::isEmpty
2063 #SeeAlso setRectToRect MakeRectToRect
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DCamera2BasicFragment.java794 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); in configureTransform()
/external/skqp/src/core/
DSkBitmapDevice.cpp451 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); in drawBitmapRect()

12