/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
TransformTestActivity.java | 22 import android.graphics.Matrix; 69 private Matrix mMatrix; 127 mMatrix = new Matrix();
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
CircularBitmapDrawable.java | 25 import android.graphics.Matrix; 43 private final Matrix mMatrix = new Matrix();
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
MediaStoreSaver.java | 27 import android.graphics.Matrix; 120 // create the matrix to scale it 121 Matrix matrix = new Matrix(); local 126 matrix.setScale(scaleX, scaleY); 130 source.getHeight(), matrix,
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
MediaStoreSaver.java | 27 import android.graphics.Matrix; 120 // create the matrix to scale it 121 Matrix matrix = new Matrix(); local 126 matrix.setScale(scaleX, scaleY); 130 source.getHeight(), matrix,
|
/packages/apps/Camera2/src/com/android/camera/data/ |
FilmstripItemUtils.java | 21 import android.graphics.Matrix; 148 Matrix m = new Matrix();
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
FaceView.java | 22 import android.graphics.Matrix; 48 private Matrix mMatrix = new Matrix(); 159 // Prepare the matrix. 167 // Focus indicator is directional. Rotate the matrix and the canvas
|
/packages/apps/Gallery2/src/com/android/photos/shims/ |
BitmapJobDrawable.java | 22 import android.graphics.Matrix; 42 private Matrix mDrawMatrix = new Matrix(); 114 // Calculates a matrix similar to ScaleType.CENTER_CROP
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
FolderAdaptiveIcon.java | 23 import android.graphics.Matrix; 126 Matrix m = new Matrix();
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
FaceView.java | 24 import android.graphics.Matrix; 43 private Matrix mMatrix = new Matrix(); 123 // Prepare the matrix. 126 // Focus indicator is directional. Rotate the matrix and the canvas
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
CheckableContactFlipDrawable.java | 25 import android.graphics.Matrix; 145 private static final Matrix sMatrix = new Matrix();
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
BitmapUtil.java | 22 import android.graphics.Matrix; 147 final Matrix m = new Matrix();
|
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 22 import android.opengl.Matrix; 99 // Projection matrix 172 Matrix.setIdentityM(mTempTextureMatrix, 0); 173 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex); 242 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex); 243 Matrix.orthoM(mProjectionMatrix, 0, 0, width, 0, height, -1, 1); 244 Matrix.translateM(mMatrices, mCurrentMatrixIndex, 0, height, 0); 245 Matrix.scaleM(mMatrices, mCurrentMatrixIndex, 1, -1, 1); 257 // (1) we knows z = 0, (2) we inline the Matrix.translateM call, 275 Matrix.setRotateM(temp, 0, angle, x, y, z) 276 float[] matrix = mMatrices; local [all...] |
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/ |
LevenbergMarquardt.h | 49 typedef Matrix<Scalar,InputsAtCompileTime,1> InputType; 50 typedef Matrix<Scalar,ValuesAtCompileTime,1> ValueType; 51 typedef Matrix<Scalar,ValuesAtCompileTime,InputsAtCompileTime> JacobianType; 73 typedef Matrix<Scalar,Dynamic,1> InputType; 74 typedef Matrix<Scalar,Dynamic,1> ValueType; 119 typedef Matrix<Scalar,Dynamic,1> FVectorType; 221 /** \returns a reference to the matrix where the current Jacobian matrix is stored 225 /** \returns a reference to the triangular matrix R from the QR of the jacobian matrix [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
concat_lib_gpu_impl.cu.cc | 119 typename TTypes<T, 2>::Matrix* output) { 141 typename TTypes<T, 2>::Matrix* output) { 178 typename TTypes<T, 2>::Matrix* output); 185 typename TTypes<T, 2>::Matrix* output); 192 int split_size, typename TTypes<T, 2>::Matrix* output); 199 int split_size, typename TTypes<T, 2>::Matrix* output);
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/ |
DetectorActivity.java | 23 import android.graphics.Matrix; 113 private Matrix frameToCropTransform; 114 private Matrix cropToFrameTransform; 185 cropToFrameTransform = new Matrix(); 215 final Matrix matrix = new Matrix(); 217 matrix.postScale(scaleFactor, scaleFactor); 218 matrix.postTranslate( 221 canvas.drawBitmap(copy, matrix, new Paint()) [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
Quad.java | 20 import android.graphics.Matrix; 119 * The transform is applied by multiplying each point (x, y, 1) by the matrix. 122 * @param matrix the transformation matrix 123 * @return the Quad representing the source rectangle transformed by the matrix 125 public static Quad fromTransformedRect(RectF rect, Matrix matrix) { 126 return Quad.fromRect(rect).transformed(matrix); 130 * Returns the transformation matrix to transform the source Quad to the target Quad. 134 * @return the transformation matrix to map source to target [all...] |
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/ |
FocusOverlayManager.java | 19 import android.graphics.Matrix; 70 private Matrix matrix; field in class:FocusOverlayManager 114 matrix = new Matrix(); 120 initialized = (matrix != null); 154 Matrix matrix = new Matrix(); local 155 prepareMatrix(matrix, mirror, previewWidth, previewHeight) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageDraw.java | 11 import android.graphics.Matrix; 49 private Matrix mRotateToScreen = new Matrix(); 50 private Matrix mToOrig; 226 Matrix m = new Matrix();
|
/cts/tests/tests/view/src/android/view/cts/ |
TextureViewCameraActivity.java | 21 import android.graphics.Matrix; 111 Matrix transformMatrix = mTextureView.getTransform(null);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Patterns.java | 79 Matrix m = new Matrix();
|
/external/eigen/Eigen/src/Householder/ |
BlockHouseholder.h | 83 Matrix<typename MatrixType::Scalar, TFactorSize, TFactorSize, RowMajor> T(nbVecs,nbVecs); 90 Matrix<typename MatrixType::Scalar,VectorsType::ColsAtCompileTime,MatrixType::ColsAtCompileTime,
|
/external/eigen/bench/btl/libs/tvmet/ |
tvmet_interface.hh | 25 #include <tvmet/Matrix.h> 42 typedef Matrix<real,SIZE,SIZE> gene_matrix;
|
/external/eigen/bench/spbench/ |
sp_solver.cpp | 24 typedef Matrix<double, Dynamic, Dynamic> DenseMatrix; 25 typedef Matrix<double, Dynamic, 1> DenseRhs; 36 /* Fill the matrix with sparse matrix stored in Matrix-Market coordinate column-oriented format */ 37 if (argc < 2) assert(false && "please, give the matrix market file "); 42 cout << "End charging matrix " << endl; 47 if (isvector) { cout << "The provided file is not a matrix file\n"; return -1;} 71 cout<< "Time to load the matrix " << timer.value() <<endl; 93 cout<< "Size of Input Matrix "<< b.size()<<"\n\n" [all...] |
/external/eigen/test/ |
exceptions.cpp | 94 typedef Eigen::Matrix<ScalarWithExceptions,Dynamic,1> VectorType; 95 typedef Eigen::Matrix<ScalarWithExceptions,Dynamic,Dynamic> MatrixType;
|
product_extra.cpp | 16 typedef Matrix<Scalar, 1, Dynamic> RowVectorType; 17 typedef Matrix<Scalar, Dynamic, 1> ColVectorType; 18 typedef Matrix<Scalar, Dynamic, Dynamic, 54 // test all possible conjugate combinations for the four matrix-vector product cases: 87 // test the vector-matrix product with non aligned starts 104 VERIFY_IS_APPROX(a1.matrix(),m1*vc2); 106 VERIFY_IS_APPROX(a2.matrix(),s1*m1*vc2); 108 VERIFY_IS_APPROX(a3.matrix(),v1*m1); 110 VERIFY_IS_APPROX(a4.matrix(),m1*m2.adjoint()); 150 Matrix<Scalar,PacketSize,0> a [all...] |