/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
data_builder.h | 74 * the rotation matrix could be thought of only having elements of 0,1,-1. 249 void inv_get_compass_soft_iron_matrix_d(long *matrix); 250 void inv_set_compass_soft_iron_matrix_d(long *matrix); 252 void inv_get_compass_soft_iron_matrix_f(float *matrix); 253 void inv_set_compass_soft_iron_matrix_f(float *matrix);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
MtpImageView.java | 21 import android.graphics.Matrix; 117 private Matrix mDrawMatrix = new Matrix(); 182 if (changed && getScaleType() == ScaleType.MATRIX) { 200 if (getScaleType() == ScaleType.MATRIX) {
|
/external/opencv/cvaux/src/ |
cvtrifocal.cpp | 103 void fprintMatrix(FILE* file,CvMat* matrix) 107 for( i=0;i<matrix->rows;i++ ) 109 for(j=0;j<matrix->cols;j++) 111 fprintf(file,"%10.7lf ",cvmGet(matrix,i,j)); 121 /* Normalize image points using camera matrix */ 151 CV_ERROR( CV_StsUnmatchedSizes, "Size of camera matrix must be 3x3" ); 216 CV_ERROR( CV_StsUnmatchedSizes, "Size of project matrix must be 3x4 or 9x4 (for 3 matrices)" ); 226 /* Find transform matrix for each camera */ 300 /* We have computed corr points. Now we can compute generators for reduced fundamental matrix */ 302 /* Compute generators for reduced fundamental matrix from 3 pair of collect points * [all...] |
/external/chromium_org/skia/ext/ |
vector_platform_device_emf_win.cc | 44 // functions works with integers. The idea is to premultiply the matrix 126 // TODO(maruel): Bypass the current transformation matrix. 276 SkMatrix matrix; local 282 // Compute matrix from the two rectangles 288 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit); 300 matrix.mapRect(&tmpDst, tmpSrc); 313 // Since we did an extract, we need to adjust the matrix accordingly 322 matrix.preTranslate(dx, dy); 325 this->drawBitmap(draw, *bitmapPtr, matrix, paint); 330 const SkMatrix& matrix, [all...] |
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
CarouselController.java | 187 * Set the matrix for the specified card 188 * @param n The card to set the matrix for 189 * @param matrix The matrix to use 192 public void setMatrixForItem(int n, float[] matrix) { 194 mRenderScript.setMatrix(n, matrix); 540 * Sets the matrix used to transform card geometries. By default, this 541 * is the identity matrix, but you can specify a different matrix if you 544 * @param matrix array of 9 or 16 floats representing a 3x3 or 4x4 matrix [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SVG/resources/ |
FlowerFromMyGarden.svg | 191 gradientTransform="matrix(0.751391,0,0,0.751391,-402.5547,260.1)" /> 201 gradientTransform="matrix(0.751391,0,0,0.320511,-407.0999,509.9099)" 208 gradientTransform="matrix(0.751391,0,0,0.320511,-407.0999,509.9099)" 223 gradientTransform="matrix(0.751391,0,0,0.751391,-48.02741,262.776)" /> 233 gradientTransform="matrix(0.751391,0,0,0.751391,-417.0774,264.4144)" /> 243 gradientTransform="matrix(0.751391,0,0,0.751391,-420.7358,260.1)" /> 253 gradientTransform="matrix(0.751391,0,0,0.751391,-417.0958,249.91)" /> 263 gradientTransform="matrix(0.751391,0,0,0.751391,-417.0591,281.173)" /> 273 gradientTransform="matrix(0.751391,0,0,0.618543,-420.7358,291.2111)" 284 gradientTransform="matrix(0.751391,0,0,2.109932,-407.0999,-173.4699) [all...] |
/external/ceres-solver/internal/ceres/ |
small_blas.h | 44 // Remove the ".noalias()" annotation from the matrix matrix 116 // For the matrix-matrix functions below, there are three variants for 122 // is called if all matrix dimensions are compile time 146 // matrix A * B. This is done by specifying the true size of C via 284 // Matrix-Vector multiplication 309 // lazyProduct works better than .noalias() for matrix-vector 360 // lazyProduct works better than .noalias() for matrix-vector
|
dogleg_strategy_test.cc | 64 Matrix basis(6, 6); 76 Matrix sqrtD = Ddiag.array().sqrt().matrix().asDiagonal(); 77 Matrix jacobian = sqrtD * basis; 105 Matrix jacobian = Ddiag.asDiagonal(); 212 const Matrix basis = strategy.subspace_basis();
|
/external/chromium_org/media/base/ |
channel_mixer.cc | 37 // Symmetry allows simplifying the matrix building code by allowing us to 77 // Create the transformation matrix of input channels to output channels. 78 // Updates the empty matrix with the transformation, and returns true 80 bool CreateTransformationMatrix(std::vector< std::vector<float> >* matrix); 143 // Create the transformation matrix 150 std::vector< std::vector<float> >* matrix) { 151 matrix_ = matrix; 153 // Size out the initial matrix. 314 // See if the output |matrix_| is simply a remapping matrix. If each input
|
/external/eigen/test/ |
block.cpp | 18 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; 19 typedef Matrix<Scalar, 1, MatrixType::ColsAtCompileTime> RowVectorType; 20 typedef Matrix<Scalar, Dynamic, Dynamic> DynamicMatrixType; 21 typedef Matrix<Scalar, Dynamic, 1> DynamicVectorType; 56 Matrix<Scalar,Dynamic,Dynamic> b1(1,1); b1(0,0) = m1(r1,c1); 78 Matrix<Scalar,Dynamic,Dynamic> b = m1.template block<BlockRows,BlockCols>(3,3); 208 CALL_SUBTEST_1( block(Matrix<float, 1, 1>()) ); 215 CALL_SUBTEST_8( block(Matrix<float,Dynamic,4>(3, 4)) ); 219 CALL_SUBTEST_7( data_and_stride(Matrix<int,Dynamic,Dynamic,RowMajor>(internal::random(5,50), internal::random(5,50))) );
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
Geometry.java | 88 * the cached offset matrix used when the geometry is batched 342 * Recomputes the cached offset matrix used when the geometry is batched * 348 // Compute the cached world matrix 383 * Recomputes the matrix returned by {@link Geometry#getWorldMatrix() }. 390 // Compute the cached world matrix 404 * A {@link Matrix4f matrix} that transforms the {@link Geometry#getMesh() mesh} 405 * from model space to world space. This matrix is computed based on the 410 * @return Matrix to transform from local space to world space 439 // Update transform, and compute cached world matrix
|
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
GL2CameraEye.java | 37 import android.opengl.Matrix; 146 Matrix.setIdentityM(mSTMatrix, 0); 147 Matrix.setIdentityM(mMMatrix, 0); 221 Matrix.multiplyMM(mMVPMatrix, 0, mVMatrix, 0, mMMatrix, 0); 222 Matrix.multiplyMM(mMVPMatrix, 0, mProjMatrix, 0, mMVPMatrix, 0); 237 Matrix.frustumM(mProjMatrix, 0, -mRatio, mRatio, -1, 1, 3, 7); 322 Matrix.setLookAtM(mVMatrix, 0, 0, 0, 5f, 0f, 0f, 0f, 0f, 1.0f, 0.0f); 376 Matrix.setIdentityM(mMMatrix, 0); 377 Matrix.translateM(mMMatrix, 0, mPos[0], mPos[1], mPos[2]);
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrContext.cpp | 622 // We attempt to map r by the inverse matrix and draw that. mapRect will 627 GrPrintf("Could not invert matrix\n"); 633 GrPrintf("Could not invert matrix\n"); 684 const SkMatrix* matrix, 723 if (NULL != matrix && !matrix->preservesAxisAlignment()) { 733 if (NULL != matrix && !matrix->preservesRightAngles()) { 740 if (NULL != matrix) { 741 combinedMatrix->preConcat(*matrix); 1553 SkMatrix matrix; local [all...] |
/external/skia/src/gpu/ |
GrContext.cpp | 622 // We attempt to map r by the inverse matrix and draw that. mapRect will 627 GrPrintf("Could not invert matrix\n"); 633 GrPrintf("Could not invert matrix\n"); 684 const SkMatrix* matrix, 723 if (NULL != matrix && !matrix->preservesAxisAlignment()) { 733 if (NULL != matrix && !matrix->preservesRightAngles()) { 740 if (NULL != matrix) { 741 combinedMatrix->preConcat(*matrix); 1553 SkMatrix matrix; local [all...] |
/external/ceres-solver/include/ceres/ |
rotation.h | 66 // projection matrix). 72 // row-major matrix. 97 // Conversions between 3x3 rotation matrix (in column major order) and 116 // Conversions between 3x3 rotation matrix (in row major order) and 130 // Convert a 4-vector to a 3x3 scaled rotation matrix. 133 // identity matrix and for small a, b, c the quaternion [1 a b c] goes to 134 // the matrix 140 // which corresponds to a Rodrigues approximation, the last matrix being 141 // the cross-product matrix of [a b c]. Together with the property that 144 // The rotation matrix is row-major [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/ |
glsl_types.cpp | 423 /* GLSL matrix types are named mat{COLUMNS}x{ROWS}. Only the following 622 /* There is no conversion among matrix types. */ 665 * columns and <R> rows, the matrix is stored identically to a row of 670 * and <R> rows, the matrix is stored identically to a row of <S>*<R> 687 /* (5) If the member is a column-major matrix with <C> columns and 688 * <R> rows, the matrix is stored identically to an array of 692 * (7) If the member is a row-major matrix with <C> columns and <R> 693 * rows, the matrix is stored identically to an array of <R> 761 /* (5) If the member is a column-major matrix with <C> columns and 762 * <R> rows, the matrix is stored identically to an array o [all...] |
/external/mesa3d/src/glsl/ |
glsl_types.cpp | 423 /* GLSL matrix types are named mat{COLUMNS}x{ROWS}. Only the following 622 /* There is no conversion among matrix types. */ 665 * columns and <R> rows, the matrix is stored identically to a row of 670 * and <R> rows, the matrix is stored identically to a row of <S>*<R> 687 /* (5) If the member is a column-major matrix with <C> columns and 688 * <R> rows, the matrix is stored identically to an array of 692 * (7) If the member is a row-major matrix with <C> columns and <R> 693 * rows, the matrix is stored identically to an array of <R> 761 /* (5) If the member is a column-major matrix with <C> columns and 762 * <R> rows, the matrix is stored identically to an array o [all...] |
/external/eigen/Eigen/src/Geometry/ |
Quaternion.h | 49 // typedef typename Matrix<Scalar,4,1> Coefficients; 51 typedef Matrix<Scalar,3,1> Vector3; 52 /** the equivalent rotation matrix type */ 53 typedef Matrix<Scalar,3,3> Matrix3; 137 /** \returns an equivalent 3x3 rotation matrix */ 218 typedef Matrix<_Scalar,4,1,_Options> Coefficients; 263 * - a rotation matrix expression, 311 typedef Map<Matrix<_Scalar,4,1>, _Options> Coefficients; 328 typedef Map<const Matrix<_Scalar,4,1>, _Options> Coefficients; 469 * then it is much more efficient to first convert it to a 3x3 Matrix [all...] |
/external/opencv/cv/src/ |
cvsamplers.cpp | 605 dsttype *dst, int dst_step, CvSize win_size, const float *matrix ) \ 610 double A11 = matrix[0], A12 = matrix[1], A13 = matrix[2]-A11*dx-A12*dy; \ 611 double A21 = matrix[3], A22 = matrix[4], A23 = matrix[5]-A21*dx-A22*dy; \ [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
CameraUtil.java | 30 import android.graphics.Matrix; 186 Matrix m = new Matrix(); 691 public static void prepareMatrix(Matrix matrix, boolean mirror, int displayOrientation, 694 matrix.setScale(mirror ? -1 : 1, 1); 696 matrix.postRotate(displayOrientation); 699 matrix.postScale(viewWidth / 2000f, viewHeight / 2000f); 700 matrix.postTranslate(viewWidth / 2f, viewHeight / 2f); 703 public static void prepareMatrix(Matrix matrix, boolean mirror, int displayOrientation [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PathTest.java | 20 import android.graphics.Matrix; 111 path.transform(new Matrix(), dst); 288 Matrix matrix = new Matrix(); local 289 path.addPath(src, matrix);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
api_path.c | 442 struct matrix *matrix = &ctx->state.vg.path_user_to_surface_matrix; 444 matrix_map_point(matrix, pts[0], pts[1], pts + 0, pts + 1); 445 matrix_map_point(matrix, pts[2], pts[3], pts + 2, pts + 3); 446 matrix_map_point(matrix, pts[4], pts[5], pts + 4, pts + 5); 447 matrix_map_point(matrix, pts[6], pts[7], pts + 6, pts + 7);
|
/external/chromium_org/third_party/qcms/src/ |
transform-sse1.c | 41 float (*mat)[4] = transform->matrix; 62 /* input matrix values never change */ 99 /* gamma * matrix */ 161 float (*mat)[4] = transform->matrix; 182 /* input matrix values never change */ 221 /* gamma * matrix */
|
transform-sse2.c | 41 float (*mat)[4] = transform->matrix; 62 /* input matrix values never change */ 99 /* gamma * matrix */ 155 float (*mat)[4] = transform->matrix; 176 /* input matrix values never change */ 215 /* gamma * matrix */
|
/external/eigen/Eigen/src/Core/products/ |
TriangularMatrixMatrix_MKL.h | 29 * Triangular matrix * matrix product functionality based on ?TRMM. 106 typedef Matrix<EIGTYPE, Dynamic, Dynamic, LhsStorageOrder> MatrixLhs; \ 107 typedef Matrix<EIGTYPE, Dynamic, Dynamic, RhsStorageOrder> MatrixRhs; \ 220 typedef Matrix<EIGTYPE, Dynamic, Dynamic, LhsStorageOrder> MatrixLhs; \ 221 typedef Matrix<EIGTYPE, Dynamic, Dynamic, RhsStorageOrder> MatrixRhs; \
|