/frameworks/base/services/java/com/android/server/wm/ |
D | BlackFrame.java | 21 import android.graphics.Matrix; 69 void setMatrix(Matrix matrix) { in setMatrix() 73 surface.setPosition(mTmpFloats[Matrix.MTRANS_X], in setMatrix() 74 mTmpFloats[Matrix.MTRANS_Y]); in setMatrix() 76 mTmpFloats[Matrix.MSCALE_X], mTmpFloats[Matrix.MSKEW_Y], in setMatrix() 77 mTmpFloats[Matrix.MSKEW_X], mTmpFloats[Matrix.MSCALE_Y]); in setMatrix() 80 + mTmpFloats[Matrix.MTRANS_X] + "," in setMatrix() 81 + mTmpFloats[Matrix.MTRANS_Y] + ") matrix=[" in setMatrix() 82 + mTmpFloats[Matrix.MSCALE_X] + "," in setMatrix() 83 + mTmpFloats[Matrix.MSCALE_Y] + "][" in setMatrix() [all …]
|
D | AppWindowAnimator.java | 5 import android.graphics.Matrix; 161 "thumbnail", "POS " + tmpFloats[Matrix.MTRANS_X] in stepThumbnailAnimation() 162 + ", " + tmpFloats[Matrix.MTRANS_Y], null); in stepThumbnailAnimation() 163 thumbnail.setPosition(tmpFloats[Matrix.MTRANS_X], tmpFloats[Matrix.MTRANS_Y]); in stepThumbnailAnimation() 167 + " matrix=[" + tmpFloats[Matrix.MSCALE_X] in stepThumbnailAnimation() 168 + "," + tmpFloats[Matrix.MSKEW_Y] in stepThumbnailAnimation() 169 + "][" + tmpFloats[Matrix.MSKEW_X] in stepThumbnailAnimation() 170 + "," + tmpFloats[Matrix.MSCALE_Y] + "]", null); in stepThumbnailAnimation() 176 thumbnail.setMatrix(tmpFloats[Matrix.MSCALE_X], tmpFloats[Matrix.MSKEW_Y], in stepThumbnailAnimation() 177 tmpFloats[Matrix.MSKEW_X], tmpFloats[Matrix.MSCALE_Y]); in stepThumbnailAnimation()
|
D | DisplayMagnifier.java | 25 import android.graphics.Matrix; 254 private final Matrix mTempMatrix = new Matrix(); 320 Matrix matrix = mTempMatrix; in recomputeBoundsLocked() 395 private void populateTransformationMatrix(WindowState windowState, Matrix outMatrix) { in populateTransformationMatrix() 396 mTempFloats[Matrix.MSCALE_X] = windowState.mWinAnimator.mDsDx; in populateTransformationMatrix() 397 mTempFloats[Matrix.MSKEW_Y] = windowState.mWinAnimator.mDtDx; in populateTransformationMatrix() 398 mTempFloats[Matrix.MSKEW_X] = windowState.mWinAnimator.mDsDy; in populateTransformationMatrix() 399 mTempFloats[Matrix.MSCALE_Y] = windowState.mWinAnimator.mDtDy; in populateTransformationMatrix() 400 mTempFloats[Matrix.MTRANS_X] = windowState.mShownFrame.left; in populateTransformationMatrix() 401 mTempFloats[Matrix.MTRANS_Y] = windowState.mShownFrame.top; in populateTransformationMatrix() [all …]
|
/frameworks/base/tools/layoutlib/bridge/tests/src/android/graphics/ |
D | Matrix_DelegateTest.java | 37 Matrix m1 = new Matrix(); in testIdentity() 46 Matrix m1 = new Matrix(); in testCopyConstructor() 47 Matrix m2 = new Matrix(m1); in testCopyConstructor()
|
/frameworks/base/core/java/android/view/ |
D | DisplayList.java | 19 import android.graphics.Matrix; 314 public abstract void setMatrix(Matrix matrix); in setMatrix() 325 public Matrix getMatrix() { in getMatrix() 326 return getMatrix(new Matrix()); in getMatrix() 340 public abstract Matrix getMatrix(Matrix matrix); in getMatrix() 352 public abstract void setAnimationMatrix(Matrix matrix); in setAnimationMatrix()
|
D | Surface.java | 21 import android.graphics.Matrix; 81 private Matrix mCompatibleMatrix; 291 mCompatibleMatrix = new Matrix(); in setCompatibilityTranslator() 470 private Matrix mOrigMatrix = null; 473 public void setMatrix(Matrix matrix) { in setMatrix() 479 Matrix m = new Matrix(mCompatibleMatrix); in setMatrix() 487 public void getMatrix(Matrix m) { in getMatrix() 490 mOrigMatrix = new Matrix(); in getMatrix()
|
D | TextureView.java | 22 import android.graphics.Matrix; 115 private final Matrix mMatrix = new Matrix(); 478 public void setTransform(Matrix transform) { in setTransform() 495 public Matrix getTransform(Matrix transform) { in getTransform() 497 transform = new Matrix(); in getTransform()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | 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(); in GradientsView() 58 mMatrix2 = new Matrix(); in GradientsView() 62 mMatrix3 = new Matrix(); in GradientsView()
|
D | MoreShadersActivity.java | 30 import android.graphics.Matrix; 60 private final Matrix mMtx1; 73 Matrix m2 = new Matrix(); in ShadersView() 79 Matrix m3 = new Matrix(); in ShadersView() 85 Matrix m4 = new Matrix(); in ShadersView() 94 mMtx1 = new Matrix(); in ShadersView()
|
D | Transform3dActivity.java | 25 import android.graphics.Matrix; 41 private Matrix mMatrix; 48 mMatrix = new Matrix(); in Transform3dView() 61 final Matrix matrix = mMatrix; in onDraw() 78 Matrix matrix) { in drawBitmap() 87 Matrix matrix, float angle) { in rotate()
|
D | ShadersActivity.java | 27 import android.graphics.Matrix; 55 private Matrix mMtx1; 56 private Matrix mMtx2; 57 private Matrix mMtx3; 73 mMtx1 = new Matrix(); in ShadersView() 80 mMtx2 = new Matrix(); in ShadersView() 86 mMtx3 = new Matrix(); in ShadersView()
|
D | AdvancedBlendActivity.java | 28 import android.graphics.Matrix; 71 Matrix m2 = new Matrix(); in ShadersView() 77 Matrix m3 = new Matrix(); in ShadersView()
|
D | Bitmaps3dActivity.java | 24 import android.graphics.Matrix; 46 private Matrix mMatrix; 54 mMatrix = new Matrix(); in BitmapsView()
|
D | AssetsAtlasActivity.java | 23 import android.graphics.Matrix; 53 final Matrix matrix = new Matrix(); in onDraw()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Shader.java | 37 private Matrix mLocalMatrix; 66 public boolean getLocalMatrix(Matrix localM) { in getLocalMatrix() 79 public void setLocalMatrix(Matrix localM) { in setLocalMatrix() 107 final Matrix lm = new Matrix(); in copyLocalMatrix()
|
D | Matrix.java | 25 public class Matrix { class 38 public static Matrix IDENTITY_MATRIX = new Matrix() { 44 public void set(Matrix src) { 99 public boolean setConcat(Matrix a, Matrix b) { 147 public boolean preConcat(Matrix other) { 195 public boolean postConcat(Matrix other) { 227 public Matrix() { in Matrix() method in Matrix 235 public Matrix(Matrix src) { in Matrix() method in Matrix 260 public void set(Matrix src) { in set() 273 if (!(obj instanceof Matrix)) return false; in equals() [all …]
|
D | Camera.java | 25 private Matrix mMatrix; 141 public void getMatrix(Matrix matrix) { in getMatrix() 153 if (mMatrix == null) mMatrix = new Matrix(); in applyToCanvas()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | ResourceModifiers.java | 27 import android.graphics.Matrix; 42 private final Matrix mMtx1; 43 private final Matrix mMtx2; 44 private final Matrix mMtx3; 68 mMtx1 = new Matrix(); in ResourceModifiers() 75 mMtx2 = new Matrix(); in ResourceModifiers() 81 mMtx3 = new Matrix(); in ResourceModifiers()
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLU.java | 77 Matrix.setLookAtM(scratch, 0, eyeX, eyeY, eyeZ, centerX, centerY, centerZ, in gluLookAt() 155 Matrix.multiplyMM(scratch, M_OFFSET, project, projectOffset, in gluProject() 163 Matrix.multiplyMV(scratch, V2_OFFSET, in gluProject() 221 Matrix.multiplyMM(scratch, PM_OFFSET, project, projectOffset, in gluUnProject() 224 if (!Matrix.invertM(scratch, INVPM_OFFSET, scratch, PM_OFFSET)) { in gluUnProject() 237 Matrix.multiplyMV(obj, objOffset, scratch, INVPM_OFFSET, in gluUnProject()
|
/frameworks/base/core/java/android/view/animation/ |
D | Transformation.java | 19 import android.graphics.Matrix; 46 protected Matrix mMatrix; 64 mMatrix = new Matrix(); in clear() 128 public Matrix getMatrix() { in getMatrix()
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
D | MyGLSurfaceView.java | 34 import android.opengl.Matrix; 90 Matrix.setIdentityM(mSTMatrix, 0); in MyRenderer() 91 Matrix.setIdentityM(mMMatrix, 0); in MyRenderer() 92 Matrix.rotateM(mMMatrix, 0, 20, 0, 1, 0); in MyRenderer() 128 Matrix.multiplyMM(mMVPMatrix, 0, mVMatrix, 0, mMMatrix, 0); in onDrawFrame() 129 Matrix.multiplyMM(mMVPMatrix, 0, mProjMatrix, 0, mMVPMatrix, 0); in onDrawFrame() 143 Matrix.frustumM(mProjMatrix, 0, -mRatio, mRatio, -1, 1, 3, 7); in onSurfaceChanged() 219 Matrix.setLookAtM(mVMatrix, 0, 0, 0, 4f, 0f, 0f, 0f, 0f, 1.0f, 0.0f); in onSurfaceCreated()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | WallpaperCropActivity.java | 32 import android.graphics.Matrix; 354 Matrix rotateMatrix = new Matrix(); in cropImageAndSetWallpaper() 575 Matrix rotateMatrix = new Matrix(); 576 Matrix inverseRotateMatrix = new Matrix(); 714 Matrix m = new Matrix(); 716 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL); 718 Matrix m1 = new Matrix(); 720 Matrix m2 = new Matrix(); 722 Matrix m3 = new Matrix(); 724 Matrix m4 = new Matrix(); [all …]
|
/frameworks/base/core/java/android/gesture/ |
D | OrientedBoundingBox.java | 19 import android.graphics.Matrix; 60 Matrix matrix = new Matrix(); in toPath()
|
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
D | GL2CameraEye.java | 37 import android.opengl.Matrix; 146 Matrix.setIdentityM(mSTMatrix, 0); in CamRenderer() 147 Matrix.setIdentityM(mMMatrix, 0); in CamRenderer() 221 Matrix.multiplyMM(mMVPMatrix, 0, mVMatrix, 0, mMMatrix, 0); in onDrawFrame() 222 Matrix.multiplyMM(mMVPMatrix, 0, mProjMatrix, 0, mMVPMatrix, 0); in onDrawFrame() 237 Matrix.frustumM(mProjMatrix, 0, -mRatio, mRatio, -1, 1, 3, 7); in onSurfaceChanged() 322 Matrix.setLookAtM(mVMatrix, 0, 0, 0, 5f, 0f, 0f, 0f, 0f, 1.0f, 0.0f); in onSurfaceCreated() 376 Matrix.setIdentityM(mMMatrix, 0); in doPhysics() 377 Matrix.translateM(mMMatrix, 0, mPos[0], mPos[1], mPos[2]); in doPhysics()
|
/frameworks/base/core/java/android/widget/ |
D | ImageView.java | 26 import android.graphics.Matrix; 68 private Matrix mMatrix; 88 private Matrix mDrawMatrix = null; 174 mMatrix = new Matrix(); in initImageView() 572 public Matrix getImageMatrix() { in getImageMatrix() 574 return new Matrix(Matrix.IDENTITY_MATRIX); in getImageMatrix() 579 public void setImageMatrix(Matrix matrix) { in setImageMatrix() 747 private static final Matrix.ScaleToFit[] sS2FArray = { 748 Matrix.ScaleToFit.FILL, 749 Matrix.ScaleToFit.START, [all …]
|