HomeSort by relevance Sort by last modified time
    Searched refs:Matrix (Results 76 - 100 of 1182) sorted by null

1 2 34 5 6 7 8 91011>>

  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
ModelMatrixCalculator.java 23 import android.opengl.Matrix;
29 * Utility class to manage the calculation of a Model Matrix from the translation and quaternion
45 // Set these to identity matrix.
59 Matrix.setIdentityM(mModelMatrix, 0);
64 * Calculates a new model matrix, taking into account extrinsics and the latest pose
70 * @return the new model matrix.
76 // Calculate an initial matrix with extrinsics taken into account.
78 Matrix.setIdentityM(imu2OpenGlMatrix, 0);
79 Matrix.multiplyMM(imu2OpenGlMatrix, 0, mColorCamera2IMUMatrix, 0,
82 Matrix.setIdentityM(invertedDevice2ImuMatrix, 0)
    [all...]
  /external/eigen/bench/
benchmark.cpp 24 Matrix<SCALAR,MATSIZE,MATSIZE> I = Matrix<SCALAR,MATSIZE,MATSIZE>::Ones();
25 Matrix<SCALAR,MATSIZE,MATSIZE> m;
34 m = Matrix<SCALAR,MATSIZE,MATSIZE>::Ones() + 0.00005 * (m + (m*m));
  /external/eigen/doc/snippets/
PartialRedux_count.cpp 2 cout << "Here is the matrix m:" << endl << m << endl;
3 Matrix<ptrdiff_t, 3, 1> res = (m.array() >= 0.5).rowwise().count();
TopicStorageOrders_example.cpp 0 Matrix<int, 3, 4, ColMajor> Acolmajor;
5 cout << "The matrix A:" << endl;
13 Matrix<int, 3, 4, RowMajor> Arowmajor = Acolmajor;
  /cts/tests/tests/graphics/src/android/graphics/cts/
ShaderTest.java 26 import android.graphics.Matrix;
50 Matrix m = new Matrix();
67 Matrix skew10x20 = new Matrix();
70 Matrix scale2x3 = new Matrix();
80 Matrix paramMatrix = new Matrix(skew10x20);
81 assertFalse("shader should have no matrix set", shader.getLocalMatrix(paramMatrix))
93 Matrix matrix = new Matrix(); local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
EdgeView.java 20 import android.opengl.Matrix;
35 // Each edge effect has a transform matrix, and each matrix has 16 elements.
37 // starting index of each matrix.
71 Matrix.setIdentityM(mMatrix, TOP_M);
72 Matrix.setIdentityM(mMatrix, LEFT_M);
73 Matrix.setIdentityM(mMatrix, BOTTOM_M);
74 Matrix.setIdentityM(mMatrix, RIGHT_M);
76 Matrix.rotateM(mMatrix, LEFT_M, 90, 0, 0, 1);
77 Matrix.scaleM(mMatrix, LEFT_M, 1, -1, 1)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/Renderable/
Renderable.java 25 import android.opengl.Matrix;
57 // matrix
58 Matrix.setIdentityM(mMvMatrix, 0);
59 Matrix.setIdentityM(mMvpMatrix, 0);
60 Matrix.multiplyMM(mMvMatrix, 0, viewMatrix, 0, getModelMatrix(), 0);
61 Matrix.multiplyMM(mMvpMatrix, 0, projectionMatrix, 0, mMvMatrix, 0);
85 Matrix.setIdentityM(getModelMatrix(), 0);
86 Matrix.rotateM(getModelMatrix(), 0, newAngle, 0.0f, 0.0f, 1.0f);
87 Matrix.translateM(getModelMatrix(), 0,
Light.java 22 import android.opengl.Matrix;
37 * modelview matrix)
63 Matrix.setIdentityM(getModelMatrix(), 0);
64 Matrix.translateM(getModelMatrix(), 0, position[X], position[Y], position[Z]);
73 Matrix.multiplyMV(mLightPosInEyeSpace, 0, viewMatrix, 0, getModelMatrix(), 0);
78 Matrix.setIdentityM(getModelMatrix(), 0);
79 Matrix.translateM(getModelMatrix(), 0, translation[X], translation[Y], translation[Z]);
  /cts/tests/openglperf2/jni/graphics/
PerspectiveMeshNode.cpp 23 void PerspectiveMeshNode::before(Program& program, Matrix& model, Matrix& view, Matrix& projection) {
43 // This multiplies the view matrix by the model matrix, and stores the result in the MVP
44 // matrix (which currently contains model * view).
47 // Pass in the modelview matrix.
50 // This multiplies the modelview matrix by the projection matrix, and stores the result in
51 // the MVP matrix (which now contains model * view * projection)
    [all...]
  /cts/tests/openglperf2/jni/reference/scene/glowing/
BlurMeshNode.cpp 23 void BlurMeshNode::before(Program& program, Matrix& model, Matrix& view, Matrix& projection) {
55 void BlurMeshNode::after(Program& program, Matrix& model, Matrix& view, Matrix& projection) {
  /external/eigen/test/
upperbidiagonalization.cpp 18 typedef Matrix<typename MatrixType::RealScalar, MatrixType::RowsAtCompileTime, MatrixType::ColsAtCompileTime> RealMatrixType;
19 typedef Matrix<typename MatrixType::Scalar, MatrixType::ColsAtCompileTime, MatrixType::RowsAtCompileTime> TransposeMatrixType;
38 CALL_SUBTEST_4( upperbidiag(Matrix<std::complex<double>,Dynamic,Dynamic,RowMajor>(16,15)) );
39 CALL_SUBTEST_5( upperbidiag(Matrix<float,6,4>()) );
40 CALL_SUBTEST_6( upperbidiag(Matrix<float,5,5>()) );
41 CALL_SUBTEST_7( upperbidiag(Matrix<double,4,3>()) );
zerosized.cpp 59 Matrix<Scalar,Dynamic,Dynamic> prod = m.template block<MatrixType::RowsAtCompileTime,0>(0,0,rows,0) * m.template block<0,MatrixType::ColsAtCompileTime>(0,0,0,cols);
88 zeroSizedMatrix<Matrix<float, 2, Dynamic> >();
90 zeroSizedMatrix<Matrix<float, 0, 0> >();
91 zeroSizedMatrix<Matrix<float, Dynamic, 0, 0, 0, 0> >();
92 zeroSizedMatrix<Matrix<float, 0, Dynamic, 0, 0, 0> >();
93 zeroSizedMatrix<Matrix<float, Dynamic, Dynamic, 0, 0, 0> >();
94 zeroSizedMatrix<Matrix<float, 0, 4> >();
95 zeroSizedMatrix<Matrix<float, 4, 0> >();
100 zeroSizedVector<Matrix<float, 0, 1> >();
101 zeroSizedVector<Matrix<float, 1, 0> >()
    [all...]
vectorization_logic.cpp 108 typedef Matrix<Scalar,PacketSize,1> Vector1;
109 typedef Matrix<Scalar,Dynamic,1> VectorX;
110 typedef Matrix<Scalar,Dynamic,Dynamic> MatrixXX;
111 typedef Matrix<Scalar,PacketSize,PacketSize> Matrix11;
112 typedef Matrix<Scalar,2*PacketSize,2*PacketSize> Matrix22;
113 typedef Matrix<Scalar,(Matrix11::Flags&RowMajorBit)?16:4*PacketSize,(Matrix11::Flags&RowMajorBit)?4*PacketSize:16> Matrix44;
114 typedef Matrix<Scalar,(Matrix11::Flags&RowMajorBit)?16:4*PacketSize,(Matrix11::Flags&RowMajorBit)?4*PacketSize:16,DontAlign|EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION> Matrix44u;
115 typedef Matrix<Scalar,4*PacketSize,4*PacketSize,ColMajor> Matrix44c;
116 typedef Matrix<Scalar,4*PacketSize,4*PacketSize,RowMajor> Matrix44r;
118 typedef Matrix<Scalar
    [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...]
  /frameworks/support/transition/src/main/java/androidx/transition/
ViewUtilsBase.java 19 import android.graphics.Matrix;
61 public void transformMatrixToGlobal(@NonNull View view, @NonNull Matrix matrix) {
65 transformMatrixToGlobal(vp, matrix);
66 matrix.preTranslate(-vp.getScrollX(), -vp.getScrollY());
68 matrix.preTranslate(view.getLeft(), view.getTop());
69 final Matrix vm = view.getMatrix();
71 matrix.preConcat(vm);
75 public void transformMatrixToLocal(@NonNull View view, @NonNull Matrix matrix) {
    [all...]
ViewUtilsApi21.java 19 import android.graphics.Matrix;
42 public void transformMatrixToGlobal(@NonNull View view, @NonNull Matrix matrix) {
46 sTransformMatrixToGlobalMethod.invoke(view, matrix);
56 public void transformMatrixToLocal(@NonNull View view, @NonNull Matrix matrix) {
60 sTransformMatrixToLocalMethod.invoke(view, matrix);
70 public void setAnimationMatrix(@NonNull View view, Matrix matrix) {
74 sSetAnimationMatrixMethod.invoke(view, matrix);
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
ScaleToFit.java 36 private final Matrix mMatrix = new Matrix();
39 private static final Matrix.ScaleToFit[] sFits =
40 new Matrix.ScaleToFit[] {
41 Matrix.ScaleToFit.FILL,
42 Matrix.ScaleToFit.START,
43 Matrix.ScaleToFit.CENTER,
44 Matrix.ScaleToFit.END
81 private void drawFit(Canvas canvas, int index, Matrix.ScaleToFit stf) {
  /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...]
  /cts/tests/tests/transition/src/android/transition/cts/
ChangeImageTransformTest.java 28 import android.graphics.Matrix;
50 Matrix mStartMatrix;
51 Matrix mEndMatrix;
102 private Matrix centerMatrix() {
111 Matrix matrix = new Matrix(); local
112 matrix.postTranslate(tx, ty);
113 return matrix;
116 private Matrix fitXYMatrix()
125 Matrix matrix = new Matrix(); local
146 Matrix matrix = new Matrix(); local
168 Matrix matrix = new Matrix(); local
185 Matrix matrix = new Matrix(); local
206 Matrix matrix = new Matrix(); local
292 Matrix matrix = mImageView.getImageMatrix(); local
    [all...]
  /frameworks/support/transition/src/androidTest/java/androidx/transition/
ChangeImageTransformTest.java 29 import android.graphics.Matrix;
48 private Matrix mStartMatrix;
49 private Matrix mEndMatrix;
91 private Matrix centerMatrix() {
100 Matrix matrix = new Matrix(); local
101 matrix.postTranslate(tx, ty);
102 return matrix;
105 private Matrix fitXYMatrix()
114 Matrix matrix = new Matrix(); local
135 Matrix matrix = new Matrix(); local
157 Matrix matrix = new Matrix(); local
174 Matrix matrix = new Matrix(); local
195 Matrix matrix = new Matrix(); local
294 Matrix matrix = mImageView.getImageMatrix(); local
    [all...]
  /external/llvm/include/llvm/CodeGen/PBQP/
Math.h 1 //===------ Math.h - PBQP Vector and Matrix classes -------------*- C++ -*-===//
162 /// \brief PBQP Matrix class
163 class Matrix {
165 friend hash_code hash_value(const Matrix &);
168 /// \brief Construct a PBQP Matrix with the given dimensions.
169 Matrix(unsigned Rows, unsigned Cols) :
173 /// \brief Construct a PBQP Matrix with the given dimensions and initial
175 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal)
180 /// \brief Copy construct a PBQP matrix.
181 Matrix(const Matrix &M
    [all...]
  /external/swiftshader/src/OpenGL/common/
MatrixStack.hpp 18 #include "Renderer/Matrix.hpp"
30 void load(const Matrix &M);
49 const Matrix &current();
55 Matrix *stack;
  /external/tensorflow/tensorflow/core/kernels/
matrix_exponential_op.cc 42 using Matrix =
43 Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>;
44 Matrix tmp = input;
  /frameworks/base/graphics/java/android/graphics/
Camera.java 21 * generate a matrix that can be applied, for instance, on a
25 private Matrix mMatrix;
136 * Computes the matrix corresponding to the current transformation
137 * and copies it to the supplied matrix object.
139 * @param matrix The matrix to copy the current transforms into
141 public void getMatrix(Matrix matrix) {
142 nativeGetMatrix(matrix.native_instance);
146 * Computes the matrix corresponding to the current transformatio
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
VelocityBasedConnectedScore.java 22 import com.android.server.wifi.util.Matrix;
41 mFilter.mH = new Matrix(2, new double[]{1.0, 0.0});
42 mFilter.mR = new Matrix(1, new double[]{1.0});
46 * Set the Kalman filter's state transition matrix F and process noise covariance Q given
52 mFilter.mF = new Matrix(2, new double[]{1.0, dt, 0.0, 1.0});
53 Matrix tG = new Matrix(1, new double[]{0.5 * dt * dt, dt});
55 mFilter.mQ = tG.dotTranspose(tG).dot(new Matrix(2, new double[]{
84 mFilter.mx = new Matrix(1, new double[]{rssi, 0.0});
85 mFilter.mP = new Matrix(2, new double[]{initialVariance, 0.0, 0.0, 0.0})
    [all...]

Completed in 1734 milliseconds

1 2 34 5 6 7 8 91011>>