/external/skia/src/core/ |
SkPictureRecord.h | 25 virtual bool concat(const SkMatrix& matrix); 26 virtual void setMatrix(const SkMatrix& matrix); 50 const SkPath& path, const SkMatrix* matrix, 105 void addMatrix(const SkMatrix& matrix); 106 void addMatrixPtr(const SkMatrix* matrix); 122 const SkMatrix* matrix);
|
SkCanvas.cpp | 64 The clip/matrix/proc are fields that reflect the top of the save/restore 76 int16_t fX, fY; // relative to base matrix/clip 148 Since a level optionally copies the matrix and/or stack, we have pointers 741 const SkMatrix& matrix, const SkPaint* paint) { 748 this->commonDrawBitmap(bitmap, matrix, tmpPaint); 750 this->commonDrawBitmap(bitmap, matrix, *paint); 800 bool SkCanvas::concat(const SkMatrix& matrix) { 804 return fMCRec->fMatrix->preConcat(matrix); 807 void SkCanvas::setMatrix(const SkMatrix& matrix) { 811 *fMCRec->fMatrix = matrix; 817 SkMatrix matrix; local 1103 SkMatrix matrix; local 1129 SkMatrix matrix; local 1410 SkMatrix matrix; local 1454 const SkMatrix& SkCanvas::LayerIter::matrix() const { function in class:SkCanvas::LayerIter [all...] |
/external/skia/src/utils/ |
SkProxyCanvas.cpp | 58 bool SkProxyCanvas::concat(const SkMatrix& matrix) { 59 return fProxy->concat(matrix); 62 void SkProxyCanvas::setMatrix(const SkMatrix& matrix) { 63 fProxy->setMatrix(matrix); 132 const SkPath& path, const SkMatrix* matrix, 134 fProxy->drawTextOnPath(text, byteLength, path, matrix, paint);
|
/external/webkit/WebCore/platform/graphics/openvg/ |
PainterOpenVG.cpp | 46 static bool isNonRotatedAffineTransformation(const TransformationMatrix& matrix) 48 return matrix.m12() <= FLT_EPSILON && matrix.m13() <= FLT_EPSILON && matrix.m14() <= FLT_EPSILON 49 && matrix.m21() <= FLT_EPSILON && matrix.m23() <= FLT_EPSILON && matrix.m24() <= FLT_EPSILON 50 && matrix.m31() <= FLT_EPSILON && matrix.m32() <= FLT_EPSILON && matrix.m34() <= FLT_EPSILO 602 TransformationMatrix matrix = m_state->surfaceTransformationMatrix; local 612 TransformationMatrix matrix = m_state->surfaceTransformationMatrix; local 622 TransformationMatrix matrix = m_state->surfaceTransformationMatrix; local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Canvas.java | 232 /** restore the current matrix when restore() is called */ 246 * Saves the current matrix and clip onto a private stack. Subsequent 257 * Based on saveFlags, can save the current matrix and clip onto a private 276 * deleted and the previous matrix/clip state is restored. 308 * deleted and the previous matrix/clip state is restored. 333 * modifications to the matrix/clip state since the last save call. It is 339 * Returns the number of matrix/clip states on the Canvas' private stack. 360 * Preconcat the current matrix with the specified translation 368 * Preconcat the current matrix with the specified scale. 376 * Preconcat the current matrix with the specified scale [all...] |
ColorMatrix.java | 22 * 5x4 matrix for transforming the color+alpha components of a Bitmap. 23 * The matrix is stored in a single array, and its treated as follows: 84 * Assign the src colormatrix into this matrix, copying all of its values. 91 * Assign the array of floats into this matrix, copying all of its values. 201 * Set the matrix to affect the saturation of colors. A value of 0 maps the 219 * Set the matrix to convert RGB to YUV 231 * Set the matrix to convert from YUV to RGB
|
Path.java | 464 * Add a copy of src to the path, transformed by matrix 468 public void addPath(Path src, Matrix matrix) { 469 native_addPath(mNativePath, src.mNativePath, matrix.native_instance); 509 * Transform the points in this path by matrix, and write the answer 512 * @param matrix The matrix to apply to the path 516 public void transform(Matrix matrix, Path dst) { 521 native_transform(mNativePath, matrix.native_instance, dstNative) [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
RotateAnimationTest.java | 21 import android.graphics.Matrix; 143 Matrix expectedMatrix = new Matrix(); 167 private void assertMatrixEquals(Matrix expectedMatrix, Matrix actualMatrix) { 211 Matrix expectedMatrix = new Matrix();
|
/external/neven/Embedded/common/src/b_TensorEm/ |
CompactMat.h | 35 /** Compact Matrix 36 * This object represents a general nxm Matrix that stores its values in 38 * maximum accuracy for the given number of bits. The matrix takes sparseness 50 /* width (columns) of matrix */ 53 /* height (rows) of matrix */ 99 /* copies matrix */ 108 /** allocates matrix */
|
/frameworks/base/libs/rs/ |
rsScriptC_Lib.cpp | 533 // Matrix routines 539 Matrix *m = reinterpret_cast<Matrix *>(mat); 545 Matrix *m = reinterpret_cast<Matrix *>(mat); 551 Matrix *m = reinterpret_cast<Matrix *>(mat); 552 m->load(reinterpret_cast<const Matrix *>(newmat)); 557 Matrix *m = reinterpret_cast<Matrix *>(mat) [all...] |
/external/freetype/src/base/ |
ftcalc.c | 723 FT_Matrix_Invert( FT_Matrix* matrix ) 728 if ( !matrix ) 732 delta = FT_MulFix( matrix->xx, matrix->yy ) - 733 FT_MulFix( matrix->xy, matrix->yx ); 736 return FT_Err_Invalid_Argument; /* matrix can't be inverted */ 738 matrix->xy = - FT_DivFix( matrix->xy, delta ); 739 matrix->yx = - FT_DivFix( matrix->yx, delta ) [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
Util.java | 26 import android.graphics.Matrix; 51 Matrix m = new Matrix(); 66 public static Bitmap transform(Matrix scaler, Bitmap source, int targetWidth, int targetHeight, boolean scaleUp) { 151 Matrix matrix = new Matrix(); local 152 matrix.setScale(scale, scale); 153 Bitmap miniThumbnail = transform(matrix, source, width, height, false);
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
RotationVectorDemo.java | 92 // initialize the rotation matrix to identity 114 // convert the rotation-vector to a 4x4 matrix. the matrix 126 // set-up modelview matrix 142 // set projection matrix
|
/external/skia/src/animator/ |
SkPathParts.cpp | 308 SK_MEMBER(matrix, Matrix), 316 SkAddPath::SkAddPath() : matrix(NULL), path(NULL) { 321 if (matrix) 322 fPath->fPath.addPath(path->fPath, matrix->getMatrix());
|
/frameworks/base/core/jni/android/graphics/ |
Shader.cpp | 49 static bool Shader_getLocalMatrix(JNIEnv* env, jobject, const SkShader* shader, SkMatrix* matrix) 51 return shader ? shader->getLocalMatrix(matrix) : false; 54 static void Shader_setLocalMatrix(JNIEnv* env, jobject, SkShader* shader, const SkMatrix* matrix) 57 if (NULL == matrix) { 61 shader->setLocalMatrix(*matrix);
|
/frameworks/base/docs/html/sdk/api_diff/8/changes/ |
android.opengl.Matrix.html | 10 android.opengl.Matrix 74 Class android.opengl.<A HREF="../../../../reference/android/opengl/Matrix.html" target="_top"><font size="+2"><code>Matrix</code></font></A> 86 <A NAME="android.opengl.Matrix.setLookAtM_added(float[], int, float, float, float, float, float, float, float, float, float)"></A> 87 <nobr><code>void</code> <A HREF="../../../../reference/android/opengl/Matrix.html#setLookAtM(float[], int, float, float, float, float, float, float, float, float, float)" target="_top"><code>setLookAtM</code></A>(<code>float[],</nobr> int<nobr>,</nobr> float<nobr>,</nobr> float<nobr>,</nobr> float<nobr>,</nobr> float<nobr>,</nobr> float<nobr>,</nobr> float<nobr>,</nobr> float<nobr>,</nobr> float<nobr>,</nobr> float<nobr><nobr></code>)</nobr>
|
/external/qemu/distrib/sdl-1.2.12/src/video/dc/ |
SDL_dcevents.c | 128 if (state->matrix[i]!=old_state.matrix[i]) { 132 SDL_PrivateKeyboard(state->matrix[i]?SDL_PRESSED:SDL_RELEASED,&keysym);
|
/external/skia/include/core/ |
SkPathMeasure.h | 59 the corresponding matrix (by calling getPosTan). 61 matrix is unchanged. 63 bool getMatrix(SkScalar distance, SkMatrix* matrix, MatrixFlags flags = kGetPosAndTan_MatrixFlag);
|
/external/skia/include/utils/ |
SkDumpCanvas.h | 66 virtual bool concat(const SkMatrix& matrix); 67 virtual void setMatrix(const SkMatrix& matrix); 97 const SkPath& path, const SkMatrix* matrix,
|
SkProxyCanvas.h | 38 virtual bool concat(const SkMatrix& matrix); 39 virtual void setMatrix(const SkMatrix& matrix); 69 const SkPath& path, const SkMatrix* matrix,
|
/external/skia/src/effects/ |
SkBlurMaskFilter.cpp | 29 virtual bool filterMask(SkMask* dst, const SkMask& src, const SkMatrix& matrix, SkIPoint* margin); 81 bool SkBlurMaskFilterImpl::filterMask(SkMask* dst, const SkMask& src, const SkMatrix& matrix, SkIPoint* margin) 83 SkScalar radius = matrix.mapRadius(fRadius);
|
/external/skia/src/svg/ |
SkSVGPaintState.cpp | 213 SkASSERT(strncmp(str, "matrix(", 7) == 0); 221 SkMatrix matrix; 222 matrix.reset(); 223 matrix.setScaleX(values[0]); 224 matrix.setSkewY(values[1]); 225 matrix.setSkewX(values[2]); 226 matrix.setScaleY(values[3]); 227 matrix.setTranslateX(values[4]); 228 matrix.setTranslateY(values[5]); 229 sum.setConcat(matrix, sum) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
GLES20TriangleRenderer.java | 34 import android.opengl.Matrix; 75 Matrix.setRotateM(mMMatrix, 0, angle, 0, 0, 1.0f); 76 Matrix.multiplyMM(mMVPMatrix, 0, mVMatrix, 0, mMMatrix, 0); 77 Matrix.multiplyMM(mMVPMatrix, 0, mProjMatrix, 0, mMVPMatrix, 0); 89 Matrix.frustumM(mProjMatrix, 0, -ratio, ratio, -1, 1, 3, 7); 154 Matrix.setLookAtM(mVMatrix, 0, 0, 0, -5, 0f, 0f, 0f, 0f, 1.0f, 0.0f);
|
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/ |
GLES20TriangleRenderer.java | 34 import android.opengl.Matrix; 73 Matrix.setRotateM(mMMatrix, 0, angle, 0, 0, 1.0f); 74 Matrix.multiplyMM(mMVPMatrix, 0, mVMatrix, 0, mMMatrix, 0); 75 Matrix.multiplyMM(mMVPMatrix, 0, mProjMatrix, 0, mMVPMatrix, 0); 87 Matrix.frustumM(mProjMatrix, 0, -ratio, ratio, -1, 1, 3, 7); 152 Matrix.setLookAtM(mVMatrix, 0, 0, 0, -5, 0f, 0f, 0f, 0f, 1.0f, 0.0f);
|
/external/freetype/include/freetype/ |
fttypes.h | 282 /* values or matrix coefficients. */ 364 /* A simple structure used to store a 2x2 matrix. Coefficients are */ 373 /* xx :: Matrix coefficient. */ 375 /* xy :: Matrix coefficient. */ 377 /* yx :: Matrix coefficient. */ 379 /* yy :: Matrix coefficient. */ [all...] |