Home
last modified time | relevance | path

Searched refs:matrix (Results 1 – 12 of 12) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/animation/
DRotate3dAnimation.java77 final Matrix matrix = t.getMatrix(); in applyTransformation() local
86 camera.getMatrix(matrix); in applyTransformation()
89 matrix.preTranslate(-centerX, -centerY); in applyTransformation()
90 matrix.postTranslate(centerX, centerY); in applyTransformation()
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
DSkewableTextView.java75 Matrix matrix = new Matrix(); in invalidateSkewedBounds() local
76 matrix.setSkew(-mSkewX, 0); in invalidateSkewedBounds()
78 matrix.mapRect(mTempRect); in invalidateSkewedBounds()
/development/tools/winscope/src/viewers/viewer_surface_flinger/
Dpresenter.ts191 matrix: display.transform.matrix,
207 matrix: rect.transform.matrix,
274 if (rect.transform && rect.transform.matrix) {
275 t = rect.transform.matrix;
281 const matrix: RectMatrix = { constant
290 matrix,
/development/tools/winscope/src/viewers/components/rects/
Dmapper3d.ts232 if (rect2d.transform?.matrix) {
234 dsdx: rect2d.transform.matrix.dsdx,
235 dsdy: rect2d.transform.matrix.dsdy,
236 tx: rect2d.transform.matrix.tx,
237 dtdx: rect2d.transform.matrix.dtdx,
238 dtdy: rect2d.transform.matrix.dtdy,
239 ty: rect2d.transform.matrix.ty,
Drects_component_test.ts72 matrix: {
/development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/
DAnticiButton.java221 Matrix matrix = new Matrix(); in invalidateSkewedBounds() local
222 matrix.setSkew(-mSkewX, 0); in invalidateSkewedBounds()
224 matrix.mapRect(mTempRect); in invalidateSkewedBounds()
/development/tools/winscope/src/viewers/common/
Drectangle.ts44 matrix?: RectMatrix; property
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCamera2VideoFragment.java556 Matrix matrix = new Matrix(); in configureTransform() local
563 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); in configureTransform()
567 matrix.postScale(scale, scale, centerX, centerY); in configureTransform()
568 matrix.postRotate(90 * (rotation - 2), centerX, centerY); in configureTransform()
570 mTextureView.setTransform(matrix); in configureTransform()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java746 Matrix matrix = new Matrix(); in configureTransform() local
753 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); in configureTransform()
757 matrix.postScale(scale, scale, centerX, centerY); in configureTransform()
758 matrix.postRotate(90 * (rotation - 2), centerX, centerY); in configureTransform()
760 matrix.postRotate(180, centerX, centerY); in configureTransform()
762 mTextureView.setTransform(matrix); in configureTransform()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java1103 Matrix matrix = new Matrix(); in configureTransform() local
1127 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); in configureTransform()
1131 matrix.postScale(scale, scale, centerX, centerY); in configureTransform()
1134 matrix.postRotate(rotation, centerX, centerY); in configureTransform()
1136 mTextureView.setTransform(matrix); in configureTransform()
/development/tools/winscope/src/trace/flickerlib/
Dcommon.js258 const matrix = new Matrix33(dsdx, dtdx, tx, dsdy, dtdy, ty);
259 return new Transform(proto.type ?? 0, matrix);
/development/tools/winscope/src/viewers/viewer_window_manager/
Dpresenter.ts251 matrix: identityMatrix,