/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
GLRoot.java | 20 import android.graphics.Matrix; 47 public Matrix getCompensationMatrix();
|
/frameworks/base/core/java/android/transition/ |
ChangeTransform.java | 25 import android.graphics.Matrix; 48 private static final String PROPNAME_MATRIX = "android:changeTransform:matrix"; 64 * This property sets the animation matrix properties that are not translations. 80 * This property sets the translation animation matrix properties. 97 private Matrix mTempMatrix = new Matrix(); 194 Matrix matrix = view.getMatrix(); local 195 if (matrix == null || matrix.isIdentity()) [all...] |
/external/eigen/bench/ |
benchCholesky.cpp | 44 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> SquareMatrixType; 129 benchLLT(Matrix<Scalar,Dynamic,Dynamic>(dynsizes[i],dynsizes[i])); 131 benchLLT(Matrix<Scalar,2,2>()); 132 benchLLT(Matrix<Scalar,3,3>()); 133 benchLLT(Matrix<Scalar,4,4>()); 134 benchLLT(Matrix<Scalar,5,5>()); 135 benchLLT(Matrix<Scalar,6,6>()); 136 benchLLT(Matrix<Scalar,7,7>()); 137 benchLLT(Matrix<Scalar,8,8>()); 138 benchLLT(Matrix<Scalar,12,12>()) [all...] |
bench_sum.cpp | 8 typedef Matrix<SCALAR,Eigen::Dynamic,1> Vec;
|
/external/eigen/test/ |
unalignedassert.cpp | 26 typedef Matrix<float, 6,1> Vector6f; 27 typedef Matrix<float, 8,1> Vector8f; 28 typedef Matrix<float, 12,1> Vector12f; 30 typedef Matrix<double, 5,1> Vector5d; 31 typedef Matrix<double, 6,1> Vector6d; 32 typedef Matrix<double, 7,1> Vector7d; 33 typedef Matrix<double, 8,1> Vector8d; 34 typedef Matrix<double, 9,1> Vector9d; 35 typedef Matrix<double,10,1> Vector10d; 36 typedef Matrix<double,12,1> Vector12d [all...] |
integer_types.cpp | 59 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; 71 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> SquareMatrixType; 128 // check matrix product. 139 CALL_SUBTEST_1( integer_type_tests(Matrix<unsigned int, 1, 1>()) ); 140 CALL_SUBTEST_1( integer_type_tests(Matrix<unsigned long, 3, 4>()) ); 142 CALL_SUBTEST_2( integer_type_tests(Matrix<long, 2, 2>()) ); 143 CALL_SUBTEST_2( signed_integer_type_tests(Matrix<long, 2, 2>()) ); 145 CALL_SUBTEST_3( integer_type_tests(Matrix<char, 2, Dynamic>(2, 10)) ); 146 CALL_SUBTEST_3( signed_integer_type_tests(Matrix<signed char, 2, Dynamic>(2, 10)) ); 148 CALL_SUBTEST_4( integer_type_tests(Matrix<unsigned char, 3, 3>()) ) [all...] |
sizeof.cpp | 23 CALL_SUBTEST(verifySizeOf(Matrix<float, 1, 1>()) ); 38 CALL_SUBTEST(verifySizeOf(Matrix<double, 4, 2>()) ); 39 CALL_SUBTEST(verifySizeOf(Matrix<bool, 7, 5>()) ); 43 CALL_SUBTEST(verifySizeOf(Matrix<float, 100, 100>()) );
|
/external/eigen/blas/ |
common.h | 94 typedef Matrix<Scalar,Dynamic,Dynamic,ColMajor> PlainMatrixType; 95 typedef Map<Matrix<Scalar,Dynamic,Dynamic,ColMajor>, 0, OuterStride<> > MatrixType; 96 typedef Map<const Matrix<Scalar,Dynamic,Dynamic,ColMajor>, 0, OuterStride<> > ConstMatrixType; 97 typedef Map<Matrix<Scalar,Dynamic,1>, 0, InnerStride<Dynamic> > StridedVectorType; 98 typedef Map<Matrix<Scalar,Dynamic,1> > CompactVectorType; 101 Map<Matrix<T,Dynamic,Dynamic,ColMajor>, 0, OuterStride<> > 102 matrix(T* data, int rows, int cols, int stride) function 104 return Map<Matrix<T,Dynamic,Dynamic,ColMajor>, 0, OuterStride<> >(data, rows, cols, OuterStride<>(stride)); 108 Map<const Matrix<T,Dynamic,Dynamic,ColMajor>, 0, OuterStride<> > 109 matrix(const T* data, int rows, int cols, int stride function [all...] |
/external/swiftshader/src/Renderer/ |
VertexProcessor.hpp | 18 #include "Matrix.hpp" 204 void setModelMatrix(const Matrix &M, int i = 0); 205 void setViewMatrix(const Matrix &V); 206 void setBaseMatrix(const Matrix &B); 207 void setProjectionMatrix(const Matrix &P); 248 void setTextureMatrix(int stage, const Matrix &T); 283 const Matrix &getModelTransform(int i); 284 const Matrix &getViewTransform(); 324 void setTransform(const Matrix &M, int i); 325 void setCameraTransform(const Matrix &M, int i) [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
BlackFrame.java | 27 import android.graphics.Matrix; 70 void setMatrix(SurfaceControl.Transaction t, Matrix matrix) { 72 mTmpMatrix.postConcat(matrix); 74 t.setPosition(surface, mTmpFloats[Matrix.MTRANS_X], 75 mTmpFloats[Matrix.MTRANS_Y]); 77 mTmpFloats[Matrix.MSCALE_X], mTmpFloats[Matrix.MSKEW_Y], 78 mTmpFloats[Matrix.MSKEW_X], mTmpFloats[Matrix.MSCALE_Y]) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusmatrix.h | 4 * GDI+ Matrix class 36 class Matrix: public GdiplusBase 47 Matrix(): nativeMatrix(NULL), lastStatus(Ok) 51 Matrix(REAL m11, REAL m12, REAL m21, REAL m22, REAL dx, REAL dy): 58 Matrix(const RectF& rect, const PointF *dstplg): 64 Matrix(const Rect& rect, const Point *dstplg): 70 ~Matrix() 74 Matrix* Clone() const 80 Matrix *result = new Matrix(cloneMatrix, lastStatus) [all...] |
/frameworks/support/transition/src/main/java/androidx/transition/ |
ChangeTransform.java | 25 import android.graphics.Matrix; 50 private static final String PROPNAME_MATRIX = "android:changeTransform:matrix"; 66 * This property sets the animation matrix properties that are not translations. 82 * This property sets the translation animation matrix properties. 104 private Matrix mTempMatrix = new Matrix(); 200 Matrix matrix = view.getMatrix(); local 201 if (matrix == null || matrix.isIdentity()) [all...] |
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/ |
InputStreamProvider.java | 9 import android.graphics.Matrix; 69 Matrix rotateMatrix = new Matrix(); 79 Matrix inverseRotateMatrix = new Matrix(); 190 Matrix m = new Matrix(); 192 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL); 194 Matrix m1 = new Matrix(); [all...] |
/external/eigen/doc/snippets/ |
Tutorial_ReshapeMat2Vec.cpp | 9 Matrix<float,Dynamic,Dynamic,RowMajor> M2(M1);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowMatrix.java | 3 import android.graphics.Matrix; 10 @Implements(Matrix.class) 22 // identity: Matrix{[1.0, 0.0, 0.0][0.0, 1.0, 0.0][0.0, 0.0, 1.0]} 24 // drag down: Matrix{[1.0, 0.0, -1.3872986][0.0, 1.0, 0.37722778][0.0, 0.0, 1.0]} 27 public void __constructor__(Matrix src) { 32 public void set(Matrix src) {
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/models/ |
multiple_additive_trees.h | 41 tensorflow::TTypes<float>::Matrix output_predictions);
|
/external/tensorflow/tensorflow/contrib/rnn/kernels/ |
gru_ops.h | 79 typename TTypes<T>::Matrix r_u_bar, typename TTypes<T>::Matrix r, 80 typename TTypes<T>::Matrix u, typename TTypes<T>::Matrix c, 81 typename TTypes<T>::Matrix h, typename TTypes<T>::Matrix x_h_prev, 82 typename TTypes<T>::Matrix x_h_prevr) { 93 // Creating a bias matrix for adding by broadcasting 'b_ru' 134 typename TTypes<T>::Matrix d_x, typename TTypes<T>::Matrix d_h_prev [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
compare_and_bitpack_op.h | 35 TTypes<uint8>::Matrix output);
|
/frameworks/base/graphics/java/android/graphics/ |
Shader.java | 52 * Current matrix - always set to null if local matrix is identity. 54 private Matrix mLocalMatrix; 79 * Return true if the shader has a non-identity local matrix. 80 * @param localM Set to the local matrix of the shader, if the shader's matrix is non-null. 81 * @return true if the shader has a non-identity local matrix 83 public boolean getLocalMatrix(@NonNull Matrix localM) { 92 * Set the shader's local matrix. Passing null will reset the shader's 93 * matrix to identity. If the matrix has scale value as 0, the drawin [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...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
AdvancedGradientsActivity.java | 22 import android.graphics.Matrix; 43 private final Matrix mMatrix; 44 private final Matrix mMatrix2; 45 private final Matrix mMatrix3; 54 mMatrix = new Matrix(); 58 mMatrix2 = new Matrix(); 62 mMatrix3 = new Matrix();
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
KalmanFilterTest.java | 43 * transformation is just a rotation by a fixed angle, and the output matrix projects oen 52 kf.mF = new Matrix(2, new double[]{ 56 kf.mQ = new Matrix(2, new double[]{ 59 kf.mH = new Matrix(2, new double[]{1.0, 0.0}); 61 kf.mR = new Matrix(1, new double[]{measurementVariance}); 63 kf.mP = new Matrix(2, new double[]{ 66 kf.mx = new Matrix(2, 1); 109 kf.update(new Matrix(1, new double[] {idealSignal(i) + noise[i]}));
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/ |
ConeModelMatrixCalculator.java | 25 import android.opengl.Matrix; 28 * Manages the model matrix of the direction cone. 40 // Calculate the extrinsics based model matrix with current pose data. 43 // Extract the information we need from calculated model matrix. (Just the translation). 45 Matrix.setIdentityM(translationMatrix, 0); 46 Matrix.translateM(translationMatrix, 0, newModelMatrix[MATRIX_4X4_TRANSLATION_X], 56 Matrix.setIdentityM(rotationTransformation, 0); 67 // Apply translation to the look at matrix. 68 Matrix.multiplyMM(mModelMatrix, 0, translationMatrix, 0, rotationTransformation, 0);
|
/frameworks/support/coordinatorlayout/src/main/java/androidx/coordinatorlayout/widget/ |
ViewGroupUtils.java | 21 import android.graphics.Matrix; 35 private static final ThreadLocal<Matrix> sMatrix = new ThreadLocal<>(); 48 Matrix m = sMatrix.get(); 50 m = new Matrix(); 81 private static void offsetDescendantMatrix(ViewParent target, View view, Matrix m) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImagePoint.java | 22 import android.graphics.Matrix; 68 Matrix originalToScreen = getImageToScreenMatrix(false); 69 Matrix originalRotateToScreen = getImageToScreenMatrix(true); 79 FilterPoint candidate, Canvas canvas, Matrix originalToScreen, 80 Matrix originalRotateToScreen, Paint paint);
|