/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...] |
/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) {
|
/external/eigen/test/ |
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...] |
geo_eulerangles.cpp | 17 void verify_euler(const Matrix<Scalar,3,1>& ea, int i, int j, int k) 19 typedef Matrix<Scalar,3,3> Matrix3; 20 typedef Matrix<Scalar,3,1> Vector3; 41 template<typename Scalar> void check_all_var(const Matrix<Scalar,3,1>& ea) 61 typedef Matrix<Scalar,3,3> Matrix3; 62 typedef Matrix<Scalar,3,1> Vector3;
|
product_selfadjoint.cpp | 16 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; 17 typedef Matrix<Scalar, 1, MatrixType::RowsAtCompileTime> RowVectorType; 19 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, Dynamic, RowMajor> RhsMatrixType; 67 CALL_SUBTEST_1( product_selfadjoint(Matrix<float, 1, 1>()) ); 68 CALL_SUBTEST_2( product_selfadjoint(Matrix<float, 2, 2>()) ); 84 CALL_SUBTEST_7( product_selfadjoint(Matrix<float,Dynamic,Dynamic,RowMajor>(s,s)) );
|
selfadjoint.cpp | 62 CALL_SUBTEST_1( selfadjoint(Matrix<float, 1, 1>()) ); 63 CALL_SUBTEST_2( selfadjoint(Matrix<float, 2, 2>()) ); 66 CALL_SUBTEST_5( selfadjoint(Matrix<float,Dynamic,Dynamic,RowMajor>(s, s)) );
|
/frameworks/base/core/java/android/transition/ |
TransitionUtils.java | 23 import android.graphics.Matrix; 91 Matrix matrix = new Matrix(); local 92 matrix.setTranslate(-parent.getScrollX(), -parent.getScrollY()); 93 view.transformMatrixToGlobal(matrix); 94 sceneRoot.transformMatrixToLocal(matrix); 96 matrix.mapRect(bounds); 104 Bitmap bitmap = createViewBitmap(view, matrix, bounds, sceneRoot); 149 * 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...] |
RotateLayout.java | 20 import android.graphics.Matrix; 33 private Matrix mMatrix = new Matrix();
|
/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...] |
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
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...] |
/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();
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ImageViewTest.java | 6 import android.graphics.Matrix; 42 imageView.setImageMatrix(new Matrix()); 46 Matrix matrix = new Matrix(); local 47 matrix.setTranslate(15, 20); 48 imageView.setImageMatrix(matrix); 55 Matrix matrix = new Matrix(); local [all...] |
/frameworks/base/opengl/java/android/opengl/ |
GLU.java | 77 Matrix.setLookAtM(scratch, 0, eyeX, eyeY, eyeZ, centerX, centerY, centerZ, 84 * Set up a 2D orthographic projection matrix 98 * Set up a perspective projection matrix 131 * @param model the current modelview matrix 134 * @param project the current projection matrix 136 * matrix data starts. 155 Matrix.multiplyMM(scratch, M_OFFSET, project, projectOffset, 163 Matrix.multiplyMV(scratch, V2_OFFSET, 197 * @param model the current modelview matrix 200 * @param project the current projection matrix [all...] |
/external/eigen/Eigen/src/Eigenvalues/ |
RealSchur_LAPACKE.h | 42 RealSchur<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> >& \ 43 RealSchur<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> >::compute(const EigenBase<InputType>& matrix, bool computeU) \ 45 eigen_assert(matrix.cols() == matrix.rows()); \ 47 lapack_int n = internal::convert_index<lapack_int>(matrix.cols()), sdim, info; \ 54 m_matT = matrix; \ 56 Matrix<EIGTYPE, Dynamic, Dynamic> wr, wi; \
|
/frameworks/support/transition/api21/android/support/transition/ |
GhostViewApi21.java | 19 import android.graphics.Matrix; 44 public GhostViewImpl addGhost(View view, ViewGroup viewGroup, Matrix matrix) { 49 (View) sAddGhostMethod.invoke(null, view, viewGroup, matrix)); 108 ViewGroup.class, Matrix.class);
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
FastScrollThumbDrawable.java | 21 import android.graphics.Matrix; 31 private static final Matrix sMatrix = new Matrix();
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
ChangeImageTransformWithScaledParent.java | 21 import android.graphics.Matrix; 41 private static final String PROPNAME_MATRIX = "android:changeImageTransform:matrix"; 62 Matrix matrix = (Matrix) values.get(PROPNAME_MATRIX); local 63 if (matrix != null && view.getId() == R.id.details_overview_image 73 matrix.postScale(scale, scale, imageView.getWidth() / 2,
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
WallpaperTileInfo.java | 6 import android.graphics.Matrix; 56 Matrix rotateMatrix = new Matrix();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
CursorAnchorInfoCompatWrapper.java | 20 import android.graphics.Matrix; 81 public Matrix getMatrix() { 146 public Matrix getMatrix() {
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
BitmapMesh.java | 43 private final Matrix mMatrix = new Matrix(); 44 private final Matrix mInverse = new Matrix();
|