Home
last modified time | relevance | path

Searched refs:transformMatrix (Results 1 – 5 of 5) sorted by relevance

/cts/tests/openglperf2/jni/reference/scene/flocking/
DFlockingScene.cpp146 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/
DFullPipelineRenderer.cpp159 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/view/src/android/view/cts/
DTextureViewCameraActivity.java111 Matrix transformMatrix = mTextureView.getTransform(null); in onSurfaceTextureUpdated() local
113 transformMatrix.setRotate(mRotation, mWidth / 2, mHeight / 2); in onSurfaceTextureUpdated()
114 mTextureView.setTransform(transformMatrix); in onSurfaceTextureUpdated()
/cts/tests/openglperf2/jni/reference/scene/glowing/
DGlowingScene.cpp170 Matrix* transformMatrix = Matrix::newScale(mFboRatio, 1.0f, 1.0f); in updateSceneGraphs() local
171 TransformationNode* transformNode = new TransformationNode(transformMatrix); in updateSceneGraphs()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java181 Matrix transformMatrix = textureView.getTransform(null); in updatePreviewDisplayRotation() local
191 transformMatrix.setRectToRect(viewRect, bufRect, Matrix.ScaleToFit.FILL); in updatePreviewDisplayRotation()
194 transformMatrix.postRotate((360 - rotationDegrees) % 360, centerX, centerY); in updatePreviewDisplayRotation()
204 transformMatrix.postScale(scale, scale, centerX, centerY); in updatePreviewDisplayRotation()
220 handler.post(new TransformUpdater(textureView, transformMatrix)); in updatePreviewDisplayRotation()