HomeSort by relevance Sort by last modified time
    Searched refs:transformMatrix (Results 1 - 25 of 29) sorted by null

1 2

  /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;
  /external/webrtc/talk/app/webrtc/java/android/org/webrtc/
SurfaceTextureHelper.java 65 int oesTextureId, float[] transformMatrix, long timestampNs);
189 int width, int height, int stride, int textureId, float [] transformMatrix) {
244 transformMatrix =
245 RendererCommon.multiplyMatrices(transformMatrix,
263 GLES20.glUniformMatrix4fv(texMatrixLoc, 1, false, transformMatrix, 0);
269 transformMatrix[0] / width,
270 transformMatrix[1] / width);
281 transformMatrix[0] / (2.0f*width),
282 transformMatrix[1] / (2.0f*width));
443 int width, int height, int stride, int textureId, float [] transformMatrix) {
    [all...]
VideoCapturerAndroid.java 698 int oesTextureId, float[] transformMatrix, long timestampNs) {
715 transformMatrix =
716 RendererCommon.multiplyMatrices(transformMatrix, RendererCommon.horizontalFlipMatrix());
720 transformMatrix, rotation, timestampNs);
737 int width, int height, int oesTextureId, float[] transformMatrix, int rotation,
769 int width, int height, int oesTextureId, float[] transformMatrix, int rotation,
771 nativeOnTextureFrameCaptured(nativeCapturer, width, height, oesTextureId, transformMatrix,
785 int oesTextureId, float[] transformMatrix, int rotation, long timestamp);
  /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/LegacyCamera/src/com/android/camera/panorama/
MosaicRendererSurfaceViewRenderer.java 72 public void preprocess(float[] transformMatrix) {
73 MosaicRenderer.preprocess(transformMatrix);
MosaicRendererSurfaceView.java 339 public void preprocess(final float[] transformMatrix) {
344 mRenderer.preprocess(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);
  /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);
  /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);
GlRectDrawerTest.java 291 drawer.drawOes(listener.oesTextureId, listener.transformMatrix, 0, 0, WIDTH, HEIGHT);
  /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);
  /frameworks/base/libs/hwui/
Program.cpp 154 const mat4& transformMatrix, bool offset) {
172 mat4 t(transformMatrix);
Program.h 353 const mat4& transformMatrix, bool offset = false);
  /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));
  /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...]
  /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,
  /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);
  /external/libgdx/gdx/src/com/badlogic/gdx/utils/viewport/
Viewport.java 117 public Vector2 toScreenCoordinates (Vector2 worldCoords, Matrix4 transformMatrix) {
119 tmp.mul(transformMatrix);
  /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/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
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);
SpriteBatch.java 51 private final Matrix4 transformMatrix = new Matrix4();
1024 return transformMatrix;
1037 transformMatrix.set(transform);
1042 combinedMatrix.set(projectionMatrix).mul(transformMatrix);
PolygonSpriteBatch.java 70 private final Matrix4 transformMatrix = new Matrix4();
    [all...]
  /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...]
  /frameworks/base/core/jni/
android_view_RenderNode.cpp 479 const SkMatrix* transformMatrix = renderNode->stagingProperties().getTransformMatrix();
481 if (transformMatrix) {
482 *outMatrix = *transformMatrix;

Completed in 646 milliseconds

1 2