/packages/apps/Camera2/src/com/android/camera/captureintent/ |
PreviewTransformCalculator.java | 57 Matrix transformMatrix = new Matrix(); 71 transformMatrix.setRectToRect( 76 transformMatrix.postRotate( 94 transformMatrix.postScale(scale, scale, previewViewCenter.x, previewViewCenter.y); 100 transformMatrix.postTranslate( 104 return transformMatrix;
|
/cts/tests/tests/graphics2/src/android/graphics2/cts/ |
TextureViewCameraActivity.java | 103 Matrix transformMatrix = mTextureView.getTransform(null); 105 transformMatrix.setRotate(mRotation, mWidth/2, mHeight/2); 106 mTextureView.setTransform(transformMatrix);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/ |
ShapeRenderer.java | 98 private final Matrix4 transformMatrix = new Matrix4();
155 transformMatrix.set(matrix);
161 return transformMatrix;
166 transformMatrix.idt();
172 transformMatrix.translate(x, y, z);
178 transformMatrix.rotate(axisX, axisY, axisZ, degrees);
184 transformMatrix.scale(scaleX, scaleY, scaleZ);
210 Matrix4.mul(combinedMatrix.val, transformMatrix.val);
[all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
Camera2MultiViewTestCase.java | 179 Matrix transformMatrix = textureView.getTransform(null); 189 transformMatrix.setRectToRect(viewRect, bufRect, Matrix.ScaleToFit.FILL); 192 transformMatrix.postRotate((360 - rotationDegrees) % 360, centerX, centerY); 202 transformMatrix.postScale(scale, scale, centerX, centerY); 218 handler.post(new TransformUpdater(textureView, transformMatrix));
|
/cts/tests/openglperf2/jni/primitive/fullpipeline/ |
FullPipelineRenderer.cpp | 159 Matrix* transformMatrix = Matrix::newScale(scale, scale, scale); 160 transformMatrix->translate(i - middle, j - middle, 0.0f); 161 TransformationNode* transformNode = new TransformationNode(transformMatrix);
|
/cts/tests/openglperf2/jni/reference/scene/glowing/ |
GlowingScene.cpp | 170 Matrix* transformMatrix = Matrix::newScale(mFboRatio, 1.0f, 1.0f); 171 TransformationNode* transformNode = new TransformationNode(transformMatrix);
|
/cts/tests/openglperf2/jni/reference/scene/flocking/ |
FlockingScene.cpp | 146 Matrix* transformMatrix = Matrix::newScale(MAIN_SCALE * mDisplayRatio, MAIN_SCALE, 0.0f); 147 TransformationNode* transformNode = new TransformationNode(transformMatrix); 164 transformMatrix = Matrix::newScale(SCALE, SCALE, SCALE); 165 transformMatrix->translate(x, y, 1.0f); 166 transformMatrix->rotate(atan2(vel->mY, vel->mX) + M_PI, 0, 0, 1); 167 transformNode = new TransformationNode(transformMatrix); 175 transformMatrix = Matrix::newScale(MAIN_SCALE * mDisplayRatio, MAIN_SCALE, 1.0f); 176 transformMatrix->translate(0, 0, 0.1f); 177 transformNode = new TransformationNode(transformMatrix);
|
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
ResourceSurfaceTextureImpl.java | 149 Matrix transformMatrix = mPreviewTransformCalculator.toTransformMatrix( 151 mResourceConstructed.get().getModuleUI().updatePreviewTransform(transformMatrix);
|
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
SurfaceTextureHelperTest.java | 47 public float[] transformMatrix; 62 int oesTextureId, float[] transformMatrix, long timestampNs) { 67 this.transformMatrix = transformMatrix; 152 drawer.drawOes(listener.oesTextureId, listener.transformMatrix, 0, 0, width, height); 223 drawer.drawOes(listener.oesTextureId, listener.transformMatrix, 0, 0, width, height); 420 listener.oesTextureId, listener.transformMatrix);
|
/external/autotest/client/deps/nvmap_compactor/src/ |
nvmap_carveout_compactor.c | 49 uniform mat4 transformMatrix; \ 56 gl_Position = transformMatrix * position; \ 250 GLfloat transformMatrix[16]; 271 "transformMatrix"); 275 LoadIdentity(transformMatrix); 276 Scale(transformMatrix, 4.0f/cols, 4.0f/cols, 4.0f/cols); 277 Translate(transformMatrix, -cols - 1.0f, cols - 1.0f, 0.0f); 281 Translate(transformMatrix, 2.0f, 0.0f, 0.0f); 283 transformMatrix); 287 Translate(transformMatrix, -2.0f*cols, -2.0f [all...] |
/frameworks/base/core/jni/ |
android_view_RenderNode.cpp | 479 const SkMatrix* transformMatrix = renderNode->stagingProperties().getTransformMatrix(); 481 if (transformMatrix) { 482 *outMatrix = *transformMatrix;
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
PolygonSpriteBatch.java | 70 private final Matrix4 transformMatrix = new Matrix4();
[all...] |
SpriteBatch.java | 51 private final Matrix4 transformMatrix = new Matrix4();
1024 return transformMatrix;
1037 transformMatrix.set(transform);
1042 combinedMatrix.set(projectionMatrix).mul(transformMatrix);
|
SpriteCache.java | 74 private final Matrix4 transformMatrix = new Matrix4();
850 combinedMatrix.set(projectionMatrix).mul(transformMatrix);
857 customShader.setUniformMatrix("u_trans", transformMatrix);
953 return transformMatrix;
958 transformMatrix.set(transform);
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ |
Stage.java | 728 public Vector2 toScreenCoordinates (Vector2 coords, Matrix4 transformMatrix) { 729 return viewport.toScreenCoordinates(coords, transformMatrix); 736 Matrix4 transformMatrix; 738 transformMatrix = debugShapes.getTransformMatrix(); 740 transformMatrix = batch.getTransformMatrix(); 741 viewport.calculateScissors(transformMatrix, localRect, scissorRect);
|
/external/opencv3/modules/calib3d/misc/java/test/ |
Calib3dTest.java | 358 Mat transformMatrix = new Mat(4, 4, CvType.CV_64F); 359 transformMatrix.put(0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); 371 Calib3d.reprojectImageTo3D(disparity, _3dPoints, transformMatrix); 392 Mat transformMatrix = new Mat(4, 4, CvType.CV_64F); 393 transformMatrix.put(0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); 406 Calib3d.reprojectImageTo3D(disparity, _3dPoints, transformMatrix, true); 428 Mat transformMatrix = new Mat(4, 4, CvType.CV_64F); 429 transformMatrix.put(0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); 441 Calib3d.reprojectImageTo3D(disparity, _3dPoints, transformMatrix, false, CvType.CV_16S);
|
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/ |
MediaCodecVideoDecoder.java | 411 private final float[] transformMatrix; 423 public DecodedTextureBuffer(int textureID, float[] transformMatrix, long timeStampMs, 426 this.transformMatrix = transformMatrix; 468 int oesTextureId, float[] transformMatrix, long timestampNs) { 476 renderedBuffer = new DecodedTextureBuffer(oesTextureId, transformMatrix,
|
/external/opencv3/modules/core/misc/java/test/ |
CoreTest.java | [all...] |
/frameworks/base/core/java/android/view/ |
ViewGroup.java | [all...] |