Searched refs:transformMatrix (Results 1 – 6 of 6) 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/view/src/android/view/cts/ |
D | TextureViewCameraActivity.java | 111 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/inputmethod/src/android/view/inputmethod/cts/ |
D | CursorAnchorInfoTest.java | 103 Matrix transformMatrix = new Matrix(); in testBuilder() local 104 transformMatrix.setScale(10.0f, 20.0f); in testBuilder() 111 .setMatrix(transformMatrix); in testBuilder() 129 assertEquals(transformMatrix, info.getMatrix()); in testBuilder() 154 assertEquals(transformMatrix, info2.getMatrix()); in testBuilder() 181 assertEquals(transformMatrix, info3.getMatrix()); in testBuilder() 407 Matrix transformMatrix = new Matrix(); in testMatrixIsRequired() local 408 transformMatrix.setScale(10.0f, 20.0f); in testMatrixIsRequired() 433 builder.setMatrix(transformMatrix); in testMatrixIsRequired()
|
/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()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2MultiViewTestCase.java | 194 Matrix transformMatrix = textureView.getTransform(null); in updatePreviewDisplayRotation() local 204 transformMatrix.setRectToRect(viewRect, bufRect, Matrix.ScaleToFit.FILL); in updatePreviewDisplayRotation() 207 transformMatrix.postRotate((360 - rotationDegrees) % 360, centerX, centerY); in updatePreviewDisplayRotation() 217 transformMatrix.postScale(scale, scale, centerX, centerY); in updatePreviewDisplayRotation() 233 handler.post(new TransformUpdater(textureView, transformMatrix)); in updatePreviewDisplayRotation()
|