/development/tools/winscope/src/flickerlib/layers/ |
D | Transform.ts | 17 import { Transform, Matrix } from "../common" 27 function getMatrix(transform, position): Matrix { 35 return new Matrix(transform.dsdx, transform.dtdx, x, transform.dsdy, transform.dtdy, y) 38 function getDefaultTransform(type, x, y): Matrix { 41 return new Matrix(1, 0, x, 0, 1, y) 46 return new Matrix(0, -1, x, 1, 0, y) 51 return new Matrix(-1, 0, x, 0, -1, y) 56 return new Matrix(0, 1, x, -1, 0, y) 61 return new Matrix(1, 0, x, 0, 1, y)
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | ScaleToFit.java | 36 private final Matrix mMatrix = new Matrix(); 39 private static final Matrix.ScaleToFit[] sFits = 40 new Matrix.ScaleToFit[] { 41 Matrix.ScaleToFit.FILL, 42 Matrix.ScaleToFit.START, 43 Matrix.ScaleToFit.CENTER, 44 Matrix.ScaleToFit.END 81 private void drawFit(Canvas canvas, int index, Matrix.ScaleToFit stf) { in drawFit()
|
D | Vertices.java | 40 private final Matrix mMatrix = new Matrix(); 41 private final Matrix mInverse = new Matrix();
|
D | BitmapMesh.java | 43 private final Matrix mMatrix = new Matrix(); 44 private final Matrix mInverse = new Matrix();
|
D | GLES20TriangleRenderer.java | 34 import android.opengl.Matrix; 75 Matrix.setRotateM(mMMatrix, 0, angle, 0, 0, 1.0f); in onDrawFrame() 76 Matrix.multiplyMM(mMVPMatrix, 0, mVMatrix, 0, mMMatrix, 0); in onDrawFrame() 77 Matrix.multiplyMM(mMVPMatrix, 0, mProjMatrix, 0, mMVPMatrix, 0); in onDrawFrame() 89 Matrix.frustumM(mProjMatrix, 0, -ratio, ratio, -1, 1, 3, 7); in onSurfaceChanged() 154 Matrix.setLookAtM(mVMatrix, 0, 0, 0, -5, 0f, 0f, 0f, 0f, 1.0f, 0.0f); in onSurfaceCreated()
|
D | Sweep.java | 36 private Matrix mMatrix = new Matrix();
|
D | PolyToPoly.java | 38 private Matrix mMatrix = new Matrix();
|
D | Patterns.java | 79 Matrix m = new Matrix(); in SampleView()
|
D | Xfermodes.java | 24 import android.graphics.Matrix; 112 Matrix m = new Matrix(); in SampleView()
|
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/ |
D | MyGLRenderer.java | 23 import android.opengl.Matrix; 67 Matrix.setLookAtM(mViewMatrix, 0, 0, 0, -3, 0f, 0f, 0f, 0f, 1.0f, 0.0f); in onDrawFrame() 70 Matrix.multiplyMM(mMVPMatrix, 0, mProjectionMatrix, 0, mViewMatrix, 0); in onDrawFrame() 82 Matrix.setRotateM(mRotationMatrix, 0, mAngle, 0, 0, 1.0f); in onDrawFrame() 87 Matrix.multiplyMM(scratch, 0, mMVPMatrix, 0, mRotationMatrix, 0); in onDrawFrame() 103 Matrix.frustumM(mProjectionMatrix, 0, -ratio, ratio, -1, 1, 3, 7); in onSurfaceChanged()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | MatrixStack.java | 19 import android.opengl.Matrix; 44 Matrix.frustumM(mMatrix, mTop, left, right, bottom, top, near, far); in glFrustumf() 55 Matrix.setIdentityM(mMatrix, mTop); in glLoadIdentity() 80 Matrix.multiplyMM(mMatrix, mTop, mTemp, 0, m, offset); in glMultMatrixf() 104 Matrix.orthoM(mMatrix, mTop, left, right, bottom, top, near, far); in glOrthof() 127 Matrix.setRotateM(mTemp, 0, angle, x, y, z); in glRotatef() 129 Matrix.multiplyMM(mMatrix, mTop, mTemp, MATRIX_SIZE, mTemp, 0); in glRotatef() 137 Matrix.scaleM(mMatrix, mTop, x, y, z); in glScalef() 145 Matrix.translateM(mMatrix, mTop, x, y, z); in glTranslatef()
|
D | Projector.java | 19 import android.opengl.Matrix; 43 Matrix.multiplyMM(mMVP, 0, mGrabber.mProjection, 0, mGrabber.mModelView, 0); in project() 47 Matrix.multiplyMV(mV, 0, mMVP, 0, obj, objOffset); in project()
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | OpenGLWatchFaceService.java | 24 import android.opengl.Matrix; 198 Matrix.setRotateM(mModelMatrices[i], 0, i, 0, 0, 1); in onGlContextCreated() 208 Matrix.setLookAtM(mViewMatrices[i], in onGlContextCreated() 215 Matrix.setLookAtM(mAmbientViewMatrix, in onGlContextCreated() 231 Matrix.frustumM(mProjectionMatrix, in onGlSurfaceCreated() 242 Matrix.multiplyMM(mVpMatrices[i], 0, mProjectionMatrix, 0, mViewMatrices[i], 0); in onGlSurfaceCreated() 245 Matrix.multiplyMM(mAmbientVpMatrix, 0, mProjectionMatrix, 0, mAmbientViewMatrix, 0); in onGlSurfaceCreated() 453 Matrix.multiplyMM(mMvpMatrix, 0, vpMatrix, 0, mModelMatrices[hoursIndex], 0); in onDraw() 459 Matrix.multiplyMM(mMvpMatrix, 0, vpMatrix, 0, mModelMatrices[minIndex], 0); in onDraw() 465 Matrix.multiplyMM(mMvpMatrix, 0, vpMatrix, 0, mModelMatrices[secIndex], 0); in onDraw()
|
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/ |
D | SkewableTextView.java | 21 import android.graphics.Matrix; 75 Matrix matrix = new Matrix(); in invalidateSkewedBounds()
|
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/ |
D | GLES20TriangleRenderer.java | 34 import android.opengl.Matrix; 73 Matrix.setRotateM(mMMatrix, 0, angle, 0, 0, 1.0f); in onDrawFrame() 74 Matrix.multiplyMM(mMVPMatrix, 0, mVMatrix, 0, mMMatrix, 0); in onDrawFrame() 75 Matrix.multiplyMM(mMVPMatrix, 0, mProjMatrix, 0, mMVPMatrix, 0); in onDrawFrame() 87 Matrix.frustumM(mProjMatrix, 0, -ratio, ratio, -1, 1, 3, 7); in onSurfaceChanged() 152 Matrix.setLookAtM(mVMatrix, 0, 0, 0, -5, 0f, 0f, 0f, 0f, 1.0f, 0.0f); in onSurfaceCreated()
|
/development/tools/winscope/spec/traces/ |
D | ExpectedTraces.js | 1 import { Buffer, RectF, Transform, Matrix, Color, Rect, Region } from '../../src/flickerlib/common.… 4 const standardTransform = new Transform(0, new Matrix(1, 0, 0, 0, 1, 0)); 32 transform: new Transform(0, new Matrix(1, 0, 37.37078094482422, 0, 1, -3.5995326042175293)), 211 transform: new Transform(0, new Matrix(1, 0, 0, 0, 1, 98)),
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | Rotate3dAnimation.java | 22 import android.graphics.Matrix; 77 final Matrix matrix = t.getMatrix(); in applyTransformation()
|
D | PathAnimations.java | 24 import android.graphics.Matrix; 224 Matrix scale = new Matrix(); in onLayout()
|
/development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/ |
D | AnticiButton.java | 23 import android.graphics.Matrix; 221 Matrix matrix = new Matrix(); in invalidateSkewedBounds()
|
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
D | FoldingLayout.java | 24 import android.graphics.Matrix; 70 private Matrix [] mMatrix; 95 private Matrix mShadowGradientMatrix; 259 mShadowGradientMatrix = new Matrix(); in prepareFold() 268 mMatrix = new Matrix [mNumberOfFolds]; in prepareFold() 271 mMatrix[x] = new Matrix(); in prepareFold()
|
/development/tools/winscope/src/flickerlib/ |
D | common.js | 65 const Matrix = require('flicker').com.android.server.wm.traces.common.layers. constant 66 Transform.Matrix; 99 const EMPTY_MATRIX = new Matrix(0, 0, 0, 0, 0, 0); 209 const matrix = new Matrix(dsdx, dtdx, tx, dsdy, dtdy, ty); 243 Matrix,
|
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/ |
D | CardView.java | 30 import android.graphics.Matrix; 71 private Matrix mHorizontalFlipMatrix; 87 mHorizontalFlipMatrix = new Matrix(); in init()
|
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/ |
D | Camera2VideoFragment.java | 29 import android.graphics.Matrix; 556 Matrix matrix = new Matrix(); in configureTransform() 563 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); in configureTransform()
|
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/ |
D | Camera2BasicFragment.java | 30 import android.graphics.Matrix; 746 Matrix matrix = new Matrix(); in configureTransform() 753 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); in configureTransform()
|