/external/skia/src/animator/ |
H A D | SkDrawShader.cpp | 19 SK_MEMBER(matrix, Matrix), 27 SkDrawShader::SkDrawShader() : matrix(NULL), 40 if (matrix) 41 shader->setLocalMatrix(matrix->getMatrix());
|
H A D | SkDraw3D.cpp | 55 SkMatrix matrix; local 56 fCamera.patchToMatrix(patch->fPatch, &matrix); 57 matrix.preTranslate(hackWidth / 2, -hackHeight / 2); 58 matrix.postTranslate(hackWidth / 2, hackHeight / 2); 59 maker.fCanvas->concat(matrix);
|
/external/skia/gm/ |
H A D | shapes.cpp | 89 SkMatrix matrix; local 94 matrix.setScale(-SK_Scalar1, SK_Scalar1); 95 matrix.postTranslate(SkIntToScalar(220), SkIntToScalar(240)); 96 gs->appendShape(&fGroup, matrix); 97 matrix.setTranslate(SkIntToScalar(240), 0); 98 matrix.preScale(SK_Scalar1*2, SK_Scalar1*2); 99 gs->appendShape(&fGroup, matrix);
|
/external/webkit/Source/WebKit/android/jni/ |
H A D | ViewStateSerializer.cpp | 120 void writeMatrix(SkWStream *stream, const SkMatrix& matrix) argument 123 stream->writeScalar(matrix[i]); 128 SkMatrix matrix; local 130 matrix.set(i, stream->readScalar()); 131 return matrix; 166 void writeTransformationMatrix(SkWStream *stream, TransformationMatrix& matrix) argument 170 value = matrix.m11(); 172 value = matrix.m12(); 174 value = matrix.m13(); 176 value = matrix 204 readTransformationMatrix(SkStream *stream, TransformationMatrix& matrix) argument [all...] |
/external/skia/include/gpu/ |
H A D | GrSamplerState.h | 55 * The intepretation of the texture matrix depends on the sample mode. The 56 * texture matrix is applied both when the texture coordinates are explicit 58 * case the texture matrix is applied to the pre-view-matrix position 62 * The post-matrix texture coordinates are in normalize space with (0,0) at 65 * The matrix specifies the radial gradient parameters. 66 * (0,0) in the post-matrix space is center of the radial gradient. 70 * 0 and is provided by setRadial2Params. The post-matrix space is 73 * The angle from the origin of texture coordinates in post-matrix space 110 * unfiltered, and use identity matrix 146 GrMatrix* matrix() { return &fMatrix; } function in class:GrSamplerState 171 preConcatMatrix(const GrMatrix& matrix) argument 179 reset(WrapMode wrapXAndY, Filter filter, FilterDirection direction, const GrMatrix& matrix) argument 192 reset(WrapMode wrapXAndY, Filter filter, const GrMatrix& matrix) argument 199 reset(const GrMatrix& matrix) argument [all...] |
/external/skia/src/views/ |
H A D | SkImageView.cpp | 72 bool SkImageView::getImageMatrix(SkMatrix* matrix) const 77 if (matrix) 78 *matrix = *fMatrix; 83 if (matrix) 84 matrix->reset(); 89 void SkImageView::setImageMatrix(const SkMatrix* matrix) argument 93 if (matrix && !matrix->isIdentity()) 97 *fMatrix = *matrix; 111 // only redraw if we changed our matrix an 152 SkMatrix matrix; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
H A D | GLUtils.cpp | 80 void GLUtils::toSkMatrix(SkMatrix& matrix, const TransformationMatrix& m) argument 82 matrix[0] = m.m11(); // scaleX 83 matrix[1] = m.m21(); // skewX 84 matrix[2] = m.m41(); // transX 85 matrix[3] = m.m12(); // skewY 86 matrix[4] = m.m22(); // scaleY 87 matrix[5] = m.m42(); // transY 88 matrix[6] = m.m14(); // persp0 89 matrix[7] = m.m24(); // persp1 90 matrix[ 110 has3dTransform(const TransformationMatrix& matrix) argument 596 convertToTransformationMatrix(const float* matrix, TransformationMatrix& transformMatrix) argument [all...] |
H A D | GLUtils.h | 55 static void toGLMatrix(GLfloat* flattened, const TransformationMatrix& matrix); 56 static void toSkMatrix(SkMatrix& skmatrix, const TransformationMatrix& matrix); 59 static bool has3dTransform(const TransformationMatrix& matrix); 86 static void convertToTransformationMatrix(const float* matrix, TransformationMatrix& transformMatrix);
|
/external/skia/src/utils/ |
H A D | SkLayer.cpp | 77 void SkLayer::setMatrix(const SkMatrix& matrix) { argument 78 fMatrix = matrix; 81 void SkLayer::setChildrenMatrix(const SkMatrix& matrix) { argument 82 fChildrenMatrix = matrix; 141 void SkLayer::getLocalTransform(SkMatrix* matrix) const { 142 matrix->setTranslate(m_position.fX, m_position.fY); 146 matrix->preTranslate(tx, ty); 147 matrix->preConcat(this->getMatrix()); 148 matrix->preTranslate(-tx, -ty); 151 void SkLayer::localToGlobal(SkMatrix* matrix) cons [all...] |
/external/skia/src/effects/ |
H A D | Sk1DPathEffect.cpp | 87 SkMatrix matrix; local 91 matrix.setSinCos(tangent.fY, tangent.fX, 0, 0); 92 matrix.preTranslate(-sx, 0); 93 matrix.postTranslate(pos.fX, pos.fY); 94 matrix.mapPoints(&dst[i], &pt, 1); 170 SkMatrix matrix; local 171 meas.getMatrix(distance, &matrix); 172 dst->addPath(fPath, matrix);
|
/external/srec/srec/clib/ |
H A D | imeld_rd.c | 46 void delete_matrix(covdata **matrix, int dimen); 47 void delete_fixed_matrix(imeldata **matrix, int dimen); 48 int scale_matrix_for_fixedpoint(imeldata **fixmat, covdata **matrix,int dimen); 58 prep->matrix = create_fixed_matrix(matdim); 71 ASSERT(prep->matrix); 72 delete_fixed_matrix(prep->matrix, prep->dim); 75 prep->matrix = NULL; 145 /* The imelda matrix 154 prep->imel_shift = scale_matrix_for_fixedpoint(prep->matrix, 157 /* The inverse imelda matrix [all...] |
/external/webkit/Source/WebCore/rendering/svg/ |
H A D | SVGMarkerLayoutInfo.h | 37 , matrix(matrixObj) 43 AffineTransform matrix; member in struct:WebCore::MarkerLayout
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
H A D | Matrix4f.java | 42 * <code>Matrix4f</code> defines and maintains a 4x4 matrix in row major order.
43 * This matrix is intended for use in a translation and rotational capacity.
44 * It provides convenience methods for creating the matrix from a multitude
70 * identity matrix.
78 * constructs a matrix with the given values.
115 * provided matrix. This constructor copies a given Matrix. If the provided
116 * matrix is null, the constructor sets the matrix to the identity.
119 * the matrix to copy.
126 * <code>copy</code> transfers the contents of a given matrix t 133 copy(Matrix4f matrix) argument 213 get(float[] matrix) argument 226 get(float[] matrix, boolean rowMajor) argument 529 set(float[][] matrix) argument 559 set(Matrix4f matrix) argument 586 set(float[] matrix) argument 599 set(float[] matrix, boolean rowMajor) argument [all...] |
H A D | Matrix3f.java | 42 * <code>Matrix3f</code> defines a 3x3 matrix. Matrix data is maintained 44 * are used for matrix operations as well as generating a matrix from a given 63 * initial values for the matrix is that of the identity matrix. 71 * constructs a matrix with the given values. 74 * 0x0 in the matrix. 76 * 0x1 in the matrix. 78 * 0x2 in the matrix. 80 * 1x0 in the matrix 141 set(Matrix3f matrix) argument 586 set(float[][] matrix) argument 637 set(float[] matrix) argument 651 set(float[] matrix, boolean rowMajor) argument [all...] |
/external/webkit/Source/WebCore/svg/ |
H A D | SVGTransform.idl | 35 readonly attribute SVGMatrix matrix; 38 [StrictTypeChecking, RequiresAllArguments=Raise] void setMatrix(in SVGMatrix matrix);
|
/external/skia/src/core/ |
H A D | SkMaskFilter.cpp | 22 bool SkMaskFilter::filterPath(const SkPath& devPath, const SkMatrix& matrix, argument 27 if (!SkDraw::DrawToMask(devPath, &clip.getBounds(), this, &matrix, &srcM, 33 if (!this->filterMask(&dstM, srcM, matrix, NULL)) {
|
H A D | SkPicture.cpp | 83 static void validateMatrix(const SkMatrix* matrix) { argument 84 SkScalar scaleX = matrix->getScaleX(); 85 SkScalar scaleY = matrix->getScaleY(); 86 SkScalar skewX = matrix->getSkewX(); 87 SkScalar skewY = matrix->getSkewY(); 88 SkScalar perspX = matrix->getPerspX(); 89 SkScalar perspY = matrix->getPerspY();
|
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
H A D | BicubicShader.cpp | 43 , m_matrixLocation(context->getUniformLocation(program, "matrix")) 56 "uniform mat3 matrix;\n" 63 " gl_Position = vec4(matrix * pos, 1.0);\n" 115 float matrix[9]; local 116 affineTo3x3(transform, matrix); 117 m_context->uniformMatrix3fv(m_matrixLocation, false /*transpose*/, matrix, 1 /*count*/);
|
H A D | ConvolutionShader.cpp | 45 , m_matrixLocation(context->getUniformLocation(program, "matrix")) 58 "uniform mat3 matrix;\n" 66 " gl_Position = vec4(matrix * pos, 1.0);\n" 102 float matrix[9]; local 103 affineTo3x3(transform, matrix); 104 m_context->uniformMatrix3fv(m_matrixLocation, false /*transpose*/, matrix, 1 /*count*/);
|
H A D | SolidFillShader.cpp | 45 m_matrixLocation = context->getUniformLocation(program, "matrix"); 68 float matrix[9]; local 69 affineTo3x3(transform, matrix); 70 m_context->uniformMatrix3fv(m_matrixLocation, false /*transpose*/, matrix, 1 /*count*/);
|
H A D | TexShader.cpp | 44 m_matrixLocation = context->getUniformLocation(program, "matrix"); 64 float matrix[9]; local 65 affineTo3x3(transform, matrix); 66 m_context->uniformMatrix3fv(m_matrixLocation, false /*transpose*/, matrix, 1 /*count*/);
|
/external/webkit/Source/WebCore/svg/properties/ |
H A D | SVGTransformListPropertyTearOff.h | 41 PassRefPtr<SVGPropertyTearOff<SVGTransform> > createSVGTransformFromMatrix(SVGPropertyTearOff<SVGMatrix>* matrix, ExceptionCode& ec) argument 43 if (!matrix) { 48 return SVGPropertyTearOff<SVGTransform>::create(values.createSVGTransformFromMatrix(matrix->propertyReference()));
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
H A D | PlanarYUVLuminanceSource.java | 85 byte[] matrix = new byte[area]; 90 System.arraycopy(yuvData, inputOffset, matrix, 0, area); 91 return matrix; 98 System.arraycopy(yuv, inputOffset, matrix, outputOffset, width); 101 return matrix;
|
/external/webkit/Source/WebCore/platform/graphics/android/layers/ |
H A D | Layer.cpp | 125 void Layer::getLocalTransform(SkMatrix* matrix) const { 126 matrix->setTranslate(m_position.fX - m_scrollOffset.x(), 131 matrix->preTranslate(tx, ty); 132 matrix->preConcat(getMatrix()); 133 matrix->preTranslate(-tx, -ty); 136 void Layer::localToAncestor(const Layer* ancestor, SkMatrix* matrix) const { 138 matrix->setIdentity(); 142 getLocalTransform(matrix); 147 matrix->postConcat(getRootLayer()->getMatrix()); 158 matrix [all...] |
/external/skia/samplecode/ |
H A D | SampleShapes.cpp | 125 SkMatrix matrix; local 130 matrix.setScale(-SK_Scalar1, SK_Scalar1); 131 matrix.postTranslate(SkIntToScalar(220), SkIntToScalar(240)); 132 gs->appendShape(&fGroup, matrix); 133 matrix.setTranslate(SkIntToScalar(240), 0); 134 matrix.preScale(SK_Scalar1*2, SK_Scalar1*2); 135 gs->appendShape(&fGroup, matrix);
|