/external/skia/src/utils/ |
SkProxyCanvas.cpp | 53 bool SkProxyCanvas::concat(const SkMatrix& matrix) { 54 return fProxy->concat(matrix); 57 void SkProxyCanvas::setMatrix(const SkMatrix& matrix) { 58 fProxy->setMatrix(matrix); 139 const SkPath& path, const SkMatrix* matrix, 141 fProxy->drawTextOnPath(text, byteLength, path, matrix, paint);
|
/external/skia/src/utils/debugger/ |
SkDebugCanvas.h | 54 Returns the most recently calculated transformation matrix 138 void setUserMatrix(SkMatrix matrix) { 139 fUserMatrix = matrix; 158 virtual bool concat(const SkMatrix& matrix) SK_OVERRIDE; 209 const SkPath& path, const SkMatrix* matrix, 228 virtual void setMatrix(const SkMatrix& matrix) SK_OVERRIDE;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
omxVCM4P10_GetVLCInfo.c | 28 * coefficient matrix. The results are returned in an OMXVCM4P10VLCInfo 33 * pSrcCoeff - pointer to the transform coefficient matrix. 8-byte 35 * pScanMatrix - pointer to the scan order definition matrix. For a luma 36 * block the scan matrix should follow [ISO14496-10] section 8.5.4, 38 * 10, 7, 11, 14, 15. For a chroma block, the scan matrix should 43 * transform coefficient matrix, pSrcCoeff. The value should be 16
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ThumbnailLoadTask.java | 24 import android.graphics.Matrix; 140 final Matrix matrix = new Matrix(); local 141 matrix.postRotate(orientation); 143 originalBitmap.getHeight(), matrix, true);
|
/external/chromium_org/third_party/skia/src/core/ |
SkDraw.cpp | 61 SkAutoBlitterChoose(const SkBitmap& device, const SkMatrix& matrix, 63 fBlitter = SkBlitter::Choose(device, matrix, paint, 72 void choose(const SkBitmap& device, const SkMatrix& matrix, 75 fBlitter = SkBlitter::Choose(device, matrix, paint, 334 bool init(SkCanvas::PointMode, const SkPaint&, const SkMatrix* matrix, 439 // square procs (strokeWidth > 0 but matrix is square-scale (sx == sy) 477 const SkMatrix* matrix, const SkRasterClip* rc) { 491 matrix->rectStaysRect() && SkCanvas::kPoints_PointMode == mode) { 492 SkScalar sx = matrix->get(SkMatrix::kMScaleX); 493 SkScalar sy = matrix->get(SkMatrix::kMScaleY) 621 const SkMatrix* matrix = fMatrix; local 864 const SkMatrix& matrix = *fMatrix; local 1038 const SkMatrix* matrix = fMatrix; local 1274 SkMatrix matrix; local 1380 SkMatrix matrix; local 1432 SkMatrix matrix; local 1858 SkMatrix matrix; local 2789 SkMatrix matrix; local [all...] |
SkBitmapProcShader.cpp | 69 static bool only_scale_and_translate(const SkMatrix& matrix) { 71 return (matrix.getType() & ~mask) == 0; 80 const SkMatrix& matrix) { 81 // do this first, so we have a correct inverse matrix 82 if (!this->INHERITED::setContext(device, paint, matrix)) { 283 // communicates between its matrix-proc and its sampler-proc. Until we can 341 SkMatrix matrix; local 342 matrix.setIDiv(fRawBitmap.width(), fRawBitmap.height()); 349 matrix.preConcat(inverse); 393 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix, params) [all...] |
/external/skia/src/core/ |
SkDraw.cpp | 62 SkAutoBlitterChoose(const SkBitmap& device, const SkMatrix& matrix, 64 fBlitter = SkBlitter::Choose(device, matrix, paint, 73 void choose(const SkBitmap& device, const SkMatrix& matrix, 76 fBlitter = SkBlitter::Choose(device, matrix, paint, 335 bool init(SkCanvas::PointMode, const SkPaint&, const SkMatrix* matrix, 440 // square procs (strokeWidth > 0 but matrix is square-scale (sx == sy) 478 const SkMatrix* matrix, const SkRasterClip* rc) { 492 matrix->rectStaysRect() && SkCanvas::kPoints_PointMode == mode) { 493 SkScalar sx = matrix->get(SkMatrix::kMScaleX); 494 SkScalar sy = matrix->get(SkMatrix::kMScaleY) 622 const SkMatrix* matrix = fMatrix; local 865 const SkMatrix& matrix = *fMatrix; local 1084 const SkMatrix* matrix = fMatrix; local 1320 SkMatrix matrix; local 1426 SkMatrix matrix; local 1478 SkMatrix matrix; local 1904 SkMatrix matrix; local 2835 SkMatrix matrix; local [all...] |
SkBitmapProcShader.cpp | 69 static bool only_scale_and_translate(const SkMatrix& matrix) { 71 return (matrix.getType() & ~mask) == 0; 80 const SkMatrix& matrix) { 81 // do this first, so we have a correct inverse matrix 82 if (!this->INHERITED::setContext(device, paint, matrix)) { 283 // communicates between its matrix-proc and its sampler-proc. Until we can 341 SkMatrix matrix; local 342 matrix.setIDiv(fRawBitmap.width(), fRawBitmap.height()); 349 matrix.preConcat(inverse); 393 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix, params) [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/ |
glsl_types.h | 113 * \name Vector and matrix element counts 120 unsigned matrix_columns:3; /**< 1, 2, 3, or 4 matrix columns. */ 185 * If the type is a numeric or boolean scalar, vector, or matrix type, 195 * If the type is a numeric or boolean scalar, vector, or matrix, or an 216 * Get the instance of a built-in scalar, vector, or matrix type 235 * Query the total number of scalars that make up a scalar, vector or matrix 300 * Query whether or not a type is a scalar (non-vector and non-matrix). 321 * Query whether or not a type is a matrix 413 * Query the full type of a matrix row 416 * If the type is not a matrix, \c glsl_type::error_type is returned [all...] |
/external/chromium_org/third_party/skia/src/effects/gradients/ |
SkRadialGradient.cpp | 50 SkMatrix* matrix) { 53 matrix->setTranslate(-center.fX, -center.fY); 54 matrix->postScale(inv, inv); 224 SkMatrix* matrix, SkShader::TileMode* xy) const { 228 if (matrix) { 229 matrix->setScale(SkIntToScalar(kCache32Count), 231 matrix->preConcat(fPtsToUnit); 502 const SkMatrix& matrix, 504 AutoEffectUnref effect(SkNEW_ARGS(GrRadialGradient, (ctx, shader, matrix, tm))); 520 const SkMatrix& matrix, 575 SkMatrix matrix; local [all...] |
/external/mesa3d/src/glsl/ |
glsl_types.h | 113 * \name Vector and matrix element counts 120 unsigned matrix_columns:3; /**< 1, 2, 3, or 4 matrix columns. */ 185 * If the type is a numeric or boolean scalar, vector, or matrix type, 195 * If the type is a numeric or boolean scalar, vector, or matrix, or an 216 * Get the instance of a built-in scalar, vector, or matrix type 235 * Query the total number of scalars that make up a scalar, vector or matrix 300 * Query whether or not a type is a scalar (non-vector and non-matrix). 321 * Query whether or not a type is a matrix 413 * Query the full type of a matrix row 416 * If the type is not a matrix, \c glsl_type::error_type is returned [all...] |
/external/skia/src/effects/gradients/ |
SkRadialGradient.cpp | 50 SkMatrix* matrix) { 53 matrix->setTranslate(-center.fX, -center.fY); 54 matrix->postScale(inv, inv); 224 SkMatrix* matrix, SkShader::TileMode* xy) const { 228 if (matrix) { 229 matrix->setScale(SkIntToScalar(kCache32Count), 231 matrix->preConcat(fPtsToUnit); 502 const SkMatrix& matrix, 504 AutoEffectUnref effect(SkNEW_ARGS(GrRadialGradient, (ctx, shader, matrix, tm))); 520 const SkMatrix& matrix, 575 SkMatrix matrix; local [all...] |
/external/chromium_org/chrome/browser/resources/file_manager/js/image_editor/ |
filter.js | 201 * Perform an image convolution with a symmetrical 5x5 matrix: 350 * Copy part of src image to dst, applying matrix color filter on-the-fly. 355 * @param {Array.<number>} matrix 3x3 color matrix. 361 filter.colorMatrix3x3 = function(matrix, dst, src, offsetX, offsetY) { 362 var c11 = filter.floatToFixedPoint(matrix[0]); 363 var c12 = filter.floatToFixedPoint(matrix[1]); 364 var c13 = filter.floatToFixedPoint(matrix[2]); 365 var c21 = filter.floatToFixedPoint(matrix[3]); 366 var c22 = filter.floatToFixedPoint(matrix[4]) [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
WallpaperCropActivity.java | 32 import android.graphics.Matrix; 347 Matrix rotateMatrix = new Matrix(); 551 Matrix rotateMatrix = new Matrix(); 552 Matrix inverseRotateMatrix = new Matrix(); 663 Matrix m = new Matrix(); 665 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
WallpaperCropActivity.java | 32 import android.graphics.Matrix; 312 Matrix rotateMatrix = new Matrix(); 514 Matrix rotateMatrix = new Matrix(); 515 Matrix inverseRotateMatrix = new Matrix(); 611 Matrix m = new Matrix(); 613 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL) [all...] |
/external/chromium_org/gpu/tools/compositor_model_bench/ |
shaders.cc | 20 // Store a pointer to the transform matrix of the active layer (the complete 131 uniform mat4 matrix; local 137 gl_Position = matrix * a_position; 148 uniform mat4 matrix; local 151 gl_Position = matrix * a_position; 159 uniform mat4 matrix; local 163 gl_Position = matrix * a_position; 322 // Set YUV matrix. 405 "matrix"); 445 GLint mat = glGetUniformLocationARB(prog, "matrix"); [all...] |
/external/chromium_org/skia/ext/ |
lazy_pixel_ref_utils.cc | 138 const SkMatrix& matrix, 141 total_matrix.setConcat(*draw.fMatrix, matrix); 158 SkMatrix matrix; variable 159 matrix.setRectToRect(bitmap_rect, dst, SkMatrix::kFill_ScaleToFit); 160 GatherPixelRefDevice::drawBitmap(draw, bitmap, matrix, paint); 167 // Sprites aren't affected by current matrix, so we can't reuse drawRect. 168 SkMatrix matrix; variable 169 matrix.setTranslate(x, y); 173 matrix.mapRect(&mapped_rect, bitmap_rect); 284 const SkMatrix* matrix, [all...] |
/packages/apps/Camera2/src/com/android/camera/crop/ |
CropMath.java | 20 import android.graphics.Matrix; 139 Matrix m = new Matrix(); 142 Matrix m0 = new Matrix(); 217 Matrix m = new Matrix(); 218 m.setRectToRect(photoBounds, displayBounds, Matrix.ScaleToFit.FILL); 250 Matrix m = new Matrix(); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropMath.java | 20 import android.graphics.Matrix; 141 Matrix m = new Matrix(); 144 Matrix m0 = new Matrix(); 219 Matrix m = new Matrix(); 220 m.setRectToRect(photoBounds, displayBounds, Matrix.ScaleToFit.FILL); 252 Matrix m = new Matrix(); [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrDrawState.h | 50 * Copies another draw state with a preconcat to the view matrix. 75 * Initializes the GrDrawState based on a GrPaint, view matrix and render target. Note that 375 void addColorTextureEffect(GrTexture* texture, const SkMatrix& matrix) { 376 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix); 380 void addCoverageTextureEffect(GrTexture* texture, const SkMatrix& matrix) { 381 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix); 386 const SkMatrix& matrix, 388 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix, params); 393 const SkMatrix& matrix, 395 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix, params) [all...] |
/external/eigen/Eigen/src/Core/ |
CwiseNullaryOp.h | 18 * \brief Generic expression of a matrix where all coefficients are defined by a functor 21 * \param PlainObjectType the underlying plain matrix/array type 101 /** \returns an expression of a matrix defined by a custom functor \a func 104 * the returned matrix. Must be compatible with this MatrixBase type. 106 * This variant is meant to be used for dynamic-size matrix types. For fixed-size types, 122 /** \returns an expression of a matrix defined by a custom functor \a func 147 /** \returns an expression of a matrix defined by a custom functor \a func 164 /** \returns an expression of a constant matrix of value \a value 167 * the returned matrix. Must be compatible with this DenseBase type. 169 * This variant is meant to be used for dynamic-size matrix types. For fixed-size types [all...] |
GeneralProduct.h | 26 * We call a general matrix, a dense matrix with full storage. For instance, 31 * function which involves a matrix product, use ProductReturnType::Type. 141 * between two matrix expressions. In practice, using ProductReturnType<Lhs,Rhs>::Type 143 * which involve a matrix product. The class Product should never be 184 // instead of a 1x1 matrix ?? 186 // Cons: this could be a problem if in a meta unrolled algorithm a matrix-matrix 194 : traits<Matrix<typename scalar_product_traits<typename Lhs::Scalar, typename Rhs::Scalar>::ReturnType,1,1> > 202 public Matrix<typename internal::scalar_product_traits<typename Lhs::Scalar, typename Rhs::Scalar>::ReturnType,1 (…) [all...] |
/external/skia/src/gpu/ |
GrDrawState.h | 50 * Copies another draw state with a preconcat to the view matrix. 75 * Initializes the GrDrawState based on a GrPaint, view matrix and render target. Note that 375 void addColorTextureEffect(GrTexture* texture, const SkMatrix& matrix) { 376 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix); 380 void addCoverageTextureEffect(GrTexture* texture, const SkMatrix& matrix) { 381 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix); 386 const SkMatrix& matrix, 388 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix, params); 393 const SkMatrix& matrix, 395 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix, params) [all...] |
/external/ceres-solver/docs/source/ |
solving.rst | 31 n` matrix, where :math:`J_{ij}(x) = \partial_j f_i(x)` and the 95 matrix used to define a metric on the domain of :math:`F(x)` and 146 The matrix :math:`D(x)` is a non-negative diagonal matrix, typically 147 the square root of the diagonal of the matrix :math:`J(x)^\top J(x)`. 150 will assume that the matrix :math:`\sqrt{\mu} D` has been concatenated 151 at the bottom of the matrix :math:`J` and similarly a vector of zeros 270 Similar structure can be found in the matrix factorization with 300 Hessian matrix's sparsity structure into a collection of 378 be the identity matrix. This is not a good search direction fo [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkColorMatrixFilter.cpp | 284 // expand to 8bit components (since our matrix translate is 8bit biased 315 bool SkColorMatrixFilter::asColorMatrix(SkScalar matrix[20]) const { 316 if (matrix) { 317 memcpy(matrix, fMatrix.fMat, 20 * sizeof(SkScalar)); 329 static GrEffectRef* Create(const SkColorMatrix& matrix) { 330 AutoEffectUnref effect(SkNEW_ARGS(ColorMatrixEffect, (matrix))); 334 static const char* Name() { return "Color Matrix"; } 345 // The matrix is defined such the 4th row determines the output alpha. The first four 364 // If any relevant component of the color to be passed through the matrix is non-const 381 // result if the matrix could over/underflow for any component [all...] |