Home
last modified time | relevance | path

Searched refs:mtx (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/libs/gui/tests/
DSurfaceTextureClient_test.cpp579 float mtx[16] = {}; in TEST_F() local
585 mST->getTransformMatrix(mtx); in TEST_F()
587 EXPECT_EQ(1.f, mtx[0]); in TEST_F()
588 EXPECT_EQ(0.f, mtx[1]); in TEST_F()
589 EXPECT_EQ(0.f, mtx[2]); in TEST_F()
590 EXPECT_EQ(0.f, mtx[3]); in TEST_F()
592 EXPECT_EQ(0.f, mtx[4]); in TEST_F()
593 EXPECT_EQ(-1.f, mtx[5]); in TEST_F()
594 EXPECT_EQ(0.f, mtx[6]); in TEST_F()
595 EXPECT_EQ(0.f, mtx[7]); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/RenderEngine/
DDescription.cpp50 void Description::setProjectionMatrix(const mat4& mtx) { in setProjectionMatrix() argument
51 mProjectionMatrix = mtx; in setProjectionMatrix()
54 void Description::setSaturationMatrix(const mat4& mtx) { in setSaturationMatrix() argument
55 mSaturationMatrix = mtx; in setSaturationMatrix()
58 void Description::setColorMatrix(const mat4& mtx) { in setColorMatrix() argument
59 mColorMatrix = mtx; in setColorMatrix()
DDescription.h44 void setProjectionMatrix(const mat4& mtx);
45 void setSaturationMatrix(const mat4& mtx);
46 void setColorMatrix(const mat4& mtx);
/frameworks/base/graphics/java/android/graphics/
DSurfaceTexture.java308 public void getTransformMatrix(float[] mtx) { in getTransformMatrix() argument
311 if (mtx.length != 16) { in getTransformMatrix()
314 nativeGetTransformMatrix(mtx); in getTransformMatrix()
403 private native void nativeGetTransformMatrix(float[] mtx); in nativeGetTransformMatrix() argument
/frameworks/base/native/android/
Dsurface_texture.cpp69 void ASurfaceTexture_getTransformMatrix(ASurfaceTexture* st, float mtx[16]) { in ASurfaceTexture_getTransformMatrix()
70 st->consumer->getTransformMatrix(mtx); in ASurfaceTexture_getTransformMatrix()
/frameworks/layoutlib/bridge/src/android/graphics/
DRegion_Delegate.java238 AffineTransform mtx = new AffineTransform(); in translate() local
239 mtx.translate(dx, dy); in translate()
240 targetRegionDelegate.mArea.transform(mtx); in translate()
260 AffineTransform mtx = new AffineTransform(); in scale() local
261 mtx.scale(scale, scale); in scale()
262 targetRegionDelegate.mArea.transform(mtx); in scale()
DCanvas_Delegate.java291 float[] mtx = Matrix_Delegate.getSkew(kx, ky); in nSkew() local
292 AffineTransform matrixTx = Matrix_Delegate.getAffineTransform(mtx); in nSkew()
DBaseCanvas_Delegate.java444 final AffineTransform mtx = matrixDelegate.getAffineTransform(); in nDrawBitmapMatrix() local
453 graphics.drawImage(image, mtx, null); in nDrawBitmapMatrix()
DMatrix_Delegate.java736 private static void reset(float[] mtx) { in reset() argument
739 mtx[k] = ((i==j) ? 1 : 0); in reset()
/frameworks/native/include/android/
Dsurface_texture.h139 void ASurfaceTexture_getTransformMatrix(ASurfaceTexture* st, float mtx[16]);
/frameworks/base/core/jni/android/graphics/
DSurfaceTexture.cpp362 float* mtx = env->GetFloatArrayElements(jmtx, NULL); in SurfaceTexture_getTransformMatrix() local
363 surfaceTexture->getTransformMatrix(mtx); in SurfaceTexture_getTransformMatrix()
364 env->ReleaseFloatArrayElements(jmtx, mtx, 0); in SurfaceTexture_getTransformMatrix()
/frameworks/native/services/surfaceflinger/
DBufferLayerConsumer.h114 void getTransformMatrix(float mtx[16]);
DBufferLayerConsumer.cpp407 void BufferLayerConsumer::getTransformMatrix(float mtx[16]) { in getTransformMatrix()
409 memcpy(mtx, mCurrentTransformMatrix, sizeof(mCurrentTransformMatrix)); in getTransformMatrix()
/frameworks/native/libs/gui/include/gui/
DGLConsumer.h133 void getTransformMatrix(float mtx[16]);
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java712 AffineTransform mtx = getTransform(); in doRestore() local
714 layer.getGraphics().setTransform(mtx); in doRestore()
/frameworks/native/libs/gui/
DGLConsumer.cpp741 void GLConsumer::getTransformMatrix(float mtx[16]) { in getTransformMatrix()
743 memcpy(mtx, mCurrentTransformMatrix, sizeof(mCurrentTransformMatrix)); in getTransformMatrix()