Searched refs:ScaleToFit (Results 1 – 15 of 15) sorted by relevance
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowMatrix.java | 7 import android.graphics.Matrix.ScaleToFit; 363 protected boolean setRectToRect(RectF src, RectF dst, Matrix.ScaleToFit stf) { in setRectToRect() 564 protected boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) { in setRectToRect() 577 if (stf != ScaleToFit.FILL) { in setRectToRect() 588 if (stf == ScaleToFit.CENTER || stf == ScaleToFit.END) { in setRectToRect() 597 if (stf == ScaleToFit.CENTER) { in setRectToRect()
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/ |
D | TerminalView.java | 57 private static final Matrix.ScaleToFit scaleType = Matrix.ScaleToFit.FILL;
|
/external/skqp/include/core/ |
D | SkMatrix.h | 1083 enum ScaleToFit { enum 1105 bool setRectToRect(const SkRect& src, const SkRect& dst, ScaleToFit stf); 1122 static SkMatrix MakeRectToRect(const SkRect& src, const SkRect& dst, ScaleToFit stf) { in MakeRectToRect()
|
/external/skia/include/core/ |
D | SkMatrix.h | 1083 enum ScaleToFit { enum 1105 bool setRectToRect(const SkRect& src, const SkRect& dst, ScaleToFit stf); 1122 static SkMatrix MakeRectToRect(const SkRect& src, const SkRect& dst, ScaleToFit stf) { in MakeRectToRect()
|
/external/skqp/docs/ |
D | SkMatrix_Reference.bmh | 1888 #Enum ScaleToFit 1891 enum ScaleToFit { 1899 ScaleToFit describes how Matrix is constructed to map one Rect to another. 1900 ScaleToFit may allow Matrix to have unequal horizontal and vertical scaling, 1901 or may restrict Matrix to square scaling. If restricted, ScaleToFit specifies 1959 #Method bool setRectToRect(const SkRect& src, const SkRect& dst, ScaleToFit stf) 1990 #SeeAlso MakeRectToRect ScaleToFit setPolyToPoly SkRect::isEmpty 1996 #Method static SkMatrix MakeRectToRect(const SkRect& src, const SkRect& dst, ScaleToFit stf) 2025 #SeeAlso setRectToRect ScaleToFit setPolyToPoly SkRect::isEmpty
|
/external/skia/docs/ |
D | SkMatrix_Reference.bmh | 1870 #Enum ScaleToFit 1873 enum ScaleToFit { 1881 ScaleToFit describes how Matrix is constructed to map one Rect to another. 1882 ScaleToFit may allow Matrix to have unequal horizontal and vertical scaling, 1883 or may restrict Matrix to square scaling. If restricted, ScaleToFit specifies 1941 #Method bool setRectToRect(const SkRect& src, const SkRect& dst, ScaleToFit stf) 1972 #SeeAlso MakeRectToRect ScaleToFit setPolyToPoly SkRect::isEmpty 1978 #Method static SkMatrix MakeRectToRect(const SkRect& src, const SkRect& dst, ScaleToFit stf) 2007 #SeeAlso setRectToRect ScaleToFit setPolyToPoly SkRect::isEmpty
|
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/ |
D | CameraConnectionFragment.java | 579 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); in configureTransform()
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/ |
D | CameraConnectionFragment.java | 585 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); in configureTransform()
|
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/ |
D | Camera2BasicFragment.java | 802 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); in configureTransform()
|
/external/skqp/src/utils/ |
D | SkLua.cpp | 1208 SkMatrix::ScaleToFit scaleToFit = SkMatrix::kFill_ScaleToFit; in lmatrix_setRectToRect() 1213 SkMatrix::ScaleToFit fScaleToFit; in lmatrix_setRectToRect()
|
/external/skia/src/utils/ |
D | SkLua.cpp | 1208 SkMatrix::ScaleToFit scaleToFit = SkMatrix::kFill_ScaleToFit; in lmatrix_setRectToRect() 1213 SkMatrix::ScaleToFit fScaleToFit; in lmatrix_setRectToRect()
|
/external/skqp/site/user/api/ |
D | SkMatrix_Reference.md | 96 enum <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> { 103 …href='SkRect_Reference#SkRect'>SkRect</a>& dst, <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> stf); 104 …href='SkRect_Reference#SkRect'>SkRect</a>& dst, <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> stf); 2861 enum <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> { 2869 <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> describes how <a href='SkMatrix_Reference#Matrix'>Mat… 2870 <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> may allow <a href='SkMatrix_Reference#Matrix'>Matrix<… 2871 …atrix</a> to square scaling. If restricted, <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> specifies 2931 … href='SkRect_Reference#SkRect'>SkRect</a>& dst, <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> stf) 2983 <a href='#SkMatrix_MakeRectToRect'>MakeRectToRect</a> <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a>… 2990 … href='SkRect_Reference#SkRect'>SkRect</a>& dst, <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> stf) [all …]
|
/external/skia/site/user/api/ |
D | SkMatrix_Reference.md | 96 enum <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> { 103 …href='SkRect_Reference#SkRect'>SkRect</a>& dst, <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> stf); 104 …href='SkRect_Reference#SkRect'>SkRect</a>& dst, <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> stf); 2861 enum <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> { 2869 <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> describes how <a href='SkMatrix_Reference#Matrix'>Mat… 2870 <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> may allow <a href='SkMatrix_Reference#Matrix'>Matrix<… 2871 …atrix</a> to square scaling. If restricted, <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> specifies 2931 … href='SkRect_Reference#SkRect'>SkRect</a>& dst, <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> stf) 2983 <a href='#SkMatrix_MakeRectToRect'>MakeRectToRect</a> <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a>… 2990 … href='SkRect_Reference#SkRect'>SkRect</a>& dst, <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> stf) [all …]
|
/external/skia/src/core/ |
D | SkMatrix.cpp | 571 bool SkMatrix::setRectToRect(const SkRect& src, const SkRect& dst, ScaleToFit align) { in setRectToRect()
|
/external/skqp/src/core/ |
D | SkMatrix.cpp | 571 bool SkMatrix::setRectToRect(const SkRect& src, const SkRect& dst, ScaleToFit align) { in setRectToRect()
|