| /external/chromium_org/skia/ext/ |
| pixel_ref_utils.cc | 131 const SkMatrix& matrix, 134 total_matrix.setConcat(*draw.fMatrix, matrix); 152 SkMatrix matrix; variable 153 matrix.setRectToRect(bitmap_rect, dst, SkMatrix::kFill_ScaleToFit); 154 GatherPixelRefDevice::drawBitmap(draw, bitmap, matrix, paint); 161 // Sprites aren't affected by current matrix, so we can't reuse drawRect. 162 SkMatrix matrix; variable 163 matrix.setTranslate(x, y); 167 matrix.mapRect(&mapped_rect, bitmap_rect); 278 const SkMatrix* matrix, [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/dom/ |
| DOMMatrixReadOnly.h | 57 const TransformationMatrix& matrix() const { return m_matrix; } function in class:blink::DOMMatrixReadOnly
|
| /external/chromium_org/third_party/WebKit/Source/core/svg/ |
| SVGGraphicsElement.cpp | 126 AffineTransform matrix; local 153 matrix = transform.toAffineTransform(); 155 m_transform->currentValue()->concatenate(matrix); 159 return *m_supplementalTransform * matrix; 160 return matrix;
|
| /external/chromium_org/third_party/WebKit/Source/platform/transforms/ |
| TransformOperationsTest.cpp | 63 TransformationMatrix matrix; local 64 operations.apply(FloatSize(0, 0), matrix); 66 matrix.transformBox(transformed); 229 // we revert to matrix interpolation for which inflated bounds cannot be
|
| /external/chromium_org/third_party/freetype/include/freetype/ |
| ftglyph.h | 275 /* matrix :: A pointer to a 2x2 matrix to apply. */ 284 /* The 2x2 transformation matrix is also applied to the glyph's */ 289 FT_Matrix* matrix, 604 FT_Matrix_Invert( FT_Matrix* matrix ); variable [all...] |
| /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
| mixer.c | 372 float matrix[9]; local 376 matrix[0] = -1.0f; matrix[1] = -1.0f; matrix[2] = -1.0f; 377 matrix[3] = -1.0f; matrix[4] = 8.0f; matrix[5] = -1.0f; 378 matrix[6] = -1.0f; matrix[7] = -1.0f; matrix[8] = -1.0f [all...] |
| /external/chromium_org/third_party/mesa/src/src/mesa/program/ |
| prog_statevars.c | 46 * but matrix queries may return as many as 16 values. 286 /* state[1] = which texture matrix or program matrix */ 290 const GLmatrix *matrix; local 303 matrix = ctx->ModelviewMatrixStack.Top; 306 matrix = ctx->ProjectionMatrixStack.Top; 309 matrix = &ctx->_ModelProjectMatrix; 313 matrix = ctx->TextureMatrixStack[index].Top; 317 matrix = ctx->ProgramMatrixStack[index].Top; 320 _mesa_problem(ctx, "Bad matrix name in _mesa_fetch_state()") [all...] |
| /external/chromium_org/third_party/ots/test/ |
| side-by-side.cc | 115 FT_Matrix matrix; local 116 matrix.xx = matrix.yy = 1 << 16; 117 matrix.xy = matrix.yx = 0 << 16; 132 FT_Set_Transform(face, &matrix, 0);
|
| /external/chromium_org/third_party/skia/bench/ |
| ColorFilterBench.cpp | 32 SkScalar matrix[20] = { 1, 0, 0, 0, amount255, local 36 SkAutoTUnref<SkColorFilter> filter(SkColorMatrixFilter::Create(matrix)); 41 SkScalar matrix[20]; local 42 memset(matrix, 0, 20 * sizeof(SkScalar)); 43 matrix[0] = matrix[5] = matrix[10] = 0.2126f; 44 matrix[1] = matrix[6] = matrix[11] = 0.7152f [all...] |
| /external/chromium_org/third_party/skia/experimental/nanomsg/ |
| picture_demo.cpp | 20 SkMatrix matrix; member in struct:PictureHeader 27 : matrix(SkMatrix::I()) 91 header.matrix.setTranslate(-l, -t); 92 header.matrix.postRotate(rand.nextRangeScalar(-25, 25)); 153 canvas->concat(header.matrix);
|
| /external/chromium_org/third_party/skia/gm/ |
| colormatrix.cpp | 31 static void setColorMatrix(SkPaint* paint, const SkColorMatrix& matrix) { 32 paint->setColorFilter(SkColorMatrixFilter::Create(matrix))->unref(); 100 SkColorMatrix matrix; local 107 matrix.setIdentity(); 108 setColorMatrix(&paint, matrix); 111 matrix.setRotate(SkColorMatrix::kR_Axis, 90); 112 setColorMatrix(&paint, matrix); 115 matrix.setRotate(SkColorMatrix::kG_Axis, 90); 116 setColorMatrix(&paint, matrix); 119 matrix.setRotate(SkColorMatrix::kB_Axis, 90) [all...] |
| /external/chromium_org/third_party/skia/samplecode/ |
| SampleFuzz.cpp | 327 SkMatrix matrix; local 328 set2x3(&matrix, make_number(),make_number(),make_number(),make_number(),make_number(),make_number()); 329 canvas->concat(matrix); 334 SkMatrix matrix; local 335 set2x3(&matrix, make_number(),make_number(),make_number(),make_number(),make_number(),make_number()); 336 canvas->setMatrix(matrix);
|
| SampleSkLayer.cpp | 115 SkMatrix matrix; local 118 layer->getLocalTransform(&matrix); 119 matrix.toString(&matrixStr); 197 SkMatrix matrix; local 198 matrix.setScale(0.5, 0.5); 199 fRootLayer->setMatrix(matrix); 227 SkMatrix matrix; local 228 fLastChild->localToGlobal(&matrix); 233 canvas->concat(matrix);
|
| SampleStrokePath.cpp | 37 SkMatrix matrix; local 38 matrix.setRectToRect(srcR, dstR, SkMatrix::kCenter_ScaleToFit); 39 canvas->concat(matrix); 81 SkMatrix matrix; local 83 matrix.setScale(scale, scale); 84 path->transform(matrix);
|
| /external/chromium_org/third_party/skia/src/animator/ |
| SkPathParts.h | 160 SkDrawMatrix* matrix; member in class:SkAddPath
|
| /external/chromium_org/third_party/skia/src/core/ |
| SkStrokerPriv.cpp | 140 SkMatrix matrix; local 141 matrix.setScale(radius, radius); 142 matrix.postTranslate(pivot.fX, pivot.fY); 143 int count = SkBuildQuadArc(before, after, dir, &matrix, pts);
|
| /external/chromium_org/third_party/skia/src/effects/ |
| SkGpuBlurUtils.cpp | 190 SkMatrix matrix; local 191 matrix.setIDiv(srcTexture->width(), srcTexture->height()); 197 matrix.mapRect(&domain, rect); 202 matrix, 209 paint.addColorTextureProcessor(srcTexture, matrix, params); 282 SkMatrix matrix; local 283 matrix.setIDiv(srcTexture->width(), srcTexture->height()); 289 paint.addColorTextureProcessor(srcTexture, matrix, params);
|
| /external/chromium_org/third_party/skia/src/gpu/effects/ |
| GrTextureDomain.cpp | 226 const SkMatrix& matrix, 234 return GrSimpleTextureEffect::Create(texture, matrix, filterMode); 238 matrix, 247 const SkMatrix& matrix, 252 : GrSingleTextureEffect(texture, matrix, filterMode, coordSet) 297 const SkMatrix& matrix = GrProcessorUnitTest::TestMatrix(random); local 301 matrix,
|
| /external/chromium_org/third_party/skia/src/gpu/gl/ |
| GrGLProgramEffects.cpp | 23 * Retrieves the final matrix that a transform needs to apply to its source coords. 137 const SkMatrix& matrix = get_transform_matrix(effectStage, fHasExplicitLocalCoords, t); local 138 if (!transforms[t].fCurrentValue.cheapEqualTo(matrix)) { 139 pdman.setSkMatrix(transforms[t].fHandle, matrix); 140 transforms[t].fCurrentValue = matrix; 167 SkFAIL("Unexpected matrix type.");
|
| /external/chromium_org/third_party/skia/src/utils/ |
| SkCullPoints.cpp | 180 SkMatrix matrix; local 181 matrix.setRectToRect(bounds, limit, SkMatrix::kFill_ScaleToFit); 183 path.transform(matrix, &devPath); 184 matrix.mapRect(&devTarget, target);
|
| SkGatherPixelRefsAndRects.h | 113 const SkMatrix& matrix, const SkPaint& paint) SK_OVERRIDE { 115 totMatrix.setConcat(*draw.fMatrix, matrix); 130 // Sprites aren't affected by current matrix, so we can't reuse drawRect. 131 SkMatrix matrix; variable 132 matrix.setTranslate(SkIntToScalar(x), SkIntToScalar(y)); 137 matrix.mapRect(&mappedRect, bitmapRect); 151 SkMatrix matrix; variable 152 matrix.setRectToRect(bitmapRect, dst, SkMatrix::kFill_ScaleToFit); 153 this->drawBitmap(draw, bitmap, matrix, paint); 245 const SkPath& path, const SkMatrix* matrix, [all...] |
| /external/chromium_org/ui/gfx/geometry/ |
| matrix3_f.cc | 60 Matrix3F matrix; local 61 matrix.set(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f); 62 return matrix; 67 Matrix3F matrix; local 68 matrix.set(1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f); 69 return matrix; 74 Matrix3F matrix; local 75 matrix.set(1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f); 76 return matrix; 81 Matrix3F matrix; local [all...] |
| /external/chromium_org/ui/gfx/ |
| nine_image_painter.cc | 109 SkMatrix matrix = canvas->sk_canvas()->getTotalMatrix(); local 111 matrix.mapRect(&scaled_rect, RectToSkRect(bounds));
|
| /external/eigen/blas/ |
| common.h | 96 typedef Matrix<Scalar,Dynamic,Dynamic,ColMajor> PlainMatrixType; 97 typedef Map<Matrix<Scalar,Dynamic,Dynamic,ColMajor>, 0, OuterStride<> > MatrixType; 98 typedef Map<Matrix<Scalar,Dynamic,1>, 0, InnerStride<Dynamic> > StridedVectorType; 99 typedef Map<Matrix<Scalar,Dynamic,1> > CompactVectorType; 102 Map<Matrix<T,Dynamic,Dynamic,ColMajor>, 0, OuterStride<> > 103 matrix(T* data, int rows, int cols, int stride) function 105 return Map<Matrix<T,Dynamic,Dynamic,ColMajor>, 0, OuterStride<> >(data, rows, cols, OuterStride<>(stride)); 109 Map<Matrix<T,Dynamic,1>, 0, InnerStride<Dynamic> > vector(T* data, int size, int incr) 111 return Map<Matrix<T,Dynamic,1>, 0, InnerStride<Dynamic> >(data, size, InnerStride<Dynamic>(incr)); 115 Map<Matrix<T,Dynamic,1> > vector(T* data, int size [all...] |
| /external/eigen/unsupported/Eigen/src/SparseExtra/ |
| MatrixMarketIterator.h | 25 * The matrices should be in Matrix Market format 27 * and matname_SPD.mtx if the matrix is Symmetric and positive definite (or Hermitian) 30 * Note that the right hand side for a SPD matrix is named as matname_SPD_b.mtx 45 typedef Matrix<Scalar,Dynamic,1> VectorType; 54 std::cerr << "The provided Matrix folder could not be opened \n\n"; 75 /** Return the sparse matrix corresponding to the current file */ 76 inline MatrixType& matrix() function in class:Eigen::MatrixMarketIterator 78 // Read the matrix 90 { // Store the upper part of the matrix. It is needed by the solvers dealing with nonsymmetric matrices ?? 98 /** Return the right hand side corresponding to the current matrix. [all...] |