HomeSort by relevance Sort by last modified time
    Searched full:matrix (Results 1 - 25 of 1258) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/mesa3d/src/glsl/tests/
constructor-03.glsl 1 /* FAIL - cannot construct a matrix from a matrix in GLSL 1.10 */
matrix-09.glsl 1 /* FAIL - matrix-to-matrix constructors are not available in GLSL 1.10 */
constructor-04.glsl 2 /* FAIL - matrix must be only parameter to matrix constructor */
matrix-08.glsl 13 /* Multiplying a 2 column, 3 row matrix with a 3 column, 2 row matrix
14 * results in a 3 column, 3 row matrix.
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
Transform3dActivity.java 25 import android.graphics.Matrix;
41 private Matrix mMatrix;
48 mMatrix = new Matrix();
61 final Matrix matrix = mMatrix; local
63 rotate(centerX, centerY, camera, matrix, 32.0f);
64 drawBitmap(canvas, centerX, centerY, 0.0f, matrix);
66 rotate(centerX, centerY, camera, matrix, 12.0f);
67 drawBitmap(canvas, centerX, centerY, -mBitmap1.getWidth(), matrix);
69 rotate(centerX, centerY, camera, matrix, 52.0f)
    [all...]
  /external/opencv/cxcore/include/
cxcore.hpp 213 CvMatrix() : matrix(0) {}
215 { matrix = cvCreateMat( rows, cols, type ); }
219 { matrix = cvInitMatHeader( hdr, rows, cols, type, data, step ); }
224 { matrix = cvCreateMatHeader( rows, cols, type );
225 cvSetData( matrix, data, step ); }
228 { matrix = m; }
232 matrix = m.matrix;
236 CvMatrix( const char* filename, const char* matname=0, int color=-1 ) : matrix(0)
239 CvMatrix( CvFileStorage* fs, const char* mapname, const char* matname ) : matrix(0
348 CvMat* matrix; member in class:CvMatrix
    [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...]
  /frameworks/base/services/java/com/android/server/wm/
BlackFrame.java 19 import android.graphics.Matrix;
50 void setMatrix(Matrix matrix) {
52 mTmpMatrix.postConcat(matrix);
54 surface.setPosition(mTmpFloats[Matrix.MTRANS_X],
55 mTmpFloats[Matrix.MTRANS_Y]);
57 mTmpFloats[Matrix.MSCALE_X], mTmpFloats[Matrix.MSKEW_Y],
58 mTmpFloats[Matrix.MSKEW_X], mTmpFloats[Matrix.MSCALE_Y])
    [all...]
  /external/webkit/Source/WebKit/android/plugins/
ANPMatrixInterface.cpp 48 static void anp_deleteMatrix(ANPMatrix* matrix) {
49 delete matrix;
52 static ANPMatrixFlag anp_getFlags(const ANPMatrix* matrix) {
53 return matrix->getType();
60 static void anp_get3x3(const ANPMatrix* matrix, float dst[9]) {
62 dst[i] = SkScalarToFloat(matrix->get(i));
66 static void anp_set3x3(ANPMatrix* matrix, const float src[9]) {
68 matrix->set(i, SkFloatToScalar(src[i]));
72 static void anp_setIdentity(ANPMatrix* matrix) {
73 matrix->reset()
    [all...]
  /external/skia/gpu/include/
GrSamplerState.h 45 * The intepretation of the texture matrix depends on the sample mode. The
46 * texture matrix is applied both when the texture coordinates are explicit
48 * case the texture matrix is applied to the pre-view-matrix position
52 * The post-matrix texture coordinates are in normalize space with (0,0) at
55 * The matrix specifies the radial gradient parameters.
56 * (0,0) in the post-matrix space is center of the radial gradient.
58 * Matrix transforms to space where first circle is centered at the
60 * 0 and is provided by setRadial2Params. The post-matrix space is
63 * The angle from the origin of texture coordinates in post-matrix spac
    [all...]
  /frameworks/base/core/java/android/gesture/
OrientedBoundingBox.java 19 import android.graphics.Matrix;
60 Matrix matrix = new Matrix(); local
61 matrix.setRotate(orientation);
62 matrix.postTranslate(centerX, centerY);
63 matrix.mapPoints(point);
68 matrix.mapPoints(point);
73 matrix.mapPoints(point);
78 matrix.mapPoints(point)
    [all...]
  /packages/apps/Gallery/src/com/android/camera/
RotateBitmap.java 20 import android.graphics.Matrix;
53 public Matrix getRotateMatrix() {
54 // By default this is an identity matrix.
55 Matrix matrix = new Matrix(); local
62 matrix.preTranslate(-cx, -cy);
63 matrix.postRotate(mRotation);
64 matrix.postTranslate(getWidth() / 2, getHeight() / 2);
66 return matrix;
    [all...]
ImageViewTouchBase.java 21 import android.graphics.Matrix;
39 // This matrix is recomputed when we go from the thumbnail image to
41 protected Matrix mBaseMatrix = new Matrix();
46 // This matrix remains the same when we go from the thumbnail image
48 protected Matrix mSuppMatrix = new Matrix();
50 // This is the final matrix which is computed as the concatentation
51 // of the base matrix and the supplementary matrix
    [all...]
  /external/skia/include/core/
SkShape.h 18 shape's matrix (if any).
22 /** Draw the shape with the specified matrix, applied before the shape's
23 matrix (if any).
  /external/skia/samplecode/
SampleOverflow.cpp 13 SkMatrix matrix; local
14 matrix.reset();
27 matrix.set(SkMatrix::kMTransX, SkFloatToFixed(-1153.28));
28 matrix.set(SkMatrix::kMTransY, SkFloatToFixed(1180.50));
30 matrix.set(SkMatrix::kMScaleX, SkFloatToFixed(0.177171));
31 matrix.set(SkMatrix::kMScaleY, SkFloatToFixed(0.177043));
33 matrix.set(SkMatrix::kMSkewX, SkFloatToFixed(0.126968));
34 matrix.set(SkMatrix::kMSkewY, SkFloatToFixed(-0.126876));
36 matrix.set(SkMatrix::kMPersp0, SkFloatToFixed(0.0));
37 matrix.set(SkMatrix::kMPersp1, SkFloatToFixed(0.0))
    [all...]
  /frameworks/base/graphics/java/android/graphics/
ColorMatrixColorFilter.java 21 * Create a colorfilter that transforms colors through a 4x5 color matrix.
23 * @param matrix 4x5 matrix used to transform colors. It is copied into
24 * the filter, so changes made to the matrix after the filter
27 public ColorMatrixColorFilter(ColorMatrix matrix) {
28 final float[] colorMatrix = matrix.getArray();
34 * Create a colorfilter that transforms colors through a 4x5 color matrix.
37 * matrix. The first 20 entries of the array are copied into
Matrix.java 23 * The Matrix class holds a 3x3 matrix for transforming coordinates.
24 * Matrix does not have a constructor, so it must be explicitly initialized
25 * using either reset() - to construct an identity matrix, or one of the set..()
28 public class Matrix {
41 public static Matrix IDENTITY_MATRIX = new Matrix() {
43 throw new IllegalStateException("Matrix can not be modified");
47 public void set(Matrix src) {
102 public boolean setConcat(Matrix a, Matrix b)
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
CameraTest.java 20 import android.graphics.Matrix;
73 args = {android.graphics.Matrix.class}
77 Matrix m1 = new Matrix();
81 Matrix m2 = new Matrix();
107 args = {android.graphics.Matrix.class}
111 Matrix m1 = new Matrix();
115 Matrix m2 = new Matrix()
    [all...]
  /frameworks/base/tools/layoutlib/bridge/tests/src/android/graphics/
Matrix_DelegateTest.java 37 Matrix m1 = new Matrix();
46 Matrix m1 = new Matrix();
47 Matrix m2 = new Matrix(m1);
  /external/llvm/include/llvm/CodeGen/PBQP/
Math.h 1 //===------ Math.h - PBQP Vector and Matrix classes -------------*- C++ -*-===//
111 /// \brief PBQP Matrix class
112 class Matrix {
115 /// \brief Construct a PBQP Matrix with the given dimensions.
116 Matrix(unsigned rows, unsigned cols) :
120 /// \brief Construct a PBQP Matrix with the given dimensions and initial
122 Matrix(unsigned rows, unsigned cols, PBQPNum initVal) :
127 /// \brief Copy construct a PBQP matrix.
128 Matrix(const Matrix &m)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/
FullscreenToolView.java 20 import android.graphics.Matrix;
33 private final Matrix photoMatrix = new Matrix();
58 Matrix matrix = new Matrix(); local
59 if (matrix.setRectToRect(photoBounds, new RectF(0, 0, w, h), Matrix.ScaleToFit.CENTER)) {
60 matrix.mapRect(displayBounds, photoBounds);
63 matrix.invert(photoMatrix)
    [all...]
  /frameworks/base/libs/rs/scriptc/
rs_matrix.rsh 18 * \brief Matrix routines
27 * Set one element of a matrix.
29 * @param m The matrix to be set
50 * Get one element of a matrix.
52 * @param m The matrix to read from
72 * Set the elements of a matrix to the identity matrix.
87 * Set the elements of a matrix from an array of floats.
110 * Set the elements of a matrix from another matrix
    [all...]
  /prebuilt/sdk/14/renderscript/include/
rs_matrix.rsh 18 * \brief Matrix routines
27 * Set one element of a matrix.
29 * @param m The matrix to be set
50 * Get one element of a matrix.
52 * @param m The matrix to read from
72 * Set the elements of a matrix to the identity matrix.
87 * Set the elements of a matrix from an array of floats.
110 * Set the elements of a matrix from another matrix
    [all...]
  /prebuilt/sdk/15/renderscript/include/
rs_matrix.rsh 18 * \brief Matrix routines
27 * Set one element of a matrix.
29 * @param m The matrix to be set
50 * Get one element of a matrix.
52 * @param m The matrix to read from
72 * Set the elements of a matrix to the identity matrix.
87 * Set the elements of a matrix from an array of floats.
110 * Set the elements of a matrix from another matrix
    [all...]
  /frameworks/base/graphics/java/android/renderscript/
Matrix3f.java 30 * Creates a new identity 3x3 matrix
38 * Creates a new matrix and sets its values from the given
41 * @param dataArray values to set the matrix to, must be 9
50 * Return a reference to the internal array representing matrix
51 * values. Modifying this array will also change the matrix
53 * @return internal array representing the matrix
82 * Sets the matrix values to identity
99 * Sets the values of the matrix to those of the parameter
101 * @param src matrix to load the values from
108 * Sets current values to be a rotation matrix of certain angl
    [all...]

Completed in 509 milliseconds

1 2 3 4 5 6 7 8 91011>>