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

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/Gallery/src/com/android/camera/
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/tensorflow/tensorflow/contrib/rnn/kernels/
lstm_ops.h 81 typename TTypes<float>::Matrix m) {
164 typename TTypes<T>::Matrix xh, typename TTypes<T>::Matrix i,
165 typename TTypes<T>::Matrix cs, typename TTypes<T>::Matrix f,
166 typename TTypes<T>::Matrix o, typename TTypes<T>::Matrix ci,
167 typename TTypes<T>::Matrix co, typename TTypes<T>::Matrix icfo,
168 typename TTypes<T>::Matrix h)
    [all...]
  /cts/tests/pdf/src/android/graphics/pdf/cts/
PdfRendererTransformTest.java 25 import android.graphics.Matrix;
52 private @Nullable Matrix mTransformation;
56 @Nullable Rect clipping, @Nullable Matrix transformation, int renderMode) {
82 Matrix transformation = new Matrix();
  /external/eigen/Eigen/src/SVD/
JacobiSVD_LAPACKE.h 42 JacobiSVD<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW, Dynamic, Dynamic>, ColPivHouseholderQRPreconditioner>& \
43 JacobiSVD<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW, Dynamic, Dynamic>, ColPivHouseholderQRPreconditioner>::compute(const Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW, Dynamic, Dynamic>& matrix, unsigned int computationOptions) \
45 typedef Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW, Dynamic, Dynamic> MatrixType; \
48 allocate(matrix.rows(), matrix.cols(), computationOptions); \
53 lapack_int lda = internal::convert_index<lapack_int>(matrix.outerStride()), ldu, ldvt; \
69 Matrix<LAPACKE_RTYPE, Dynamic, Dynamic> superb; superb.resize(m_diagSize, 1); \
70 MatrixType m_temp; m_temp = matrix; \
    [all...]
  /external/eigen/test/
determinant.cpp 50 // check empty matrix
58 CALL_SUBTEST_1( determinant(Matrix<float, 1, 1>()) );
59 CALL_SUBTEST_2( determinant(Matrix<double, 2, 2>()) );
60 CALL_SUBTEST_3( determinant(Matrix<double, 3, 3>()) );
61 CALL_SUBTEST_4( determinant(Matrix<double, 4, 4>()) );
62 CALL_SUBTEST_5( determinant(Matrix<std::complex<double>, 10, 10>()) );
prec_inverse_4x4.cpp 61 Matrix<Scalar,5,5> mat(s,s);
75 CALL_SUBTEST_1(( inverse_general_4x4<Matrix<float,4,4,RowMajor> >(200000 * g_repeat) ));
77 CALL_SUBTEST_2((inverse_permutation_4x4<Matrix<double,4,4,RowMajor> >()));
78 CALL_SUBTEST_2(( inverse_general_4x4<Matrix<double,4,4,ColMajor> >(200000 * g_repeat) ));
79 CALL_SUBTEST_2(( inverse_general_4x4<Matrix<double,4,4,RowMajor> >(200000 * g_repeat) ));
geo_homogeneous.cpp 19 typedef Matrix<Scalar,Size,Size> MatrixType;
20 typedef Matrix<Scalar,Size,1, ColMajor> VectorType;
22 typedef Matrix<Scalar,Size+1,Size> HMatrixType;
23 typedef Matrix<Scalar,Size+1,1> HVectorType;
25 typedef Matrix<Scalar,Size,Size+1> T1MatrixType;
26 typedef Matrix<Scalar,Size+1,Size+1> T2MatrixType;
27 typedef Matrix<Scalar,Size+1,Size> T3MatrixType;
79 Matrix<Scalar, Size, Dynamic> pts;
80 Matrix<Scalar, Size+1, Dynamic> pts1, pts2;
107 (Matrix<Scalar, Size+1, Dynamic>(t2 * pts1).colwise().hnormalized()) )
    [all...]
  /external/eigen/unsupported/Eigen/src/NonLinearOptimization/
fdjac1.h 8 Matrix< Scalar, Dynamic, 1 > &x,
9 Matrix< Scalar, Dynamic, 1 > &fvec,
10 Matrix< Scalar, Dynamic, Dynamic > &fjac,
31 Matrix< Scalar, Dynamic, 1 > wa1(n);
32 Matrix< Scalar, Dynamic, 1 > wa2(n);
lmpar.h 7 Matrix< Scalar, Dynamic, Dynamic > &r,
9 const Matrix< Scalar, Dynamic, 1 > &diag,
10 const Matrix< Scalar, Dynamic, 1 > &qtb,
13 Matrix< Scalar, Dynamic, 1 > &x)
36 Matrix< Scalar, Dynamic, 1 > wa1, wa2;
116 Matrix< Scalar, Dynamic, 1 > sdiag(n);
165 const ColPivHouseholderQR<Matrix< Scalar, Dynamic, Dynamic> > &qr,
166 const Matrix< Scalar, Dynamic, 1 > &diag,
167 const Matrix< Scalar, Dynamic, 1 > &qtb,
170 Matrix< Scalar, Dynamic, 1 > &x
    [all...]
  /packages/apps/Camera2/src/com/android/camera/captureintent/
PreviewTransformCalculator.java 23 import android.graphics.Matrix;
37 * Build a matrix which can be used when calling setTransform() on a
43 * @return The matrix to transform TextureView.
45 public Matrix toTransformMatrix(Size previewViewSize, Size previewStreamSize) {
57 Matrix transformMatrix = new Matrix();
72 previewViewRect, centeredEffectivePreviewRect, Matrix.ScaleToFit.FILL);
  /packages/apps/Dialer/java/com/android/incallui/videosurface/impl/
VideoScale.java 19 import android.graphics.Matrix;
77 Matrix transform = new Matrix();
135 Matrix transform = new Matrix();
  /cts/tests/openglperf2/jni/reference/scene/flocking/
FlockingScene.cpp 26 #include <graphics/Matrix.h>
71 Matrix* FlockingScene::setUpModelMatrix() {
72 return new Matrix();
75 Matrix* FlockingScene::setUpViewMatrix() {
91 // Set the view matrix.
92 return Matrix::newLookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ);
95 Matrix* FlockingScene::setUpProjectionMatrix(float width, float height) {
96 // Create a new perspective projection matrix. The height will stay the same
109 return Matrix::newFrustum(left, right, bottom, top, near, far);
146 Matrix* transformMatrix = Matrix::newScale(MAIN_SCALE * mDisplayRatio, MAIN_SCALE, 0.0f)
    [all...]
  /external/eigen/unsupported/Eigen/src/LevenbergMarquardt/
LMqrsolv.h 24 Matrix<Scalar,Rows,Cols> &s,
26 const Matrix<Scalar,Dynamic,1> &diag,
27 const Matrix<Scalar,Dynamic,1> &qtb,
28 Matrix<Scalar,Dynamic,1> &x,
29 Matrix<Scalar,Dynamic,1> &sdiag)
35 Matrix<Scalar,Dynamic,1> wa(n);
49 /* eliminate the diagonal matrix d using a givens rotation. */
105 const Matrix<Scalar,Dynamic,1> &diag,
106 const Matrix<Scalar,Dynamic,1> &qtb,
107 Matrix<Scalar,Dynamic,1> &x
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
PluralRanges.java 32 private Matrix matrix = new Matrix(); field in class:PluralRanges
48 private static final class Matrix implements Comparable<Matrix>, Cloneable {
56 Matrix() {
151 if (!(other instanceof Matrix)) {
154 return 0 == compareTo((Matrix) other);
158 public int compareTo(Matrix o) {
169 public Matrix clone()
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
PluralRanges.java 30 private Matrix matrix = new Matrix(); field in class:PluralRanges
46 private static final class Matrix implements Comparable<Matrix>, Cloneable {
54 Matrix() {
149 if (!(other instanceof Matrix)) {
152 return 0 == compareTo((Matrix) other);
156 public int compareTo(Matrix o) {
167 public Matrix clone()
    [all...]
  /external/tensorflow/tensorflow/core/kernels/
sdca_internal.h 105 // Matrix float variant of the above.
130 // Compute matrix vector product between weights (a matrix) and features
156 // A dense vector which is a row-slice of the underlying matrix.
158 // Returns a row slice from the matrix.
166 // Returns a row slice as a 1 * F matrix, where F is the number of features.
199 FeatureWeightsDenseStorage(const TTypes<const float>::Matrix nominals,
200 TTypes<float>::Matrix deltas)
210 // Nominals here are the original weight matrix.
211 TTypes<const float>::Matrix nominals() const { return nominals_;
    [all...]
  /frameworks/base/core/java/android/app/
SharedElementCallback.java 22 import android.graphics.Matrix;
47 private Matrix mTempMatrix;
164 * @param viewToGlobalMatrix A matrix containing a transform from the view to the screen
173 public Parcelable onCaptureSharedElementSnapshot(View sharedElement, Matrix viewToGlobalMatrix,
191 if (imageView.getScaleType() == ScaleType.MATRIX) {
192 Matrix matrix = imageView.getImageMatrix(); local
194 matrix.getValues(values);
202 mTempMatrix = new Matrix(viewToGlobalMatrix);
212 * {@link #onCaptureSharedElementSnapshot(android.view.View, android.graphics.Matrix,
246 Matrix matrix = new Matrix(); local
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ShadersActivity.java 27 import android.graphics.Matrix;
55 private Matrix mMtx1;
56 private Matrix mMtx2;
57 private Matrix mMtx3;
73 mMtx1 = new Matrix();
80 mMtx2 = new Matrix();
86 mMtx3 = new Matrix();
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageRedEye.java 22 import android.graphics.Matrix;
74 Matrix originalNoRotateToScreen = getImageToScreenMatrix(false);
75 Matrix originalToScreen = getImageToScreenMatrix(true);
76 Matrix invert = new Matrix();
109 protected void drawPoint(FilterPoint point, Canvas canvas, Matrix originalToScreen,
110 Matrix originalRotateToScreen, Paint paint) {
  /frameworks/base/core/java/android/transition/
TransitionUtils.java 24 import android.graphics.Matrix;
90 Matrix matrix = new Matrix(); local
91 matrix.setTranslate(-parent.getScrollX(), -parent.getScrollY());
92 view.transformMatrixToGlobal(matrix);
93 sceneRoot.transformMatrixToLocal(matrix);
95 matrix.mapRect(bounds);
103 Bitmap bitmap = createViewBitmap(view, matrix, bounds, sceneRoot);
146 * Creates a Bitmap of the given view, using the Matrix matrix to transform to the loca
    [all...]
  /frameworks/support/transition/src/main/java/androidx/transition/
TransitionUtils.java 24 import android.graphics.Matrix;
51 Matrix matrix = new Matrix(); local
52 matrix.setTranslate(-parent.getScrollX(), -parent.getScrollY());
53 ViewUtils.transformMatrixToGlobal(view, matrix);
54 ViewUtils.transformMatrixToLocal(sceneRoot, matrix);
56 matrix.mapRect(bounds);
64 Bitmap bitmap = createViewBitmap(view, matrix, bounds, sceneRoot);
76 * Creates a Bitmap of the given view, using the Matrix matrix to transform to the loca
    [all...]
  /packages/apps/Camera2/src/com/android/camera/ui/
ZoomView.java 23 import android.graphics.Matrix;
65 // Calculate the rotation matrix to apply orientation on the original image
83 Matrix rotationMatrix = new Matrix();
86 // Set the translation of the matrix so that after rotation, the top left
99 Matrix mapping = new Matrix();
100 mapping.setRectToRect(endRect, fullResRect, Matrix.ScaleToFit.CENTER);
107 Matrix invertRotation = new Matrix();
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
CropMath.java 20 import android.graphics.Matrix;
141 Matrix m = new Matrix();
144 Matrix m0 = new Matrix();
219 Matrix m = new Matrix();
220 m.setRectToRect(photoBounds, displayBounds, Matrix.ScaleToFit.FILL);
252 Matrix m = new Matrix();
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
MatrixTest.java 26 import android.graphics.Matrix;
27 import android.graphics.Matrix.ScaleToFit;
39 private Matrix mMatrix;
44 mMatrix = new Matrix();
50 assertTrue(new Matrix().isIdentity());
51 assertTrue(new Matrix(mMatrix).isIdentity());
72 // translate/scale/rotateZ don't affect whether matrix is affine
89 Matrix matrix = new Matrix(); local
100 Matrix matrix = new Matrix(); local
241 Matrix matrix = new Matrix(); local
296 Matrix matrix = new Matrix(); local
339 Matrix matrix = new Matrix(); local
503 Matrix matrix = new Matrix(); local
    [all...]
  /cts/tests/tests/view/src/android/view/animation/cts/
TransformationTest.java 24 import android.graphics.Matrix;
54 Matrix expectedMatrix = new Matrix();
62 expectedMatrix = new Matrix();
150 final Matrix expected = new Matrix();

Completed in 2446 milliseconds

1 2 3 4 5 6 7 8 91011>>