Home
last modified time | relevance | path

Searched refs:transformMatrix (Results 1 – 6 of 6) 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/inputmethod/src/android/view/inputmethod/cts/
DCursorAnchorInfoTest.java146 Matrix transformMatrix = new Matrix(); in testBuilder() local
147 transformMatrix.setScale(10.0f, 20.0f); in testBuilder()
160 .setMatrix(transformMatrix) in testBuilder()
182 assertEquals(transformMatrix, info.getMatrix()); in testBuilder()
217 assertEquals(transformMatrix, info2.getMatrix()); in testBuilder()
248 assertEquals(transformMatrix, info3.getMatrix()); in testBuilder()
535 Matrix transformMatrix = new Matrix(); in testMatrixIsRequired() local
536 transformMatrix.setScale(10.0f, 20.0f); in testMatrixIsRequired()
561 builder.setMatrix(transformMatrix); in testMatrixIsRequired()
577 final Matrix transformMatrix = new Matrix(); in testMatrixIsRequiredForVisibleLineBounds() local
[all …]
/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.java192 Matrix transformMatrix = textureView.getTransform(null); in updatePreviewDisplayRotation() local
202 transformMatrix.setRectToRect(viewRect, bufRect, Matrix.ScaleToFit.FILL); in updatePreviewDisplayRotation()
205 transformMatrix.postRotate((360 - rotationDegrees) % 360, centerX, centerY); in updatePreviewDisplayRotation()
215 transformMatrix.postScale(scale, scale, centerX, centerY); in updatePreviewDisplayRotation()
231 handler.post(new TransformUpdater(textureView, transformMatrix)); in updatePreviewDisplayRotation()