| /external/freetype/include/ |
| 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/mesa3d/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/mesa3d/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/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/ |
| TrackMetaData.java | 33 private long[] matrix = new long[]{0x00010000, 0, 0, 0, 0x00010000, 0, 0, 0, 0x40000000}; field in class:TrackMetaData 84 return matrix; 88 this.matrix = m;
|
| /external/opencv/otherlibs/highgui/ |
| loadsave.cpp | 392 CvMat hdr, *matrix = 0; local 442 CV_CALL( matrix = cvCreateMat( size.height, size.width, CV_MAKETYPE(type, cn) )); 452 matrix = cvGetMat( image, &hdr ); 455 if( !reader->ReadData( matrix->data.ptr, matrix->step, iscolor )) 458 cvReleaseMat( &matrix ); 471 cvReleaseMat( &matrix ); 476 return load_as_matrix ? (void*)matrix : (void*)image;
|
| /developers/build/prebuilts/gradle/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/ |
| Camera2BasicFragment.java | 28 import android.graphics.Matrix; 613 * Configures the necessary {@link android.graphics.Matrix} transformation to `mTextureView`. 626 Matrix matrix = new Matrix(); local 633 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); 637 matrix.postScale(scale, scale, centerX, centerY); 638 matrix.postRotate(90 * (rotation - 2), centerX, centerY); 640 mTextureView.setTransform(matrix); [all...] |
| /developers/build/prebuilts/gradle/Camera2Video/Application/src/main/java/com/example/android/camera2video/ |
| Camera2VideoFragment.java | 27 import android.graphics.Matrix; 464 * Configures the necessary {@link android.graphics.Matrix} transformation to `mTextureView`. 477 Matrix matrix = new Matrix(); local 484 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); 488 matrix.postScale(scale, scale, centerX, centerY); 489 matrix.postRotate(90 * (rotation - 2), centerX, centerY); 491 mTextureView.setTransform(matrix); [all...] |
| /developers/samples/android/media/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/ |
| Camera2BasicFragment.java | 28 import android.graphics.Matrix; 613 * Configures the necessary {@link android.graphics.Matrix} transformation to `mTextureView`. 626 Matrix matrix = new Matrix(); local 633 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); 637 matrix.postScale(scale, scale, centerX, centerY); 638 matrix.postRotate(90 * (rotation - 2), centerX, centerY); 640 mTextureView.setTransform(matrix); [all...] |
| /developers/samples/android/media/Camera2Video/Application/src/main/java/com/example/android/camera2video/ |
| Camera2VideoFragment.java | 27 import android.graphics.Matrix; 464 * Configures the necessary {@link android.graphics.Matrix} transformation to `mTextureView`. 477 Matrix matrix = new Matrix(); local 484 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); 488 matrix.postScale(scale, scale, centerX, centerY); 489 matrix.postRotate(90 * (rotation - 2), centerX, centerY); 491 mTextureView.setTransform(matrix); [all...] |
| /development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/ |
| Camera2BasicFragment.java | 28 import android.graphics.Matrix; 589 * Configures the necessary {@link android.graphics.Matrix} transformation to `mTextureView`. 602 Matrix matrix = new Matrix(); local 609 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); 613 matrix.postScale(scale, scale, centerX, centerY); 614 matrix.postRotate(90 * (rotation - 2), centerX, centerY); 616 mTextureView.setTransform(matrix); [all...] |
| /development/samples/browseable/Camera2Video/src/com.example.android.camera2video/ |
| Camera2VideoFragment.java | 27 import android.graphics.Matrix; 464 * Configures the necessary {@link android.graphics.Matrix} transformation to `mTextureView`. 477 Matrix matrix = new Matrix(); local 484 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); 488 matrix.postScale(scale, scale, centerX, centerY); 489 matrix.postRotate(90 * (rotation - 2), centerX, centerY); 491 mTextureView.setTransform(matrix); [all...] |
| /bionic/libc/kernel/uapi/sound/ |
| hdsp.h | 90 unsigned short matrix[HDSP_MATRIX_MIXER_SIZE]; member in struct:hdsp_mixer
|
| /cts/tests/tests/graphics/src/android/graphics/cts/ |
| PathMeasureTest.java | 20 import android.graphics.Matrix; 119 Matrix matrix = new Matrix(); local 120 assertFalse(mPathMeasure.getMatrix(1f, matrix, PathMeasure.POSITION_MATRIX_FLAG)); 121 matrix.setScale(1f, 2f); 124 assertTrue(mPathMeasure.getMatrix(0f, matrix, PathMeasure.TANGENT_MATRIX_FLAG));
|
| /development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/ |
| AnticiButton.java | 23 import android.graphics.Matrix; 221 Matrix matrix = new Matrix(); local 222 matrix.setSkew(-mSkewX, 0); 224 matrix.mapRect(mTempRect);
|
| /external/ceres-solver/internal/ceres/ |
| compressed_row_sparse_matrix.cc | 201 void CompressedRowSparseMatrix::ToDenseMatrix(Matrix* dense_matrix) const { 236 << "Cannot append a matrix with row blocks to one without and vice versa." 237 << "This matrix has : " << row_blocks_.size() << " row blocks." 238 << "The matrix being appended has: " << m.row_blocks().size() 246 // Copy the contents of m into this matrix. 276 void CompressedRowSparseMatrix::ToCRSMatrix(CRSMatrix* matrix) const { 277 matrix->num_rows = num_rows_; 278 matrix->num_cols = num_cols_; 279 matrix->rows = rows_; 280 matrix->cols = cols_ 326 CompressedRowSparseMatrix* matrix = local 433 CompressedRowSparseMatrix* matrix = local [all...] |
| /external/chromium_org/cc/quads/ |
| draw_quad_unittest.cc | 489 gfx::Transform matrix = gfx::Transform(0.5, 0.25, 1, 0.75, 0, 1); local 493 StreamVideoDrawQuad, opaque_rect, visible_rect, resource_id, matrix); 498 EXPECT_EQ(matrix, copy_quad->matrix); 500 CREATE_QUAD_2_ALL(StreamVideoDrawQuad, resource_id, matrix); 503 EXPECT_EQ(matrix, copy_quad->matrix); 802 gfx::Transform matrix = gfx::Transform(0.5, 0.25, 1, 0.75, 0, 1); local [all...] |
| /external/chromium_org/chrome/renderer/pepper/ |
| pepper_flash_renderer_host.cc | 243 // Convert & set the matrix. 244 SkMatrix matrix; local 245 matrix.set(SkMatrix::kMScaleX, SkFloatToScalar(params.transformation[0][0])); 246 matrix.set(SkMatrix::kMSkewX, SkFloatToScalar(params.transformation[0][1])); 247 matrix.set(SkMatrix::kMTransX, SkFloatToScalar(params.transformation[0][2])); 248 matrix.set(SkMatrix::kMSkewY, SkFloatToScalar(params.transformation[1][0])); 249 matrix.set(SkMatrix::kMScaleY, SkFloatToScalar(params.transformation[1][1])); 250 matrix.set(SkMatrix::kMTransY, SkFloatToScalar(params.transformation[1][2])); 251 matrix.set(SkMatrix::kMPersp0, SkFloatToScalar(params.transformation[2][0])); 252 matrix.set(SkMatrix::kMPersp1, SkFloatToScalar(params.transformation[2][1])) [all...] |
| /external/chromium_org/content/common/ |
| cc_messages.cc | 40 WriteParam(m, p.matrix()[i]); 61 SkScalar matrix[20]; local 98 if (!ReadParam(m, iter, &matrix[i])) 102 r->set_matrix(matrix); 163 LogParam(p.matrix()[i], l); 254 p.matrix().asColMajorf(column_major_data); 257 p.matrix().asColMajord(column_major_data); 267 r->matrix().setColMajor( 276 p.matrix().asRowMajorf(row_major_data); 279 p.matrix().asRowMajord(row_major_data) [all...] |
| /external/chromium_org/skia/ext/ |
| analysis_canvas.cc | 52 const SkMatrix& matrix = canvas->getTotalMatrix(); local 55 if (!matrix.rectStaysRect()) 59 matrix.mapRect(&device_rect, drawn_rect); 206 const SkMatrix& matrix, 263 const SkMatrix* matrix,
|
| /external/chromium_org/third_party/WebKit/Source/core/svg/ |
| SVGTransformList.cpp | 55 AffineTransform matrix; local 56 if (!concatenate(matrix)) 59 RefPtr<SVGTransform> transform = SVGTransform::create(matrix); 72 result *= it->matrix();
|
| /external/chromium_org/third_party/freetype/src/cff/ |
| cffparse.c | 514 FT_Matrix* matrix = &dict->font_matrix; local 530 /* We expect a well-formed font matrix, this is, the matrix elements */ 536 matrix->xx = cff_parse_fixed_dynamic( data++, &scaling ); 542 /* Return default matrix in case of unlikely values. */ 547 " using default matrix\n", scaling )); 549 matrix->xx = 0x10000L; 550 matrix->yx = 0; 551 matrix->xy = 0; 552 matrix->yy = 0x10000L [all...] |
| /external/chromium_org/third_party/skia/bench/ |
| DashBench.cpp | 156 SkMatrix matrix; local 157 matrix.setScale(SkIntToScalar(100), SkIntToScalar(100)); 158 path->transform(matrix); 331 SkMatrix matrix; local 335 matrix.setIdentity(); 338 matrix.setRotate(90, cx, cy); 341 matrix.setRotate(45, cx, cy); 352 matrix.mapPoints(fPts, pts, 2);
|
| /external/chromium_org/third_party/skia/experimental/Intersection/ |
| ConvexHull_Test.cpp | 89 static bool rotateToAxis(const _Point& a, const _Point& b, Matrix3x2& matrix) { 97 matrix[0][0] = dx * invLength; 98 matrix[1][0] = dy * invLength; 99 matrix[2][0] = 0; 100 matrix[0][1] = -dy * invLength; 101 matrix[1][1] = dx * invLength; 102 matrix[2][1] = 0; 106 static void transform(const Cubic& cubic, const Matrix3x2& matrix, Cubic& rotPath) { 108 rotPath[index].x = cubic[index].x * matrix[0][0] 109 + cubic[index].y * matrix[1][0] + matrix[2][0] 139 Matrix3x2 matrix; local [all...] |
| /external/chromium_org/third_party/skia/gm/ |
| dashing.cpp | 129 SkMatrix matrix; local 130 matrix.setRectToRect(path->getBounds(), bounds, SkMatrix::kCenter_ScaleToFit); 131 path->transform(matrix);
|
| gm.h | 81 // Most GMs will return the identity matrix, but some PDFs tests 84 SkMatrix matrix = fStarterMatrix; local 85 matrix.preConcat(this->onGetInitialTransform()); 86 return matrix; 102 void setStarterMatrix(const SkMatrix& matrix) { 103 fStarterMatrix = matrix;
|