HomeSort by relevance Sort by last modified time
    Searched full:matrix (Results 51 - 75 of 4077) sorted by null

1 23 4 5 6 7 8 91011>>

  /frameworks/opt/bitmap/src/com/android/bitmap/util/
RectUtils.java 19 import android.graphics.Matrix;
39 final Matrix matrix = new Matrix(); local
42 matrix.setRotate(-orientation);
45 matrix.mapRect(fullRectF);
46 matrix.mapRect(partialRectF);
48 matrix.reset();
49 matrix.setTranslate(-fullRectF.left, -fullRectF.top);
50 matrix.mapRect(fullRectF)
61 final Matrix matrix = new Matrix(); local
    [all...]
  /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...]
bitmapmatrix.cpp 42 SkMatrix matrix; variable
43 matrix.reset();
47 canvas->drawBitmapMatrix(bm, matrix, &paint);
51 matrix.setScale(SkIntToScalar(2), SK_ScalarHalf);
52 canvas->drawBitmapMatrix(bm, matrix, &paint);
56 matrix.reset();
57 matrix.setRotate(SkIntToScalar(45), SkIntToScalar(bm.width() / 2),
61 canvas->drawBitmapMatrix(bm, matrix, &paint);
66 matrix.reset();
67 matrix.setPerspX(SkScalarDiv(SK_Scalar1, SkIntToScalar(1000)))
    [all...]
  /external/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...]
bitmapmatrix.cpp 42 SkMatrix matrix; variable
43 matrix.reset();
47 canvas->drawBitmapMatrix(bm, matrix, &paint);
51 matrix.setScale(SkIntToScalar(2), SK_ScalarHalf);
52 canvas->drawBitmapMatrix(bm, matrix, &paint);
56 matrix.reset();
57 matrix.setRotate(SkIntToScalar(45), SkIntToScalar(bm.width() / 2),
61 canvas->drawBitmapMatrix(bm, matrix, &paint);
66 matrix.reset();
67 matrix.setPerspX(SkScalarDiv(SK_Scalar1, SkIntToScalar(1000)))
    [all...]
  /external/srec/srec/clib/
matx_ops.c 41 covdata **matrix; local
43 matrix = (covdata **) CALLOC(dimen, sizeof(covdata *),
46 matrix[ii] = (covdata *) CALLOC(dimen, sizeof(covdata),
48 return (matrix);
51 void delete_matrix(covdata **matrix, int dimen)
55 ASSERT(matrix);
57 FREE((char *)matrix[ii]);
58 FREE((char *)matrix);
62 void diagonal_elements(covdata *vector, covdata **matrix, int dim)
67 ASSERT(matrix);
127 imeldata **matrix; local
    [all...]
  /external/chromium_org/ui/gfx/geometry/
matrix3_unittest.cc 34 Matrix3F matrix = Matrix3F::Ones(); local
38 matrix.set(0.0f, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f);
39 EXPECT_EQ(Vector3dF(2.0f, 5.0f, 8.0f), matrix.get_column(2));
40 matrix.set_column(0, Vector3dF(0.1f, 0.2f, 0.3f));
41 EXPECT_EQ(Vector3dF(0.1f, 0.2f, 0.3f), matrix.get_column(0));
43 EXPECT_EQ(0.1f, matrix.get(0, 0));
44 EXPECT_EQ(5.0f, matrix.get(1, 2));
53 Matrix3F matrix = Matrix3F::Zeros(); local
54 matrix.set(0, 5, 6, 8, 7, 0, 1, 9, 0);
55 EXPECT_EQ(390.0f, matrix.Determinant())
100 Matrix3F matrix = Matrix3F::Zeros(); local
116 Matrix3F matrix = Matrix3F::Zeros(); local
133 Matrix3F matrix = Matrix3F::Zeros(); local
    [all...]
  /frameworks/base/core/java/android/transition/
ChangeImageTransform.java 22 import android.graphics.Matrix;
34 * This Transition captures an ImageView's matrix before and after the
45 private static final String PROPNAME_MATRIX = "android:changeImageTransform:matrix";
53 private static TypeEvaluator<Matrix> NULL_MATRIX_EVALUATOR = new TypeEvaluator<Matrix>() {
55 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) {
60 private static Property<ImageView, Matrix> ANIMATED_TRANSFORM_PROPERTY
61 = new Property<ImageView, Matrix>(Matrix.class, "animatedTransform")
98 Matrix matrix; local
    [all...]
  /external/chromium_org/third_party/skia/experimental/
SkSetPoly3To3_D.cpp 11 bool SkSetPoly3To3_D(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]);
26 static void computeOuterProduct(SkMatrix* matrix,
42 matrix->reset();
43 matrix->setScaleX(SkDScalar_toScalar(tmp[0]));
44 matrix->setSkewY( SkDScalar_toScalar(tmp[1]));
45 matrix->setSkewX( SkDScalar_toScalar(tmp[2]));
46 matrix->setScaleY(SkDScalar_toScalar(tmp[3]));
54 bool SkSetPoly3To3_D(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]) {
68 matrix->setConcat(dstOP, srcOP);
69 matrix->setTranslateX(dstAve.fX - dot(srcAve.fX, srcAve.fY
    [all...]
  /external/skia/experimental/
SkSetPoly3To3_D.cpp 11 bool SkSetPoly3To3_D(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]);
26 static void computeOuterProduct(SkMatrix* matrix,
42 matrix->reset();
43 matrix->setScaleX(SkDScalar_toScalar(tmp[0]));
44 matrix->setSkewY( SkDScalar_toScalar(tmp[1]));
45 matrix->setSkewX( SkDScalar_toScalar(tmp[2]));
46 matrix->setScaleY(SkDScalar_toScalar(tmp[3]));
54 bool SkSetPoly3To3_D(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]) {
68 matrix->setConcat(dstOP, srcOP);
69 matrix->setTranslateX(dstAve.fX - dot(srcAve.fX, srcAve.fY
    [all...]
  /external/chromium_org/third_party/skia/src/gpu/effects/
GrSimpleTextureEffect.h 19 * can have a matrix applied in the VS in both the local and position cases but not with a custom
27 const SkMatrix& matrix,
29 AutoEffectUnref effect(SkNEW_ARGS(GrSimpleTextureEffect, (tex, matrix, GrTextureParams::kNone_FilterMode, coordSet)));
35 const SkMatrix& matrix,
39 SkNEW_ARGS(GrSimpleTextureEffect, (tex, matrix, filterMode, coordSet)));
44 const SkMatrix& matrix,
47 AutoEffectUnref effect(SkNEW_ARGS(GrSimpleTextureEffect, (tex, matrix, p, coordSet)));
63 const SkMatrix& matrix,
66 : GrSingleTextureEffect(texture, matrix, filterMode, coordSet) {
70 const SkMatrix& matrix,
    [all...]
  /external/skia/src/gpu/effects/
GrSimpleTextureEffect.h 19 * can have a matrix applied in the VS in both the local and position cases but not with a custom
27 const SkMatrix& matrix,
29 AutoEffectUnref effect(SkNEW_ARGS(GrSimpleTextureEffect, (tex, matrix, GrTextureParams::kNone_FilterMode, coordSet)));
35 const SkMatrix& matrix,
39 SkNEW_ARGS(GrSimpleTextureEffect, (tex, matrix, filterMode, coordSet)));
44 const SkMatrix& matrix,
47 AutoEffectUnref effect(SkNEW_ARGS(GrSimpleTextureEffect, (tex, matrix, p, coordSet)));
63 const SkMatrix& matrix,
66 : GrSingleTextureEffect(texture, matrix, filterMode, coordSet) {
70 const SkMatrix& matrix,
    [all...]
  /external/chromium_org/gpu/command_buffer/tests/
occlusion_query_unittest.cc 36 static void SetMatrix(float x, float z, float scale, float* matrix) {
37 matrix[0] = scale;
38 matrix[1] = 0.0f;
39 matrix[2] = 0.0f;
40 matrix[3] = 0.0f;
42 matrix[4] = 0.0f;
43 matrix[5] = scale;
44 matrix[6] = 0.0f;
45 matrix[7] = 0.0f;
47 matrix[8] = 0.0f
59 GLfloat matrix[16]; local
    [all...]
  /external/eigen/Eigen/src/LU/
Inverse.h 24 static inline void run(const MatrixType& matrix, ResultType& result)
26 result = matrix.partialPivLu().inverse();
40 static inline void run(const MatrixType& matrix, ResultType& result)
43 result.coeffRef(0,0) = Scalar(1) / matrix.coeff(0,0);
51 const MatrixType& matrix,
59 determinant = matrix.coeff(0,0);
71 const MatrixType& matrix, const typename ResultType::Scalar& invdet,
74 result.coeffRef(0,0) = matrix.coeff(1,1) * invdet;
75 result.coeffRef(1,0) = -matrix.coeff(1,0) * invdet;
76 result.coeffRef(0,1) = -matrix.coeff(0,1) * invdet
    [all...]
  /external/chromium_org/native_client_sdk/src/examples/api/graphics_3d/
example.dsc 9 'matrix.cc',
10 'matrix.h',
  /external/eigen/doc/snippets/
ComplexSchur_compute.cpp 4 cout << "The matrix T in the decomposition of A is:" << endl << schur.matrixT() << endl;
6 cout << "The matrix T in the decomposition of A^(-1) is:" << endl << schur.matrixT() << endl;
ComplexSchur_matrixT.cpp 2 cout << "Here is a random 4x4 matrix, A:" << endl << A << endl << endl;
4 cout << "The triangular matrix T is:" << endl << schurOfA.matrixT() << endl;
FullPivLU_kernel.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
4 cout << "Here is a matrix whose columns form a basis of the kernel of m:"
HouseholderQR_householderQ.cpp 6 std::cout << "The complete unitary matrix Q is:\n" << Q << "\n\n";
7 std::cout << "The thin matrix Q is:\n" << thinQ << "\n\n";
Jacobi_makeJacobi.cpp 5 cout << "Here is the matrix m:" << endl << m << endl;
8 cout << "Here is the matrix J' * m * J:" << endl << m << endl
MatrixBase_block_int_int.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
5 cout << "Now the matrix m is:" << endl << m << endl;
MatrixBase_block_int_int_int_int.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
5 cout << "Now the matrix m is:" << endl << m << endl;
MatrixBase_bottomLeftCorner_int_int.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
6 cout << "Now the matrix m is:" << endl << m << endl;
MatrixBase_bottomRightCorner_int_int.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
6 cout << "Now the matrix m is:" << endl << m << endl;
MatrixBase_template_int_int_block_int_int_int_int.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
5 cout << "Now the matrix m is:" << endl << m << endl;

Completed in 1399 milliseconds

1 23 4 5 6 7 8 91011>>