/external/skia/src/animator/ |
SkDrawMatrix.h | 21 DECLARE_DRAW_MEMBER_INFO(Matrix); 65 SkTDScalarArray matrix; member in class:SkDrawMatrix
|
SkExtraPathEffects.xsd | 20 <xs:element ref="Sk:matrix"/>
24 <xs:attribute name="matrix" type="Sk:DynamicString" />
|
/external/skia/src/effects/ |
Sk1DPathEffect.cpp | 93 SkMatrix matrix; local 97 matrix.setSinCos(tangent.fY, tangent.fX, 0, 0); 98 matrix.preTranslate(-sx, 0); 99 matrix.postTranslate(pos.fX, pos.fY); 100 matrix.mapPoints(&dst[i], &pt, 1); 187 SkMatrix matrix; local 188 if (meas.getMatrix(distance, &matrix)) { 189 dst->addPath(fPath, matrix);
|
SkLayerRasterizer.cpp | 48 const SkMatrix& matrix, 68 // apply the matrix and offset 70 SkMatrix m = matrix; 77 &matrix, &mask, 88 bool SkLayerRasterizer::onRasterize(const SkPath& path, const SkMatrix& matrix, 96 if (!compute_bounds(fLayers, path, matrix, clipBounds, &mask->fBounds)) 120 translatedMatrix = matrix; 131 // we set the matrixproc in the loop, as the matrix changes each time (potentially)
|
/external/skia/src/effects/gradients/ |
SkTwoPointConicalGradient.h | 56 const SkMatrix& matrix) SK_OVERRIDE; 59 SkMatrix* matrix,
|
SkTwoPointRadialGradient.h | 21 SkMatrix* matrix, 30 const SkMatrix& matrix) SK_OVERRIDE;
|
/external/skia/src/pdf/ |
SkPDFUtils.h | 39 static SkPDFArray* MatrixToArray(const SkMatrix& matrix); 40 static void AppendTransform(const SkMatrix& matrix, SkWStream* content);
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
filterbank_tables.c | 29 /* The matrix for transforming the backward composite state to upper channel state */ 34 /* The matrix for transforming the backward composite state to lower channel state */
|
filterbank_tables.h | 40 /* The matrix for transforming the backward composite state to upper channel state */ 43 /* The matrix for transforming the backward composite state to lower channel state */
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
MatrixTransform.java | 35 public void setMatrix(Matrix4f matrix) { 36 mLocalMatrix = matrix;
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
Texture.cpp | 42 void Texture::setMatrix(float const* matrix) { 43 mTextureMatrix = mat4(matrix);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ColorSpaceMatrix.java | 34 * @param matrix 36 public ColorSpaceMatrix(ColorSpaceMatrix matrix) { 37 System.arraycopy(matrix.mMatrix, 0, mMatrix, 0, matrix.mMatrix.length); 41 * get the matrix 43 * @return the internal matrix 50 * set matrix to identity 161 * set it to a saturation matrix
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
GLRoot.java | 20 import android.graphics.Matrix; 47 public Matrix getCompensationMatrix();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
MatrixUtils.java | 26 * Utilities for matrix operations. Don't instantiate objects inside this class to prevent 42 * A utility function to inverse matrix. 68 * A utility function to inverse matrix. This function calculates answer for each row by 95 * A function to inverse matrix. 96 * The inverse matrix of squareMatrix will be output to inverseMatrix. Please notice that 119 * A matrix operation to multiply m0 and m1. 147 * A utility function to dump the specified matrix in a readable way 153 Log.d(TAG, "Dump matrix: " + title);
|
/external/ceres-solver/internal/ceres/ |
polynomial.cc | 47 // "Balancing a Matrix for Calculation of Eigenvalues and Eigenvectors". 50 void BalanceCompanionMatrix(Matrix* companion_matrix_ptr) { 52 Matrix& companion_matrix = *companion_matrix_ptr; 53 Matrix companion_matrix_offdiagonal = companion_matrix; 59 // lower the 1-norm of the companion matrix to be accepted. 98 VLOG(3) << "Balanced companion matrix is\n" << companion_matrix; 102 Matrix* companion_matrix_ptr) { 104 Matrix& companion_matrix = *companion_matrix_ptr; 159 // Build and balance the companion matrix to the polynomial. 160 Matrix companion_matrix(degree, degree) [all...] |
/external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/ |
mat4.js | 24 * @class 4x4 Matrix 32 * @returns {mat4} a new 4x4 matrix 56 * Creates a new mat4 initialized with values from an existing matrix 58 * @param {mat4} a matrix to clone 59 * @returns {mat4} a new 4x4 matrix 85 * @param {mat4} out the receiving matrix 86 * @param {mat4} a the source matrix 110 * Set a mat4 to the identity matrix 112 * @param {mat4} out the receiving matrix 138 * @param {mat4} out the receiving matrix [all...] |
/external/chromium_org/cc/output/ |
renderer_pixeltest.cc | 590 SkScalar matrix[20]; local 592 matrix[0] = 0.213f + 0.787f * amount; 593 matrix[1] = 0.715f - 0.715f * amount; 594 matrix[2] = 1.f - (matrix[0] + matrix[1]); 595 matrix[3] = matrix[4] = 0; 596 matrix[5] = 0.213f - 0.213f * amount; 597 matrix[6] = 0.715f + 0.285f * amount 689 SkScalar matrix[20]; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/filters/custom/ |
CustomFilterRenderer.cpp | 48 static void orthogonalProjectionMatrix(TransformationMatrix& matrix, float left, float right, float bottom, float top) 50 ASSERT(matrix.isIdentity()); 56 matrix.setM11(2.0f / deltaX); 57 matrix.setM41(-(right + left) / deltaX); 58 matrix.setM22(2.0f / deltaY); 59 matrix.setM42(-(top + bottom) / deltaY); 65 matrix.setM33(-2.0f / (farValue - nearValue)); 66 matrix.setM43(- (farValue + nearValue) / (farValue - nearValue)); 67 matrix.setM44(1.0f); 185 TransformationMatrix matrix; local [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
SkCanvasStateUtils.cpp | 46 float matrix[9]; member in struct:SkMCState 142 static void setup_MC_state(SkMCState* state, const SkMatrix& matrix, const SkRegion& clip) { 146 // capture the matrix 148 state->matrix[i] = matrix.get(i); 194 // decompose the total matrix and clip 237 setup_MC_state(&layerState->mcState, layer.matrix(), layer.clip()); 258 // reconstruct the matrix 259 SkMatrix matrix; local 261 matrix.set(i, state.matrix[i]) [all...] |
/external/eigen/Eigen/src/Core/ |
Array.h | 20 * The %Array class is very similar to the Matrix class. It provides 22 * %Array and the %Matrix class is primarily in the API: the API for the 24 * API for the %Matrix class provides easy access to linear-algebra 34 struct traits<Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > : traits<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > 79 * *this might be resized to match the dimensions of \a other. If *this was a null matrix (not already initialized), 104 * For dynamic-size matrices, creates an empty matrix of size 0. Does not allocate any array. Such a matrix 105 * is called a null matrix. This constructor is the unique way to create null matrices: resizing 106 * a matrix to 0 is not supported. 131 * constructor Matrix() instead [all...] |
/external/skia/src/utils/ |
SkCanvasStateUtils.cpp | 43 float matrix[9]; member in struct:SkMCState 139 static void setup_MC_state(SkMCState* state, const SkMatrix& matrix, const SkRegion& clip) { 143 // capture the matrix 145 state->matrix[i] = matrix.get(i); 191 // decompose the total matrix and clip 234 setup_MC_state(&layerState->mcState, layer.matrix(), layer.clip()); 255 // reconstruct the matrix 256 SkMatrix matrix; local 258 matrix.set(i, state.matrix[i]) [all...] |
/frameworks/base/core/java/android/view/ |
GLES20DisplayList.java | 19 import android.graphics.Matrix; 150 public void setMatrix(Matrix matrix) { 152 nSetStaticMatrix(mFinalizer.mNativeDisplayList, matrix.native_instance); 157 public Matrix getMatrix(Matrix matrix) { 159 nGetMatrix(mFinalizer.mNativeDisplayList, matrix.native_instance); 161 return matrix; 165 public void setAnimationMatrix(Matrix matrix) [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
AppWindowAnimator.java | 5 import android.graphics.Matrix; 161 "thumbnail", "POS " + tmpFloats[Matrix.MTRANS_X] 162 + ", " + tmpFloats[Matrix.MTRANS_Y], null); 163 thumbnail.setPosition(tmpFloats[Matrix.MTRANS_X], tmpFloats[Matrix.MTRANS_Y]); 167 + " matrix=[" + tmpFloats[Matrix.MSCALE_X] 168 + "," + tmpFloats[Matrix.MSKEW_Y] 169 + "][" + tmpFloats[Matrix.MSKEW_X] 170 + "," + tmpFloats[Matrix.MSCALE_Y] + "]", null) [all...] |
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
ui_test.rs | 108 // Setup the projection matrix 220 rs_matrix4x4 matrix; 221 rsMatrixLoadTranslate(&matrix, 0.0f, 0.0f, 10.0f - 6.0f * absoluteAngle / 50.0f); 223 rsMatrixScale(&matrix, 6.6f, 6.0f, 1.0f); 225 rsMatrixScale(&matrix, 12.6f, 12.0f, 1.0f); 227 rsMatrixRotate(&matrix, absoluteAngle, 1.0f, 0.0f, 0.0f); 228 rsMatrixRotate(&matrix, a, 0.0f, 0.4f, 0.1f); 230 rsMatrixMultiply(&vpConstants->MVP, &matrix); 268 rs_matrix4x4 matrix; 269 rsMatrixLoadScale(&matrix, wSize, hSize, 1.0) [all...] |
/packages/apps/Camera2/src/com/android/camera/crop/ |
BoundedRect.java | 18 import android.graphics.Matrix; 112 Matrix m0 = getInverseRotMatrix(); 175 Matrix m = getRotMatrix(); 176 Matrix m0 = getInverseRotMatrix(); 244 Matrix m = getRotMatrix(); 245 Matrix m0 = getInverseRotMatrix(); 344 Matrix m = getRotMatrix(); 351 Matrix m = getInverseRotMatrix(); 355 private Matrix getRotMatrix() { 356 Matrix m = new Matrix() [all...] |