/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureClient_test.cpp | 578 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/ |
D | SurfaceTexture.java | 313 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/ |
D | surface_texture.cpp | 70 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/ |
D | Region_Delegate.java | 238 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()
|
D | Canvas_Delegate.java | 289 float[] mtx = Matrix_Delegate.getSkew(kx, ky); in nSkew() local 290 AffineTransform matrixTx = Matrix_Delegate.getAffineTransform(mtx); in nSkew()
|
D | BaseCanvas_Delegate.java | 497 final AffineTransform mtx = matrixDelegate.getAffineTransform(); in nDrawBitmapMatrix() local 506 graphics.drawImage(image, mtx, null); in nDrawBitmapMatrix()
|
D | Matrix_Delegate.java | 746 private static void reset(float[] mtx) { in reset() argument 749 mtx[k] = ((i==j) ? 1 : 0); in reset()
|
/frameworks/native/include/android/ |
D | surface_texture.h | 155 void ASurfaceTexture_getTransformMatrix(ASurfaceTexture* st, float mtx[16]) __INTRODUCED_IN(28);
|
/frameworks/base/core/jni/android/graphics/ |
D | SurfaceTexture.cpp | 363 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/ |
D | SurfaceTexture.h | 133 void getTransformMatrix(float mtx[16]);
|
D | SurfaceTexture.cpp | 252 void SurfaceTexture::getTransformMatrix(float mtx[16]) { in getTransformMatrix() 254 memcpy(mtx, mCurrentTransformMatrix, sizeof(mCurrentTransformMatrix)); in getTransformMatrix()
|
/frameworks/native/services/surfaceflinger/ |
D | BufferLayerConsumer.h | 113 void getTransformMatrix(float mtx[16]);
|
D | BufferLayerConsumer.cpp | 302 void BufferLayerConsumer::getTransformMatrix(float mtx[16]) { in getTransformMatrix() 304 memcpy(mtx, mCurrentTransformMatrix, sizeof(mCurrentTransformMatrix)); in getTransformMatrix()
|
/frameworks/native/libs/gui/include/gui/ |
D | GLConsumer.h | 133 void getTransformMatrix(float mtx[16]);
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 705 AffineTransform mtx = getTransform(); in doRestore() local 707 layer.getGraphics().setTransform(mtx); in doRestore()
|
/frameworks/native/libs/gui/ |
D | GLConsumer.cpp | 714 void GLConsumer::getTransformMatrix(float mtx[16]) { in getTransformMatrix() 716 memcpy(mtx, mCurrentTransformMatrix, sizeof(mCurrentTransformMatrix)); in getTransformMatrix()
|