HomeSort by relevance Sort by last modified time
    Searched refs:Matrix (Results 451 - 475 of 946) sorted by null

<<11121314151617181920>>

  /frameworks/base/graphics/java/android/graphics/pdf/
PdfEditor.java 21 import android.graphics.Matrix;
116 * Sets a transformation and clip for a given page. The transformation matrix if
117 * non-null must be affine as per {@link android.graphics.Matrix#isAffine()}. If
124 public void setTransformAndClip(int pageIndex, @Nullable Matrix transform,
130 transform = Matrix.IDENTITY_MATRIX;
306 private void throwIfNotNullAndNotAfine(Matrix matrix) {
307 if (matrix != null && !matrix.isAffine()) {
308 throw new IllegalStateException("Matrix must be afine")
    [all...]
  /frameworks/base/libs/hwui/
Glop.h 20 #include "Matrix.h"
64 // offset the eventual drawing matrix by a tiny amount to
132 struct Matrix {
133 float matrix[16]; member in struct:android::uirenderer::Glop::Fill::Filter::Matrix
135 } matrix; member in union:android::uirenderer::Glop::Fill::Filter
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
Animated3dActivity.java 26 import android.graphics.Matrix;
  /frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
BasicPipeline.java 46 Matrix m = state.mTransform.getMatrix(Transform.VOLUME_SPACE, Transform.SCREEN_SPACE);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
IconView.java 26 import android.graphics.Matrix;
203 Matrix m = new Matrix();
207 new RectF(mBitmapBounds), Matrix.ScaleToFit.CENTER);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageGrad.java 21 import android.graphics.Matrix;
37 Matrix mToScr = new Matrix();
135 Matrix toImg = getScreenToImageMatrix(false);
  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
AvatarRequest.java 22 import android.graphics.Matrix;
146 final Matrix matrix = new Matrix(); local
149 matrix.setRectToRect(source, dest, Matrix.ScaleToFit.FILL);
151 canvas.drawBitmap(defaultPerson, matrix, paint);
  /external/eigen/test/
vectorwiseop.cpp 135 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> ColVectorType;
136 typedef Matrix<Scalar, 1, MatrixType::ColsAtCompileTime> RowVectorType;
137 typedef Matrix<RealScalar, MatrixType::RowsAtCompileTime, 1> RealColVectorType;
138 typedef Matrix<RealScalar, 1, MatrixType::ColsAtCompileTime> RealRowVectorType;
231 Matrix<Scalar,MatrixType::RowsAtCompileTime,MatrixType::RowsAtCompileTime> m1m1 = m1 * m1.transpose();
233 Matrix<Scalar,1,MatrixType::RowsAtCompileTime> tmp(rows);
248 CALL_SUBTEST_5( vectorwiseop_matrix(Matrix<float,4,5>()) );
block.cpp 38 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
39 typedef Matrix<Scalar, 1, MatrixType::ColsAtCompileTime> RowVectorType;
40 typedef Matrix<Scalar, Dynamic, Dynamic> DynamicMatrixType;
41 typedef Matrix<Scalar, Dynamic, 1> DynamicVectorType;
79 Matrix<Scalar,Dynamic,Dynamic> b1(1,1); b1(0,0) = m1(r1,c1);
101 Matrix<Scalar,Dynamic,Dynamic> b = m1.template block<BlockRows,BlockCols>(3,3);
107 Matrix<Scalar,Dynamic,Dynamic> b2 = m1.template block<Dynamic,BlockCols>(3,3,2,5);
258 CALL_SUBTEST_1( block(Matrix<float, 1, 1>()) );
265 CALL_SUBTEST_8( block(Matrix<float,Dynamic,4>(3, 4)) );
269 CALL_SUBTEST_7( data_and_stride(Matrix<int,Dynamic,Dynamic,RowMajor>(internal::random(5,50), internal::random(5,50))) )
    [all...]
geo_hyperplane.cpp 27 typedef Matrix<Scalar, HyperplaneType::AmbientDimAtCompileTime, 1> VectorType;
28 typedef Matrix<Scalar, HyperplaneType::AmbientDimAtCompileTime,
94 typedef Matrix<Scalar,2,1> Vector;
95 typedef Matrix<Scalar,3,1> CoeffsType;
134 typedef Matrix<Scalar,3,1> Vector;
array_for_matrix.cpp 16 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> ColVectorType;
17 typedef Matrix<Scalar, 1, MatrixType::ColsAtCompileTime> RowVectorType;
34 VERIFY_IS_APPROX((m1.array() + s1).matrix(), MatrixType::Constant(rows,cols,s1) + m1);
35 VERIFY_IS_APPROX(((m1*Scalar(2)).array() - s2).matrix(), (m1+m1) - MatrixType::Constant(rows,cols,s2) );
38 VERIFY_IS_APPROX(m3, (m1.array() + s2).matrix());
41 VERIFY_IS_APPROX(m3, (m1.array() - s1).matrix());
65 const Scalar& ref_m1 = m.matrix().array().coeffRef(0);
66 const Scalar& ref_m2 = m.matrix().array().coeffRef(0,0);
67 const Scalar& ref_a1 = m.array().matrix().coeffRef(0);
68 const Scalar& ref_a2 = m.array().matrix().coeffRef(0,0)
    [all...]
eigensolver_selfadjoint.cpp 151 Matrix<RealScalar,Dynamic,Dynamic> T = tridiag.matrixT();
161 // Test computation of eigenvalues from tridiagonal matrix
172 // Test matrix with NaN
239 CALL_SUBTEST_1( selfadjointeigensolver(Matrix<float, 1, 1>()));
240 CALL_SUBTEST_1( selfadjointeigensolver(Matrix<double, 1, 1>()));
252 CALL_SUBTEST_9( selfadjointeigensolver(Matrix<std::complex<double>,Dynamic,Dynamic,RowMajor>(s,s)) );
258 CALL_SUBTEST_6( selfadjointeigensolver(Matrix<double,1,1>()) );
259 CALL_SUBTEST_7( selfadjointeigensolver(Matrix<double,2,2>()) );
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/
BaseRenderer.java 35 import android.opengl.Matrix;
109 // Set the view matrix.
110 Matrix.setLookAtM(mViewMatrix, 0,
114 Matrix.setLookAtM(mOrthogonalViewMatrix, 0,
125 // Create a new perspective projection matrix. The height will stay the same
127 // This project matrix does not take into account the camera intrinsics and should not be
163 Matrix.orthoM(mOrthogonalProjectionMatrix, 0, left, right, bottom, top, near, far);
164 Matrix.frustumM(mFrustrumProjectionMatrix, 0, left, right, bottom, top, near, far);
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
HardwareBitmapTests.java 27 import android.graphics.Matrix;
172 Matrix matrix = new Matrix();
173 matrix.setRotate(90);
186 Matrix matrix = new Matrix();
187 matrix.setRotate(90);
188 Bitmap transformed = Bitmap.createBitmap(hardwareBitmap, 7, 7, 30, 30, matrix, false)
    [all...]
LayerTests.java 27 import android.graphics.Matrix;
432 //set identity matrix
433 Matrix identity = new Matrix();
439 //change matrix and clip to something different
441 Matrix scaledMatrix = new Matrix();
449 //check if identity matrix is restored
462 //set identity matrix
463 Matrix identity = new Matrix()
    [all...]
  /frameworks/base/core/java/android/view/
GhostView.java 19 import android.graphics.Matrix;
60 public void setMatrix(Matrix matrix) {
61 mRenderNode.setAnimationMatrix(matrix);
86 public static void calculateMatrix(View view, ViewGroup host, Matrix matrix) {
88 matrix.reset();
89 parent.transformMatrixToGlobal(matrix);
90 matrix.preTranslate(-parent.getScrollX(), -parent.getScrollY());
91 host.transformMatrixToLocal(matrix);
    [all...]
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
PdfManipulationService.java 24 import android.graphics.Matrix;
124 Matrix matrix = new Matrix(); local
136 matrix.postScale(displayScale, displayScale);
141 matrix.postTranslate(bitmapWidth - srcWidthPts * displayScale, 0);
161 page.render(bitmap, clip, matrix, PdfRenderer.Page.RENDER_MODE_FOR_DISPLAY);
278 Matrix transform = new Matrix();
  /frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
CropView.java 20 import android.graphics.Matrix;
50 Matrix mRotateMatrix;
51 Matrix mInverseRotateMatrix;
66 mRotateMatrix = new Matrix();
67 mInverseRotateMatrix = new Matrix();
  /packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
CropView.java 20 import android.graphics.Matrix;
50 Matrix mRotateMatrix;
51 Matrix mInverseRotateMatrix;
66 mRotateMatrix = new Matrix();
67 mInverseRotateMatrix = new Matrix();
  /external/swiftshader/third_party/LLVM/include/llvm/CodeGen/PBQP/
HeuristicSolver.h 244 const Matrix &eCosts = g.getEdgeCosts(eItr);
303 const Matrix *yxeCosts = flipEdge1 ?
304 new Matrix(g.getEdgeCosts(yxeItr).transpose()) :
307 const Matrix *zxeCosts = flipEdge2 ?
308 new Matrix(g.getEdgeCosts(zxeItr).transpose()) :
315 Matrix delta(yLen, zLen);
343 Matrix &yzeCosts = g.getEdgeCosts(yzeItr);
507 Matrix &edgeCosts = g.getEdgeCosts(eItr);
569 Matrix &edgeCosts = g.getEdgeCosts(eItr);
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
PlanetsRenderer.java 26 import android.opengl.Matrix;
158 Matrix.setRotateM(mMMatrix, 0, angle, 0, 0, 1.0f);
159 Matrix.multiplyMM(mMVPMatrix, 0, mVMatrix, 0, mMMatrix, 0);
160 Matrix.multiplyMM(mMVPMatrix, 0, mProjMatrix, 0, mMVPMatrix, 0);
261 Matrix.frustumM(mProjMatrix, 0, -ratio, ratio, -1, 1, 3, 7);
262 Matrix.setLookAtM(mVMatrix, 0, 0, 3, 3, 0f, 0f, 0f, 0f, 1.0f, 0.0f);
272 // simple shader with MVP matrix and text coord
  /development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
FoldingLayout.java 24 import android.graphics.Matrix;
44 * This layout folds the contents of its child in real time. By applying matrix
70 private Matrix [] mMatrix;
95 private Matrix mShadowGradientMatrix;
259 mShadowGradientMatrix = new Matrix();
268 mMatrix = new Matrix [mNumberOfFolds];
271 mMatrix[x] = new Matrix();
407 /* Computes the transformation matrix for each fold using the values calculated above. */
507 /* Concatenates the canvas with the transformation matrix for the
515 /* The same transformation matrix is used for both the shadow and the imag
    [all...]
  /external/gemmlowp/test/
benchmark.cc 78 // set up the matrix pool
175 typedef Matrix<std::uint8_t, MapOrder::RowMajor> LhsType;
176 typedef Matrix<std::uint8_t, MapOrder::ColMajor> RhsType;
177 typedef Matrix<std::uint8_t, MapOrder::ColMajor> ResultType;
219 typedef Matrix<std::uint8_t, MapOrder::RowMajor> LhsType;
220 typedef Matrix<std::uint8_t, MapOrder::ColMajor> RhsType;
221 typedef Matrix<std::uint8_t, MapOrder::ColMajor> ResultType;
  /frameworks/base/services/core/java/com/android/server/wm/
WindowStateAnimator.java 51 import android.graphics.Matrix;
    [all...]
  /frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
MainActivity.java 24 import android.graphics.Matrix;
49 Matrix mMatrix = new Matrix();
50 Matrix mInverseMatrix = new Matrix();
217 Matrix matrix = mImgView.getImageMatrix(); local

Completed in 1535 milliseconds

<<11121314151617181920>>