/external/skia/src/effects/ |
SkEmbossMaskFilter.cpp | 72 bool SkEmbossMaskFilter::filterMask(SkMask* dst, const SkMask& src, const SkMatrix& matrix, SkIPoint* margin) 74 SkScalar radius = matrix.mapRadius(fBlurRadius); 99 // run the light direction through the matrix... 101 matrix.mapVectors((SkVector*)(void*)light.fDirection, (SkVector*)(void*)fLight.fDirection, 1);
|
SkTransparentShader.cpp | 23 const SkMatrix& matrix) 28 return this->INHERITED::setContext(device, paint, matrix);
|
SkGradientShader.cpp | 336 const SkMatrix& matrix) { 337 if (!this->INHERITED::setContext(device, paint, matrix)) { 585 static void pts_to_unit_matrix(const SkPoint pts[2], SkMatrix* matrix) { 591 matrix->setSinCos(-vec.fY, vec.fX, pts[0].fX, pts[0].fY); 592 matrix->postTranslate(-pts[0].fX, -pts[0].fY); 593 matrix->postScale(inv, inv); 642 const SkMatrix& matrix) { 643 if (!this->INHERITED::setContext(device, paint, matrix)) { 755 bool Linear_Gradient::asABitmap(SkBitmap* bitmap, SkMatrix* matrix, 768 if (matrix) { [all...] |
/external/webkit/WebCore/platform/graphics/skia/ |
GradientSkia.cpp | 178 SkMatrix matrix = m_gradientSpaceTransformation; local 179 m_gradient->setLocalMatrix(matrix); 190 void Gradient::setPlatformGradientSpaceTransform(const AffineTransform& matrix)
|
/external/webkit/WebCore/platform/graphics/cg/ |
ImageCG.cpp | 311 CGAffineTransform matrix = CGAffineTransformMake(narrowPrecisionToCGFloat(patternTransform.a()), 0, 0, narrowPrecisionToCGFloat(patternTransform.d()), adjustedX, adjustedY); local 312 matrix = CGAffineTransformConcat(matrix, CGContextGetCTM(context)); 314 matrix = CGAffineTransformTranslate(matrix, 0, size().height() - h); 316 matrix, tileRect.width(), tileRect.height(),
|
/external/webkit/WebCore/platform/graphics/android/ |
GradientAndroid.cpp | 108 SkMatrix matrix = m_gradientSpaceTransformation; local 109 s->setLocalMatrix(matrix);
|
/external/webkit/WebCore/rendering/ |
SVGMarkerLayoutInfo.cpp | 96 bounds.unite(markerContent->markerBoundaries(layout.matrix)); 112 layout.marker->draw(paintInfo, layout.matrix);
|
/external/webkit/WebCore/svg/ |
SVGTextElement.cpp | 87 return m_supplementalTransform ? transform()->concatenate().matrix() * *m_supplementalTransform : transform()->concatenate().matrix();
|
/external/webkit/WebKit/android/plugins/ |
ANPPathInterface.cpp | 86 static void anp_transform(ANPPath* src, const ANPMatrix* matrix, 88 src->transform(*matrix, dst);
|
ANPCanvasInterface.cpp | 71 static void anp_concat(ANPCanvas* canvas, const ANPMatrix* matrix) { 72 canvas->skcanvas->concat(*matrix); 75 static void anp_getTotalMatrix(ANPCanvas* canvas, ANPMatrix* matrix) { 77 *matrix = *reinterpret_cast<const ANPMatrix*>(&src);
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
GridQuad.java | 228 MatrixStack matrix = mMatrix; local 229 if (matrix != null) { 231 matrix.glLoadIdentity(); 232 matrix.glTranslatef(0.5f, 0.5f, 0.0f); 237 matrix.glRotatef(-orientationId, 0.0f, 0.0f, 1.0f); 238 matrix.glScalef(scale, scale, 1.0f); 239 matrix.glTranslatef(-0.5f + (float) (sini * 0.125f / scale), -0.5f 241 // now we have the desired matrix 248 matrix.apply(mCoordsIn, mCoordsOut);
|
/device/samsung/crespo/alsa-lib/include/sound/ |
hdsp.h | 98 unsigned short matrix[HDSP_MATRIX_MIXER_SIZE]; member in struct:_snd_hdsp_mixer
|
/external/freetype/include/freetype/internal/ |
ftcalc.h | 135 const FT_Matrix* matrix,
|
/external/skia/include/core/ |
SkColorFilter.h | 105 const SkMatrix& matrix);
|
SkPath.h | 443 /** Add a copy of src to the path, transformed by matrix 446 void addPath(const SkPath& src, const SkMatrix& matrix); 465 /** Transform the points in this path by matrix, and write the answer into 468 @param matrix The matrix to apply to the path 471 void transform(const SkMatrix& matrix, SkPath* dst) const; 473 /** Transform the points in this path by matrix 475 @param matrix The matrix to apply to the path 477 void transform(const SkMatrix& matrix) { [all...] |
SkPathMeasure.h | 59 the corresponding matrix (by calling getPosTan). 61 matrix is unchanged. 63 bool getMatrix(SkScalar distance, SkMatrix* matrix, MatrixFlags flags = kGetPosAndTan_MatrixFlag);
|
SkCanvas.h | 40 This includes a reference to the device itself, and a stack of matrix/clip 101 /** save the matrix state, restoring it on restore() */ 118 /** This call saves the current matrix, clip, and drawFilter, and pushes a 122 When the balancing call to restore() is made, the previous matrix, clip, 156 modifications to the matrix/clip/drawFilter state since the last save 162 /** Returns the number of matrix/clip states on the SkCanvas' private stack. 174 /** Preconcat the current matrix with the specified translation 181 /** Preconcat the current matrix with the specified scale. 188 /** Preconcat the current matrix with the specified rotation. 194 /** Preconcat the current matrix with the specified skew [all...] |
/external/skia/src/animator/ |
SkDrawMatrix.h | 29 DECLARE_DRAW_MEMBER_INFO(Matrix); 73 SkTDScalarArray matrix; member in class:SkDrawMatrix
|
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());
|
/external/skia/src/core/ |
SkBitmapProcShader.cpp | 70 static bool only_scale_and_translate(const SkMatrix& matrix) { 72 return (matrix.getType() & ~mask) == 0; 77 const SkMatrix& matrix) { 78 // do this first, so we have a correct inverse matrix 79 if (!this->INHERITED::setContext(device, paint, matrix)) { 277 // add the (optional) matrix
|
/frameworks/base/core/java/android/view/ |
Surface.java | 156 // A matrix to scale the matrix set by application. This is set to null for 158 private Matrix mCompatibleMatrix; 228 * <li> Scales the matrix in setMatrix by the application scale, except if the matrix looks 230 * uses getMatrix to keep the original matrix, set matrix of its own, then set the original 231 * matrix back. There is no perfect solution that works for all cases, and there are a lot of 236 // A temp matrix to remember what an application obtained via {@link getMatrix} 237 private Matrix mOrigMatrix = null [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Path.java | 538 * Add a copy of src to the path, transformed by matrix 542 public void addPath(Path src, Matrix matrix) { 591 * Transform the points in this path by matrix, and write the answer 594 * @param matrix The matrix to apply to the path 598 public void transform(Matrix matrix, Path dst) { 604 * Transform the points in this path by matrix. 606 * @param matrix The matrix to apply to the pat [all...] |
/external/freetype/src/base/ |
ftglyph.c | 217 const FT_Matrix* matrix, 223 if ( matrix ) 224 FT_Outline_Transform( &glyph->outline, matrix ); 422 FT_Matrix* matrix, 437 clazz->glyph_transform( glyph, matrix, delta ); 440 if ( matrix ) 441 FT_Vector_Transform( &glyph->advance, matrix );
|
/external/webkit/WebCore/platform/graphics/transforms/ |
TransformationMatrix.cpp | 44 // inversion and decomposition of a 4x4 matrix. They are used throughout the code 48 // Adapted from Matrix Inversion by Richard Carling, Graphics Gems <http://tog.acm.org/GraphicsGems/index.html>. 64 // calculate the inverse of a 4x4 matrix 72 // calculate the determinant of a 2x2 matrix. 81 // Calculate the determinant of a 3x3 matrix 95 // double = determinant4x4(matrix) 97 // calculate the determinant of a 4x4 matrix. 132 // calculate the adjoint of a 4x4 matrix 134 // Let a denote the minor determinant of matrix A obtained by 143 // The matrix B = (b ) is the adjoint of [all...] |
/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);
|