Searched refs:mtx (Results 1 – 11 of 11) sorted by relevance
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureClient_test.cpp | 561 float mtx[16] = {}; in TEST_F() local 566 mST->getTransformMatrix(mtx); in TEST_F() 568 EXPECT_EQ(1.f, mtx[0]); in TEST_F() 569 EXPECT_EQ(0.f, mtx[1]); in TEST_F() 570 EXPECT_EQ(0.f, mtx[2]); in TEST_F() 571 EXPECT_EQ(0.f, mtx[3]); in TEST_F() 573 EXPECT_EQ(0.f, mtx[4]); in TEST_F() 574 EXPECT_EQ(-1.f, mtx[5]); in TEST_F() 575 EXPECT_EQ(0.f, mtx[6]); in TEST_F() 576 EXPECT_EQ(0.f, mtx[7]); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | Description.cpp | 80 void Description::setProjectionMatrix(const mat4& mtx) { in setProjectionMatrix() argument 81 mProjectionMatrix = mtx; in setProjectionMatrix() 85 void Description::setColorMatrix(const mat4& mtx) { in setColorMatrix() argument 87 mColorMatrix = mtx; in setColorMatrix() 88 mColorMatrixEnabled = (mtx != identity); in setColorMatrix()
|
D | Description.h | 67 void setProjectionMatrix(const mat4& mtx); 68 void setColorMatrix(const mat4& mtx);
|
/frameworks/base/graphics/java/android/graphics/ |
D | SurfaceTexture.java | 305 public void getTransformMatrix(float[] mtx) { in getTransformMatrix() argument 308 if (mtx.length != 16) { in getTransformMatrix() 311 nativeGetTransformMatrix(mtx); in getTransformMatrix() 385 private native void nativeGetTransformMatrix(float[] mtx); in nativeGetTransformMatrix() argument
|
/frameworks/base/tools/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 | 309 float[] mtx = Matrix_Delegate.getSkew(kx, ky); in native_skew() local 310 AffineTransform matrixTx = Matrix_Delegate.getAffineTransform(mtx); in native_skew() 813 final AffineTransform mtx = matrixDelegate.getAffineTransform(); in nativeDrawBitmapMatrix() local 824 graphics.drawImage(image, mtx, null); in nativeDrawBitmapMatrix()
|
D | Matrix_Delegate.java | 730 private static void reset(float[] mtx) { in reset() argument 733 mtx[k] = ((i==j) ? 1 : 0); in reset()
|
/frameworks/base/core/jni/android/graphics/ |
D | SurfaceTexture.cpp | 338 float* mtx = env->GetFloatArrayElements(jmtx, NULL); in SurfaceTexture_getTransformMatrix() local 339 surfaceTexture->getTransformMatrix(mtx); in SurfaceTexture_getTransformMatrix() 340 env->ReleaseFloatArrayElements(jmtx, mtx, 0); in SurfaceTexture_getTransformMatrix()
|
/frameworks/native/include/gui/ |
D | GLConsumer.h | 138 void getTransformMatrix(float mtx[16]);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 709 AffineTransform mtx = getTransform(); in doRestore() local 711 layer.getGraphics().setTransform(mtx); in doRestore()
|
/frameworks/native/libs/gui/ |
D | GLConsumer.cpp | 738 void GLConsumer::getTransformMatrix(float mtx[16]) { in getTransformMatrix() 740 memcpy(mtx, mCurrentTransformMatrix, sizeof(mCurrentTransformMatrix)); in getTransformMatrix()
|