Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DSurfaceTextureClient_test.cpp578 float mtx[16] = {}; in TEST_F() local
584 mST->getTransformMatrix(mtx); in TEST_F()
586 EXPECT_EQ(1.f, mtx[0]); in TEST_F()
587 EXPECT_EQ(0.f, mtx[1]); in TEST_F()
588 EXPECT_EQ(0.f, mtx[2]); in TEST_F()
589 EXPECT_EQ(0.f, mtx[3]); in TEST_F()
591 EXPECT_EQ(0.f, mtx[4]); in TEST_F()
592 EXPECT_EQ(-1.f, mtx[5]); in TEST_F()
593 EXPECT_EQ(0.f, mtx[6]); in TEST_F()
594 EXPECT_EQ(0.f, mtx[7]); in TEST_F()
[all …]
/frameworks/base/graphics/java/android/graphics/
DSurfaceTexture.java313 public void getTransformMatrix(float[] mtx) { in getTransformMatrix() argument
316 if (mtx.length != 16) { in getTransformMatrix()
319 nativeGetTransformMatrix(mtx); in getTransformMatrix()
409 private native void nativeGetTransformMatrix(float[] mtx); in nativeGetTransformMatrix() argument
/frameworks/base/native/android/
Dsurface_texture.cpp70 void ASurfaceTexture_getTransformMatrix(ASurfaceTexture* st, float mtx[16]) { in ASurfaceTexture_getTransformMatrix()
71 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.java289 float[] mtx = Matrix_Delegate.getSkew(kx, ky); in nSkew() local
290 AffineTransform matrixTx = Matrix_Delegate.getAffineTransform(mtx); in nSkew()
DBaseCanvas_Delegate.java497 final AffineTransform mtx = matrixDelegate.getAffineTransform(); in nDrawBitmapMatrix() local
506 graphics.drawImage(image, mtx, null); in nDrawBitmapMatrix()
DMatrix_Delegate.java746 private static void reset(float[] mtx) { in reset() argument
749 mtx[k] = ((i==j) ? 1 : 0); in reset()
/frameworks/native/include/android/
Dsurface_texture.h142 void ASurfaceTexture_getTransformMatrix(ASurfaceTexture* st, float mtx[16]) __INTRODUCED_IN(28);
/frameworks/base/core/jni/android/graphics/
DSurfaceTexture.cpp363 float* mtx = env->GetFloatArrayElements(jmtx, NULL); in SurfaceTexture_getTransformMatrix() local
364 surfaceTexture->getTransformMatrix(mtx); in SurfaceTexture_getTransformMatrix()
365 env->ReleaseFloatArrayElements(jmtx, mtx, 0); in SurfaceTexture_getTransformMatrix()
/frameworks/base/libs/hwui/surfacetexture/
DSurfaceTexture.h133 void getTransformMatrix(float mtx[16]);
DSurfaceTexture.cpp252 void SurfaceTexture::getTransformMatrix(float mtx[16]) { in getTransformMatrix()
254 memcpy(mtx, mCurrentTransformMatrix, sizeof(mCurrentTransformMatrix)); in getTransformMatrix()
/frameworks/native/services/surfaceflinger/
DBufferLayerConsumer.h113 void getTransformMatrix(float mtx[16]);
DBufferLayerConsumer.cpp302 void BufferLayerConsumer::getTransformMatrix(float mtx[16]) { in getTransformMatrix()
304 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.java705 AffineTransform mtx = getTransform(); in doRestore() local
707 layer.getGraphics().setTransform(mtx); in doRestore()
/frameworks/native/libs/gui/
DGLConsumer.cpp713 void GLConsumer::getTransformMatrix(float mtx[16]) { in getTransformMatrix()
715 memcpy(mtx, mCurrentTransformMatrix, sizeof(mCurrentTransformMatrix)); in getTransformMatrix()