Searched refs:transformMatrix (Results 1 – 5 of 5) sorted by relevance
/cts/tests/openglperf2/jni/reference/scene/flocking/ |
D | FlockingScene.cpp | 146 Matrix* transformMatrix = Matrix::newScale(MAIN_SCALE * mDisplayRatio, MAIN_SCALE, 0.0f); in updateSceneGraphs() local 147 TransformationNode* transformNode = new TransformationNode(transformMatrix); in updateSceneGraphs() 164 transformMatrix = Matrix::newScale(SCALE, SCALE, SCALE); in updateSceneGraphs() 165 transformMatrix->translate(x, y, 1.0f); in updateSceneGraphs() 166 transformMatrix->rotate(atan2(vel->mY, vel->mX) + M_PI, 0, 0, 1); in updateSceneGraphs() 167 transformNode = new TransformationNode(transformMatrix); in updateSceneGraphs() 175 transformMatrix = Matrix::newScale(MAIN_SCALE * mDisplayRatio, MAIN_SCALE, 1.0f); in updateSceneGraphs() 176 transformMatrix->translate(0, 0, 0.1f); in updateSceneGraphs() 177 transformNode = new TransformationNode(transformMatrix); in updateSceneGraphs()
|
/cts/tests/openglperf2/jni/primitive/fullpipeline/ |
D | FullPipelineRenderer.cpp | 159 Matrix* transformMatrix = Matrix::newScale(scale, scale, scale); in setUp() local 160 transformMatrix->translate(i - middle, j - middle, 0.0f); in setUp() 161 TransformationNode* transformNode = new TransformationNode(transformMatrix); in setUp()
|
/cts/tests/tests/graphics2/src/android/graphics2/cts/ |
D | TextureViewCameraActivity.java | 103 Matrix transformMatrix = mTextureView.getTransform(null); in onSurfaceTextureUpdated() local 105 transformMatrix.setRotate(mRotation, mWidth/2, mHeight/2); in onSurfaceTextureUpdated() 106 mTextureView.setTransform(transformMatrix); in onSurfaceTextureUpdated()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2MultiViewTestCase.java | 179 Matrix transformMatrix = textureView.getTransform(null); in updatePreviewDisplayRotation() local 189 transformMatrix.setRectToRect(viewRect, bufRect, Matrix.ScaleToFit.FILL); in updatePreviewDisplayRotation() 192 transformMatrix.postRotate((360 - rotationDegrees) % 360, centerX, centerY); in updatePreviewDisplayRotation() 202 transformMatrix.postScale(scale, scale, centerX, centerY); in updatePreviewDisplayRotation() 218 handler.post(new TransformUpdater(textureView, transformMatrix)); in updatePreviewDisplayRotation()
|
/cts/tests/openglperf2/jni/reference/scene/glowing/ |
D | GlowingScene.cpp | 170 Matrix* transformMatrix = Matrix::newScale(mFboRatio, 1.0f, 1.0f); in updateSceneGraphs() local 171 TransformationNode* transformNode = new TransformationNode(transformMatrix); in updateSceneGraphs()
|