| /frameworks/base/core/jni/android/graphics/ |
| Path.cpp | 227 static void addPath__PathMatrix(JNIEnv* env, jobject clazz, SkPath* obj, SkPath* src, SkMatrix* matrix) { 228 obj->addPath(*src, *matrix); 249 static void transform__MatrixPath(JNIEnv* env, jobject clazz, SkPath* obj, SkMatrix* matrix, SkPath* dst) { 250 obj->transform(*matrix, dst); 253 static void transform__Matrix(JNIEnv* env, jobject clazz, SkPath* obj, SkMatrix* matrix) { 254 obj->transform(*matrix);
|
| Canvas.cpp | 221 const SkMatrix* matrix) { 222 canvas->concat(*matrix); 226 const SkMatrix* matrix) { 227 if (NULL == matrix) { 230 canvas->setMatrix(*matrix); 569 const SkBitmap* bitmap, const SkMatrix* matrix, 571 canvas->drawBitmapMatrix(*bitmap, *matrix, paint); [all...] |
| /external/freetype/src/smooth/ |
| ftsmooth.c | 61 const FT_Matrix* matrix, 73 if ( matrix ) 74 FT_Outline_Transform( &slot->outline, matrix );
|
| /external/webkit/WebCore/platform/graphics/openvg/ |
| GraphicsContextOpenVG.cpp | 454 TransformationMatrix matrix = m_data->transformationMatrix(); 455 return IntPoint(roundf(matrix.m41()), roundf(matrix.m42()));
|
| /external/webkit/WebCore/platform/graphics/skia/ |
| SkiaFontWin.cpp | 240 const AffineTransform& matrix = context->getCTM(); local 241 if (matrix.b() != 0 || matrix.c() != 0) // Check for skew.
|
| /packages/apps/Camera/src/com/android/camera/ui/ |
| GLView.java | 19 import android.graphics.Matrix; 209 Matrix matrix = transform.getMatrix(); local 210 matrix.preTranslate(xoffset, yoffset); 226 matrix.preTranslate(-xoffset, -yoffset);
|
| /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);
|
| /external/skia/include/core/ |
| SkDraw.h | 59 const SkPath& path, const SkMatrix* matrix) const;
|
| SkGeometry.h | 187 matrix, if not null, is appled to the points before they are returned. 190 const SkMatrix* matrix, SkPoint quadPoints[]);
|
| /external/skia/src/core/ |
| SkPicturePlayback.cpp | 589 const SkMatrix* matrix = getMatrix(); local 590 canvas.drawBitmapMatrix(bitmap, *matrix, paint); 685 const SkMatrix* matrix = getMatrix(); local 687 matrix, paint); 1355 const SkMatrix& matrix = fMatrices[index]; local [all...] |
| SkBitmapShaderTemplate.h | 41 virtual bool setContext(const SkBitmap& device, const SkPaint& paint, const SkMatrix& matrix) 43 if (!this->INHERITED::setContext(device, paint, matrix))
|
| SkPathMeasure.cpp | 467 bool SkPathMeasure::getMatrix(SkScalar distance, SkMatrix* matrix, 473 if (matrix) { 475 matrix->setSinCos(tangent.fY, tangent.fX, 0, 0); 477 matrix->reset(); 480 matrix->postTranslate(position.fX, position.fY);
|
| /external/srec/srec/clib/ |
| imeld_tr.c | 42 ** Note the matrix is the transpose of the transformation 56 vec[ii] += prep->matrix[ii][jj] * fram[jj]; 81 ** Note the matrix is the transpose of the transformation
|
| /external/srec/srec/include/ |
| pre_desc.h | 153 imeldata **matrix; /* linear transformation matrix */ member in struct:__anon7606 155 covdata **imelda; /* linear transformation matrix, PMC or RN */ 156 imeldata **invmat; /* inverse transformation matrix */ 158 covdata **inverse; /* inverse linear transformation matrix, PMC or RN */ 183 imeldata **pmc_fixmat; /* ENC matrix */ 184 imeldata **pmc_fixinv; /* inverse ENC matrix */ 185 covdata **pmc_matrix; /* ENC matrix in float */ 186 covdata **pmc_inverse; /* inverse ENC matrix in float */
|
| /external/freetype/src/base/ |
| ftoutln.c | 673 const FT_Matrix* matrix ) 678 if ( !vector || !matrix ) 681 xz = FT_MulFix( vector->x, matrix->xx ) + 682 FT_MulFix( vector->y, matrix->xy ); 684 yz = FT_MulFix( vector->x, matrix->yx ) + 685 FT_MulFix( vector->y, matrix->yy ); 696 const FT_Matrix* matrix ) 702 if ( !outline || !matrix ) 709 FT_Vector_Transform( vec, matrix );
|
| /external/webkit/WebCore/platform/graphics/cairo/ |
| ImageCairo.cpp | 132 cairo_matrix_t matrix = { scaleX, 0, 0, scaleY, srcRect.x(), srcRect.y() }; local 133 cairo_pattern_set_matrix(pattern, &matrix);
|
| /external/webkit/WebCore/platform/graphics/filters/ |
| FEColorMatrix.cpp | 70 inline void matrix(double& red, double& green, double& blue, double& alpha, const Vector<float>& values) function in namespace:WebCore 137 matrix(red, green, blue, alpha, values);
|
| /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...] |
| /frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
| Canvas.java | 503 * @see android.graphics.Canvas#drawBitmap(android.graphics.Bitmap, android.graphics.Matrix, android.graphics.Paint) 506 public void drawBitmap(Bitmap bitmap, Matrix matrix, Paint paint) { 508 if (matrix.isIdentity() == false) { 509 // create a new graphics and apply the matrix to it 514 // get the Graphics2D current matrix 516 // get the AffineTransform from the matrix 517 AffineTransform matrixTx = matrix.getTransform(); 519 // combine them so that the matrix is applied after. 522 // give it to the graphics as a new matrix replacing all previous transfor [all...] |
| /external/webkit/WebCore/platform/graphics/android/ |
| LayerAndroid.cpp | 300 SkMatrix matrix; local 302 // turn our fields into a matrix. 306 matrix.setTranslate(m_translation.fX, m_translation.fY); 308 matrix.preRotate(m_angleTransform); 310 matrix.preScale(m_scale.fX, m_scale.fY); 311 this->setMatrix(matrix);
|
| /external/webkit/WebCore/rendering/ |
| RenderThemeChromiumWin.cpp | 89 static TransformMode getTransformMode(const AffineTransform& matrix) 91 if (matrix.b() != 0 || matrix.c() != 0) // Skew. 93 else if (matrix.a() != 1.0 || matrix.d() != 1.0) // Scale.
|
| /frameworks/base/services/surfaceflinger/ |
| LayerBase.cpp | 158 bool LayerBase::setMatrix(const layer_state_t::matrix22_t& matrix) { 161 matrix.dsdx, matrix.dsdy, matrix.dtdx, matrix.dtdy); 221 // we may use linear filtering, if the matrix scales us
|
| /external/webkit/WebCore/platform/graphics/qt/ |
| PathQt.cpp | 107 QTransform matrix; local 108 matrix.translate(size.width(), size.height()); 109 m_path = m_path * matrix;
|
| /external/webkit/WebCore/svg/ |
| SVGSVGElement.cpp | 432 SVGTransform SVGSVGElement::createSVGTransformFromMatrix(const AffineTransform& matrix) 434 return SVGTransform(matrix); 552 return currentView()->transform()->concatenate().matrix() * ctm;
|
| /frameworks/base/media/java/android/media/ |
| ThumbnailUtils.java | 26 import android.graphics.Matrix; 204 Matrix matrix = new Matrix(); local 205 matrix.setScale(scale, scale); 206 Bitmap thumbnail = transform(matrix, source, width, height, 336 private static Bitmap transform(Matrix scaler,
|